Home
last modified time | relevance | path

Searched refs:getInternalBackgroundExecutorTaskCount (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DFirstGrantTimeUnitTest.java19 import static com.android.server.healthconnect.TestUtils.getInternalBackgroundExecutorTaskCount;
216 long currentTaskCount = getInternalBackgroundExecutorTaskCount(); in testOnPermissionsChangedCalled_withHealthPermissionsUid_expectBackgroundTaskAdded()
227 assertThat(getInternalBackgroundExecutorTaskCount()).isEqualTo(currentTaskCount + 1); in testOnPermissionsChangedCalled_withHealthPermissionsUid_expectBackgroundTaskAdded()
234 long currentTaskCount = getInternalBackgroundExecutorTaskCount(); in testOnPermissionsChangedCalled_withNoHealthPermissionsUid_expectNoBackgroundTaskAdded()
245 assertThat(getInternalBackgroundExecutorTaskCount()).isEqualTo(currentTaskCount); in testOnPermissionsChangedCalled_withNoHealthPermissionsUid_expectNoBackgroundTaskAdded()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/
DTestUtils.java78 public static long getInternalBackgroundExecutorTaskCount() { in getInternalBackgroundExecutorTaskCount() method in TestUtils