/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 66 void assertPromptFromTestApp(CharSequence prompt, Bundle extras) { in assertPromptFromTestApp() argument 71 Utils.addErrorResult(extras, "Invalid prompt received: " + str); in assertPromptFromTestApp() 94 Bundle extras = request.getExtras(); in onRequestConfirmation() local 97 ", extras=" + Utils.toBundleString(extras)); in onRequestConfirmation() 98 assertPromptFromTestApp(prompt, extras); in onRequestConfirmation() 99 AsyncTaskArg asyncTaskArg = new AsyncTaskArg().setRequest(request).setExtras(extras); in onRequestConfirmation() 100 if (isTestTypeCancel(extras)) { in onRequestConfirmation() 106 Utils.toBundleString(extras)); in onRequestConfirmation() 114 Bundle extras = request.getExtras(); in onRequestCompleteVoice() local 117 prompt + ", extras=" + Utils.toBundleString(extras)); in onRequestCompleteVoice() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | OutgoingCallTest.java | 57 final Bundle extras = new Bundle(); in testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall() local 58 extras.putBoolean(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, true); in testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall() 59 placeAndVerifyCall(extras); in testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall() 69 final Bundle extras = new Bundle(); in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall() local 70 extras.putBoolean(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, false); in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall() 71 placeAndVerifyCall(extras); in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall()
|
D | BaseTelecomTestWithMockServices.java | 235 void addAndVerifyNewIncomingCall(Uri incomingHandle, Bundle extras) { in addAndVerifyNewIncomingCall() argument 242 if (extras == null) { in addAndVerifyNewIncomingCall() 243 extras = new Bundle(); in addAndVerifyNewIncomingCall() 245 extras.putParcelable(TelecomManager.EXTRA_INCOMING_CALL_ADDRESS, incomingHandle); in addAndVerifyNewIncomingCall() 246 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras); in addAndVerifyNewIncomingCall() 283 void placeAndVerifyCall(Bundle extras) { in placeAndVerifyCall() argument 284 placeAndVerifyCall(extras, VideoProfile.STATE_AUDIO_ONLY); in placeAndVerifyCall() 291 void placeAndVerifyCall(Bundle extras, int videoState) { in placeAndVerifyCall() argument 297 placeNewCallWithPhoneAccount(extras, videoState); in placeAndVerifyCall() 461 private void placeNewCallWithPhoneAccount(Bundle extras, int videoState) { in placeNewCallWithPhoneAccount() argument [all …]
|
D | DataObjectUnitTests.java | 132 Bundle extras = new Bundle(); in testConnectionRequest() local 133 extras.putString( in testConnectionRequest() 139 extras, in testConnectionRequest() 143 assertEquals(extras.getString( in testConnectionRequest() 158 extras.getString(TelecomManager.GATEWAY_PROVIDER_PACKAGE), in testConnectionRequest() 201 Bundle extras = new Bundle(); in testStatusHints() local 202 extras.putString( in testStatusHints() 209 extras); in testStatusHints() 212 assertEquals(extras.getString( in testStatusHints() 226 extras.getString(TelecomManager.GATEWAY_PROVIDER_PACKAGE), in testStatusHints()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | CommonDatabaseUtils.java | 82 public static void extrasVarArgsToValues(ContentValues values, String... extras) { in extrasVarArgsToValues() argument 83 Assert.assertNotNull(extras); in extrasVarArgsToValues() 85 Assert.assertEquals(0, extras.length % 2); in extrasVarArgsToValues() 86 for (int i = 0; i < extras.length; i += 2) { in extrasVarArgsToValues() 87 values.put(extras[i], extras[i + 1]); in extrasVarArgsToValues()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaControllerTest.java | 59 final Bundle extras = new Bundle(); in testSendCommand() local 60 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); in testSendCommand() 61 mController.sendCommand(command, extras, new ResultReceiver(null)); in testSendCommand() 169 final Bundle extras = new Bundle(); in testTransportControlsAndMediaSessionCallback() local 170 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); in testTransportControlsAndMediaSessionCallback() 171 controls.playFromMediaId(mediaId, extras); in testTransportControlsAndMediaSessionCallback() 179 controls.playFromSearch(query, extras); in testTransportControlsAndMediaSessionCallback() 187 controls.playFromUri(uri, extras); in testTransportControlsAndMediaSessionCallback() 195 controls.sendCustomAction(action, extras); in testTransportControlsAndMediaSessionCallback() 204 new CustomAction.Builder(action, action, -1).setExtras(extras).build(); in testTransportControlsAndMediaSessionCallback() [all …]
|
D | ResourceManagerTestActivity1.java | 34 Bundle extras = getIntent().getExtras(); in onCreate() local 35 if (extras != null) { in onCreate() 36 mWaitForReclaim = extras.getBoolean("wait-for-reclaim", mWaitForReclaim); in onCreate()
|
D | MediaPlayerSurfaceTest.java | 31 Bundle extras = new Bundle(); in testSetSurface() local 33 MediaPlayerSurfaceStubActivity.class, extras); in testSetSurface()
|
D | ResourceManagerTest.java | 30 Bundle extras = new Bundle(); in doTestReclaimResource() local 32 "com.android.cts.media", ResourceManagerStubActivity.class, extras); in doTestReclaimResource()
|
D | MediaBrowserServiceTest.java | 153 final Bundle extras = new Bundle(); in testBrowserRoot() local 154 extras.putString(key, val); in testBrowserRoot() 156 MediaBrowserService.BrowserRoot browserRoot = new BrowserRoot(id, extras); in testBrowserRoot()
|
D | MediaSessionTest.java | 118 final Bundle extras = new Bundle(); in testConfigureSession() local 119 extras.putString(TEST_KEY, TEST_VALUE); in testConfigureSession() 120 mSession.setExtras(extras); in testConfigureSession() 217 mSession.sendSessionEvent(TEST_SESSION_EVENT, extras); in testConfigureSession() 416 public void onExtrasChanged(Bundle extras) { in onExtrasChanged() argument 419 mExtras = extras; in onExtrasChanged() 442 public void onSessionEvent(String event, Bundle extras) { in onSessionEvent() argument 446 mExtras = (Bundle) extras.clone(); in onSessionEvent()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverSyncTestCase.java | 124 Bundle extras = new Bundle(); in cancelSync() local 125 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in cancelSync() 140 Bundle extras = new Bundle(); in requestSync() local 141 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in requestSync() 143 ContentResolver.requestSync(account, authority, extras); in requestSync() 315 Bundle extras = new Bundle(); 316 extras.putInt("Integer", 20); 317 extras.putLong("Long", 10l); 318 extras.putBoolean("Boolean", true); 319 extras.putFloat("Float", 5.5f); [all …]
|
D | MockSyncAdapter.java | 80 Bundle extras) throws RemoteException { in startSync() argument 84 mExtras = extras; in startSync() 86 if (null != extras && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE)) { in startSync()
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
D | CompressedTextureTest.java | 31 Bundle extras = new Bundle(); in launchTest() local 32 extras.putString("TextureFormat", format); in launchTest() 34 CompressedTextureCtsActivity.class, extras); in launchTest()
|
D | EglConfigTest.java | 60 Bundle extras = new Bundle(); in runConfigTests() local 61 extras.putInt(EglConfigCtsActivity.CONFIG_ID_EXTRA, configId); in runConfigTests() 62 extras.putInt(EglConfigCtsActivity.CONTEXT_CLIENT_VERSION_EXTRA, contextClientVersion); in runConfigTests() 64 EglConfigCtsActivity.class, extras); in runConfigTests()
|
D | CompressedTextureCtsActivity.java | 42 Bundle extras = getIntent().getExtras(); in onCreate() local 43 String formatTest = extras.getString("TextureFormat", null); in onCreate()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_ContactCountsTest.java | 64 final Bundle extras = cursor.getExtras(); in testContactCounts_noExtraNoExtrasReturned() local 65 assertFalse(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); in testContactCounts_noExtraNoExtrasReturned() 66 assertFalse(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); in testContactCounts_noExtraNoExtrasReturned() 79 final Bundle extras = cursor.getExtras(); in testContactCounts_correctCountsReturned() local 80 assertTrue(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); in testContactCounts_correctCountsReturned() 81 assertTrue(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); in testContactCounts_correctCountsReturned() 85 extras.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES); in testContactCounts_correctCountsReturned() 89 final int counts[] = extras.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); in testContactCounts_correctCountsReturned()
|
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/ |
D | MainInteractionService.java | 102 Bundle extras = intent.getExtras(); in onReceive() local 103 if (extras == null) { in onReceive() 104 extras = new Bundle(); in onReceive() 115 intent3p.putExtras(extras); in onReceive() 125 extras.putString(Utils.TESTCASE_TYPE, mIntent.getStringExtra(Utils.TESTCASE_TYPE)); in onReceive() 127 extras, SHOW_WITH_ASSIST | SHOW_WITH_SCREENSHOT); in onReceive()
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | MainInteractionSession.java | 119 Bundle extras = intent.getExtras(); in onTaskFinished() local 121 intent.toString() + Utils.toBundleString(extras)); in onTaskFinished() 123 if (extras == null) { in onTaskFinished() 124 extras = new Bundle(); in onTaskFinished() 126 extras.putString(Utils.TESTCASE_TYPE, mTestType.toString()); in onTaskFinished() 127 broadcastIntent.putExtras(extras); in onTaskFinished() 128 Log.i(TAG, "sending_broadcast: Bundle = " + Utils.toBundleString(extras) + in onTaskFinished()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | AnimationActivity.java | 66 Bundle extras = intent.getExtras(); in onCreate() local 67 if(extras != null) { in onCreate() 68 mBallHeight = extras.getFloat(BALL_HEIGHT); in onCreate() 69 mBallWidth = extras.getFloat(BALL_WIDTH); in onCreate() 70 mStartX = extras.getFloat(STARTX); in onCreate() 71 mStartY = extras.getFloat(STARTY); in onCreate() 72 mDeltaX = extras.getFloat(DELTAX); in onCreate() 73 mDeltaY = extras.getFloat(DELTAY); in onCreate() 74 mDuration = extras.getInt(DURATION); in onCreate()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | AddressTest.java | 44 Bundle extras = new Bundle(); in testDescribeContents() local 45 extras.putParcelable("key1", new MockParcelable()); in testDescribeContents() 46 address.setExtras(extras); in testDescribeContents() 48 assertEquals(extras.describeContents(), address.describeContents()); in testDescribeContents() 87 Bundle extras = new Bundle(); in testAccessExtras() local 88 extras.putBoolean("key1", false); in testAccessExtras() 90 extras.putByte("key2", b); in testAccessExtras() 92 address.setExtras(extras); in testAccessExtras()
|
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | VoiceSettingsTestBase.java | 98 Bundle extras = intent.getExtras(); in onReceive() local 99 Log.i(TAG, "received_broadcast for " + Utils.toBundleString(extras)); in onReceive() 100 VoiceSettingsTestBase.this.mResultExtras = extras; in onReceive()
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | EditorInfoTest.java | 50 info.extras = b; in testEditorInfo() 72 assertEquals(info.extras.getString(key), targetInfo.extras.getString(key)); in testEditorInfo()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | ScreenshotTest.java | 107 Bundle extras = new Bundle(); in waitForActivityResumeAndAssist() local 108 extras.putInt(Utils.SCREENSHOT_COLOR_KEY, color); in waitForActivityResumeAndAssist() 109 startSession(TEST_CASE_TYPE, extras); in waitForActivityResumeAndAssist()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/ |
D | ConnectivityConstraintTestActivity.java | 71 String extras = ""; 73 extras += " |" + name + " " + intent.getExtras().get(name) + "|"; 76 Log.d(TAG, "extras: " + extras);
|