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.java1321 assertEquals(2, mManager.getRemainingCallCount());
1326 assertEquals(1, mManager.getRemainingCallCount());
1331 assertEquals(0, mManager.getRemainingCallCount());
1338 assertEquals(0, mManager.getRemainingCallCount());
1344 assertEquals(0, mManager.getRemainingCallCount());
1350 assertEquals(2, mManager.getRemainingCallCount());
1355 assertEquals(1, mManager.getRemainingCallCount());
1360 assertEquals(0, mManager.getRemainingCallCount());
1365 assertEquals(0, mManager.getRemainingCallCount());
1371 assertEquals(2, mManager.getRemainingCallCount());
[all …]
DShortcutManagerTest1.java235 assertEquals(MAX_UPDATES_PER_INTERVAL, mManager.getRemainingCallCount()); in testGetRemainingCallCount()
289 assertEquals(2, mManager.getRemainingCallCount()); in testSetDynamicShortcuts()
297 assertEquals(1, mManager.getRemainingCallCount()); in testSetDynamicShortcuts()
301 assertEquals(0, mManager.getRemainingCallCount()); in testSetDynamicShortcuts()
329 assertEquals(3, mManager.getRemainingCallCount()); in testAddDynamicShortcuts()
332 assertEquals(2, mManager.getRemainingCallCount()); in testAddDynamicShortcuts()
338 assertEquals(1, mManager.getRemainingCallCount()); in testAddDynamicShortcuts()
345 assertEquals(0, mManager.getRemainingCallCount()); in testAddDynamicShortcuts()
354 assertEquals(2, mManager.getRemainingCallCount()); in testAddDynamicShortcuts()
375 assertEquals(3, mManager.getRemainingCallCount()); in testUnlimitedCalls()
[all …]
/frameworks/base/core/java/android/content/pm/
DShortcutManager.java562 public int getRemainingCallCount() { in getRemainingCallCount() method in ShortcutManager
564 return mService.getRemainingCallCount(mContext.getPackageName(), injectMyUserId()); in getRemainingCallCount()
595 return mService.getRemainingCallCount(mContext.getPackageName(), injectMyUserId()) in isRateLimitingActive()
DIShortcutService.aidl58 int getRemainingCallCount(String packageName, int userId); in getRemainingCallCount() method
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java2149 public int getRemainingCallCount(String packageName, @UserIdInt int userId) { in getRemainingCallCount() method in ShortcutService
/frameworks/base/config/
Dboot-image-profile.txt18210 HSPLandroid/content/pm/IShortcutService;->getRemainingCallCount(Ljava/lang/String;I)I