Home
last modified time | relevance | path

Searched refs:DEVICE_SIDE_TEST_PACKAGE (Results 1 – 15 of 15) sorted by relevance

/cts/hostsidetests/incident/src/com/android/server/cts/
DErrorsTest.java25 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()
DAppWidgetIncidentTest.java29 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()
DBatteryStatsValidationTest.java31 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 …]
DPackageIncidentTest.java28 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
DProcStatsProtoTest.java32 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()
DGraphicsStatsValidationTest.java33 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);
DNetstatsIncidentTest.java48 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/
DDeviceAtomTestCase.java34 public static final String DEVICE_SIDE_TEST_PACKAGE = field in DeviceAtomTestCase
52 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in setUp()
59 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown()
105 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", methodName); in doDeviceMethod()
157 .setEqString(DEVICE_SIDE_TEST_PACKAGE))); in createAttributionFvm()
166 + currentUser + " " + DEVICE_SIDE_TEST_PACKAGE); in getUid()
188 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in uninstallPackage()
196 "cmd deviceidle tempwhitelist %s", DEVICE_SIDE_TEST_PACKAGE)); in allowBackgroundServices()
215 + DEVICE_SIDE_TEST_PACKAGE + " active"); in allowImmediateSyncs()
255 "am start -n " + DEVICE_SIDE_TEST_PACKAGE + "/." + activity); in withActivity()
[all …]
DUidAtomTests.java109 assertEquals(DEVICE_SIDE_TEST_PACKAGE, atom.getProcessName()); in testLmkKillOccurred()
178 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", name); in testAudioState()
327 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testCameraState"); in testCameraState()
347 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testSimpleCpu"); in testCpuTimePerUid()
381 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testSimpleCpu"); in testDeviceCalculatedPowerUse()
404 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testSimpleCpu"); in testDeviceCalculatedPowerBlameUid()
466 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", name); in testFlashlightState()
494 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", name); in testForegroundServiceState()
514 DEVICE_SIDE_TEST_PACKAGE)); in testGpsScan()
659 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testScheduledJob"); in testScheduledJobState()
[all …]
DAtomTestCase.java19 import static android.cts.statsd.atom.DeviceAtomTestCase.DEVICE_SIDE_TEST_PACKAGE;
130 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in tearDown()
150 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".Checkers", methodName); in checkDeviceFor()
205 .addAllowedLogSource(DeviceAtomTestCase.DEVICE_SIDE_TEST_PACKAGE); in createConfigBuilder()
925 .addAllowedLogSource(DeviceAtomTestCase.DEVICE_SIDE_TEST_PACKAGE); in getPulledConfig()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DStoragedDumpsysTest.java33 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()
DProcessStatsDumpsysTest.java33 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/
DBatteryStatsValidationTests.java100 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testSimpleCpu"); in testPowerUse()
134 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testForegroundService"); in testServiceStartCount()
144 assertEquals(DEVICE_SIDE_TEST_PACKAGE, dims.get(1).getValueStr()); in testServiceStartCount()
154 if (pkg.getName().equals(DEVICE_SIDE_TEST_PACKAGE)) { in testServiceStartCount()
178 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testForegroundService"); in testServiceLaunchCount()
188 assertEquals(DEVICE_SIDE_TEST_PACKAGE, dims.get(1).getValueStr()); in testServiceLaunchCount()
198 if (pkg.getName().equals(DEVICE_SIDE_TEST_PACKAGE)) { in testServiceLaunchCount()
DValidationTests.java106 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testWakelockState"); in testPartialWakelock()
167 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testWakelockState");
228 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", "testWakelockLoad"); in testPartialWakelockLoad()
/cts/hostsidetests/statsd/src/android/cts/statsd/uidmap/
DUidMapTests.java73 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in testChangeFromInstallation()
132 getDevice().uninstallPackage(DEVICE_SIDE_TEST_PACKAGE); in testChangeFromUninstall()