HomeSort by relevance Sort by last modified time
    Searched refs:getAppStandbyBucket (Results 1 - 4 of 4) sorted by null

  /cts/hostsidetests/usage/src/android/app/usage/cts/
AppIdleHostTest.java 134 private int getAppStandbyBucket(String packageName) throws Exception {
149 assertEquals(SB_ACTIVE, getAppStandbyBucket(TEST_APP_PACKAGE));
152 assertEquals(20, getAppStandbyBucket(TEST_APP_PACKAGE));
162 assertEquals(SB_FREQUENT, getAppStandbyBucket(TEST_APP_PACKAGE));
163 assertEquals(SB_WORKING_SET, getAppStandbyBucket(TEST_APP_PACKAGE2));
170 assertNotEquals(40, getAppStandbyBucket("com.android.shell"));
177 assertEquals(SB_ACTIVE, getAppStandbyBucket(TEST_APP_PACKAGE));
180 assertEquals(SB_ACTIVE, getAppStandbyBucket(TEST_APP_PACKAGE));
183 assertEquals(SB_ACTIVE, getAppStandbyBucket(TEST_APP_PACKAGE));
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowUsageStatsManagerTest.java 154 assertThat(shadowOf(usageStatsManager).getAppStandbyBucket("app1"))
160 assertThat(shadowOf(usageStatsManager).getAppStandbyBucket("app_unset"))
168 assertThat(shadowOf(usageStatsManager).getAppStandbyBucket("app1"))
176 assertThat(shadowOf(usageStatsManager).getAppStandbyBucket("app1"))
184 assertThat(shadowOf(usageStatsManager).getAppStandbyBucket())
187 assertThat(shadowOf(usageStatsManager).getAppStandbyBucket())
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowUsageStatsManager.java 243 public @StandbyBuckets int getAppStandbyBucket(String packageName) {
319 protected int getAppStandbyBucket() {
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
UsageStatsTest.java 319 found |= event.getAppStandbyBucket() == UsageStatsManager.STANDBY_BUCKET_RARE;
349 mUsageStatsManager.getAppStandbyBucket());
372 if (event.getAppStandbyBucket() == UsageStatsManager.STANDBY_BUCKET_RARE) {
375 else if (event.getAppStandbyBucket() == UsageStatsManager
    [all...]

Completed in 146 milliseconds