Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DHealthDataCategoryPriorityHelperTest.java279 .appHasDataInCategory(APP_PACKAGE_NAME, HealthDataCategory.ACTIVITY); in testNewMaybeRemoveAppFromPriorityList_ifDataForApp_doesNotRemoveApp()
306 .appHasDataInCategory(APP_PACKAGE_NAME, HealthDataCategory.ACTIVITY); in testNewMaybeRemoveAppFromPriorityList_ifNoDataForApp_removesApp()
335 .appHasDataInCategory(APP_PACKAGE_NAME, HealthDataCategory.ACTIVITY); in testOldMaybeRemoveAppFromPriorityList_ifNoWritePermissionsForApp_removesApp()
400 .appHasDataInCategory(APP_PACKAGE_NAME, HealthDataCategory.ACTIVITY); in testNewUpdateHealthDataPriority_ifDataForApp_doesNotRemoveApp()
429 .appHasDataInCategory(APP_PACKAGE_NAME, HealthDataCategory.ACTIVITY); in testNewUpdateHealthDataPriority_ifNoDataForApp_removesApp()
462 .appHasDataInCategory(APP_PACKAGE_NAME, HealthDataCategory.ACTIVITY); in testOldUpdateHealthDataPriority_ifNoWritePermissionsForApp_removesApp()
505 .appHasDataInCategory(APP_PACKAGE_NAME, HealthDataCategory.ACTIVITY); in testNewMaybeRemoveAppWithoutWritePermissionsFromPriorityList_ifNoDataForApp_removesApp()
528 .appHasDataInCategory(APP_PACKAGE_NAME, HealthDataCategory.ACTIVITY); in testNewMaybeRemoveAppWithoutWritePermissionsFromPriorityList_ifDataForApp_doesNotRemoveApp()
1562 mHealthDataCategoryPriorityHelper.appHasDataInCategory( in testAppHasDataInCategory_forAppsWithDataInCategory_returnsTrue()
1566 mHealthDataCategoryPriorityHelper.appHasDataInCategory( in testAppHasDataInCategory_forAppsWithDataInCategory_returnsTrue()
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DHealthDataCategoryPriorityHelper.java474 boolean dataExistsForPackageName = appHasDataInCategory(packageName, dataCategory); in maybeRemoveAppFromPriorityListInternal()
641 boolean appHasDataInCategory(String packageName, int category) { in appHasDataInCategory() method in HealthDataCategoryPriorityHelper