Home
last modified time | relevance | path

Searched refs:mMaxUpdatesPerInterval (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest7.java87 mService.mMaxUpdatesPerInterval = 99; in testNonShell()
97 assertEquals(99, mService.mMaxUpdatesPerInterval); in testNonShell()
101 mService.mMaxUpdatesPerInterval = 99; in testRoot()
106 assertEquals(3, mService.mMaxUpdatesPerInterval); in testRoot()
110 mService.mMaxUpdatesPerInterval = 99; in testRestConfig()
115 assertEquals(3, mService.mMaxUpdatesPerInterval); in testRestConfig()
119 mService.mMaxUpdatesPerInterval = 99; in testOverrideConfig()
125 assertEquals(1, mService.mMaxUpdatesPerInterval); in testOverrideConfig()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutService.java335 int mMaxUpdatesPerInterval; field in ShortcutService
787 mMaxUpdatesPerInterval = Math.max(0, (int) parser.getLong( in updateConfigurationLocked()
2788 return mMaxUpdatesPerInterval - ps.getApiCallCount(unlimited); in getRemainingCallCount()
4824 pw.println(mMaxUpdatesPerInterval);
5319 return mMaxUpdatesPerInterval;
H A DShortcutPackage.java754 if (getApiCallCount(unlimited) >= s.mMaxUpdatesPerInterval) { in tryApiCall()