/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerFgsBgStartTest.java | 102 static final String PACKAGE_NAME_APP1 = "com.android.app1"; field in ActivityManagerFgsBgStartTest 137 PACKAGE_NAME_APP1, PACKAGE_NAME_APP2, PACKAGE_NAME_APP3 223 PACKAGE_NAME_APP1, 0); in testFgsLocationStartFromBG() 244 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, bundle); in testFgsLocationStartFromBG() 254 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, null); in testFgsLocationStartFromBG() 264 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, bundle2); in testFgsLocationStartFromBG() 268 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, bundle); in testFgsLocationStartFromBG() 278 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, null); in testFgsLocationStartFromBG() 282 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, null); in testFgsLocationStartFromBG() 286 allowBgActivityStart(PACKAGE_NAME_APP1, true); in testFgsLocationStartFromBG() [all …]
|
D | ActivityManagerFgsDelegateTest.java | 76 static final String PACKAGE_NAME_APP1 = "com.android.app1"; field in ActivityManagerFgsDelegateTest 81 PACKAGE_NAME_APP1 84 private static final String DUMP_COMMAND = "dumpsys activity services " + PACKAGE_NAME_APP1 86 private static final String DUMP_COMMAND2 = "dumpsys activity services " + PACKAGE_NAME_APP1 111 allowBgFgsStart(PACKAGE_NAME_APP1, true); in setUp() 139 "dumpsys deviceidle whitelist +" + PACKAGE_NAME_APP1); in prepareProcess() 144 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, extras); in prepareProcess() 147 "dumpsys deviceidle whitelist -" + PACKAGE_NAME_APP1); in prepareProcess() 158 allowBgFgsStart(PACKAGE_NAME_APP1, true); in testFgsDelegate() 159 setForegroundServiceDelegate(PACKAGE_NAME_APP1, true); in testFgsDelegate() [all …]
|
D | ActivityManagerTest.java | 172 private static final String PACKAGE_NAME_APP1 = "com.android.app1"; field in ActivityManagerTest 624 PACKAGE_NAME_APP1, 0); 645 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, null); 655 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, null); 686 PACKAGE_NAME_APP1); 732 PACKAGE_NAME_APP1); 741 mActivityManager.forceStopPackage(PACKAGE_NAME_APP1); in runWithShellPermissionIdentity() 1135 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, null); in testAppNotResponding() 1148 mActivityManager.forceStopPackage(PACKAGE_NAME_APP1); in testAppNotResponding() 1321 .getApplicationInfo(PACKAGE_NAME_APP1, 0); in testKillingAppChildProcess() [all …]
|
D | ActivityManagerProcessStateTest.java | 107 private static final String PACKAGE_NAME_APP1 = "com.android.app1"; field in ActivityManagerProcessStateTest 113 PACKAGE_NAME_APP1, PACKAGE_NAME_APP2, PACKAGE_NAME_APP3 1642 PACKAGE_NAME_APP1, 0); in testCycleFgs() 1652 "cmd deviceidle whitelist +" + PACKAGE_NAME_APP1); in testCycleFgs() 1655 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, null); in testCycleFgs() 1659 PACKAGE_NAME_APP1, PACKAGE_NAME_APP3, 0, null); in testCycleFgs() 1665 PACKAGE_NAME_APP3, PACKAGE_NAME_APP1, 0, null); in testCycleFgs() 1678 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, null); in testCycleFgs() 1686 PACKAGE_NAME_APP3, PACKAGE_NAME_APP1, 0, null); in testCycleFgs() 1688 PACKAGE_NAME_APP1, PACKAGE_NAME_APP3, 0, null); in testCycleFgs() [all …]
|
D | BroadcastOptionsIntegrationTest.java | 19 import static android.app.cts.ActivityManagerFgsBgStartTest.PACKAGE_NAME_APP1; 51 "cmd deviceidle whitelist +" + PACKAGE_NAME_APP1); in setUp() 58 "cmd deviceidle whitelist -" + PACKAGE_NAME_APP1); in tearDown() 67 PACKAGE_NAME_APP1, PACKAGE_NAME_APP2, 0, null, in assertBroadcastSuccess() local 78 PACKAGE_NAME_APP1, PACKAGE_NAME_APP2, 0, null, in assertBroadcastFailure() local
|