/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PersistentIntentResolvingTest.java | 52 private static final String TEST_ACTION = "com.android.cts.deviceandprofileowner.CONFIRM"; field in PersistentIntentResolvingTest 61 .where().actions().contains(TEST_ACTION))) 67 intentFilter().where().actions().contains(TEST_ACTION)) 72 intentFilter().where().actions().contains(TEST_ACTION)) 82 new Intent(TEST_ACTION).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in sendIntent_hasMultipleDefaultReceivers_launchesResolverActivity() 98 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in sendIntent_hasPreferredReceiver_launchesPreferredActivity() 108 new Intent(TEST_ACTION).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in sendIntent_hasPreferredReceiver_launchesPreferredActivity() 138 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in addPersistentPreferredActivity_metricLogged() 168 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in sendIntent_clearPreferredActivity_launchesResolverActivity() 182 new Intent(TEST_ACTION).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in sendIntent_clearPreferredActivity_launchesResolverActivity()
|
D | PersistentPreferredActivitiesTest.java | 80 private static final String TEST_ACTION = "com.android.cts.deviceandprofileowner.CONFIRM"; field in PersistentPreferredActivitiesTest 89 .where().actions().contains(TEST_ACTION))) 95 intentFilter().where().actions().contains(TEST_ACTION)) 100 intentFilter().where().actions().contains(TEST_ACTION)) 110 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in addPersistentPreferredActivity_notPermitted_throwsException() 129 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in clearPackagePersistentPreferredActivities_notPermitted_throwsException() 145 new Intent(TEST_ACTION).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in sendIntent_hasMultipleDefaultReceivers_launchesResolverActivity() 161 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in sendIntent_hasPreferredReceiver_launchesPreferredActivity() 171 new Intent(TEST_ACTION).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in sendIntent_hasPreferredReceiver_launchesPreferredActivity() 201 IntentFilter intentFilter = new IntentFilter(TEST_ACTION); in addPersistentPreferredActivity_metricLogged() [all …]
|
/cts/hostsidetests/backup/SharedPreferencesRestoreApp/src/android/cts/backup/sharedprefrestoreapp/ |
D | SharedPrefsRestoreTestActivity.java | 36 static final String TEST_ACTION = "android.backup.cts.backuprestore.TEST"; field in SharedPrefsRestoreTestActivity 79 } else if (TEST_ACTION.equals(action)) { in processLaunchCommand()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentTest.java | 94 private static final String TEST_ACTION = "android.content.IntentTest_test"; field in IntentTest 140 intent.setAction(TEST_ACTION); in testConstructor() 144 assertEquals(TEST_ACTION, mIntent.getAction()); in testConstructor() 146 mIntent = new Intent(TEST_ACTION); in testConstructor() 148 assertEquals(TEST_ACTION, mIntent.getAction()); in testConstructor() 150 mIntent = new Intent(TEST_ACTION, TEST_URI); in testConstructor() 152 assertEquals(TEST_ACTION, mIntent.getAction()); in testConstructor() 159 mIntent = new Intent(TEST_ACTION, TEST_URI, mContext, MockActivity.class); in testConstructor() 161 assertEquals(TEST_ACTION, mIntent.getAction()); in testConstructor() 184 mIntent.setAction(TEST_ACTION); in testReadFromParcel() [all …]
|
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/ |
D | KeyValueBackupRestoreTest.java | 113 private static final String TEST_ACTION = "android.backup.cts.backuprestore.TEST"; field in KeyValueBackupRestoreTest 220 mContext.startActivity(mSharedPrefActivityIntent.setAction(TEST_ACTION)); in checkSharedPrefActivity()
|
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/ |
D | AppPredictionServiceTest.java | 78 private static final int TEST_ACTION = 2; field in AppPredictionServiceTest 185 AppTargetEvent event = new AppTargetEvent.Builder(target, TEST_ACTION) in testAppTargetEvent()
|
/cts/tests/app/src/android/app/cts/ |
D | InstrumentationTest.java | 80 private static final String TEST_ACTION = "com.android.app.cts.TEST_ACTION"; field in InstrumentationTest 202 IntentFilter filter = new IntentFilter(TEST_ACTION); in testMonitor() 204 intent.setAction(TEST_ACTION); in testMonitor()
|
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | EncryptionAppTest.java | 68 private static final String TEST_ACTION = "com.android.cts.encryptionapp.TEST"; field in EncryptionAppTest 384 final Intent intent = new Intent(TEST_ACTION); in assertQuery()
|
/cts/tests/smartspace/src/android/smartspace/cts/ |
D | SmartspaceManagerTest.java | 80 private static final int TEST_ACTION = 2; field in SmartspaceManagerTest
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaSessionTest.java | 102 private static final long TEST_ACTION = 55L; field in MediaSessionTest 289 PlaybackState state = new PlaybackState.Builder().setActions(TEST_ACTION).build(); in testConfigureSession() 298 assertThat(stateOut.getActions()).isEqualTo(TEST_ACTION); in testConfigureSession() 302 assertThat(stateOut.getActions()).isEqualTo(TEST_ACTION); in testConfigureSession()
|