/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 228 final int n = command.getExtras().getInt("n"); in onHandleCommand() 229 final int flag = command.getExtras().getInt("flag"); in onHandleCommand() 233 final int n = command.getExtras().getInt("n"); in onHandleCommand() 234 final int flag = command.getExtras().getInt("flag"); in onHandleCommand() 238 final int flag = command.getExtras().getInt("flag"); in onHandleCommand() 242 final int beforeLength = command.getExtras().getInt("beforeLength"); in onHandleCommand() 243 final int afterLength = command.getExtras().getInt("afterLength"); in onHandleCommand() 244 final int flags = command.getExtras().getInt("flags"); in onHandleCommand() 249 final int reqModes = command.getExtras().getInt("reqModes"); in onHandleCommand() 254 command.getExtras().getParcelable("request"); in onHandleCommand() [all …]
|
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/ |
D | LaunchingActivity.java | 36 if (intent != null && intent.getExtras() != null in onCreate() 37 && intent.getExtras().getBoolean(KEY_FINISH_BEFORE_LAUNCH)) { in onCreate() 41 launchActivityFromExtras(intent.getExtras()); in onCreate() 48 launchActivityFromExtras(intent.getExtras()); in onNewIntent()
|
/cts/tests/inputmethod/mocka11yime/service/src/com/android/cts/mocka11yime/ |
D | MockA11yIme.java | 83 mOnReceiveCommand.accept(MockA11yImeCommand.fromBundle(intent.getExtras())); in onReceive() 251 final CharSequence text = command.getExtras().getCharSequence("text"); in onHandleCommand() 253 command.getExtras().getInt("newCursorPosition"); in onHandleCommand() 254 final TextAttribute textAttribute = command.getExtras().getParcelable( in onHandleCommand() 261 final int start = command.getExtras().getInt("start"); in onHandleCommand() 262 final int end = command.getExtras().getInt("end"); in onHandleCommand() 267 final int beforeLength = command.getExtras().getInt("beforeLength"); in onHandleCommand() 268 final int afterLength = command.getExtras().getInt("afterLength"); in onHandleCommand() 269 final int flags = command.getExtras().getInt("flags"); in onHandleCommand() 274 final int beforeLength = command.getExtras().getInt("beforeLength"); in onHandleCommand() [all …]
|
/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/ |
D | ShortcutConfirmPin.java | 55 replyAction = shortcut.getExtras().getString(Constants.EXTRA_REPLY_ACTION); in onCreate() 67 if (shortcut.getExtras().getBoolean(Constants.IGNORE)) { in onCreate() 75 final boolean expectPinned = shortcut.getExtras().getBoolean(Constants.ALREADY_PINNED); in onCreate() 81 final String expectLabel = shortcut.getExtras().getString(Constants.LABEL); in onCreate() 90 if (shortcut.getExtras().getBoolean(Constants.HAS_ICON)) { in onCreate()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | LaunchAssistantActivityIntoAssistantStack.java | 32 TranslucentAssistantActivity.launchActivityIntoAssistantStack(this, intent.getExtras()); in onResume() 34 AssistantActivity.launchActivityIntoAssistantStack(this, getIntent().getExtras()); in onResume()
|
D | AssistantVoiceInteractionService.java | 50 mExtras = intent.getExtras() != null ? intent.getExtras() : new Bundle(); in onStartCommand()
|
D | LaunchAssistantActivityFromSession.java | 25 AssistantVoiceInteractionService.launchAssistantActivity(this, getIntent().getExtras()); in onResume()
|
/cts/tests/tests/telecom/CallStreamingServiceTestApp/src/android/telecom/cts/streamingtestapp/ |
D | CtsCallStreamingService.java | 35 Log.i(LOG_TAG, "onCallStreamingStarted: id=" + call.getExtras()); in onCallStreamingStarted() 37 sCallBundle.putBundle(EXTRA_CALL_EXTRAS, call.getExtras()); in onCallStreamingStarted()
|
/cts/tests/tests/telecom/ThirdPtyInCallServiceTestApp/src/android/telecom/cts/thirdptyincallservice/ |
D | CtsThirdPartyInCallService.java | 48 Bundle extras = details.getExtras(); 163 return sCalls.stream().filter(c -> c.getDetails().getExtras() != null in waitForExtrasChanged() 164 && c.getDetails().getExtras().containsKey(mExpectedKey) in waitForExtrasChanged() 165 && c.getDetails().getExtras().getString(mExpectedKey).equals(mExpectedValue)) in waitForExtrasChanged()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | PlaybackStateTest.java | 76 assertNull(state.getExtras()); in testBuilder() 107 assertEquals(EXTRAS_VALUE, state.getExtras().get(EXTRAS_KEY)); in testBuilder_setterMethods() 215 assertEquals(EXTRAS_VALUE, stateOut.getExtras().get(EXTRAS_KEY)); in testWriteToParcel() 247 assertEquals(EXTRAS_VALUE, customAction.getExtras().get(EXTRAS_KEY)); in testCustomAction() 336 assertEquals(action1.getExtras() != null, action2.getExtras() != null); in assertCustomActionEquals() 337 if (action1.getExtras() != null) { in assertCustomActionEquals() 338 assertEquals(action1.getExtras().get(EXTRAS_KEY), action2.getExtras().get(EXTRAS_KEY)); in assertCustomActionEquals()
|
/cts/hostsidetests/shortcuts/deviceside/backup/launcher4old/src/android/content/pm/cts/shortcut/backup/launcher4/ |
D | ShortcutManagerPostBackupTest.java | 50 assertNull(si.getExtras()); in testRestoredOnOldVersion() 84 assertNull(si.getExtras()); in testRestoredOnNewVersion() 116 assertNull(si.getExtras()); in testRestoreWrongKey()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | JobWorkItemTest.java | 69 final PersistableBundle extras = actualJwi.getExtras(); in testAllInfoGivenToJob() 87 assertTrue(jwi.getExtras().isEmpty()); in testIntentOnlyItem_builder() 99 assertTrue(jwi.getExtras().isEmpty()); in testIntentOnlyItem_ctor() 123 assertTrue(jwi.getExtras().isEmpty()); in testItemWithEstimatedBytes_builder() 148 assertTrue(jwi.getExtras().isEmpty()); in testItemWithEstimatedBytes_ctor() 160 assertTrue(jwi.getExtras().isEmpty()); in testItemWithMinimumChunkBytes_builder() 212 assertTrue(jwi.getExtras().isEmpty()); in testItemWithMinimumChunkBytes_ctor() 257 final PersistableBundle extras = jwi.getExtras(); in testItemWithPersistableBundle()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | SimpleActivity.java | 39 final Bundle extras = intent.getExtras(); in onCreate() 72 if (intent.getExtras().getBoolean("finish")) { in onNewIntent()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConnectionTest.java | 231 assertEquals(null, connection.getExtras()); in testSetAndGetExtras() 237 final Bundle retrieved = connection.getExtras(); in testSetAndGetExtras() 258 assertEquals(null, connection.getExtras()); in testPutExtras() 264 final Bundle retrieved = connection.getExtras(); in testPutExtras() 285 assertEquals(null, connection.getExtras()); in testRemoveExtras() 292 final Bundle retrieved = connection.getExtras(); in testRemoveExtras() 313 assertEquals(null, connection.getExtras()); in testRemoveExtrasVariable() 321 final Bundle retrieved = connection.getExtras(); in testRemoveExtrasVariable()
|
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/ |
D | ContentInfoTest.java | 89 assertThat(split.first.getExtras()).isNotNull(); in testPartition_multipleItems() 92 assertThat(split.second.getExtras()).isNotNull(); in testPartition_multipleItems() 142 assertThat(copy.getExtras()).isSameInstanceAs(original.getExtras()); in testBuilder_copy() 170 assertThat(copy.getExtras()).isEqualTo(null); in testBuilder_copyAndUpdate() 268 assertThat(fromParcel.getExtras()).isEqualTo(null); in testParcel_withMinimalMetadata() 288 assertThat(fromParcel.getExtras().keySet()).isEqualTo(extras.keySet()); in testParcel_withAllMetadata() 289 assertThat(fromParcel.getExtras().getString("one")).isEqualTo("sample value"); in testParcel_withAllMetadata()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | ConfigUpdateIntentsTest.java | 134 assertTrue(configUpdateIntent.getExtras() in testConfigUpdateReceiversIntent() 138 assertTrue(configUpdateIntent.getExtras() in testConfigUpdateReceiversIntent() 142 assertTrue(configUpdateIntent.getExtras() in testConfigUpdateReceiversIntent()
|
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/ |
D | ShortcutManagerPostUpgradeTest.java | 42 s.getExtras().getInt(Consts.EXTRA_ICON_RES_ID)); in testPostUpgrade() 47 s.getExtras().getInt(Consts.EXTRA_ICON_RES_ID)); in testPostUpgrade()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/functions/ |
D | ExecuteAppFunctionResponseCtsTest.java | 66 assertThat(restored.getExtras().size()).isEqualTo(1); in build() 67 assertThat(restored.getExtras().getString("extra")).isEqualTo("value"); in build()
|
D | ExecuteAppFunctionRequestCtsTest.java | 72 assertThat(restored.getExtras().size()).isEqualTo(1); in build() 73 assertThat(restored.getExtras().getString("extra")).isEqualTo("value"); in build()
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextLinksTest.java | 71 assertTrue(textLinks.getExtras().isEmpty()); in testTextLinks_defaultValues() 85 assertEquals(BUNDLE_VALUE, textLinks.getExtras().getString(BUNDLE_KEY)); in testTextLinks_full() 93 assertEquals(Bundle.EMPTY, textLinkNoExtra.getExtras()); in testTextLinks_full() 99 assertEquals(BUNDLE_VALUE, textLinkHasExtra.getExtras().getString(BUNDLE_KEY)); in testTextLinks_full() 232 assertTrue(request.getExtras().isEmpty()); in testTextLinksRequest_defaultValues() 251 assertEquals(BUNDLE_VALUE, request.getExtras().getString(BUNDLE_KEY)); in testTextLinksRequest_full()
|
D | TextClassificationTest.java | 123 assertEquals(BUNDLE_VALUE, classification.getExtras().getString(BUNDLE_KEY)); in testTextClassification() 176 assertTrue(classification.getExtras().isEmpty()); in testTextClassification_defaultValues() 191 assertEquals(BUNDLE_VALUE, request.getExtras().getString(BUNDLE_KEY)); in testTextClassificationRequest() 203 assertTrue(request.getExtras().isEmpty()); in testTextClassificationRequest_nullValues() 211 assertTrue(request.getExtras().isEmpty()); in testTextClassificationRequest_defaultValues()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | ContentCaptureContextTest.java | 95 assertExtras(context.getExtras()); in testSetGetBundle() 119 assertThat(context.getExtras()).isNull(); in testForLocus_valid() 128 assertExtras(context.getExtras()); in assertEverything()
|
/cts/tests/translation/src/android/translation/cts/unittests/ |
D | TranslationValueTest.java | 80 assertThat(value.getExtras()).isNotNull(); in testTranslationResponseValue_validDictionary() 82 final Bundle e = value.getExtras(); in testTranslationResponseValue_validDictionary() 135 assertThat(value.getExtras()).isEqualTo(Bundle.EMPTY); in testTranslationResponseValue_validTransliteration()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LocalService.java | 67 if (intent.getExtras() != null) { in onStart() 69 = (IBinderParcelable) intent.getExtras().getParcelable(REPORT_OBJ_NAME); in onStart()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/ |
D | MainFragment.java | 105 if (intent.getExtras() != null) { 106 int initialDelay = intent.getExtras().getInt(IntentKeys.SCROLL_DELAY); 107 int scrollCount = intent.getExtras().getInt(IntentKeys.SCROLL_COUNT); 108 int scrollInterval = intent.getExtras().getInt(IntentKeys.SCROLL_INTERVAL);
|