/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/ |
D | AdServicesManagerService.java | 254 final int userIdentifier = getUserIdentifierFromBinderCallingUid(); in setConsent() local 255 LogUtil.v("setConsent() for User Identifier %d", userIdentifier); in setConsent() 258 .getOrCreateUserConsentManagerInstance(userIdentifier) in setConsent() 270 final int userIdentifier = getUserIdentifierFromBinderCallingUid(); in recordNotificationDisplayed() local 271 LogUtil.v("recordNotificationDisplayed() for User Identifier %d", userIdentifier); in recordNotificationDisplayed() 274 .getOrCreateUserConsentManagerInstance(userIdentifier) in recordNotificationDisplayed() 291 final int userIdentifier = getUserIdentifierFromBinderCallingUid(); in recordBlockedTopic() local 292 LogUtil.v("recordBlockedTopic() for User Identifier %d", userIdentifier); in recordBlockedTopic() 294 .getOrCreateUserBlockedTopicsManagerInstance(userIdentifier) in recordBlockedTopic() 308 final int userIdentifier = getUserIdentifierFromBinderCallingUid(); in removeBlockedTopic() local [all …]
|
D | UserInstanceManager.java | 73 ConsentManager getOrCreateUserConsentManagerInstance(int userIdentifier) throws IOException { in getOrCreateUserConsentManagerInstance() argument 75 ConsentManager instance = getUserConsentManagerInstance(userIdentifier); in getOrCreateUserConsentManagerInstance() 77 instance = ConsentManager.createConsentManager(mAdServicesBaseDir, userIdentifier); in getOrCreateUserConsentManagerInstance() 78 mConsentManagerMapLocked.put(userIdentifier, instance); in getOrCreateUserConsentManagerInstance() 85 AppConsentManager getOrCreateUserAppConsentManagerInstance(int userIdentifier) in getOrCreateUserAppConsentManagerInstance() argument 88 AppConsentManager instance = mAppConsentManagerMapLocked.get(userIdentifier); in getOrCreateUserAppConsentManagerInstance() 92 mAdServicesBaseDir, userIdentifier); in getOrCreateUserAppConsentManagerInstance() 93 mAppConsentManagerMapLocked.put(userIdentifier, instance); in getOrCreateUserAppConsentManagerInstance() 100 BlockedTopicsManager getOrCreateUserBlockedTopicsManagerInstance(int userIdentifier) { in getOrCreateUserBlockedTopicsManagerInstance() argument 102 BlockedTopicsManager instance = mBlockedTopicsManagerMapLocked.get(userIdentifier); in getOrCreateUserBlockedTopicsManagerInstance() [all …]
|
D | BlockedTopicsManager.java | 40 public BlockedTopicsManager(@NonNull TopicsDao topicsDao, int userIdentifier) { in BlockedTopicsManager() argument 44 mUserIdentifier = userIdentifier; in BlockedTopicsManager()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/data/topics/ |
D | TopicsDao.java | 76 public void recordBlockedTopic(@NonNull List<Topic> topics, int userIdentifier) { in recordBlockedTopic() argument 90 values.put(TopicsTables.BlockedTopicsContract.USER, userIdentifier); in recordBlockedTopic() 109 public void removeBlockedTopic(@NonNull Topic topic, int userIdentifier) { in removeBlockedTopic() argument 127 String.valueOf(userIdentifier), in removeBlockedTopic() 146 public Set<Topic> retrieveAllBlockedTopics(int userIdentifier) { in retrieveAllBlockedTopics() argument 154 String[] selectionArgs = {String.valueOf(userIdentifier)}; in retrieveAllBlockedTopics() 191 public void clearAllBlockedTopicsOfUser(int userIdentifier) { in clearAllBlockedTopicsOfUser() argument 199 String.valueOf(userIdentifier), in clearAllBlockedTopicsOfUser()
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/ |
D | UserInstanceManagerTest.java | 187 int userIdentifier = 0; in testDeleteConsentManagerInstance() local 188 mUserInstanceManager.getOrCreateUserConsentManagerInstance(userIdentifier); in testDeleteConsentManagerInstance() 189 assertThat(mUserInstanceManager.getUserConsentManagerInstance(userIdentifier)).isNotNull(); in testDeleteConsentManagerInstance() 190 mUserInstanceManager.deleteUserInstance(userIdentifier); in testDeleteConsentManagerInstance() 192 assertThat(mUserInstanceManager.getUserConsentManagerInstance(userIdentifier)).isNull(); in testDeleteConsentManagerInstance() 197 int userIdentifier = 0; in testDeleteConsentManagerInstance_userIdentifierNotPresent() local 198 mUserInstanceManager.getOrCreateUserConsentManagerInstance(userIdentifier); in testDeleteConsentManagerInstance_userIdentifierNotPresent() 199 assertThat(mUserInstanceManager.getUserConsentManagerInstance(userIdentifier)).isNotNull(); in testDeleteConsentManagerInstance_userIdentifierNotPresent() 204 assertThat(mUserInstanceManager.getUserConsentManagerInstance(userIdentifier)).isNotNull(); in testDeleteConsentManagerInstance_userIdentifierNotPresent()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/ |
D | ConsentDatastoreLocationHelper.java | 35 static String getConsentDataStoreDir(@NonNull String baseDir, int userIdentifier) { in getConsentDataStoreDir() argument 37 return baseDir + "/" + userIdentifier + "/" + CONSENT_DIR; in getConsentDataStoreDir() 40 static String getConsentDataStoreDirAndCreateDir(@NonNull String baseDir, int userIdentifier) in getConsentDataStoreDirAndCreateDir() argument 42 String consentDataStoreDir = getConsentDataStoreDir(baseDir, userIdentifier); in getConsentDataStoreDirAndCreateDir()
|
D | AppConsentManager.java | 68 public static AppConsentManager createAppConsentManager(String baseDir, int userIdentifier) in createAppConsentManager() argument 77 baseDir, userIdentifier); in createAppConsentManager()
|
D | ConsentManager.java | 94 public static ConsentManager createConsentManager(@NonNull String baseDir, int userIdentifier) in createConsentManager() argument 103 baseDir, userIdentifier); in createConsentManager()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/rollback/ |
D | RollbackHandlingDatastoreLocationHelper.java | 34 @NonNull String baseDir, int userIdentifier) throws IOException { in getRollbackHandlingDataStoreDirAndCreateDir() argument 37 baseDir + "/" + userIdentifier + "/" + ROLLBACK_HANDLING_DIR; in getRollbackHandlingDataStoreDirAndCreateDir()
|
D | RollbackHandlingManager.java | 64 @NonNull String baseDir, int userIdentifier, int packageVersion) throws IOException { in createRollbackHandlingManager() argument 71 baseDir, userIdentifier); in createRollbackHandlingManager()
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/ |
D | ConsentManagerTest.java | 296 int userIdentifier = 0; in testDeleteConsentDataStoreDir() local 298 ConsentManager.createConsentManager(BASE_DIR, userIdentifier); in testDeleteConsentDataStoreDir() 301 BASE_DIR, userIdentifier); in testDeleteConsentDataStoreDir() 304 String userDirectoryPath = BASE_DIR + "/" + userIdentifier; in testDeleteConsentDataStoreDir() 424 int userIdentifier = 0; in testDeleteConsentDataStoreDirUserIdentifierNotPresent() local 426 ConsentManager.createConsentManager(BASE_DIR, userIdentifier); in testDeleteConsentDataStoreDirUserIdentifierNotPresent() 429 BASE_DIR, userIdentifier); in testDeleteConsentDataStoreDirUserIdentifierNotPresent()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | UserId.java | 74 public static UserId of(int userIdentifier) { in of() argument 75 return of(UserHandle.of(userIdentifier)); in of()
|