Home
last modified time | relevance | path

Searched refs:userSerial (Results 1 – 18 of 18) sorted by relevance

/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DPersistentDataStore.java332 String uniqueDisplayId, int userSerial) { in getBrightnessConfigurationForDisplayLocked() argument
569 int userSerial, String packageName) { in setBrightnessConfiguration() argument
696 int userSerial, String packageName) { in setBrightnessConfigurationForUser() argument
701 mPackageNames.remove(userSerial); in setBrightnessConfigurationForUser()
706 mConfigurations.put(userSerial, c); in setBrightnessConfigurationForUser()
708 mPackageNames.remove(userSerial); in setBrightnessConfigurationForUser()
709 mTimeStamps.delete(userSerial); in setBrightnessConfigurationForUser()
710 mConfigurations.remove(userSerial); in setBrightnessConfigurationForUser()
718 return mConfigurations.get(userSerial); in getBrightnessConfiguration()
726 int userSerial; in loadFromXml() local
[all …]
H A DDisplayManagerService.java528 final int userSerial = getUserManager().getUserSerialNumber(newUserId); in onUserSwitching() local
547 userSerial); in onUserSwitching()
1452 final int userSerial = getUserManager().getUserSerialNumber(userId);
1460 userSerial, packageName);
1507 int userSerial = getUserManager().getUserSerialNumber(mContext.getUserId());
1513 getBrightnessConfigForDisplayWithPdsFallbackLocked(uniqueId, userSerial);
2176 String uniqueId, int userSerial) {
2179 uniqueId, userSerial);
2182 config = mPersistentDataStore.getBrightnessConfiguration(userSerial);
2907 final int userSerial = getUserManager().getUserSerialNumber(userId);
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/
H A DPersistentDataStoreTest.java152 int userSerial = 0; in testStoreAndReloadOfDisplayBrightnessConfigurations() local
161 userSerial)); in testStoreAndReloadOfDisplayBrightnessConfigurations()
188 userSerial)); in testStoreAndReloadOfDisplayBrightnessConfigurations()
191 uniqueDisplayId, userSerial)); in testStoreAndReloadOfDisplayBrightnessConfigurations()
197 int userSerial = 0; in testSetBrightnessConfigurationFailsWithUnstableId() local
206 userSerial)); in testSetBrightnessConfigurationFailsWithUnstableId()
221 config, testDisplayDevice, userSerial, packageName)); in testSetBrightnessConfigurationFailsWithUnstableId()
257 int userSerial = 0; in testNullBrightnessConfiguration() local
262 assertNull(mDataStore.getBrightnessConfiguration(userSerial)); in testNullBrightnessConfiguration()
265 assertNotNull(mDataStore.getBrightnessConfiguration(userSerial)); in testNullBrightnessConfiguration()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DUserDataPreparer.java69 void prepareUserData(int userId, int userSerial, int flags) { in prepareUserData() argument
74 prepareUserDataLI(volumeUuid, userId, userSerial, flags, true); in prepareUserData()
79 private void prepareUserDataLI(String volumeUuid, int userId, int userSerial, int flags, in prepareUserDataLI() argument
85 storage.prepareUserStorage(volumeUuid, userId, userSerial, flags); in prepareUserDataLI()
88 enforceSerialNumber(getDataUserDeDirectory(volumeUuid, userId), userSerial); in prepareUserDataLI() local
90 enforceSerialNumber(getDataSystemDeDirectory(userId), userSerial); in prepareUserDataLI() local
94 enforceSerialNumber(getDataUserCeDirectory(volumeUuid, userId), userSerial); in prepareUserDataLI() local
96 enforceSerialNumber(getDataSystemCeDirectory(userId), userSerial); in prepareUserDataLI() local
100 mInstaller.createUserData(volumeUuid, userId, userSerial, flags); in prepareUserDataLI()
116 prepareUserDataLI(volumeUuid, userId, userSerial, in prepareUserDataLI()
H A DInstaller.java589 public void createUserData(String uuid, int userId, int userSerial, int flags) in createUserData() argument
593 mInstalld.createUserData(uuid, userId, userSerial, flags); in createUserData()
H A DUserManagerService.java4786 final int userSerial = userInfo.serialNumber; in onBeforeStartUser() local
4790 mUserDataPreparer.prepareUserData(userId, userSerial, StorageManager.FLAG_STORAGE_DE); in onBeforeStartUser()
4815 final int userSerial = userInfo.serialNumber; in onBeforeUnlockUser() local
4818 mUserDataPreparer.prepareUserData(userId, userSerial, StorageManager.FLAG_STORAGE_CE); in onBeforeUnlockUser()
/aosp12/system/vold/binder/android/os/
H A DIVold.aidl33 void onUserAdded(int userId, int userSerial); in onUserAdded() argument
96 void createUserKey(int userId, int userSerial, boolean ephemeral); in createUserKey() argument
99 void addUserKeyAuth(int userId, int userSerial, @utf8InCpp String token, in addUserKeyAuth() argument
101 void clearUserKeyAuth(int userId, int userSerial, @utf8InCpp String token, in clearUserKeyAuth() argument
106 void unlockUserKey(int userId, int userSerial, @utf8InCpp String token, in unlockUserKey() argument
110 void prepareUserStorage(@nullable @utf8InCpp String uuid, int userId, int userSerial, in prepareUserStorage() argument
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DGridBackupTable.java104 long userSerial = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in restoreFromCustomBackupTable() local
106 copyTable(mDb, tableName, Favorites.TABLE_NAME, userSerial); in restoreFromCustomBackupTable()
114 private static void copyTable(SQLiteDatabase db, String from, String to, long userSerial) { in copyTable() argument
116 Favorites.addTableToDb(db, userSerial, false, to); in copyTable()
/aosp12/system/vold/
H A DVoldNativeService.h41 binder::Status onUserAdded(int32_t userId, int32_t userSerial);
121 binder::Status createUserKey(int32_t userId, int32_t userSerial, bool ephemeral);
124 binder::Status addUserKeyAuth(int32_t userId, int32_t userSerial, const std::string& token,
126 binder::Status clearUserKeyAuth(int32_t userId, int32_t userSerial, const std::string& token,
131 binder::Status unlockUserKey(int32_t userId, int32_t userSerial, const std::string& token,
136 int32_t userSerial, int32_t flags);
H A DVoldNativeService.cpp190 binder::Status VoldNativeService::onUserAdded(int32_t userId, int32_t userSerial) { in onUserAdded() argument
194 return translate(VolumeManager::Instance()->onUserAdded(userId, userSerial)); in onUserAdded()
714 binder::Status VoldNativeService::createUserKey(int32_t userId, int32_t userSerial, in createUserKey() argument
719 return translateBool(fscrypt_vold_create_user_key(userId, userSerial, ephemeral)); in createUserKey()
733 binder::Status VoldNativeService::addUserKeyAuth(int32_t userId, int32_t userSerial, in addUserKeyAuth() argument
744 return translateBool(fscrypt_add_user_key_auth(userId, userSerial, secret)); in addUserKeyAuth()
747 binder::Status VoldNativeService::clearUserKeyAuth(int32_t userId, int32_t userSerial, in clearUserKeyAuth() argument
759 return translateBool(fscrypt_clear_user_key_auth(userId, userSerial, secret)); in clearUserKeyAuth()
777 binder::Status VoldNativeService::unlockUserKey(int32_t userId, int32_t userSerial, in unlockUserKey() argument
788 return translateBool(fscrypt_unlock_user_key(userId, userSerial, secret)); in unlockUserKey()
[all …]
/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
H A DIconCacheUpdateHandler.java142 long userSerial = mIconCache.getSerialNumberForUser(user); in updateIconsPerUser() local
151 new String[]{Long.toString(userSerial)})) { in updateIconsPerUser() argument
211 new SerializedIconUpdateTask(userSerial, user, appsToAdd, appsToUpdate, cachingLogic, in updateIconsPerUser()
258 SerializedIconUpdateTask(long userSerial, UserHandle userHandle, in SerializedIconUpdateTask() argument
262 mUserSerial = userSerial; in SerializedIconUpdateTask()
H A DBaseIconCache.java214 long userSerial = getSerialNumberForUser(user); in removeIconsForPkg() local
217 new String[]{packageName + "/%", Long.toString(userSerial)}); in removeIconsForPkg()
247 PackageInfo info, long userSerial, boolean replaceExisting) { in addIconToDBAndMemCache() argument
281 addIconToDB(values, componentName, info, userSerial, in addIconToDBAndMemCache()
290 PackageInfo info, long userSerial, long lastUpdateTime) { in addIconToDB() argument
292 values.put(IconDB.COLUMN_USER, userSerial); in addIconToDB()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/provider/
H A DLauncherDbUtils.java61 long userSerial = UserCache.INSTANCE.get(context).getSerialNumberForUser( in copyTable() local
64 Favorites.addTableToDb(toDb, userSerial, false, toTable); in copyTable()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
H A DGridSizeMigrationTaskV2Test.java99 long userSerial = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in setUp() local
102 LauncherSettings.Favorites.addTableToDb(mDb, userSerial, false, in setUp()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/icons/
H A DIconCache.java138 long userSerial = mUserManager.getSerialNumberForUser(user); in updateIconsForPkg() local
140 addIconToDBAndMemCache(app, mLauncherActivityInfoCachingLogic, info, userSerial, in updateIconsForPkg()
/aosp12/frameworks/native/cmds/installd/binder/android/os/
H A DIInstalld.aidl21 void createUserData(@nullable @utf8InCpp String uuid, int userId, int userSerial, int flags); in createUserData() argument
/aosp12/frameworks/native/cmds/installd/
H A DInstalldNativeService.h44 int32_t userSerial, int32_t flags);
H A DInstalldNativeService.cpp1294 int32_t userId, int32_t userSerial ATTRIBUTE_UNUSED, int32_t flags) { in createUserData()