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 | 1321 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 …]
|
D | ShortcutManagerTest1.java | 235 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/ |
D | ShortcutManager.java | 562 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()
|
D | IShortcutService.aidl | 58 int getRemainingCallCount(String packageName, int userId); in getRemainingCallCount() method
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 2149 public int getRemainingCallCount(String packageName, @UserIdInt int userId) { in getRemainingCallCount() method in ShortcutService
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 18210 HSPLandroid/content/pm/IShortcutService;->getRemainingCallCount(Ljava/lang/String;I)I
|