/cts/tests/tests/app/test-apps/TestComponentCallerApp/src/android/app/cts/testcomponentcaller/ |
D | TestResultCallerActivities.java | 33 Intent resultIntent = new Intent(intent); in onStart() local 34 resultIntent.setComponent(TEST_SET_RESULT_ACTIVITY); in onStart() 35 resultIntent.setFlags(0); in onStart() 36 startActivityForResult(resultIntent, 0); in onStart()
|
/cts/apps/TtsTestApp/src/com/android/cts/tts/helper/ |
D | GetSampleText.java | 32 final Intent resultIntent = new Intent(); in onCreate() local 34 resultIntent.putExtra("sampleText", "sample text"); in onCreate() 35 setResult(TextToSpeech.LANG_AVAILABLE, resultIntent); in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/native_split/src/com/android/cts/isolatedsplitapp/jni/ |
D | JniActivity.java | 36 final Intent resultIntent = new Intent(); in onCreate() local 37 resultIntent.putExtra(Intent.EXTRA_RETURN_RESULT, errorMessage); in onCreate() 38 setResult(1, resultIntent); in onCreate()
|
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | EuiccTestResolutionActivity.java | 81 Intent resultIntent = new Intent(); in testStartResolutionActivity() local 82 resultIntent.putExtra( in testStartResolutionActivity() 88 euiccManager.startResolutionActivity(this, REQUEST_CODE, resultIntent, callbackIntent); in testStartResolutionActivity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/ |
D | BaseUiFragment.java | 104 Intent resultIntent = getActivity().getIntent(); in setupButtons() 111 resultIntent.putExtra(TestActivity.EXTRA_REPORT, report); in setupButtons() 112 … resultIntent.putExtra(TestActivity.EXTRA_RESULT_ID, StartActivity.ResultCode.FAILED); in setupButtons() 113 getActivity().setResult(Activity.RESULT_OK, resultIntent); in setupButtons()
|
D | ComplexMovementFragment.java | 216 Intent resultIntent = getActivity().getIntent(); in finishTest() local 223 resultIntent.putExtra(TestActivity.EXTRA_REPORT, report); in finishTest() 224 resultIntent.putExtra(TestActivity.EXTRA_RESULT_ID, StartActivity.ResultCode.PASSED); in finishTest() 225 getActivity().setResult(Activity.RESULT_OK, resultIntent); in finishTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | DialogTestListActivity.java | 249 Intent resultIntent = new Intent(); in setTestResult() local 250 TestResult.addResultData(resultIntent, result, test.testName, /* testDetails */ null, in setTestResult() 252 handleLaunchTestResult(RESULT_OK, resultIntent); in setTestResult() 258 Intent resultIntent = new Intent(); in setTestResult() local 259 TestResult.addResultData(resultIntent, result, testName, /* testDetails */ null, in setTestResult() 261 handleLaunchTestResult(RESULT_OK, resultIntent); in setTestResult()
|
D | HostTestsActivity.java | 265 Intent resultIntent = new Intent(); in updateTestResult() local 267 resultIntent, in updateTestResult() 273 handleLaunchTestResult(RESULT_OK, resultIntent); in updateTestResult()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ComponentCallerTest.java | 1906 Intent resultIntent = new Intent(intent); in buildResultIntent() local 1907 resultIntent.setComponent(null); in buildResultIntent() 1908 resultIntent.setFlags(0); in buildResultIntent() 1910 int actionId = resultIntent.getIntExtra(SET_RESULT_ACTION_ID, -1); in buildResultIntent() 1912 case URI_PROVIDED_SET_RESULT_ACTION_ID -> substituteUri(resultIntent); in buildResultIntent() 1914 resultIntent.setAction(null); in buildResultIntent() 1915 resultIntent.putExtra(URI_LOCATION_ID, in buildResultIntent() 1917 resultIntent.setData(null); in buildResultIntent() 1920 int modeFlags = resultIntent.getIntExtra(PUT_MODE_FLAGS, -1); in buildResultIntent() 1921 resultIntent.putExtra(MODE_FLAGS_TO_CHECK, modeFlags); in buildResultIntent() [all …]
|
/cts/tests/translation/src/android/translation/cts/ |
D | CtsTestIme.java | 129 private void notifyCommandDone(Intent sourceIntent, Intent resultIntent) { in notifyCommandDone() argument 144 if (resultIntent != null) { in notifyCommandDone() 145 pendingIntent.send(mContext, 0, resultIntent); in notifyCommandDone()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | RecentsRedactionActivity.java | 68 Intent resultIntent = TestResult.createResult(RecentsRedactionActivity.this, resultCode, 71 new ByodFlowTestHelper(this).sendResultToPrimary(resultIntent);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/ |
D | SharesheetChooserResultActivity.java | 222 Intent resultIntent = new Intent(CHOOSER_RESULT).setPackage(getPackageName()); in wrapWithChooserIntent() local 226 /* intent= */ resultIntent, in wrapWithChooserIntent()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 506 final Intent resultIntent = result.data; in acquireAccess() local 507 final Uri resultUri = resultIntent.getData(); in acquireAccess() 508 final int flags = resultIntent.getFlags() in acquireAccess()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerProcessStateTest.java | 1023 Intent resultIntent = waiter.doWait(WAIT_TIME * 2); in testBackgroundCheckActivityService() local 1024 int brCode = resultIntent.getIntExtra("result", Activity.RESULT_CANCELED); in testBackgroundCheckActivityService() 1285 Intent resultIntent = waiter.doWait(WAIT_TIME); in testBgRestrictedForegroundService() local 1286 int brCode = resultIntent.getIntExtra("result", Activity.RESULT_CANCELED); in testBgRestrictedForegroundService()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 4045 final Intent resultIntent = packageChangedBroadcastReceiver.getBroadcastResult(); in setUpdateMimeGroupAndAssertBroadcasts() local 4046 final String[] receivedComponents = resultIntent.getStringArrayExtra( in setUpdateMimeGroupAndAssertBroadcasts()
|