Searched refs:getRemainingCallCount (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest7.java | 126 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 …]
|
D | ShortcutManagerTest2.java | 1564 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 …]
|
D | ShortcutManagerTest1.java | 263 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/ |
D | ShortcutManager.java | 425 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()
|
D | IShortcutService.aidl | 53 int getRemainingCallCount(String packageName, int userId); in getRemainingCallCount() method
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 2500 public int getRemainingCallCount(String packageName, @UserIdInt int userId) { in getRemainingCallCount() method in ShortcutService
|
/frameworks/base/services/ |
D | art-profile | 26111 HPLcom/android/server/pm/ShortcutService;->getRemainingCallCount(Ljava/lang/String;I)I
|