Home
last modified time | relevance | path

Searched refs:tryApiCall (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DApiCounterTest.kt40 fun tryApiCall() { in tryApiCall() method
42 assertThat(counter.tryApiCall(id)).isTrue() in tryApiCall()
44 assertThat(counter.tryApiCall(id)).isFalse() in tryApiCall()
46 assertThat(counter.tryApiCall(id)).isFalse() in tryApiCall()
48 assertThat(counter.tryApiCall(id)).isTrue() in tryApiCall()
54 assertThat(counter.tryApiCall(id)).isTrue() in remove()
56 assertThat(counter.tryApiCall(id)).isFalse() in remove()
59 assertThat(counter.tryApiCall(id)).isTrue() in remove()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java2042 if (!ps.tryApiCall(unlimited)) {
2113 if (!ps.tryApiCall(unlimited)) {
2215 if (!ps.tryApiCall(unlimited)) {
DShortcutPackage.java808 public boolean tryApiCall(boolean unlimited) { in tryApiCall() method in ShortcutPackage
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java4305 if (mGeneratedPreviewsApiCounter.tryApiCall(providerId)) { in setWidgetPreview()
5186 public boolean tryApiCall(@NonNull ProviderId provider) { in tryApiCall() method in AppWidgetServiceImpl.ApiCounter