Home
last modified time | relevance | path

Searched refs:enforceSelfRead (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DDataPermissionEnforcer.java88 boolean enforceSelfRead = false; in enforceReadAccessAndGetEnforceSelfRead()
98 enforceSelfRead = true; in enforceReadAccessAndGetEnforceSelfRead()
103 return enforceSelfRead; in enforceReadAccessAndGetEnforceSelfRead()
118 boolean enforceSelfRead = false; in enforceReadAccessAndGetEnforceSelfRead()
120 enforceSelfRead |= in enforceReadAccessAndGetEnforceSelfRead()
123 return enforceSelfRead; in enforceReadAccessAndGetEnforceSelfRead()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DDataPermissionEnforcerTest.java154 boolean enforceSelfRead = in testEnforceReadAccessAndGetEnforceSelfRead_readPermissionGranted_returnsFalse()
158 assertThat(enforceSelfRead).isFalse(); in testEnforceReadAccessAndGetEnforceSelfRead_readPermissionGranted_returnsFalse()
171 boolean enforceSelfRead = in testEnforceReadAccessAndGetEnforceSelfRead_onlyWritePermissionGranted_returnsTrue()
175 assertThat(enforceSelfRead).isTrue(); in testEnforceReadAccessAndGetEnforceSelfRead_onlyWritePermissionGranted_returnsTrue()
205 boolean enforceSelfRead = in testEnforceReadAccessAndGetEnforceSelfReadList_oneWritePermissionGranted_returnsTrue()
210 assertThat(enforceSelfRead).isTrue(); in testEnforceReadAccessAndGetEnforceSelfReadList_oneWritePermissionGranted_returnsTrue()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DReadTransactionRequest.java57 boolean enforceSelfRead, in ReadTransactionRequest() argument
67 enforceSelfRead, in ReadTransactionRequest()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DRecordHelper.java336 boolean enforceSelfRead, in getReadTableRequest() argument
346 enforceSelfRead, in getReadTableRequest()
703 boolean enforceSelfRead, in getReadTableWhereClause() argument
713 if (enforceSelfRead) { in getReadTableWhereClause()
771 if (enforceSelfRead) { in getReadTableWhereClause()
DExerciseSessionRecordHelper.java322 boolean enforceSelfRead = routeAccessType == ROUTE_READ_ACCESS_TYPE_OWN; in getExtraDataReadRequests()
326 request, packageName, enforceSelfRead, startDateAccessMillis); in getExtraDataReadRequests()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectServiceImpl.java507 boolean enforceSelfRead = in aggregateRecords()
521 enforceSelfRead, in aggregateRecords()
601 boolean enforceSelfRead = false; in readRecords()
615 enforceSelfRead = true; in readRecords()
620 enforceSelfRead = isOnlySelfReadInBackgroundAllowed(uid, pid); in readRecords()
630 enforceSelfRead, in readRecords()
643 + enforceSelfRead); in readRecords()
675 enforceSelfRead, in readRecords()
712 !holdsDataManagementPermission && !enforceSelfRead; in readRecords()
780 boolean enforceSelfRead, in maybeEnforceOnlyCallingPackageDataRequested() argument
[all …]