/cts/tests/tests/app/test-apps/TestShareIdentityApp/src/android/app/cts/testshareidentity/ |
D | TestShareIdentityReceiver.java | 44 Intent newIntent = new Intent(); in onReceive() local 45 newIntent.setComponent(getShareIdentityActivity(testCase)); in onReceive() 46 newIntent.putExtra(TEST_ID_KEY, testId); in onReceive() 47 newIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onReceive() 52 context.startActivity(newIntent); in onReceive() 56 context.startActivity(newIntent, bundle); in onReceive() 61 context.startActivity(newIntent, bundle); in onReceive()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityLauncher.java | 174 final Intent newIntent = new Intent(); in launchActivityFromExtras() local 177 newIntent.setAction(extras.getString(KEY_ACTION, IMPLICIT_TARGET_SECOND_TEST_ACTION)); in launchActivityFromExtras() 182 newIntent.setComponent(componentName); in launchActivityFromExtras() 186 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_LAUNCH_ADJACENT); in launchActivityFromExtras() 191 newIntent.setData(data); in launchActivityFromExtras() 195 newIntent.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in launchActivityFromExtras() 198 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK); in launchActivityFromExtras() 202 newIntent.addFlags(FLAG_ACTIVITY_REORDER_TO_FRONT); in launchActivityFromExtras() 207 newIntent.putExtras(intentExtras); in launchActivityFromExtras() 219 newIntent.addFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in launchActivityFromExtras() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
D | UtilsProvider.java | 70 final Intent newIntent = intent.getParcelableExtra(EXTRA_INTENT); in call() local 71 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in call() 72 context.startActivity(newIntent); in call() 75 final Intent newIntent = intent.getParcelableExtra(EXTRA_INTENT); in call() local 76 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in call() 77 context.startActivities(new Intent[] { newIntent }); in call() 80 final Intent newIntent = intent.getParcelableExtra(EXTRA_INTENT); in call() local 81 context.startService(newIntent); in call()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ComponentCallerTest.java | 510 Intent newIntent = getUriInDataSendBroadcastTestIntent(TestProvider.getContentUri(), in testActivityNewIntentCaller_checkContentUriPermission_throwsIfCallerOfApiDoesNotHaveTheSameAccessToContentUri() local 512 mContext.startActivity(newIntent); in testActivityNewIntentCaller_checkContentUriPermission_throwsIfCallerOfApiDoesNotHaveTheSameAccessToContentUri() 540 Intent newIntent = getSendBroadcastTestIntent(NONE_PROVIDED_USE_HELPER_APP_URI_LOCATION_ID, in testActivityNewIntentCaller_checkContentUriPermission_throwsIfContentUriWasNotPassedAtLaunch() local 543 mContext.startActivity(newIntent); in testActivityNewIntentCaller_checkContentUriPermission_throwsIfContentUriWasNotPassedAtLaunch() 570 Intent newIntent = getStartActivityTestIntent(NONE_PROVIDED_USE_HELPER_APP_URI_LOCATION_ID, in testActivityNewIntentCaller_checkContentUriPermission_returnsCorrectResultEvenIfCallerOfActivityGrantsAndDies() local 573 mContext.startActivity(newIntent); in testActivityNewIntentCaller_checkContentUriPermission_returnsCorrectResultEvenIfCallerOfActivityGrantsAndDies() 600 Intent newIntent = getUriInDataSendBroadcastTestIntent( in testActivityNewIntentCaller_checkContentUriPermission_getDataContentUriViaPermission_noPermission() local 603 mContext.startActivity(newIntent); in testActivityNewIntentCaller_checkContentUriPermission_getDataContentUriViaPermission_noPermission() 629 Intent newIntent = getUriInDataSendBroadcastTestIntent(CONTENT_URI_READ_PERMISSION, in testActivityNewIntentCaller_checkContentUriPermission_getDataContentUriViaPermission_hasRead() local 632 mContext.startActivity(newIntent); in testActivityNewIntentCaller_checkContentUriPermission_getDataContentUriViaPermission_hasRead() [all …]
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | NewIntentActivity.java | 26 public final CountDownLatch newIntent = new CountDownLatch(1); field in NewIntentActivity 49 newIntent.countDown(); in onNewIntent()
|
D | FragmentTransactionTest.java | 390 assertTrue(newIntentActivity.newIntent.await(1, TimeUnit.SECONDS)); in newIntentUnlocks()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | VpnTestActivity.java | 95 Intent newIntent = VpnService.prepare(this); in testVpnEstablishFails() local 96 if (newIntent != null) { in testVpnEstablishFails() 97 startActivityForResult(newIntent, REQUEST_VPN_CODE); in testVpnEstablishFails()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleScannerService.java | 188 Intent newIntent = new Intent(BLE_PRIVACY_NEW_MAC_RECEIVE); in onScanResult() local 189 sendBroadcast(newIntent); in onScanResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/capturecontentfornotes/ |
D | CaptureContentForNotesVerifierActivity.java | 206 Intent intent = IntentDrivenTestActivity.newIntent(this, testId, title, in addTestsToAdapter()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/deskclock/ |
D | DeskClockTestsActivity.java | 175 Intent intent = IntentDrivenTestActivity.newIntent(this, testId, title, in addTests()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | IntentDrivenTestActivity.java | 247 public static Intent newIntent(Context context, String testId, int titleResId, in newIntent() method in IntentDrivenTestActivity
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipboardManagerTest.java | 139 ClipData intentData = ClipData.newIntent("IntentLabel", intent); in testSetPrimaryClip_intent()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | DatasetTest.java | 368 ClipData clip = ClipData.newIntent("", new Intent()); in testBuilder_setContentWithIntentIsNotAllowed()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 10065 method public static android.content.ClipData newIntent(CharSequence, android.content.Intent);
|