/cts/hostsidetests/usage/src/android/app/usage/cts/ |
D | AppIdleHostTest.java | 37 private static final String TEST_APP_PACKAGE = "android.app.usage.app"; field in AppIdleHostTest 97 TEST_APP_PACKAGE, TEST_APP_PACKAGE, TEST_APP_CLASS)); in startAndStopTestApp() 117 assertFalse(isAppIdle(TEST_APP_PACKAGE)); in testAppIsNotIdleAfterBeingLaunched() 148 setAppStandbyBucket(TEST_APP_PACKAGE, SB_ACTIVE); in testSetAppStandbyBucket() 149 assertEquals(SB_ACTIVE, getAppStandbyBucket(TEST_APP_PACKAGE)); in testSetAppStandbyBucket() 151 setAppStandbyBucket(TEST_APP_PACKAGE, 20); in testSetAppStandbyBucket() 152 assertEquals(20, getAppStandbyBucket(TEST_APP_PACKAGE)); in testSetAppStandbyBucket() 160 TEST_APP_PACKAGE, SB_FREQUENT, TEST_APP_PACKAGE2, SB_WORKING_SET); in testSetAppStandbyBuckets() 162 assertEquals(SB_FREQUENT, getAppStandbyBucket(TEST_APP_PACKAGE)); in testSetAppStandbyBuckets() 176 setAppStandbyBucket(TEST_APP_PACKAGE, SB_ACTIVE); in testOutOfBoundsStandbyBucket() [all …]
|
/cts/hostsidetests/cpptools/src/com/android/cts/cpptools/ |
D | RunasPermissionsTest.java | 29 private static final String TEST_APP_PACKAGE = "com.android.cts.domainsocketapp"; field in RunasPermissionsTest 33 TEST_APP_PACKAGE, TEST_APP_PACKAGE, TEST_APP_CLASS); 57 TEST_APP_PACKAGE, currentUser, CONNECTOR_EXE_NAME)); in testRunasCanConnectToAppsSocket() 60 TEST_APP_PACKAGE, currentUser, CONNECTOR_EXE_NAME)); in testRunasCanConnectToAppsSocket()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 39 static final String TEST_APP_PACKAGE = "android.jobscheduler.cts.jobtestapp"; field in TestAppInterface 40 private static final String TEST_APP_ACTIVITY = TEST_APP_PACKAGE + ".TestActivity"; 41 static final String TEST_APP_RECEIVER = TEST_APP_PACKAGE + ".TestJobSchedulerReceiver"; 61 cancelJobsIntent.setComponent(new ComponentName(TEST_APP_PACKAGE, TEST_APP_RECEIVER)); in cleanup() 75 scheduleJobIntent.setComponent(new ComponentName(TEST_APP_PACKAGE, TEST_APP_RECEIVER)); in scheduleJob() 82 testActivity.setComponent(new ComponentName(TEST_APP_PACKAGE, TEST_APP_ACTIVITY)); in startAndKeepTestActivity()
|
D | JobThrottlingTest.java | 20 import static android.jobscheduler.cts.TestAppInterface.TEST_APP_PACKAGE; 120 mTestPackageUid = mContext.getPackageManager().getPackageUid(TEST_APP_PACKAGE, 0); in setUp() 321 AppOpsUtils.reset(TEST_APP_PACKAGE); in tearDown() 338 AppOpsUtils.setOpMode(TEST_APP_PACKAGE, "RUN_ANY_IN_BACKGROUND", in setTestPackageRestricted() 368 + " " + TEST_APP_PACKAGE); in tempWhitelistTestApp() 372 mUiDevice.executeShellCommand("am make-uid-idle --user current " + TEST_APP_PACKAGE); in makeTestPackageIdle() 396 mUiDevice.executeShellCommand("am set-standby-bucket " + TEST_APP_PACKAGE in setTestPackageStandbyBucket() 401 mUiDevice.executeShellCommand("cmd deviceidle tempwhitelist -r " + TEST_APP_PACKAGE); in removeTestAppFromTempWhitelist()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | BackgroundRestrictedAlarmsTest.java | 55 private static final String TEST_APP_PACKAGE = "android.alarmmanager.alarmtestapp.cts"; field in BackgroundRestrictedAlarmsTest 56 private static final String TEST_APP_RECEIVER = TEST_APP_PACKAGE + ".TestAlarmScheduler"; 86 mAlarmScheduler = new ComponentName(TEST_APP_PACKAGE, TEST_APP_RECEIVER); in setUp() 174 mUiDevice.executeShellCommand("am set-standby-bucket " + TEST_APP_PACKAGE + " " + bucket); in setAppStandbyBucket() 179 .append(TEST_APP_PACKAGE) in setAppOpsMode()
|
D | AppStandbyTests.java | 64 private static final String TEST_APP_PACKAGE = "android.alarmmanager.alarmtestapp.cts"; field in AppStandbyTests 65 private static final String TEST_APP_RECEIVER = TEST_APP_PACKAGE + ".TestAlarmScheduler"; 167 mAlarmScheduler = new ComponentName(TEST_APP_PACKAGE, TEST_APP_RECEIVER); in setUp() 472 cmd.append(TEST_APP_PACKAGE); in setPowerWhitelisted() 481 executeAndLog("am set-standby-bucket " + TEST_APP_PACKAGE + " " + bucket); in setAppStandbyBucket()
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | ProcfsHostTests.java | 32 private static final String TEST_APP_PACKAGE = "android.os.procfs"; field in ProcfsHostTests 38 TEST_APP_PACKAGE, TEST_APP_PACKAGE, TEST_APP_CLASS); 153 mDevice.uninstallPackage(TEST_APP_PACKAGE); in startTestApp()
|
D | OsHostTests.java | 40 private static final String TEST_APP_PACKAGE = "android.os.app"; field in OsHostTests 45 TEST_APP_PACKAGE, TEST_APP_PACKAGE, TEST_NON_EXPORTED_ACTIVITY_CLASS);
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | OverlayHostTest.java | 60 private static final String TEST_APP_PACKAGE = "com.android.cts.overlay.app"; field in OverlayHostTest 77 getDevice().uninstallPackage(TEST_APP_PACKAGE); in tearDown() 152 runDeviceTests(TEST_APP_PACKAGE, TEST_APP_CLASS, testMethod); 298 runDeviceTests(TEST_APP_PACKAGE, TEST_APP_CLASS, testMethod);
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ThirdPartyCallScreeningServiceTest.java | 58 private static final String TEST_APP_PACKAGE = "android.telecom.cts.screeningtestapp"; field in ThirdPartyCallScreeningServiceTest 595 mPackageManager.grantRuntimePermission(TEST_APP_PACKAGE, in grantReadContactPermission() 603 mPackageManager.revokeRuntimePermission(TEST_APP_PACKAGE, in revokeReadContactPermission() 611 (Manifest.permission.READ_CONTACTS, TEST_APP_PACKAGE) in verifyPermission()
|
D | CallRedirectionServiceTest.java | 55 private static final String TEST_APP_PACKAGE = "android.telecom.cts.redirectiontestapp"; field in CallRedirectionServiceTest 56 private static final String TEST_APP_COMPONENT = TEST_APP_PACKAGE
|