/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/ |
D | HostAtomTests.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 90 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 91 DeviceUtils.turnBatteryStatsAutoResetOff(getDevice()); in setUp() 99 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 100 DeviceUtils.turnBatteryStatsAutoResetOn(getDevice()); in tearDown() 115 DeviceUtils.turnScreenOn(getDevice()); in testScreenStateChangedAtom() 117 DeviceUtils.turnScreenOff(getDevice()); in testScreenStateChangedAtom() 136 ConfigUtils.uploadConfigForPushedAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testScreenStateChangedAtom() 140 DeviceUtils.turnScreenOn(getDevice()); in testScreenStateChangedAtom() 142 DeviceUtils.turnScreenOff(getDevice()); in testScreenStateChangedAtom() [all …]
|
D | UidAtomTests.java | 24 import android.cts.statsdatom.lib.DeviceUtils; 97 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 105 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 119 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testIsolatedToHostUidMapping() 123 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), ".AtomTests", in testIsolatedToHostUidMapping() 130 assertThat(atom.getUid()).isEqualTo(DeviceUtils.getStatsdTestAppUid(getDevice())); in testIsolatedToHostUidMapping() 136 boolean hasKernel = DeviceUtils.isKernelGreaterEqual(getDevice(), Pair.create(4, 19)); in shouldTestLmkdStats() 139 || "true".equals(DeviceUtils.getProperty(getDevice(), "ro.lmk.log_stats")); in shouldTestLmkdStats() 148 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testLmkKillOccurred() 150 int appUid = DeviceUtils.getStatsdTestAppUid(getDevice()); in testLmkKillOccurred() [all …]
|
D | ProcStateAtomTests.java | 24 import android.cts.statsdatom.lib.DeviceUtils; 128 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 136 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 151 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testForegroundService() 170 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testForeground() 188 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testBackground() 191 DeviceUtils.executeBackgroundService(getDevice(), ACTION_BACKGROUND_SLEEP); in testBackground() 207 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testTop() 221 if (DeviceUtils.hasFeature(getDevice(), FEATURE_WATCH)) return; in testTopSleeping() 227 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testTopSleeping() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appstart/ |
D | AppStartStatsTests.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 55 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 59 DeviceUtils.turnScreenOn(getDevice()); in setUp() 69 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 80 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testAppStartOccurred() 83 DeviceUtils.STATSD_ATOM_TEST_PKG, false)); in testAppStartOccurred() 85 DeviceUtils.runActivity(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testAppStartOccurred() 93 assertThat(atom.getPkgName()).isEqualTo(DeviceUtils.STATSD_ATOM_TEST_PKG); in testAppStartOccurred() 104 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testHibernatingAppStartOccurred() 108 DeviceUtils.STATSD_ATOM_TEST_PKG, true)); in testHibernatingAppStartOccurred() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/ |
D | ProcessMemoryStatsTests.java | 24 import android.cts.statsdatom.lib.DeviceUtils; 43 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 51 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 62 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testProcessMemoryState() 66 try (AutoCloseable a = DeviceUtils.withActivity(getDevice(), in testProcessMemoryState() 67 DeviceUtils.STATSD_ATOM_TEST_PKG, "StatsdCtsForegroundActivity", "action", in testProcessMemoryState() 77 int uid = DeviceUtils.getStatsdTestAppUid(getDevice()); in testProcessMemoryState() 85 assertThat(state.getProcessName()).isEqualTo(DeviceUtils.STATSD_ATOM_TEST_PKG); in testProcessMemoryState() 99 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testProcessMemoryHighWaterMark() 103 try (AutoCloseable a = DeviceUtils.withActivity(getDevice(), in testProcessMemoryHighWaterMark() [all …]
|
D | ProcessDmabufMemoryTests.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 44 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 52 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 62 boolean supportsFds = DeviceUtils.isKernelGreaterEqual(getDevice(), Pair.create(5, 4)) in testProcessDmabufMemoryAtom() 80 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in pullAsGaugeMetric()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/apphibernation/ |
D | AppHibernationStatsTest.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 48 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 57 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 69 getHibernationCommand(DeviceUtils.STATSD_ATOM_TEST_PKG, in testUserLevelAppHibernationStateChanged_fromNotHibernatingToHibernating() 71 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testUserLevelAppHibernationStateChanged_fromNotHibernatingToHibernating() 76 getHibernationCommand(DeviceUtils.STATSD_ATOM_TEST_PKG, in testUserLevelAppHibernationStateChanged_fromNotHibernatingToHibernating() 89 getHibernationCommand(DeviceUtils.STATSD_ATOM_TEST_PKG, in testUserLevelAppHibernationStateChanged_fromHibernatingToNotHibernating() 91 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testUserLevelAppHibernationStateChanged_fromHibernatingToNotHibernating() 96 getHibernationCommand(DeviceUtils.STATSD_ATOM_TEST_PKG, in testUserLevelAppHibernationStateChanged_fromHibernatingToNotHibernating() 107 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testUserLevelHibernatedApps() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/cpu/ |
D | CpuStatsTests.java | 24 import android.cts.statsdatom.lib.DeviceUtils; 43 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 51 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 61 if (DeviceUtils.hasFeature(getDevice(), DeviceUtils.FEATURE_WATCH)) return; in testCpuTimePerUid() 63 ConfigUtils.uploadConfigForPulledAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testCpuTimePerUid() 67 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), ".AtomTests", "testSimpleCpu"); in testCpuTimePerUid() 76 int appUid = DeviceUtils.getStatsdTestAppUid(getDevice()); in testCpuTimePerUid() 87 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testCpuTimePerClusterFreq() 91 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), ".AtomTests", "testSimpleCpu"); in testCpuTimePerClusterFreq() 108 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testCpuCyclesPerUidCluster() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/notification/ |
D | NotificationStatsTests.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 43 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 51 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 61 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testNotificationPackagePreferenceExtraction() 64 DeviceUtils.runActivity(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testNotificationPackagePreferenceExtraction() 79 int uid = DeviceUtils.getStatsdTestAppUid(getDevice()); in testNotificationPackagePreferenceExtraction() 95 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testNotificationChannelPreferencesExtraction() 98 DeviceUtils.runActivity(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testNotificationChannelPreferencesExtraction() 114 int uid = DeviceUtils.getStatsdTestAppUid(getDevice()); in testNotificationChannelPreferencesExtraction() 134 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testNotificationChannelGroupPreferencesExtraction() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/alarm/ |
D | AlarmStatsTests.java | 24 import android.cts.statsdatom.lib.DeviceUtils; 47 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 55 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 67 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testWakeupAlarm() 71 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testWakeupAlarm() 73 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), ".AtomTests", "testWakeupAlarm"); in testWakeupAlarm() 80 assertThat(wao.getPackageName()).isEqualTo(DeviceUtils.STATSD_ATOM_TEST_PKG); in testWakeupAlarm() 85 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testAlarmScheduled() 89 ConfigUtils.uploadConfigForPushedAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testAlarmScheduled() 91 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), ".AtomTests", "testAlarmScheduled"); in testAlarmScheduled() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/wifi/ |
D | WifiStatsTests.java | 27 import android.cts.statsdatom.lib.DeviceUtils; 57 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 65 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 75 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_WIFI)) return; in testWifiLockHighPerf() 76 if (DeviceUtils.hasFeature(getDevice(), FEATURE_PC)) return; in testWifiLockHighPerf() 78 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testWifiLockHighPerf() 80 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), ".AtomTests", "testWifiLockHighPerf"); in testWifiLockHighPerf() 104 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_WIFI)) return; in testWifiLockLowLatency() 105 if (DeviceUtils.hasFeature(getDevice(), FEATURE_PC)) return; in testWifiLockLowLatency() 107 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testWifiLockLowLatency() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/binderstats/ |
D | BinderStatsTests.java | 24 import android.cts.statsdatom.lib.DeviceUtils; 47 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 55 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 66 DeviceUtils.unplugDevice(getDevice()); in testBinderStats() 74 ConfigUtils.createConfigBuilder(DeviceUtils.STATSD_ATOM_TEST_PKG); in testBinderStats() 76 /*uidInAttributionChain=*/false, DeviceUtils.STATSD_ATOM_TEST_PKG); in testBinderStats() 79 DeviceUtils.runActivity(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testBinderStats() 85 int appUid = DeviceUtils.getAppUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG); in testBinderStats()
|
D | LooperStatsTests.java | 24 import android.cts.statsdatom.lib.DeviceUtils; 45 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 53 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 64 DeviceUtils.unplugDevice(getDevice()); in testLooperStats() 67 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testLooperStats() 70 DeviceUtils.runActivity(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testLooperStats() 79 int uid = DeviceUtils.getStatsdTestAppUid(getDevice()); in testLooperStats() 109 DeviceUtils.plugInAc(getDevice()); in testLooperStats()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/net/ |
D | BytesTransferredTest.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 50 DeviceUtils.installTestApp(getDevice(), DeviceUtils.STATSD_ATOM_TEST_APK, in setUp() 51 DeviceUtils.STATSD_ATOM_TEST_PKG, mCtsBuild); in setUp() 59 DeviceUtils.uninstallTestApp(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG); in tearDown() 184 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_TELEPHONY)) return; in doTestMobileBytesTransferThat() 187 DeviceUtils.STATSD_ATOM_TEST_PKG); in doTestMobileBytesTransferThat() 190 DeviceUtils.STATSD_ATOM_TEST_PKG); in doTestMobileBytesTransferThat() 196 DeviceUtils.runDeviceTests(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, ".AtomTests", in doTestMobileBytesTransferThat() 200 DeviceUtils.runActivity(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in doTestMobileBytesTransferThat() 221 final int appUid = DeviceUtils.getAppUid(getDevice(), in doTestMobileBytesTransferThat() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/bluetooth/ |
D | BluetoothStatsTests.java | 25 import android.cts.statsdatom.lib.DeviceUtils; 50 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 58 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 68 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_BLUETOOTH_LE)) return; in testBleScan() 78 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testBleScan() 81 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), ".AtomTests", "testBleScanUnoptimized"); in testBleScan() 90 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_BLUETOOTH_LE)) return; in testBleUnoptimizedScan() 101 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testBleUnoptimizedScan() 104 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), ".AtomTests", "testBleScanUnoptimized"); in testBleUnoptimizedScan() 125 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_BLUETOOTH_LE)) return; in testBleOpportunisticScan() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/integrity/ |
D | IntegrityCheckStatsTests.java | 25 import android.cts.statsdatom.lib.DeviceUtils; 45 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 53 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 64 ConfigUtils.uploadConfigForPushedAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testIntegrityCheckAtomReportedDuringInstall() 67 DeviceUtils.uninstallStatsdTestApp(getDevice()); in testIntegrityCheckAtomReportedDuringInstall() 68 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in testIntegrityCheckAtomReportedDuringInstall() 76 assertThat(result.getPackageName()).isEqualTo(DeviceUtils.STATSD_ATOM_TEST_PKG); in testIntegrityCheckAtomReportedDuringInstall()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterycycle/ |
D | BatteryCycleStatsTests.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 44 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 52 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 63 if (DeviceUtils.hasFeature(getDevice(), FEATURE_WATCH)) return; in testBatteryCycleCount() 65 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testBatteryCycleCount() 75 if (DeviceUtils.hasBattery(getDevice())) { in testBatteryCycleCount()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/sizecompatrestartbutton/ |
D | SizeCompatRestartButtonStatsTests.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 76 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 77 DeviceUtils.turnScreenOn(getDevice()); in setUp() 79 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in setUp() 91 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 106 try (AutoCloseable a = DeviceUtils.withActivity(getDevice(), in testSizeCompatRestartButtonAppearedButNotClicked() 107 DeviceUtils.STATSD_ATOM_TEST_PKG, NON_RESIZEABLE_PORTRAIT_ACTIVITY, "action", in testSizeCompatRestartButtonAppearedButNotClicked() 119 assertThat(atom.getUid()).isEqualTo(DeviceUtils.getStatsdTestAppUid(getDevice())); in testSizeCompatRestartButtonAppearedButNotClicked()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/jobscheduler/ |
D | JobSchedulerStatsTests.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 49 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 57 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 78 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testScheduledJobState() 80 DeviceUtils.allowImmediateSyncs(getDevice()); in testScheduledJobState() 81 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), ".AtomTests", "testScheduledJob"); in testScheduledJobState()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/gnss/ |
D | GnssStatsTests.java | 24 import android.cts.statsdatom.lib.DeviceUtils; 45 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 53 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 64 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testGnssStats() 67 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_LOCATION_GPS)) return; in testGnssStats() 73 DeviceUtils.STATSD_ATOM_TEST_PKG)); in testGnssStats() 76 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), ".AtomTests", "testGpsStatus"); in testGnssStats()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterystats/ |
D | BatteryUsageStatsTests.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 52 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 60 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 89 DeviceUtils.runActivity(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in runBatteryUsageStatsAtomTest() 96 ConfigUtils.createConfigBuilder(DeviceUtils.STATSD_ATOM_TEST_PKG); in runBatteryUsageStatsAtomTest() 148 DeviceUtils.unplugDevice(getDevice()); in unplugDevice() 153 DeviceUtils.resetBatteryStatus(getDevice()); in plugInDevice()
|
/cts/hostsidetests/car/src/android/car/cts/ |
D | GarageModeAtomTests.java | 22 import android.cts.statsdatom.lib.DeviceUtils; 60 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 67 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 78 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) { in testGarageModeOnOff() 82 ConfigUtils.uploadConfigForPushedAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testGarageModeOnOff()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/telephony/ |
D | TelephonyStatsTests.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 90 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 98 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 108 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_TELEPHONY)) { in testSimSlotState() 112 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testSimSlotState() 136 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_TELEPHONY)) { in testSupportedRadioAccessFamily() 140 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testSupportedRadioAccessFamily() 160 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_TELEPHONY)) { in testCarrierIdTableVersion() 166 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testCarrierIdTableVersion() 179 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_TELEPHONY)) { in testAirplaneModeEvent_shortToggle() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/settingsstats/ |
D | SettingsStatsTests.java | 23 import android.cts.statsdatom.lib.DeviceUtils; 42 DeviceUtils.installStatsdTestApp(getDevice(), mCtsBuild); in setUp() 50 DeviceUtils.uninstallStatsdTestApp(getDevice()); in tearDown() 88 ConfigUtils.uploadConfigForPulledAtom(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG, in testSettingsStatsReported() 92 try (AutoCloseable a = DeviceUtils.withActivity(getDevice(), in testSettingsStatsReported() 93 DeviceUtils.STATSD_ATOM_TEST_PKG, "StatsdCtsForegroundActivity", "action", in testSettingsStatsReported()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/ |
D | AppExitHostTest.java | 30 import android.cts.statsdatom.lib.DeviceUtils; 64 DeviceUtils.installTestApp(getDevice(), TEST_APK, TEST_PKG, mCtsBuild); in setUp() 65 DeviceUtils.installTestApp(getDevice(), HELPER_APK1, HELPER_PKG1, mCtsBuild); in setUp() 66 DeviceUtils.installTestApp(getDevice(), HELPER_APK2, HELPER_PKG2, mCtsBuild); in setUp() 80 DeviceUtils.uninstallTestApp(getDevice(), TEST_PKG); in tearDown() 81 DeviceUtils.uninstallTestApp(getDevice(), HELPER_PKG1); in tearDown() 82 DeviceUtils.uninstallTestApp(getDevice(), HELPER_PKG2); in tearDown() 126 DeviceUtils.runDeviceTests(getDevice(), TEST_PKG, TEST_CLASS, testMethod); in performLogStatsdTest()
|