Home
last modified time | relevance | path

Searched refs:supportsPermissionUsageIntent (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DHealthPermissionIntentAppsTrackerTest.java64 assertThat(mTracker.supportsPermissionUsageIntent(SELF_PACKAGE_NAME, CURRENT_USER)) in testCheckPackage_packageSupportsIntent_returnsTrue()
71 assertThat(mTracker.supportsPermissionUsageIntent(SELF_PACKAGE_NAME, CURRENT_USER)) in testCheckPackage_packageDoesntSupportIntent_returnsFalse()
78 assertThat(mTracker.supportsPermissionUsageIntent(SELF_PACKAGE_NAME, CURRENT_USER)) in testUpdatePackageState_packageSupportIntentRemoved_returnsRemovedIntentTrue()
83 assertThat(mTracker.supportsPermissionUsageIntent(SELF_PACKAGE_NAME, CURRENT_USER)) in testUpdatePackageState_packageSupportIntentRemoved_returnsRemovedIntentTrue()
DFirstGrantTimeUnitTest.java81 when(mTracker.supportsPermissionUsageIntent(SELF_PACKAGE_NAME, CURRENT_USER)) in setUp()
97 when(mTracker.supportsPermissionUsageIntent(SELF_PACKAGE_NAME, CURRENT_USER)) in testCurrentPackage_intentNotSupported_grantTimeIsNull()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DHealthPermissionIntentAppsTracker.java66 boolean supportsPermissionUsageIntent( in supportsPermissionUsageIntent() method in HealthPermissionIntentAppsTracker
DFirstGrantTimeManager.java400 if (!mTracker.supportsPermissionUsageIntent(info.packageName, user)) { in validateAndCorrectRecordedStateForUser()
506 if (mTracker.supportsPermissionUsageIntent(packageName, user)) { in checkSupportPermissionsUsageIntent()
DHealthConnectPermissionHelper.java311 if (!mPermissionIntentAppsTracker.supportsPermissionUsageIntent(packageName, userHandle)) { in enforceSupportPermissionsUsageIntent()