Home
last modified time | relevance | path

Searched refs:getRemainingCallCount (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest7.java126 assertTrue(mManager.getRemainingCallCount() < 3); in testResetThrottling()
129 assertTrue(mManager.getRemainingCallCount() < 3); in testResetThrottling()
136 assertEquals(3, mManager.getRemainingCallCount()); in testResetThrottling()
139 assertTrue(mManager.getRemainingCallCount() < 3); in testResetThrottling()
147 assertTrue(mManager.getRemainingCallCount() < 3); in testResetThrottling_user_not_running()
150 assertTrue(mManager.getRemainingCallCount() < 3); in testResetThrottling_user_not_running()
164 assertTrue(mManager.getRemainingCallCount() < 3); in testResetThrottling_user_not_running()
167 assertTrue(mManager.getRemainingCallCount() < 3); in testResetThrottling_user_not_running()
175 assertTrue(mManager.getRemainingCallCount() < 3); in testResetThrottling_user_running()
178 assertTrue(mManager.getRemainingCallCount() < 3); in testResetThrottling_user_running()
[all …]
DShortcutManagerTest2.java1564 assertEquals(2, mManager.getRemainingCallCount());
1569 assertEquals(1, mManager.getRemainingCallCount());
1574 assertEquals(0, mManager.getRemainingCallCount());
1581 assertEquals(0, mManager.getRemainingCallCount());
1587 assertEquals(0, mManager.getRemainingCallCount());
1593 assertEquals(2, mManager.getRemainingCallCount());
1598 assertEquals(1, mManager.getRemainingCallCount());
1603 assertEquals(0, mManager.getRemainingCallCount());
1608 assertEquals(0, mManager.getRemainingCallCount());
1614 assertEquals(2, mManager.getRemainingCallCount());
[all …]
DShortcutManagerTest1.java263 assertEquals(MAX_UPDATES_PER_INTERVAL, mManager.getRemainingCallCount()); in testGetRemainingCallCount()
317 assertEquals(2, mManager.getRemainingCallCount()); in testSetDynamicShortcuts()
325 assertEquals(1, mManager.getRemainingCallCount()); in testSetDynamicShortcuts()
329 assertEquals(0, mManager.getRemainingCallCount()); in testSetDynamicShortcuts()
357 assertEquals(3, mManager.getRemainingCallCount()); in testAddDynamicShortcuts()
360 assertEquals(2, mManager.getRemainingCallCount()); in testAddDynamicShortcuts()
366 assertEquals(1, mManager.getRemainingCallCount()); in testAddDynamicShortcuts()
373 assertEquals(0, mManager.getRemainingCallCount()); in testAddDynamicShortcuts()
382 assertEquals(2, mManager.getRemainingCallCount()); in testAddDynamicShortcuts()
510 assertEquals(3, mManager.getRemainingCallCount()); in testUnlimitedCalls()
[all …]
/frameworks/base/core/java/android/content/pm/
DShortcutManager.java425 public int getRemainingCallCount() { in getRemainingCallCount() method in ShortcutManager
427 return mService.getRemainingCallCount(mContext.getPackageName(), injectMyUserId()); in getRemainingCallCount()
459 return mService.getRemainingCallCount(mContext.getPackageName(), injectMyUserId()) in isRateLimitingActive()
DIShortcutService.aidl53 int getRemainingCallCount(String packageName, int userId); in getRemainingCallCount() method
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java2500 public int getRemainingCallCount(String packageName, @UserIdInt int userId) { in getRemainingCallCount() method in ShortcutService
/frameworks/base/services/
Dart-profile26111 HPLcom/android/server/pm/ShortcutService;->getRemainingCallCount(Ljava/lang/String;I)I