Home
last modified time | relevance | path

Searched refs:extras (Results 1 – 25 of 77) 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.java56 Bundle extras = new Bundle(); in testManualSyncRequestsShouldAlwaysTriggerSync() local
57 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in testManualSyncRequestsShouldAlwaysTriggerSync()
58 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testManualSyncRequestsShouldAlwaysTriggerSync() local
62 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in testManualSyncRequestsShouldAlwaysTriggerSync()
63 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testManualSyncRequestsShouldAlwaysTriggerSync() local
70 Bundle extras = new Bundle(); in testSyncRequestsShouldTriggerSyncWhenChromeIsInForeground() local
71 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testSyncRequestsShouldTriggerSyncWhenChromeIsInForeground() local
79 Bundle extras = new Bundle(); in testSyncRequestsWhenChromeIsInBackgroundShouldBeDelayed() local
80 assertFalse(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testSyncRequestsWhenChromeIsInBackgroundShouldBeDelayed() local
93 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()
130 final Context context, final Account acct, Bundle extras, in getStartupCallback() argument
132 final boolean syncAllTypes = extras.getString(INVALIDATION_OBJECT_ID_KEY) == null; in getStartupCallback()
133 final int objectSource = syncAllTypes ? 0 : extras.getInt(INVALIDATION_OBJECT_SOURCE_KEY); in getStartupCallback()
134 final String objectId = syncAllTypes ? "" : extras.getString(INVALIDATION_OBJECT_ID_KEY); in getStartupCallback()
135 final long version = syncAllTypes ? 0 : extras.getLong(INVALIDATION_VERSION_KEY); in getStartupCallback()
136 final String payload = syncAllTypes ? "" : extras.getString(INVALIDATION_PAYLOAD_KEY); in getStartupCallback()
DDelayedSyncController.java93 boolean shouldPerformSync(Context ctx, Bundle extras, Account account) { in shouldPerformSync() argument
94 boolean manualSync = isManualSync(extras); in shouldPerformSync()
106 private static boolean isManualSync(Bundle extras) { in isManualSync() argument
108 if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, false)) { in isManualSync()
/external/chromium_org/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/
DGCMDriver.java158 static void onMessageReceived(Context context, final String appId, final Bundle extras) { in onMessageReceived() argument
160 if (!extras.containsKey(PUSH_API_DATA_KEY)) { in onMessageReceived()
182 String senderId = extras.getString(BUNDLE_SENDER_ID); in onMessageReceived()
183 String collapseKey = extras.getString(BUNDLE_COLLAPSE_KEY); in onMessageReceived()
186 for (String key : extras.keySet()) { in onMessageReceived()
192 dataKeysAndValues.add(extras.getString(key)); in onMessageReceived()
/external/chromium_org/testing/android/java/src/org/chromium/native_test/
DChromeNativeTestActivity.java38 Bundle extras = this.getIntent().getExtras(); in onCreate() local
39 if (extras != null && extras.containsKey(EXTRA_RUN_IN_SUB_THREAD)) { in onCreate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
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()
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()
/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())
DT_S_I__3.py7 extras = {0xfffa: "reserved0", 0xfffb: "reserved1", 0xfffc: "reserved2", 0xfffd: "reserved3"} variable in table_T_S_I__3
/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/components/cronet/android/sample/src/org/chromium/cronet_sample_apk/
DCronetSampleActivity.java192 Bundle extras = intent.getExtras(); in getCommandLineArg() local
193 Log.i(TAG, "Cronet extras: " + extras); in getCommandLineArg()
194 if (extras != null) { in getCommandLineArg()
195 String[] commandLine = extras.getStringArray(COMMAND_LINE_ARGS_KEY); in getCommandLineArg()
/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/chrome/browser/autocomplete/
Dbase_search_provider.cc828 const base::DictionaryValue* extras = NULL; in ParseSuggestResults() local
830 if (root_list->GetDictionary(4, &extras)) { in ParseSuggestResults()
831 extras->GetList("google:suggesttype", &types); in ParseSuggestResults()
834 if (extras->GetList("google:suggestrelevance", &relevances) && in ParseSuggestResults()
837 extras->GetInteger("google:verbatimrelevance", in ParseSuggestResults()
843 extras->GetBoolean("google:fieldtrialtriggered", &triggered); in ParseSuggestResults()
848 if (extras->GetDictionary("google:clientdata", &client_data) && client_data) in ParseSuggestResults()
851 if (extras->GetList("google:suggestdetail", &suggestion_details) && in ParseSuggestResults()
858 json_serializer.Serialize(*extras); in ParseSuggestResults()
/external/qemu/distrib/ext4_utils/
DREADME1 This directory contains a copy of the $AOSP/system/extras/ext4_utils
/external/chromium_org/third_party/WebKit/Source/core/animation/
DKeyframeEffectModel.cpp48 PropertySet extras = m_keyframes[i]->properties(); in properties() local
49 for (PropertySet::const_iterator it = extras.begin(); it != extras.end(); ++it) { in properties()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DChromeBrowserProvider.java689 public Bundle call(String method, String arg, Bundle extras) { in call() argument
695 if (method == null || extras == null) return null; in call()
700 bookmarkNodeExists(extras.getLong(argKey(0)))); in call()
703 createBookmarksFolderOnce(extras.getString(argKey(0)), in call()
704 extras.getLong(argKey(1)))); in call()
709 getBookmarkNode(extras.getLong(argKey(0)), in call()
710 extras.getBoolean(argKey(1)), in call()
711 extras.getBoolean(argKey(2)), in call()
712 extras.getBoolean(argKey(3)), in call()
713 extras.getBoolean(argKey(4)))); in call()
[all …]
/external/owasp/sanitizer/src/tests/org/owasp/html/
DSanitizersTest.java267 PolicyFactory extras = new HtmlPolicyBuilder() in testSkipIfEmptyUnionsProperly() local
279 .and(extras); in testSkipIfEmptyUnionsProperly()

1234