Searched refs:getHealthDataHistoricalAccessStartDate (Results 1 – 7 of 7) sorted by relevance
84 getHealthDataHistoricalAccessStartDate(null); in testGrantHealthPermission_nullPackage_throwsNullPointerException()90 getHealthDataHistoricalAccessStartDate("android.invalid.package"); in testGrantHealthPermission_packageNotInstalled_returnsNull()96 Instant grantTime = getHealthDataHistoricalAccessStartDate(DEFAULT_APP_PACKAGE); in testGrantHealthPermission_noPermissionsGranted_returnsNull()103 Instant grantTime = getHealthDataHistoricalAccessStartDate(DEFAULT_APP_PACKAGE); in testGrantHealthPermission_permissionGranted_returnsAdequateTime()116 Instant grantTime = getHealthDataHistoricalAccessStartDate(DEFAULT_APP_PACKAGE); in testGrantHealthPermission_permGrantedViaPackageManager_returnsAdequateTime()124 Instant grantTime = getHealthDataHistoricalAccessStartDate(DEFAULT_APP_PACKAGE); in testGrantHealthPermission_permissionGrantedToSharedUser_returnsAdequateTime()132 Instant grantTime = getHealthDataHistoricalAccessStartDate(SHARED_USER_APP); in testGrantHealthPermission_permissionGrantedForSharedUser_returnsAdequateTime()141 Instant grantTime = getHealthDataHistoricalAccessStartDate(DEFAULT_APP_PACKAGE); in testGrantHealthPermission_twoPermissionsGranted_returnsTheSameTime()143 Instant grantTime2 = getHealthDataHistoricalAccessStartDate(DEFAULT_APP_PACKAGE); in testGrantHealthPermission_twoPermissionsGranted_returnsTheSameTime()151 Instant grantTime = getHealthDataHistoricalAccessStartDate(DEFAULT_APP_PACKAGE); in testGrantHealthPermission_notAllPermissionsRevoked_returnsTheSameTime()[all …]
19 …ort static android.healthconnect.cts.utils.PermissionHelper.getHealthDataHistoricalAccessStartDate;230 getHealthDataHistoricalAccessStartDate(TEST_APP_1_PACKAGE_NAME); in testPermissionRestoredBeforeHCRestore_expectGrantTimeIsRestoredCorrectly()247 assertThat(getHealthDataHistoricalAccessStartDate(TEST_APP_1_PACKAGE_NAME)) in testPermissionRestoredBeforeHCRestore_expectGrantTimeIsRestoredCorrectly()253 getHealthDataHistoricalAccessStartDate(TEST_APP_2_PACKAGE_NAME); in testPermissionRestoredBeforeHCRestore_expectGrantTimeIsRestoredCorrectly()265 assertThat(getHealthDataHistoricalAccessStartDate(TEST_APP_1_PACKAGE_NAME)) in testPermissionRestoredBeforeHCRestore_expectGrantTimeIsRestoredCorrectly()270 assertThat(getHealthDataHistoricalAccessStartDate(TEST_APP_2_PACKAGE_NAME)) in testPermissionRestoredBeforeHCRestore_expectGrantTimeIsRestoredCorrectly()285 getHealthDataHistoricalAccessStartDate(TEST_APP_1_PACKAGE_NAME); in testPermissionsRestoredAfterHCRestore_expectGrantTimeIsRestoredCorrectly()301 assertThat(getHealthDataHistoricalAccessStartDate(TEST_APP_1_PACKAGE_NAME)) in testPermissionsRestoredAfterHCRestore_expectGrantTimeIsRestoredCorrectly()311 assertThat(getHealthDataHistoricalAccessStartDate(TEST_APP_1_PACKAGE_NAME)) in testPermissionsRestoredAfterHCRestore_expectGrantTimeIsRestoredCorrectly()
57 return packageName?.let { manager.getHealthDataHistoricalAccessStartDate(it) } in loadStartAccessDate()
108 verify(healthConnectManager, times(1)).getHealthDataHistoricalAccessStartDate(packageName) in loadStartAccessDate_callsHealthConnectManager()
108 mHealthConnectManager.getHealthDataHistoricalAccessStartDate( in readDataHistoricalAccessStartDate()
205 public static Instant getHealthDataHistoricalAccessStartDate(String packageName) { in getHealthDataHistoricalAccessStartDate() method in PermissionHelper
519 public Instant getHealthDataHistoricalAccessStartDate(@NonNull String packageName) { in getHealthDataHistoricalAccessStartDate() method in HealthConnectManager