/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/ |
D | GrantTimePersistenceUnitTest.java | 111 datastore.writeForUser(DEFAULT_STATE, mUser, DATA_TYPE_CURRENT); in testWriteReadData_packageAndSharedUserState_restoredCorrectly() 119 datastore.writeForUser(SHARED_USERS_STATE, mUser, DATA_TYPE_CURRENT); in testWriteReadData_multipleSharedUserState_restoredCorrectly() 127 datastore.writeForUser(PACKAGES_STATE, mUser, DATA_TYPE_CURRENT); in testWriteReadData_multiplePackagesState_restoredCorrectly() 135 datastore.writeForUser(EMPTY_STATE, mUser, DATA_TYPE_CURRENT); in testWriteReadData_emptyState_restoredCorrectly() 143 datastore.writeForUser(PACKAGES_STATE, mUser, DATA_TYPE_CURRENT); in testWriteReadData_overwroteState_restoredCorrectly() 144 datastore.writeForUser(DEFAULT_STATE, mUser, DATA_TYPE_CURRENT); in testWriteReadData_overwroteState_restoredCorrectly() 152 datastore.writeForUser(PACKAGES_STATE, mUser, DATA_TYPE_CURRENT); in testWriteReadData_writeAllStateTypes_restoredCorrectly() 153 datastore.writeForUser(EMPTY_STATE, mUser, DATA_TYPE_STAGED); in testWriteReadData_writeAllStateTypes_restoredCorrectly() 162 datastore.writeForUser(PACKAGES_STATE, mUser, DATA_TYPE_CURRENT); in testWriteReadData_statesForTwoUsersWritten_restoredCorrectly() 163 datastore.writeForUser(SHARED_USERS_STATE, UserHandle.of(10), DATA_TYPE_CURRENT); in testWriteReadData_statesForTwoUsersWritten_restoredCorrectly()
|
D | FirstGrantTimeUnitTest.java | 165 verify(mDatastore).writeForUser(captor.capture(), eq(CURRENT_USER), anyInt()); in testSetFirstGrantTimeForAnApp_expectOtherAppsGrantTimesRemained() 263 .writeForUser( in testCurrentPackage_intentSupported_grantTimeIsNotNull()
|
/packages/modules/Permission/tests/apex/java/com/android/role/persistence/ |
D | RolesPersistenceTest.kt | 89 persistence.writeForUser(state, user) in testWriteRead() 97 persistence.writeForUser(state, user) in testWriteCorruptReadFromReserveCopy() 108 persistence.writeForUser(state, user) in testDelete()
|
/packages/modules/Permission/tests/apex/java/com/android/permission/persistence/ |
D | RuntimePermissionsPersistenceTest.kt | 87 persistence.writeForUser(state, user) in testWriteRead() 95 persistence.writeForUser(state, user) in testWriteCorruptReadFromReserveCopy() 108 persistence.writeForUser(state, user) in testDelete()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/ |
D | FirstGrantTimeManager.java | 142 mDatastore.writeForUser( in setFirstGrantTime() 240 mDatastore.writeForUser(updatedState, user, DATA_TYPE_CURRENT); in updateFirstGrantTimesFromPermissionState() 278 mDatastore.writeForUser(state, userId, DATA_TYPE_STAGED); in applyAndStageGrantTimeStateForUser() 310 mDatastore.writeForUser(updatedState, userHandle, DATA_TYPE_CURRENT); in onPackageRemoved() 339 mDatastore.writeForUser( in updateGrantTimesWithStagedDataLocked() 379 mDatastore.writeForUser(backupState, user, DATA_TYPE_STAGED); in tryUpdateGrantTimeFromStagedDataLocked() 504 mDatastore.writeForUser(recordedState, user, DATA_TYPE_CURRENT); in validateAndCorrectRecordedStateForUser()
|
D | FirstGrantTimeDatastore.java | 57 void writeForUser( in writeForUser() method
|
D | FirstGrantTimeDatastoreXmlPersistence.java | 60 public void writeForUser( in writeForUser() method in FirstGrantTimeDatastoreXmlPersistence
|
/packages/modules/Permission/service/api/ |
D | system-server-current.txt | 8 …method public void writeForUser(@NonNull com.android.permission.persistence.RuntimePermissionsStat… 43 …method public void writeForUser(@NonNull com.android.role.persistence.RolesState, @NonNull android…
|
/packages/modules/Permission/service/java/com/android/permission/persistence/ |
D | RuntimePermissionsPersistence.java | 53 void writeForUser(@NonNull RuntimePermissionsState runtimePermissions, in writeForUser() method
|
D | RuntimePermissionsPersistenceImpl.java | 215 public void writeForUser(@NonNull RuntimePermissionsState runtimePermissions, in writeForUser() method in RuntimePermissionsPersistenceImpl
|
/packages/modules/Permission/service/java/com/android/role/persistence/ |
D | RolesPersistence.java | 53 void writeForUser(@NonNull RolesState roles, @NonNull UserHandle user); in writeForUser() method
|
D | RolesPersistenceImpl.java | 192 public void writeForUser(@NonNull RolesState roles, @NonNull UserHandle user) { in writeForUser() method in RolesPersistenceImpl
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleUserState.java | 457 mPersistence.writeForUser(roles, UserHandle.of(mUserId)); in writeFile()
|