Home
last modified time | relevance | path

Searched refs:extras (Results 1 – 25 of 89) sorted by relevance

1234

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowIntent.java29 private final Bundle extras = new Bundle(); field in ShadowIntent
55 extras.putAll(other.extras); in __constructor__()
192 extras.putAll(src); in putExtras()
199 extras.putAll(srcShadowIntent.extras); in putExtras()
205 return extras != null ? new Bundle(extras) : null; in getExtras()
210 extras.putInt(key, value); in putExtra()
216 extras.putDouble(key, value); in putExtra()
222 extras.putFloat(key, value); in putExtra()
228 extras.putLong(key, value); in putExtra()
234 extras.putSerializable(key, serializeCycle(value)); in putExtra()
[all …]
DShadowContentResolver.java174 public static void requestSync(Account account, String authority, Bundle extras) {
175 validateSyncExtrasBundle(extras);
178 status.syncExtras = extras;
202 public static void addPeriodicSync(Account account, String authority, Bundle extras,
205 validateSyncExtrasBundle(extras);
206 …getStatus(account, authority, true).syncs.add(new PeriodicSync(account, authority, extras, pollFre…
210 public static void removePeriodicSync(Account account, String authority, Bundle extras) {
211 validateSyncExtrasBundle(extras);
222 public static void validateSyncExtrasBundle(Bundle extras) {
223 for (String key : extras.keySet()) {
[all …]
DShadowPeriodicSync.java17 …public void __constructor__(Account account, String authority, Bundle extras, long period) throws … in __constructor__() argument
21 setField("extras", extras); in __constructor__()
DShadowLocation.java42 private Bundle extras = new Bundle(); field in ShadowLocation
430 return extras; in getExtras()
434 public void setExtras(Bundle extras) { in setExtras() argument
435 this.extras = extras; in setExtras()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/
DDelayedSyncControllerTest.java55 Bundle extras = new Bundle(); in testManualSyncRequestsShouldAlwaysTriggerSync() local
56 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in testManualSyncRequestsShouldAlwaysTriggerSync()
57 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testManualSyncRequestsShouldAlwaysTriggerSync() local
61 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in testManualSyncRequestsShouldAlwaysTriggerSync()
62 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testManualSyncRequestsShouldAlwaysTriggerSync() local
69 Bundle extras = new Bundle(); in testSyncRequestsShouldTriggerSyncWhenChromeIsInForeground() local
70 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testSyncRequestsShouldTriggerSyncWhenChromeIsInForeground() local
78 Bundle extras = new Bundle(); in testSyncRequestsWhenChromeIsInBackgroundShouldBeDelayed() local
79 assertFalse(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testSyncRequestsWhenChromeIsInBackgroundShouldBeDelayed() local
92 Bundle extras = new Bundle(); in testDelayedSyncRequestsShouldBeTriggeredOnResume() local
[all …]
DChromiumSyncAdapterTest.java87 Bundle extras = new Bundle(); in testRequestSyncSpecificDataType() local
89 extras.putInt(ChromiumSyncAdapter.INVALIDATION_OBJECT_SOURCE_KEY, 61); in testRequestSyncSpecificDataType()
91 extras.putString(ChromiumSyncAdapter.INVALIDATION_OBJECT_ID_KEY, "objectid_value"); in testRequestSyncSpecificDataType()
92 extras.putLong(ChromiumSyncAdapter.INVALIDATION_VERSION_KEY, 42); in testRequestSyncSpecificDataType()
93 extras.putString(ChromiumSyncAdapter.INVALIDATION_PAYLOAD_KEY, "payload_value"); in testRequestSyncSpecificDataType()
94 mSyncAdapter.onPerformSync(TEST_ACCOUNT, extras, in testRequestSyncSpecificDataType()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/
DChromiumSyncAdapter.java57 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
59 if (!DelayedSyncController.getInstance().shouldPerformSync(getContext(), extras, account)) { in onPerformSync()
68 getStartupCallback(mApplication, account, extras, syncResult, semaphore); in onPerformSync()
128 final Context context, final Account acct, Bundle extras, in getStartupCallback() argument
130 final boolean syncAllTypes = extras.getString(INVALIDATION_OBJECT_ID_KEY) == null; in getStartupCallback()
131 final int objectSource = syncAllTypes ? 0 : extras.getInt(INVALIDATION_OBJECT_SOURCE_KEY); in getStartupCallback()
132 final String objectId = syncAllTypes ? "" : extras.getString(INVALIDATION_OBJECT_ID_KEY); in getStartupCallback()
133 final long version = syncAllTypes ? 0 : extras.getLong(INVALIDATION_VERSION_KEY); in getStartupCallback()
134 final String payload = syncAllTypes ? "" : extras.getString(INVALIDATION_PAYLOAD_KEY); in getStartupCallback()
DDelayedSyncController.java92 boolean shouldPerformSync(Context ctx, Bundle extras, Account account) { in shouldPerformSync() argument
93 boolean manualSync = isManualSync(extras); in shouldPerformSync()
105 private static boolean isManualSync(Bundle extras) { in isManualSync() argument
107 if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, false)) { in isManualSync()
/external/chromium_org/build/secondary/third_party/android_tools/
DBUILD.gn22 jar_path = "$android_sdk_root/extras/google/gcm/gcm-client/dist/gcm.jar"
30 jar_path = "$android_sdk_root/extras/android/support/v13/android-support-v13.jar"
36 "$android_sdk_root/extras/android/support/v7/appcompat/res"
43 …jar_path = "$android_sdk_root/extras/android/support/v7/appcompat/libs/android-support-v7-appcompa…
49 "$android_sdk_root/extras/android/support/v7/mediarouter/res"
62 …jar_path = "$android_sdk_root/extras/android/support/v7/mediarouter/libs/android-support-v7-mediar…
/external/chromium_org/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/
DGCMDriver.java164 static void onMessageReceived(Context context, final String appId, final Bundle extras) { in onMessageReceived() argument
166 if (!extras.containsKey(pushApiDataKey)) { in onMessageReceived()
188 String senderId = extras.getString(bundleSenderId); in onMessageReceived()
189 String collapseKey = extras.getString(bundleCollapseKey); in onMessageReceived()
192 for (String key : extras.keySet()) { in onMessageReceived()
198 dataKeysAndValues.add(extras.getString(key)); in onMessageReceived()
/external/chromium_org/build/android/pylib/device/
Dintent.py14 category=None, component=None, data=None, extras=None, argument
39 self._extras = extras
69 def extras(self): member in Intent
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DTBSCertificate.java110 for (int extras = seq.size() - (seqStart + 6) - 1; extras > 0; extras--) in TBSCertificate()
112 DERTaggedObject extra = (DERTaggedObject)seq.getObjectAt(seqStart + 6 + extras); in TBSCertificate()
DTBSCertificateStructure.java112 for (int extras = seq.size() - (seqStart + 6) - 1; extras > 0; extras--) in TBSCertificateStructure()
114 DERTaggedObject extra = (DERTaggedObject)seq.getObjectAt(seqStart + 6 + extras); in TBSCertificateStructure()
/external/chromium_org/testing/android/java/src/org/chromium/native_test/
DChromeNativeTestActivity.java44 Bundle extras = this.getIntent().getExtras(); in onCreate() local
45 if (extras != null && extras.containsKey(EXTRA_RUN_IN_SUB_THREAD)) { in onCreate()
/external/chromium_org/components/omnibox/
Dsearch_suggestion_parser.cc358 const base::DictionaryValue* extras = NULL; in ParseSuggestResults() local
360 if (root_list->GetDictionary(4, &extras)) { in ParseSuggestResults()
361 extras->GetList("google:suggesttype", &types); in ParseSuggestResults()
364 if (extras->GetList("google:suggestrelevance", &relevances) && in ParseSuggestResults()
367 extras->GetInteger("google:verbatimrelevance", in ParseSuggestResults()
373 extras->GetBoolean("google:fieldtrialtriggered", in ParseSuggestResults()
377 if (extras->GetDictionary("google:clientdata", &client_data) && client_data) in ParseSuggestResults()
380 if (extras->GetList("google:suggestdetail", &suggestion_details) && in ParseSuggestResults()
387 json_serializer.Serialize(*extras); in ParseSuggestResults()
/external/fonttools/Lib/fontTools/ttLib/tables/
DT_S_I__1.py7 extras = {0xfffa: "ppgm", 0xfffb: "cvt", 0xfffc: "reserved", 0xfffd: "fpgm"} variable in table_T_S_I__1
30 if self.extras[extraCode] == "fpgm": # this is the last one
37 self.extraPrograms[self.extras[extraCode]] = text
63 codes = sorted(self.extras.items())
/external/chromium_org/gpu/command_buffer/
Dbuild_gles2_cmd_buffer.py3021 def WriteValidUnitTest(self, func, file, test, *extras): argument
3041 for extra in extras:
3049 def WriteInvalidUnitTest(self, func, file, test, *extras): argument
3090 for extra in extras:
3094 def WriteServiceUnitTest(self, func, file, *extras): argument
3130 self.WriteValidUnitTest(func, file, valid_test, *extras)
3141 self.WriteInvalidUnitTest(func, file, invalid_test, *extras)
3143 def WriteImmediateServiceUnitTest(self, func, file, *extras): argument
3151 def WriteBucketServiceUnitTest(self, func, file, *extras): argument
3449 def WriteServiceUnitTest(self, func, file, *extras): argument
[all …]
/external/chromium_org/components/cronet/android/test/src/org/chromium/cronet_test_apk/
DCronetTestActivity.java165 Bundle extras = intent.getExtras(); in getCommandLineArg() local
166 Log.i(TAG, "Cronet extras: " + extras); in getCommandLineArg()
167 if (extras != null) { in getCommandLineArg()
168 String[] commandLine = extras.getStringArray(COMMAND_LINE_ARGS_KEY); in getCommandLineArg()
/external/chromium_org/components/cronet/android/sample/src/org/chromium/cronet_sample_apk/
DCronetSampleActivity.java144 Bundle extras = intent.getExtras(); in getCommandLineArg() local
145 Log.i(TAG, "Cronet extras: " + extras); in getCommandLineArg()
146 if (extras != null) { in getCommandLineArg()
147 String[] commandLine = extras.getStringArray(COMMAND_LINE_ARGS_KEY); in getCommandLineArg()
/external/vixl/tools/
Dmake_instruction_doc.pl33 my @extras = qw/bind debug dci dc32 dc64/;
61 ($i ~~ @extras) and $type = 'pseudo';
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/
Derrors.py96 resp_headers=None, extras=None): argument
122 (expected, status, path, headers, resp_headers, extras))
/external/chromium_org/native_client_sdk/
Dnative_client_sdk_untrusted.gyp25 'src/libraries/third_party/newlib-extras',
31 'src/libraries/third_party/newlib-extras',
/external/chromium_org/third_party/skia/bench/
Dgen_bench_expectations.py92 extras = []
97 extras.append((idx, data.per_iter_time))
101 bench_dict[key] = [point.time] + compute_ranges(point.per_iter_time, extras)
/external/skia/bench/
Dgen_bench_expectations.py92 extras = []
97 extras.append((idx, data.per_iter_time))
101 bench_dict[key] = [point.time] + compute_ranges(point.per_iter_time, extras)
/external/chromium_org/third_party/skia/tools/
DPictureResultsWriter.h263 SkString extras; in makeBuilderJson() local
265 extras.append(splitBuilder[i]); in makeBuilderJson()
267 extras.append("-"); in makeBuilderJson()
270 builderData["badParams"] = extras.c_str(); in makeBuilderJson()

1234