Searched refs:getRemainingCallCount (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 1382 assertEquals(2, mManager.getRemainingCallCount()); 1387 assertEquals(1, mManager.getRemainingCallCount()); 1392 assertEquals(0, mManager.getRemainingCallCount()); 1399 assertEquals(0, mManager.getRemainingCallCount()); 1405 assertEquals(0, mManager.getRemainingCallCount()); 1411 assertEquals(2, mManager.getRemainingCallCount()); 1416 assertEquals(1, mManager.getRemainingCallCount()); 1421 assertEquals(0, mManager.getRemainingCallCount()); 1426 assertEquals(0, mManager.getRemainingCallCount()); 1432 assertEquals(2, mManager.getRemainingCallCount()); [all …]
|
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 | ShortcutManagerTest1.java | 246 assertEquals(MAX_UPDATES_PER_INTERVAL, mManager.getRemainingCallCount()); in testGetRemainingCallCount() 300 assertEquals(2, mManager.getRemainingCallCount()); in testSetDynamicShortcuts() 308 assertEquals(1, mManager.getRemainingCallCount()); in testSetDynamicShortcuts() 312 assertEquals(0, mManager.getRemainingCallCount()); in testSetDynamicShortcuts() 340 assertEquals(3, mManager.getRemainingCallCount()); in testAddDynamicShortcuts() 343 assertEquals(2, mManager.getRemainingCallCount()); in testAddDynamicShortcuts() 349 assertEquals(1, mManager.getRemainingCallCount()); in testAddDynamicShortcuts() 356 assertEquals(0, mManager.getRemainingCallCount()); in testAddDynamicShortcuts() 365 assertEquals(2, mManager.getRemainingCallCount()); in testAddDynamicShortcuts() 386 assertEquals(3, mManager.getRemainingCallCount()); in testUnlimitedCalls() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutManager.java | 341 public int getRemainingCallCount() { in getRemainingCallCount() method in ShortcutManager 343 return mService.getRemainingCallCount(mContext.getPackageName(), injectMyUserId()); in getRemainingCallCount() 375 return mService.getRemainingCallCount(mContext.getPackageName(), injectMyUserId()) in isRateLimitingActive()
|
D | IShortcutService.aidl | 59 int getRemainingCallCount(String packageName, int userId); in getRemainingCallCount() method
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 2213 public int getRemainingCallCount(String packageName, @UserIdInt int userId) { in getRemainingCallCount() method in ShortcutService
|
/frameworks/base/services/ |
D | art-profile | 11594 PLcom/android/server/pm/ShortcutService;->getRemainingCallCount(Ljava/lang/String;I)I
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 14986 Landroid/content/pm/IShortcutService$Stub$Proxy;->getRemainingCallCount(Ljava/lang/String;I)I 15033 Landroid/content/pm/IShortcutService;->getRemainingCallCount(Ljava/lang/String;I)I 16248 Landroid/content/pm/ShortcutManager;->getRemainingCallCount()I
|