Home
last modified time | relevance | path

Searched refs:extra (Results 1 – 25 of 71) sorted by relevance

123

/cts/hostsidetests/locale/atom/overridelocaleconfig/src/android/localemanager/atom/overridelocaleconfig/
DActivityForSettingOverrideLocaleConfig.java38 String extra = intent.getStringExtra(OVERRIDE_LOCALE_CONFIG_KEY); in onCreate() local
39 callSetOverrideLocaleConfig(extra); in onCreate()
45 public void callSetOverrideLocaleConfig(String extra) { in callSetOverrideLocaleConfig() argument
46 LocaleConfig localeConfig = extra.equals(EXTRA_REMOVE_OVERRIDE) ? null : new LocaleConfig( in callSetOverrideLocaleConfig()
47 LocaleList.forLanguageTags(extra)); in callSetOverrideLocaleConfig()
/cts/tests/tests/telecom/src/android/telecom/cts/
DAdhocConferenceTest.java69 Bundle extra = new Bundle(); in testStartConference() local
70 extra.putParcelable(TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE, in testStartConference()
72 mTelecomManager.startConference(PARTICIPANTS, extra); in testStartConference()
90 Bundle extra = new Bundle(); in testStartConferenceFailed() local
92 mTelecomManager.startConference(participants, extra); in testStartConferenceFailed()
101 Bundle extra = new Bundle(); in testAddNewIncomingConference_onAnswer() local
102 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testAddNewIncomingConference_onAnswer()
124 Bundle extra = new Bundle(); in testAddNewIncomingConference_onReject() local
125 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testAddNewIncomingConference_onReject()
151 Bundle extra = new Bundle(); in testAddNewIncomingConferenceFailed() local
[all …]
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvTrackInfoTest.java59 assertThat(info).extra().isNull(); in newAudioTrack_default()
63 assertThat(copy).extra().isNull(); in newAudioTrack_default()
90 assertThat(info).extra().isEmpty(); in newAudioTrack_everything()
94 assertThat(copy).extra().isEmpty(); in newAudioTrack_everything()
111 assertThat(info).extra().isNull(); in newVideoTrack_default()
115 assertThat(copy).extra().isNull(); in newVideoTrack_default()
143 assertThat(info).extra().bool("testTrue").isTrue(); in newVideoTrack_everything()
147 assertThat(copy).extra().bool("testTrue").isTrue(); in newVideoTrack_everything()
162 assertThat(info).extra().isNull(); in newSubtitleTrack_default()
166 assertThat(copy).extra().isNull(); in newSubtitleTrack_default()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DStartActivityAsUserActivity.java35 Bundle extra = getIntent().getExtras(); in onCreate() local
36 RemoteCallback cb = (RemoteCallback) extra.get(EXTRA_CALLBACK); in onCreate()
DActivityVisibilityTests.java321 getLaunchActivityBuilder().setUseInstrumentation().setIntentExtra(extra -> { in sleepDeviceAndLaunchTurnScreenOnActivity()
322 extra.putBoolean(Components.TurnScreenOnActivity.EXTRA_USE_WINDOW_FLAGS, in sleepDeviceAndLaunchTurnScreenOnActivity()
324 extra.putLong(Components.TurnScreenOnActivity.EXTRA_SLEEP_MS_IN_ON_CREATE, in sleepDeviceAndLaunchTurnScreenOnActivity()
627 extra -> extra.putBoolean(Components.TestActivity.EXTRA_NO_IDLE, true)) in launchNoIdleActivity()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierEventTest.java159 final Bundle extra = new Bundle(); in createFullTextSelectionEvent() local
160 extra.putString("key", "value"); in createFullTextSelectionEvent()
171 .setExtras(extra) in createFullTextSelectionEvent()
227 final Bundle extra = new Bundle(); in createFullTextLinkifyEvent() local
228 extra.putString("key", "value"); in createFullTextLinkifyEvent()
235 .setExtras(extra) in createFullTextLinkifyEvent()
289 final Bundle extra = new Bundle(); in createFullConversationActionsEvent() local
290 extra.putString("key", "value"); in createFullConversationActionsEvent()
297 .setExtras(extra) in createFullConversationActionsEvent()
353 final Bundle extra = new Bundle(); in createFullLanguageDetectionEvent() local
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityStarterTests.java162 .setIntentExtra(extra -> extra.putBoolean( in testLaunchNoHistoryActivityShowWhenLocked()
180 .setIntentExtra(extra -> extra.putBoolean( in testNoHistoryActivityNotFinished()
209 .setIntentExtra(extra -> extra.putBoolean( in testNoHistoryActivityWithDifferentTask()
223 .setIntentExtra(extra -> extra.putBoolean( in testNoHistoryActivityWithDifferentTask()
251 .setIntentExtra(extra -> extra.putBoolean( in testNoHistoryActivityWithTranslucentActivity()
729 .setIntentExtra(extra -> extra.putBoolean( in testActivityWithRelinquishTaskIdentity()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInlineSuggestionsRequestTest.java114 final Bundle extra = new Bundle(); in testInlineSuggestionsRequestValues() local
115 extra.putString("key", "value"); in testInlineSuggestionsRequestValues()
128 .setExtras(/* value */ extra) in testInlineSuggestionsRequestValues()
135 assertThat(request.getExtras()).isEqualTo(extra); in testInlineSuggestionsRequestValues()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyVideoSourceActivity.java44 mVideoView.setOnErrorListener((mp, what, extra) -> { in onCreate() argument
45 Log.e(TAG, "MediaPlayer encountered error " + what + ", " + extra); in onCreate()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DMockTestActivityUtil.java264 public static void sendBroadcastAction(String extra) { in sendBroadcastAction() argument
271 commandBuilder.append(" --ez " + extra + " true"); in sendBroadcastAction()
283 public static void sendBroadcastAction(String extra, int userId) { in sendBroadcastAction() argument
291 commandBuilder.append(" --ez " + extra + " true"); in sendBroadcastAction()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerRecorderActivity.java267 public void onInfo(MediaRecorder mr, int what, int extra) { in recordVideoUsingCamera()
268 Log.v(TAG, "onInfo(" + what + ", " + extra + ")"); in recordVideoUsingCamera()
272 public void onError(MediaRecorder mr, int what, int extra) { in recordVideoUsingCamera()
273 Log.e(TAG, "onError(" + what + ", " + extra + ")"); in recordVideoUsingCamera()
/cts/tests/signature/lib/common/src/android/signature/cts/
DFailureType.java36 static FailureType extra(Class<?> clazz) { in extra() method in FailureType
/cts/tests/tests/media/common/src/android/media/cts/
DMediaPlayerTestBase.java194 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in playLoadedVideo() argument
198 mMediaPlayer.setOnInfoListener((mp, what, extra) -> { in playLoadedVideo() argument
272 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in setOnErrorListener() argument
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DLauncherAppsEnumerationTests.java520 final Bundle extra = new Bundle(); in sendCommandAndWaitForLauncherAppsCallback() local
521 extra.putInt(EXTRA_FLAGS, expectedEventCode); in sendCommandAndWaitForLauncherAppsCallback()
522 extra.putStringArray(EXTRA_PACKAGES, expectedPackages); in sendCommandAndWaitForLauncherAppsCallback()
524 INVALID_UID /* targetUid */, extra, ACTION_AWAIT_LAUNCHER_APPS_CALLBACK, in sendCommandAndWaitForLauncherAppsCallback()
531 final Bundle extra = new Bundle(); in sendCommandAndWaitForLauncherAppsSessionCallback() local
532 extra.putInt(EXTRA_ID, expectedSessionId); in sendCommandAndWaitForLauncherAppsSessionCallback()
534 INVALID_UID /* targetUid */, extra, ACTION_AWAIT_LAUNCHER_APPS_SESSION_CALLBACK, in sendCommandAndWaitForLauncherAppsSessionCallback()
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/
DSensorPrivacyBaseTest.kt190 for (extra in extras) { in <lambda>() constant
191 intent.putExtra(extra, true) in <lambda>()
546 for (extra in extras) { in <lambda>() constant
547 intent.putExtra(extra, true) in <lambda>()
561 for (extra in extras) { in <lambda>() constant
562 intent.putExtra(extra, true) in <lambda>()
/cts/tests/tests/media/drmframework/
DAndroid.bp38 "--extra-packages com.android.media.drmframework.cts",
88 "--extra-packages com.android.media.drmframework.cts",
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DIntentDrivenTestActivity.java269 for (String extra : REQUIRED_EXTRAS) { in checkAndGetIntent()
270 if (!intent.hasExtra(extra)) { in checkAndGetIntent()
271 missingExtras.add(extra); in checkAndGetIntent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DPlayVideoActivity.java163 public boolean onError(MediaPlayer mp, int what, int extra) {
164 Log.e(TAG, "Unable to play video, got onError with code " + what + ", extra " + extra);
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewReceiveContentTest.java840 private boolean triggerImeCommitContent(String mimeType, Uri linkUri, String extra) { in triggerImeCommitContent() argument
846 if (extra == null) { in triggerImeCommitContent()
850 opts.putString(ContentInfoArgumentMatcher.EXTRA_KEY, extra); in triggerImeCommitContent()
887 Uri linkUri, String extra) { in contentEq() argument
888 return argThat(new ContentInfoArgumentMatcher(clip, source, flags, linkUri, extra)); in contentEq()
901 @Nullable Uri linkUri, @Nullable String extra) { in ContentInfoArgumentMatcher() argument
906 mExtra = extra; in ContentInfoArgumentMatcher()
/cts/tests/tests/telecom2/
DAndroid.bp35 "--extra-packages",
/cts/tests/tests/telecom3/
DAndroid.bp33 "--extra-packages android.telecom.cts",
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DUiDumpUtils.java309 for (String extra : extras.keySet()) { in appendNode()
310 if (extra.equals("AccessibilityNodeInfo.chromeRole")) continue; in appendNode()
311 if (extra.equals("AccessibilityNodeInfo.roleDescription")) continue; in appendNode()
312 String value = "" + extras.get(extra); in appendNode()
314 out.append(extra).append(":").append(value).append(" "); in appendNode()
/cts/hostsidetests/locale/src/android/localemanager/cts/
DAppSupportedLocalesChangedAtomTest.java211 private void invokeActivity(String extra) throws Exception { in invokeActivity() argument
216 extra)); in invokeActivity()
/cts/tests/tests/media/audio/modules/audiorecordpermissiontests/src/android/media/audio/cts/audiorecordpermissiontests/
DAudioRecordPermissionTests.java244 private void amShellCommand(String command, String packageName, String action, String extra) in amShellCommand() argument
256 + extra); in amShellCommand()
/cts/tests/app/src/android/app/cts/fgs/bootcompleted/
DBootCompletedFgsStartTest.java102 private void startFgsBootCompleted(String pkg, String extra) throws Exception { in startFgsBootCompleted() argument
103 CtsAppTestUtils.executeShellCmd(mInstrumentation, ALLOW_FGS_START_CMD + pkg + extra); in startFgsBootCompleted()

123