code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/ExploreFragment.java | Java | asf20 | 7,975 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/NfcBadgeActivity.java | Java | asf20 | 3,148 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/AnnouncementsActivity.java | Java | asf20 | 1,165 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SessionDetailFragment.java | Java | asf20 | 32,647 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/WhatsOnFragment.java | Java | asf20 | 12,128 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SandboxFragment.java | Java | asf20 | 8,029 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/HomeActivity.java | Java | asf20 | 14,808 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/tablet/TracksDropdownFragment.java | Java | asf20 | 11,728 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/tablet/SessionsSandboxMultiPaneActivity.java | Java | asf20 | 22,144 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/tablet/MapMultiPaneActivity.java | Java | asf20 | 9,229 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/phone/SessionsActivity.java | Java | asf20 | 2,811 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/phone/SandboxDetailActivity.java | Java | asf20 | 3,240 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/phone/MapActivity.java | Java | asf20 | 1,750 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/phone/TrackDetailActivity.java | Java | asf20 | 10,239 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/phone/SessionDetailActivity.java | Java | asf20 | 2,982 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SessionFeedbackFragment.java | Java | asf20 | 11,294 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/CheckableLinearLayout.java | Java | asf20 | 1,713 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/TrackInfo.java | Java | asf20 | 840 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/PlusStreamRowViewBinder.java | Java | asf20 | 13,432 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SettingsActivity.java | Java | asf20 | 1,557 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/AnnouncementsFragment.java | Java | asf20 | 8,866 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SocialStreamFragment.java | Java | asf20 | 18,985 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SVGTileProvider.java | Java | asf20 | 5,154 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SocialStreamActivity.java | Java | asf20 | 1,911 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/TaskStackBuilderProxyActivity.java | Java | asf20 | 2,061 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/BaseActivity.java | Java | asf20 | 4,423 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/TracksAdapter.java | Java | asf20 | 10,088 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/widget/ObservableScrollView.java | Java | asf20 | 1,536 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/widget/CheckableFrameLayout.java | Java | asf20 | 1,898 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/widget/EllipsizedTextView.java | Java | asf20 | 2,834 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/widget/BezelImageView.java | Java | asf20 | 7,325 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/MultiSelectionUtil.java | Java | asf20 | 9,113 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SandboxDetailFragment.java | Java | asf20 | 8,632 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SessionsFragment.java | Java | asf20 | 26,536 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SessionLivestreamActivity.java | Java | asf20 | 62,293 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SimpleSectionedListAdapter.java | Java | asf20 | 6,074 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SessionFeedbackActivity.java | Java | asf20 | 2,855 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | android/src/main/java/com/google/android/apps/iosched/ui/SearchActivity.java | Java | asf20 | 7,140 |
#!/bin/sh
adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format - | zyb758-iosched | scripts/cat_preferences.sh | Shell | asf20 | 148 |
#!/bin/sh
#
# Copyright 2013 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | zyb758-iosched | scripts/launch_livestream_activity.sh | Shell | asf20 | 1,323 |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | zyb758-iosched | scripts/cleardata.sh | Shell | asf20 | 60 |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
MAC_UNAME="Darwin"
if [[ "`uname`" == ${MAC_UNAME} ]]; then
DATE_FORMAT="%Y-%m-%dT%H:%M:%S"
else
DATE_FORMAT="%Y-%m-%d %H:%M:%S"
fi
if [ -z "$1" ]; then
NOW_DATE=$(date "+${DATE_FORMAT}")
echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del... | zyb758-iosched | scripts/set_mock_time.sh | Shell | asf20 | 1,137 |
#!/usr/bin/python
# Copyright 2011 Google, Inc. All Rights Reserved.
# simple script to walk source tree looking for third-party licenses
# dumps resulting html page to stdout
import os, re, mimetypes, sys
# read source directories to scan from command line
SOURCE = sys.argv[1:]
# regex to find /* */ style commen... | zyb758-iosched | scripts/collect_licenses.py | Python | asf20 | 3,190 |
#!/bin/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_BitmapCache VERBOSE
| zyb758-iosched | scripts/increase_verbosity.sh | Shell | asf20 | 232 |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db" | zyb758-iosched | scripts/dbquery.sh | Shell | asf20 | 158 |
#!/bin/sh
# Sessions list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions
# Vendors list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors
# Session detail
#adb shell am start -a... | zyb758-iosched | scripts/deeplinks.sh | Shell | asf20 | 676 |
<html>
<body>
<h2>Push request could not be queued!</h2>
</body>
</html> | zyb758-iosched | gcm-server/src/main/webapp/error.html | HTML | asf20 | 72 |
<html>
<body>
<h2>Push request queued successfully!</h2>
</body>
</html> | zyb758-iosched | gcm-server/src/main/webapp/success.html | HTML | asf20 | 72 |
/**
* Copyright 2012 Google
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/api/SendMessageServlet.java | Java | asf20 | 5,904 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/db/models/MulticastMessage.java | Java | asf20 | 1,629 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/db/models/Device.java | Java | asf20 | 1,186 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/db/DeviceStore.java | Java | asf20 | 3,776 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/db/MessageStore.java | Java | asf20 | 3,324 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/db/OfyService.java | Java | asf20 | 1,642 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/db/ApiKeyInitializer.java | Java | asf20 | 3,600 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/cron/VacuumDbServlet.java | Java | asf20 | 1,388 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/admin/AdminServlet.java | Java | asf20 | 2,320 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/device/MulticastQueueWorker.java | Java | asf20 | 2,253 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/device/UnregisterServlet.java | Java | asf20 | 1,603 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/device/MessageSender.java | Java | asf20 | 7,206 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/device/RegisterServlet.java | Java | asf20 | 1,728 |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | zyb758-iosched | gcm-server/src/main/java/com/google/android/apps/iosched/gcm/server/BaseServlet.java | Java | asf20 | 3,275 |
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ... | zyb758-iosched | gcm-server/gradlew.sh | Shell | asf20 | 5,083 |
<html>
<head>
<title>WizTools.org RESTClient</title>
</head>
<body>
<h2 align="center">WizTools.org RESTClient</h2>
<center>
<table border="1" cellpadding="10">
<tr>
<td><a href="http://rest-client.googlecode.com/">Project Page</a></td>... | zyjbupt-restclient | jnlp/index.html | HTML | asf20 | 477 |
package org.wiztools.restclient.cli;
import com.sampullara.cli.Args;
import com.sampullara.cli.Argument;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.wiztools.commons.FileUtil;
import org.wiztools.restclient.*;
import org.wiztools.restclient.bean.Reques... | zyjbupt-restclient | restclient-cli/src/main/java/org/wiztools/restclient/cli/CliMain.java | Java | asf20 | 5,816 |
package org.wiztools.restclient.cli;
import java.io.File;
/**
*
* @author subwiz
*/
class NonExistFileGenerator {
private final File outDir;
private final String fileName;
private final String extension;
NonExistFileGenerator(File outDir, String fileName, String extension) {
this.outD... | zyjbupt-restclient | restclient-cli/src/main/java/org/wiztools/restclient/cli/NonExistFileGenerator.java | Java | asf20 | 1,005 |
#!/bin/sh
RC_VERSION=3.1.1-SNAPSHOT
chmod a+x restclient-ui/target/restclient-ui-${RC_VERSION}/WizTools.org\ RESTClient.app/Contents/MacOS/JavaApplicationStub
| zyjbupt-restclient | chmod.sh | Shell | asf20 | 162 |
#!/bin/sh
VERSION=3.1-SNAPSHOT
cp restclient-cli/target/restclient-cli-${VERSION}-jar-with-dependencies.jar \
restclient-ui/target/restclient-ui-${VERSION}-jar-with-dependencies.jar \
restclient-ui/target/restclient-ui-${VERSION}-app.zip \
~/Dropbox/Public/
| zyjbupt-restclient | copyDropboxSnapsot.sh | Shell | asf20 | 267 |
package org.wiztools.restclient;
import java.io.File;
/**
*
* @author Subhash
*/
public enum FileType {
REQUEST, RESPONSE, ARCHIVE, HISTORY;
public static final String REQUEST_EXT = ".rcq";
public static final String RESPONSE_EXT = ".rcs";
public static final String ARCHIVE_EXT = ".rcr";
p... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/FileType.java | Java | asf20 | 2,549 |
package org.wiztools.restclient;
import org.wiztools.restclient.bean.Response;
import org.wiztools.restclient.bean.Request;
import groovy.util.GroovyTestCase;
/**
*
* @author schandran
*/
public class RESTTestCase extends GroovyTestCase {
protected Request request;
protected Response response;
... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/RESTTestCase.java | Java | asf20 | 509 |
package org.wiztools.restclient;
import java.io.*;
import java.util.Properties;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.inject.Singleton;
/**
*
* @author Subhash
*/
@Singleton
final public... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/GlobalOptions.java | Java | asf20 | 2,937 |
package org.wiztools.restclient;
import org.wiztools.restclient.bean.Response;
import org.wiztools.restclient.bean.Request;
/**
* This is the callback interface for RequestExecuter. An implementation
* of this interface needs to be passed to RequestExecuter (actually, a number
* of View implementation could be pas... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/View.java | Java | asf20 | 1,359 |
package org.wiztools.restclient.test;
/**
* This is a backward compatability class held for legacy reasons.
* @author subwiz
*/
@Deprecated
public class RESTTestCase extends org.wiztools.restclient.RESTTestCase {
}
| zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/test/RESTTestCase.java | Java | asf20 | 220 |
package org.wiztools.restclient;
import org.wiztools.restclient.bean.Response;
import org.wiztools.restclient.bean.Request;
/**
*
* @author subwiz
*/
public class ViewAdapter implements View {
public void doStart(Request request) {
}
public void doResponse(Response response) {
}
public voi... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/ViewAdapter.java | Java | asf20 | 438 |
package org.wiztools.restclient.http;
import java.net.URI;
import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
/**
*
* @author subwiz
*/
public class EntityEnclosingDelete extends HttpEntityEnclosingRequestBase {
public EntityEnclosingDelete(String uri) {
super();
setURI(URI.... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/http/EntityEnclosingDelete.java | Java | asf20 | 420 |
package org.wiztools.restclient.http;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import org.apache.http.client.CookieStore;
import org.apache.http.cookie.Cookie;
/**
*
* @author subwiz
*/
public class RESTClientCookieStore implements CookieStore {
... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/http/RESTClientCookieStore.java | Java | asf20 | 774 |
package org.wiztools.restclient.http;
import org.apache.http.cookie.*;
import org.apache.http.impl.cookie.BrowserCompatSpec;
import org.apache.http.params.HttpParams;
/**
*
* @author subwiz
*/
public class NoValidationCookieSpecFactory implements CookieSpecFactory {
public static final String NAME = "REST... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/http/NoValidationCookieSpecFactory.java | Java | asf20 | 658 |
package org.wiztools.restclient;
/**
*
* @author Subhash
*/
public interface RCConstants {
public final String TITLE = "WizTools.org RESTClient ";
public final String SHORT_TITLE = "RESTClient ";
public final String VERSION = "3.2";
}
| zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/RCConstants.java | Java | asf20 | 251 |
package org.wiztools.restclient.util;
import nu.xom.Attribute;
import nu.xom.Element;
import nu.xom.Elements;
import org.wiztools.commons.StringUtil;
import org.wiztools.restclient.bean.SSLHostnameVerifier;
import org.wiztools.restclient.bean.SSLReq;
import org.wiztools.restclient.bean.SSLReqBean;
/**
*
* @author s... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/XmlSslUtil.java | Java | asf20 | 2,675 |
package org.wiztools.restclient.util;
import java.io.File;
import java.io.FileFilter;
import org.wiztools.restclient.IGlobalOptions;
/**
*
* @author subwiz
*/
public final class ConfigUtil {
private ConfigUtil() {}
public static File getConfigFile(String fileName) {
return new File(IGlobalOpt... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/ConfigUtil.java | Java | asf20 | 1,058 |
package org.wiztools.restclient.util;
import java.io.*;
import java.net.URLEncoder;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.*;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.zip.ZipEntry;
import java.util.zip.ZipI... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/Util.java | Java | asf20 | 7,725 |
package org.wiztools.restclient.util;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import nu.xom.Attribute;
import nu.xom.Element;
import nu.xom.Elements;
import org.wiztools.commons.StringUtil;
impo... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/XmlBodyUtil.java | Java | asf20 | 7,142 |
package org.wiztools.restclient.util;
import java.net.IDN;
import java.net.MalformedURLException;
import java.net.URL;
/**
* Utility to convert to IDN name.
* @author subwiz
*/
public final class IDNUtil {
public static URL getIDNizedURL(URL inUrl) throws IllegalArgumentException {
try {
re... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/IDNUtil.java | Java | asf20 | 589 |
package org.wiztools.restclient.util;
import java.nio.charset.Charset;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.wiztools.commons.Charsets;
import org.wiztools.commons.MultiValueMap;
import org.wiztools.commons.StringUtil;
import org.wiztools.restclient.bean.ContentType;
import org.wiz... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/HttpUtil.java | Java | asf20 | 5,521 |
package org.wiztools.restclient.util;
import java.io.IOException;
import java.io.StringReader;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Node;
import org.w3c.dom.bootstrap.DOMImplementationRegistry;
import org.w3c.dom.ls.DOMImplementation... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/XMLIndentUtil.java | Java | asf20 | 2,052 |
package org.wiztools.restclient.util;
import nu.xom.Element;
import nu.xom.Elements;
import org.wiztools.commons.StringUtil;
import org.wiztools.restclient.XMLException;
import org.wiztools.restclient.bean.*;
/**
*
* @author subwiz
*/
class XmlAuthUtil {
private XmlAuthUtil() {}
static Element getAuth... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/XmlAuthUtil.java | Java | asf20 | 7,510 |
package org.wiztools.restclient.util;
import java.io.*;
import java.net.HttpCookie;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.*;
import java.util.logging.Logger;
import javax.xml.stream.XMLEventReader;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamExceptio... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/XMLUtil.java | Java | asf20 | 22,806 |
package org.wiztools.restclient.util;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import nu.xom.Attribute;
import nu.xom.Document;
import nu.xom.Element;
import nu.xom.Elements;
import org.wiztools.restclient.RCConstants;
import org.wiztools.restclient.XMLExcepti... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/XMLCollectionUtil.java | Java | asf20 | 1,882 |
package org.wiztools.restclient.util;
import org.wiztools.commons.Charsets;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
/**
* Code is derived from:
* http://www.devdaily.com/java/jwarehouse/syslogd-2.2/source/com/ice/util/HexDump.java.shtml
* @auth... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/HexDump.java | Java | asf20 | 4,665 |
package org.wiztools.restclient.util;
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
import org.codehaus.jackson.JsonFactory;
import org.codehaus.jackson.JsonGenerator;
import org.codehaus.jackson.JsonNode;
import org.codehaus.jackson.JsonParseException;
import org.codehaus.jacks... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/util/JSONUtil.java | Java | asf20 | 1,653 |
package org.wiztools.restclient;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author schandran
*/
public final class ProxyConfig {
private static final Logger LOG = Logger.getLogger(ProxyC... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/ProxyConfig.java | Java | asf20 | 3,571 |
package org.wiztools.restclient;
import com.google.inject.ImplementedBy;
import java.io.File;
import org.wiztools.commons.SystemConstants;
/**
*
* @author subwiz
*/
@ImplementedBy(GlobalOptions.class)
public interface IGlobalOptions {
File CONF_DIR = new File(
SystemConstants.userHome +
... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/IGlobalOptions.java | Java | asf20 | 630 |
package org.wiztools.restclient;
/**
*
* @author subwiz
*/
public class Base64Exception extends RuntimeException {
public Base64Exception(String string) {
super(string);
}
public Base64Exception(Throwable thrwbl) {
super(thrwbl);
}
public Base64Exception(String string, Throwab... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/Base64Exception.java | Java | asf20 | 372 |
package org.wiztools.restclient.bean;
import java.nio.charset.Charset;
import org.wiztools.commons.StringUtil;
import org.wiztools.restclient.util.HttpUtil;
/**
*
* @author subwiz
*/
public class ContentTypeBean implements ContentType {
private String contentType;
private Charset charset;
public ... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/bean/ContentTypeBean.java | Java | asf20 | 1,730 |
package org.wiztools.restclient.bean;
/**
*
* @author subwiz
*/
public enum SSLHostnameVerifier {
STRICT("Strict"), BROWSER_COMPATIBLE("Browser Compatible"), ALLOW_ALL("Allow All");
private String displayName;
SSLHostnameVerifier(String displayName){
this.displayName = displayName;
}
@... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/bean/SSLHostnameVerifier.java | Java | asf20 | 533 |
package org.wiztools.restclient.bean;
/**
*
* @author subwiz
*/
public abstract class ReqEntityBasePart implements ReqEntityPart {
protected final String name;
protected final ContentType contentType;
public ReqEntityBasePart(String name, ContentType contentType) {
this.name = name;
... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/bean/ReqEntityBasePart.java | Java | asf20 | 1,363 |
package org.wiztools.restclient.bean;
import java.util.Arrays;
/**
*
* @author subwiz
*/
public class SSLReqBean implements SSLReq {
private String trustStore;
private char[] trustStorePassword;
private String keyStore;
private char[] keyStorePassword;
private SSLHostnameVerifier hostNameV... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/bean/SSLReqBean.java | Java | asf20 | 4,025 |
package org.wiztools.restclient.bean;
import java.io.File;
/**
*
* @author subwiz
*/
public class ReqEntityFilePartBean extends ReqEntityBasePart implements ReqEntityFilePart {
private final File file;
public ReqEntityFilePartBean(String fileName, ContentType type, File file) {
super(fileName... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/bean/ReqEntityFilePartBean.java | Java | asf20 | 1,649 |
package org.wiztools.restclient.bean;
/**
*
* @author subwiz
*/
public class DigestAuthBean extends BasicDigestAuthBaseBean implements DigestAuth {
}
| zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/bean/DigestAuthBean.java | Java | asf20 | 159 |
package org.wiztools.restclient.bean;
import com.google.inject.ImplementedBy;
import org.wiztools.restclient.HTTPClientRequestExecuter;
import org.wiztools.restclient.View;
/**
* This is the interface used to execute the HTTP request. For getting the
* default implementation for this interface, use the Implementati... | zyjbupt-restclient | restclient-lib/src/main/java/org/wiztools/restclient/bean/RequestExecuter.java | Java | asf20 | 1,775 |