Searched refs:tryApiCall (Results 1 – 4 of 4) sorted by relevance
40 fun tryApiCall() { in tryApiCall() method42 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()
2042 if (!ps.tryApiCall(unlimited)) {2113 if (!ps.tryApiCall(unlimited)) {2215 if (!ps.tryApiCall(unlimited)) {
808 public boolean tryApiCall(boolean unlimited) { in tryApiCall() method in ShortcutPackage
4305 if (mGeneratedPreviewsApiCounter.tryApiCall(providerId)) { in setWidgetPreview()5186 public boolean tryApiCall(@NonNull ProviderId provider) { in tryApiCall() method in AppWidgetServiceImpl.ApiCounter