Home
last modified time | relevance | path

Searched refs:AtomTestUtils (Results 1 – 25 of 82) sorted by relevance

1234

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DHostAtomTests.java21 import android.cts.statsdatom.lib.AtomTestUtils;
86 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
110 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testScreenStateChangedAtom()
135 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testScreenStateChangedAtom()
137 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testScreenStateChangedAtom()
146 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, AtomTestUtils.WAIT_TIME_LONG, in testScreenStateChangedAtom()
154 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testChargingStateChangedAtom()
178 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testChargingStateChangedAtom()
180 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testChargingStateChangedAtom()
182 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testChargingStateChangedAtom()
[all …]
DProcStateAtomTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
131 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
161 AtomTestUtils.popUntilFind(data, onStates, in testForegroundService()
163 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, waitTime, PROC_STATE_FUNCTION); in testForegroundService()
180 AtomTestUtils.popUntilFind(data, onStates, in testForeground()
182 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, 0, PROC_STATE_FUNCTION); in testForeground()
198 AtomTestUtils.popUntilFind(data, onStates, in testBackground()
200 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, waitTime, PROC_STATE_FUNCTION); in testBackground()
217 AtomTestUtils.popUntilFind(data, onStates, in testTop()
219 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, waitTime, PROC_STATE_FUNCTION); in testTop()
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/cpu/
DCpuStatsTests.java23 import android.cts.statsdatom.lib.AtomTestUtils;
45 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
69 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testCpuTimePerUid()
71 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testCpuTimePerUid()
72 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testCpuTimePerUid()
93 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testCpuTimePerClusterFreq()
95 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testCpuTimePerClusterFreq()
96 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testCpuTimePerClusterFreq()
114 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testCpuCyclesPerUidCluster()
116 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testCpuCyclesPerUidCluster()
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/settingsstats/
DSettingsStatsTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
44 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
77 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testSettingsStatsReported()
81 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testSettingsStatsReported()
84 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testSettingsStatsReported()
96 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testSettingsStatsReported()
98 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testSettingsStatsReported()
99 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testSettingsStatsReported()
114 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testSettingsStatsReported()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/notification/
DNotificationStatsTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
45 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
67 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testNotificationPackagePreferenceExtraction()
68 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testNotificationPackagePreferenceExtraction()
69 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testNotificationPackagePreferenceExtraction()
101 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testNotificationChannelPreferencesExtraction()
102 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testNotificationChannelPreferencesExtraction()
103 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testNotificationChannelPreferencesExtraction()
140 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testNotificationChannelGroupPreferencesExtraction()
141 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testNotificationChannelGroupPreferencesExtraction()
[all …]
/cts/hostsidetests/car/src/android/car/cts/
DGarageModeAtomTests.java21 import android.cts.statsdatom.lib.AtomTestUtils;
59 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in setUp()
93 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testGarageModeOnOff()
95 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testGarageModeOnOff()
98 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, AtomTestUtils.WAIT_TIME_SHORT, in testGarageModeOnOff()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/perf/
DProcStatsTests.java21 import android.cts.statsdatom.lib.AtomTestUtils;
48 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
68 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG * 2); in testProcessState()
72 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testProcessState()
73 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testProcessState()
94 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testCachedState()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/
DProcessMemoryStatsTests.java23 import android.cts.statsdatom.lib.AtomTestUtils;
45 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
70 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testProcessMemoryState()
72 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testProcessMemoryState()
73 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testProcessMemoryState()
107 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testProcessMemoryHighWaterMark()
109 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testProcessMemoryHighWaterMark()
110 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testProcessMemoryHighWaterMark()
149 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testProcessMemorySnapshot()
150 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testProcessMemorySnapshot()
DVmStatTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
44 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
70 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in pullVmStatAsGaugeMetric()
71 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in pullVmStatAsGaugeMetric()
DSystemMemoryStatsTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
45 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
79 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in pullSystemMemoryAsGaugeMetric()
80 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in pullSystemMemoryAsGaugeMetric()
DProcessDmabufMemoryTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
46 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
83 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in pullAsGaugeMetric()
84 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in pullAsGaugeMetric()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/permissionstate/
DDangerousPermissionStateTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
47 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
76 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testDangerousPermissionState()
77 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testDangerousPermissionState()
114 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testDangerousPermissionStateSampled()
115 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testDangerousPermissionStateSampled()
133 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testDangerousPermissionStateSampled()
134 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testDangerousPermissionStateSampled()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/wifi/
DWifiStatsTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
64 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
109 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testWifiLockHighPerf()
123 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, AtomTestUtils.WAIT_TIME_SHORT, in testWifiLockHighPerf()
160 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testWifiLockHighPerfDeprecated()
174 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, AtomTestUtils.WAIT_TIME_SHORT, in testWifiLockHighPerfDeprecated()
211 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testWifiLockLowLatency()
225 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, AtomTestUtils.WAIT_TIME_SHORT, in testWifiLockLowLatency()
241 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testWifiMulticastLock()
258 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, AtomTestUtils.WAIT_TIME_SHORT, in testWifiMulticastLock()
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/media/
DMediaCapabilitiesTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
56 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
87 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testSurroundSoundCapabilities()
90 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testSurroundSoundCapabilities()
91 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testSurroundSoundCapabilities()
122 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testDisplayCapabilities()
125 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testDisplayCapabilities()
126 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testDisplayCapabilities()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/devicepower/
DDevicePowerStatsTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
46 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
68 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testOnDevicePowerMeasurement()
69 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testOnDevicePowerMeasurement()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/
DUserInfoStatsTests.java19 import static android.cts.statsdatom.lib.AtomTestUtils.WAIT_TIME_LONG;
23 import android.cts.statsdatom.lib.AtomTestUtils;
77 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testGuestUserExists()
78 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testGuestUserExists()
103 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testSecondaryUserExists()
104 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testSecondaryUserExists()
DMultiUserInfoStatsTests.java19 import static android.cts.statsdatom.lib.AtomTestUtils.WAIT_TIME_LONG;
23 import android.cts.statsdatom.lib.AtomTestUtils;
71 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testMultiUserInfo()
72 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testMultiUserInfo()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterycycle/
DBatteryCycleStatsTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
46 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
69 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testBatteryCycleCount()
70 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testBatteryCycleCount()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DComponentStateChangedReportedStatsTests.java27 import android.cts.statsdatom.lib.AtomTestUtils;
87 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
102 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testComponentStateChangedReportedForWholeApp()
114 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testComponentStateChangedReportedForWholeApp()
137 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testComponentStateChangedReportedForLauncherActivity()
149 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testComponentStateChangedReportedForLauncherActivity()
172 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testComponentStateChangedReportedForNoLauncherActivity()
184 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testComponentStateChangedReportedForNoLauncherActivity()
207 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testComponentStateChangedReportedEnabledThenDisabled()
219 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testComponentStateChangedReportedEnabledThenDisabled()
[all …]
DPackageInstallerV2StatsTests.java20 import android.cts.statsdatom.lib.AtomTestUtils;
41 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
88 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in installPackageUsingV2AndGetReport()
92 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in installPackageUsingV2AndGetReport()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/apphibernation/
DAppHibernationStatsTest.java22 import android.cts.statsdatom.lib.AtomTestUtils;
51 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
114 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testUserLevelHibernatedApps()
115 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testUserLevelHibernatedApps()
136 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testGlobalHibernatedApps()
137 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testGlobalHibernatedApps()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/binderstats/
DBinderStatsTests.java23 import android.cts.statsdatom.lib.AtomTestUtils;
49 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
68 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testBinderStats()
82 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testBinderStats()
83 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testBinderStats()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/gnss/
DGnssStatsTests.java23 import android.cts.statsdatom.lib.AtomTestUtils;
47 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
79 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testGnssStats()
81 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testGnssStats()
82 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testGnssStats()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/gamemanager/
DGameManagerStatsTests.java22 import android.cts.statsdatom.lib.AtomTestUtils;
59 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
80 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testGameStateStatsd()
98 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testGameModeChangedIsPushed()
118 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testGameModeConfigurationChangedIsPushed()
149 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testGameModeInfoIsPulled()
150 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testGameModeInfoIsPulled()
178 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testGameModeConfigurationIsPulled()
179 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testGameModeConfigurationIsPulled()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStatsdAppSecurityAtomTest.java21 import android.cts.statsdatom.lib.AtomTestUtils;
50 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
75 AtomTestUtils.sendAppBreadcrumbReportedAtom(getDevice()); in testRoleHolder()
76 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testRoleHolder()

1234