Home
last modified time | relevance | path

Searched refs:getExtras (Results 1 – 25 of 43) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowIntentTest.java47 assertEquals(intent.getExtras(), null); in testGetExtraReturnsNull_whenThereAreNoExtrasAdded()
54 assertEquals("bar", intent.getExtras().get("foo")); in testStringExtra()
62 assertSame(cs, intent.getExtras().get("foo")); in testCharSequenceExtra()
69 assertEquals(2, intent.getExtras().get("foo")); in testIntExtra()
77 assertEquals(2d, intent.getExtras().get("foo")); in testDoubleExtra()
85 assertThat(intent.getExtras().get("foo")).isEqualTo(2f); in testFloatExtra()
116 assertEquals(serializable, intent.getExtras().get("foo")); in testSerializableExtra()
126 assertEquals(serializable, intent.getExtras().get("foo")); in testSerializableOfParcelableExtra()
135 assertSame(parcelable, intent.getExtras().get("foo")); in testParcelableExtra()
163 assertSame(parcels, intent.getExtras().getParcelableArrayList("foo")); in testParcelableArrayListExtra()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBroadcastPendingResult.java80 intent.getExtras(), in createSticky()
99 intent.getExtras(), in createSticky()
110 intent.getExtras(), in createSticky()
DShadowCursorWrapper.java217 public Bundle getExtras() { in getExtras() method in ShadowCursorWrapper
218 return wrappedCursor.getExtras(); in getExtras()
/external/setupcompat/main/java/com/google/android/setupcompat/util/
DWizardManagerHelper.java101 if (data != null && data.getExtras() != null) { in getNextIntent()
102 intent.putExtras(data.getExtras()); in getNextIntent()
/external/libtextclassifier/java/src/com/android/textclassifier/
DExtrasUtils.java87 return classification.getExtras().getBundle(FOREIGN_LANGUAGE); in getForeignLanguageExtra()
205 return classification.getExtras().getParcelableArrayList(ACTIONS_INTENTS); in getActionsIntents()
298 return request.getExtras().getBoolean(IS_SERIALIZED_ENTITY_DATA_ENABLED); in isSerializedEntityDataEnabled()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DManualGlitchActivity.java76 mBundleFromIntent = getIntent().getExtras(); in onCreate()
106 mBundleFromIntent = intent.getExtras(); in onNewIntent()
DRoundTripLatencyActivity.java327 mBundleFromIntent = getIntent().getExtras(); in onCreate()
332 mBundleFromIntent = intent.getExtras(); in onNewIntent()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DPlayerBufferPeriodActivity.java39 Bundle bundle = getIntent().getExtras(); in onCreate()
DRecorderBufferPeriodActivity.java41 Bundle bundle = getIntent().getExtras(); in onCreate()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DTextClassifierImplTest.java208 Bundle extras = classification.getExtras(); in testClassifyText_date()
354 List<Bundle> entities = ExtrasUtils.getEntities(textLink.getExtras()); in testGenerateLinks_entityData()
369 List<Bundle> entities = ExtrasUtils.getEntities(textLink.getExtras()); in testGenerateLinks_entityData_disabled()
460 Intent actionIntent = ExtrasUtils.getActionIntent(conversationAction.getExtras()); in testSuggestConversationActions_openUrl()
490 String code = ExtrasUtils.getCopyText(conversationAction.getExtras()); in testSuggestConversationActions_copy()
492 assertThat(ExtrasUtils.getSerializedEntityData(conversationAction.getExtras())).isNotEmpty(); in testSuggestConversationActions_copy()
/external/tensorflow/tensorflow/lite/tools/benchmark/android/src/org/tensorflow/lite/benchmark/
DBenchmarkModelActivity.java37 Bundle bundle = intent.getExtras(); in onCreate()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/logging/
DTextClassificationEventTest.java163 assertThat(event.getExtras().get("key")).isEqualTo("value"); in assertFullCommonFields()
180 assertThat(event.getExtras().size()).isEqualTo(0); in assertMinimumCommonFields()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/statsd/
DTextClassifierEventConverterTest.java204 assertThat(event.getExtras().get("key")).isEqualTo("value"); in assertFullCommonFields()
220 assertThat(event.getExtras().size()).isEqualTo(0); in assertMinimumCommonFields()
/external/libtextclassifier/notification/src/com/android/textclassifier/notification/
DSmartSuggestionsLogSession.java88 String actionType = action.getExtras().getString(SmartSuggestionsHelper.KEY_ACTION_TYPE); in onActionClicked()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
DRoboCursorTest.java236 assertThat(cursor.getExtras()).isEqualTo(extras); in getExtras_shouldReturnExtras()
237 assertThat(cursor.getExtras().getString("Foo")).isEqualTo("Bar"); in getExtras_shouldReturnExtras()
/external/robolectric-shadows/shadows/androidx/fragment/src/test/java/org/robolectric/shadows/androidx/fragment/
DFragmentControllerTest.java155 assertThat(intentInFragment.getExtras().getString("test_key")).isEqualTo("test_value"); in withIntent()
182 assertThat(intentInFragment.getExtras().getString("test_key")).isEqualTo("test_value"); in withIntentAndArguments()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/
DBaseCursor.java206 public Bundle getExtras() { in getExtras() method in BaseCursor
DRoboCursor.java190 @Override public Bundle getExtras() { in getExtras() method in RoboCursor
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DEventFacade.java439 if (intent.getExtras() != null) { in onReceive()
440 data = (Bundle) intent.getExtras().clone(); in onReceive()
/external/angle/src/tests/test_utils/runner/android/java/src/com/android/angle/test/
DAngleNativeTest.java78 Bundle extras = intent.getExtras(); in parseArgumentsFromIntent()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/scheduler/
DPlatformScheduler.java128 PersistableBundle extras = params.getExtras(); in onStartJob()
/external/dagger2/java/dagger/hilt/android/internal/lifecycle/
DDefaultViewModelFactories.java97 activity.getIntent() != null ? activity.getIntent().getExtras() : null, in fromActivity()
/external/exoplayer/tree/extensions/jobdispatcher/src/main/java/com/google/android/exoplayer2/ext/jobdispatcher/
DJobDispatcherScheduler.java145 Bundle extras = params.getExtras(); in onStartJob()
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/
DTextClassifierEventConverter.java127 .setExtras(sourceEvent.getExtras()) in copyCommonFields()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DFragmentControllerTest.java134 assertThat(intentInFragment.getExtras().getString("test_key")).isEqualTo("test_value"); in withIntent()

12