/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | ErrorsTest.java | 25 private static final String DEVICE_SIDE_TEST_PACKAGE field in ErrorsTest 30 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown() 38 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".ErrorsTests", in testThrowException() 45 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".ErrorsTests", in testANR() 52 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".ErrorsTests", in testNativeCrash() 59 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".ErrorsTests", in testTombstone()
|
D | AppWidgetIncidentTest.java | 29 private static final String DEVICE_SIDE_TEST_PACKAGE = "android.appwidget.cts"; field in AppWidgetIncidentTest 43 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown() 59 assertEquals(DEVICE_SIDE_TEST_PACKAGE, in testAppWidgetProtoDump_firstComponent() 81 assertEquals(DEVICE_SIDE_TEST_PACKAGE, in testAppWidgetProtoDump_secondComponent() 109 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, DEVICE_TEST_CLASS, testMethodName); in prepare() 115 if (DEVICE_SIDE_TEST_PACKAGE.equals(widgetProto.getHostPackage())) { in prepare() 123 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, DEVICE_TEST_CLASS, "testCleanup"); in cleanup()
|
D | BatteryStatsValidationTest.java | 31 private static final String DEVICE_SIDE_TEST_PACKAGE field in BatteryStatsValidationTest 83 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in setUp() 88 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown() 131 getDevice().executeShellCommand("am force-stop " + DEVICE_SIDE_TEST_PACKAGE); in forceStop() 143 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".BatteryStatsAlarmTest", "testAlarms"); in testAlarms() 156 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".BatteryStatsWakeLockTests", in testWakeLockDuration() 159 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".BatteryStatsWakeLockTests", in testWakeLockDuration() 181 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".BatteryStatsProcessStateTests", in testServiceForegroundDuration() 362 DEVICE_SIDE_TEST_PACKAGE)); in testGpsUpdates() 469 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".BatteryStatsJobDurationTests", [all …]
|
D | PackageIncidentTest.java | 28 private static final String DEVICE_SIDE_TEST_PACKAGE = "com.android.server.cts.netstats"; field in PackageIncidentTest 32 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown() 56 "dumpsys package " + DEVICE_SIDE_TEST_PACKAGE, in testPackageServiceDump() 68 if (pkg.getName().equals(DEVICE_SIDE_TEST_PACKAGE)) { in testPackageServiceDump() 74 assertEquals(testPackage.getName(), DEVICE_SIDE_TEST_PACKAGE); in testPackageServiceDump() local
|
D | ProcStatsProtoTest.java | 32 private static final String DEVICE_SIDE_TEST_PACKAGE = "com.android.server.cts.procstats"; field in ProcStatsProtoTest 45 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown() 70 if (DEVICE_SIDE_TEST_PACKAGE.equals(ps.getProcess())) { in testDump()
|
D | GraphicsStatsValidationTest.java | 33 private static final String DEVICE_SIDE_TEST_PACKAGE field in GraphicsStatsValidationTest 38 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown() 48 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".SimpleDrawFrameTests", in setUp() 144 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".SimpleDrawFrameTests", testName); in doRunDrawTest() 204 getDevice().executeShellCommand("am kill " + DEVICE_SIDE_TEST_PACKAGE); 210 List<GraphicsStatsProto> protos = filterPackage(serviceDumpProto, DEVICE_SIDE_TEST_PACKAGE);
|
D | NetstatsIncidentTest.java | 48 private static final String DEVICE_SIDE_TEST_PACKAGE = "com.android.server.cts.netstats"; field in NetstatsIncidentTest 53 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown() 85 "dumpsys package " + DEVICE_SIDE_TEST_PACKAGE, "userId=(\\d+)")); in testSanityCheck() 91 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, null, null); in testSanityCheck() 139 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, in testSanityCheck() 183 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, in testSanityCheck()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | DeviceAtomTestCase.java | 34 public static final String DEVICE_SIDE_TEST_PACKAGE = field in DeviceAtomTestCase 52 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in setUp() 58 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown() 104 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", methodName); in doDeviceMethod() 156 .setEqString(DEVICE_SIDE_TEST_PACKAGE))); in createAttributionFvm() 165 + currentUser + " " + DEVICE_SIDE_TEST_PACKAGE); in getUid() 187 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in uninstallPackage() 195 "cmd deviceidle tempwhitelist %s", DEVICE_SIDE_TEST_PACKAGE)); in allowBackgroundServices() 214 + DEVICE_SIDE_TEST_PACKAGE + " active"); in allowImmediateSyncs() 254 "am start -n " + DEVICE_SIDE_TEST_PACKAGE + "/." + activity); in withActivity() [all …]
|
D | UidAtomTests.java | 111 assertEquals(DEVICE_SIDE_TEST_PACKAGE, atom.getProcessName()); in testLmkKillOccurred() 180 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", name); in testAudioState() 329 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testCameraState"); in testCameraState() 349 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testSimpleCpu"); in testCpuTimePerUid() 387 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testSimpleCpu"); in testCpuActiveTime() 419 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testSimpleCpu"); in testDeviceCalculatedPowerUse() 442 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testSimpleCpu"); in testDeviceCalculatedPowerBlameUid() 504 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", name); in testFlashlightState() 532 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", name); in testForegroundServiceState() 552 DEVICE_SIDE_TEST_PACKAGE)); in testGpsScan() [all …]
|
D | AtomTestCase.java | 19 import static android.cts.statsd.atom.DeviceAtomTestCase.DEVICE_SIDE_TEST_PACKAGE; 129 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown() 149 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".Checkers", methodName); in checkDeviceFor() 204 .addAllowedLogSource(DeviceAtomTestCase.DEVICE_SIDE_TEST_PACKAGE); in createConfigBuilder() 914 .addAllowedLogSource(DeviceAtomTestCase.DEVICE_SIDE_TEST_PACKAGE); in getPulledConfig()
|
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | StoragedDumpsysTest.java | 33 private static final String DEVICE_SIDE_TEST_PACKAGE = "com.android.server.cts.storaged"; field in StoragedDumpsysTest 38 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown() 68 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in testStoragedOutput() 78 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, in testStoragedOutput() 89 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, in testStoragedOutput() 124 if (parts[0].equals(DEVICE_SIDE_TEST_PACKAGE)) { in testStoragedOutput()
|
D | ProcessStatsDumpsysTest.java | 33 private static final String DEVICE_SIDE_TEST_PACKAGE = "com.android.server.cts.procstats"; field in ProcessStatsDumpsysTest 380 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in checkWithProcStatsApp() 396 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, in checkWithProcStatsApp() 399 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in checkWithProcStatsApp()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/ |
D | BatteryStatsValidationTests.java | 96 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testSimpleCpu"); in testPowerUse() 139 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testSimpleCpu"); in testPowerBlameUid() 191 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testForegroundService"); in testServiceStartCount() 201 assertEquals(DEVICE_SIDE_TEST_PACKAGE, dims.get(1).getValueStr()); in testServiceStartCount() 211 if (pkg.getName().equals(DEVICE_SIDE_TEST_PACKAGE)) { in testServiceStartCount() 235 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testForegroundService"); in testServiceLaunchCount() 245 assertEquals(DEVICE_SIDE_TEST_PACKAGE, dims.get(1).getValueStr()); in testServiceLaunchCount() 255 if (pkg.getName().equals(DEVICE_SIDE_TEST_PACKAGE)) { in testServiceLaunchCount()
|
D | ValidationTests.java | 106 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testWakelockState"); in testPartialWakelock() 162 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testWakelockState"); 224 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testWakelockLoad"); in testPartialWakelockLoad()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/uidmap/ |
D | UidMapTests.java | 73 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in testChangeFromInstallation() 132 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in testChangeFromUninstall()
|