Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java298 public float getBrightness(DisplayDevice device, int userSerial) { in getBrightness() argument
306 return state.getBrightness(userSerial); in getBrightness()
309 public boolean setBrightness(DisplayDevice displayDevice, float brightness, int userSerial) { in setBrightness() argument
318 if (state.setBrightness(brightness, userSerial)) { in setBrightness()
399 public void setBrightnessConfigurationForUser(BrightnessConfiguration c, int userSerial, in setBrightnessConfigurationForUser() argument
402 if (mGlobalBrightnessConfigurations.setBrightnessConfigurationForUser(c, userSerial, in setBrightnessConfigurationForUser()
410 DisplayDevice device, int userSerial, String packageName) { in setBrightnessConfigurationForDisplayLocked() argument
415 if (state.setBrightnessConfiguration(configuration, userSerial, packageName)) { in setBrightnessConfigurationForDisplayLocked()
424 String uniqueDisplayId, int userSerial) { in getBrightnessConfigurationForDisplayLocked() argument
428 return state.getBrightnessConfiguration(userSerial); in getBrightnessConfigurationForDisplayLocked()
[all …]
DBrightnessSetting.java60 BrightnessSetting(int userSerial, in BrightnessSetting() argument
66 mUserSerial = userSerial; in BrightnessSetting()
68 mLogicalDisplay.getPrimaryDisplayDeviceLocked(), userSerial); in BrightnessSetting()
103 public void setUserSerial(int userSerial) { in setUserSerial() argument
104 mUserSerial = userSerial; in setUserSerial()
DDisplayPowerControllerInterface.java110 void setBrightness(float brightness, int userSerial); in setBrightness() argument
202 void onSwitchUser(int newUserId, int userSerial, float newBrightness); in onSwitchUser() argument
DDisplayManagerService.java718 final int userSerial = getUserManager().getUserSerialNumber(newUserId); in onUserSwitching() local
737 userSerial); in onUserSwitching()
742 : mPersistentDataStore.getBrightness(device, userSerial); in onUserSwitching()
746 dpc.onSwitchUser(newUserId, userSerial, newBrightness); in onUserSwitching()
2636 final int userSerial = getUserManager().getUserSerialNumber(userId); in setBrightnessConfigurationForDisplayInternal() local
2653 userSerial, packageName); in setBrightnessConfigurationForDisplayInternal()
2700 int userSerial = getUserManager().getUserSerialNumber(mContext.getUserId()); in loadBrightnessConfigurations() local
2706 getBrightnessConfigForDisplayWithPdsFallbackLocked(uniqueId, userSerial); in loadBrightnessConfigurations()
3531 final int userSerial = getUserManager().getUserSerialNumber(mContext.getUserId()); in addDisplayPowerControllerLocked() local
3532 final BrightnessSetting brightnessSetting = new BrightnessSetting(userSerial, in addDisplayPowerControllerLocked()
[all …]
DDisplayPowerController.java699 public void onSwitchUser(@UserIdInt int newUserId, int userSerial, float newBrightness) { in onSwitchUser() argument
700 Message msg = mHandler.obtainMessage(MSG_SWITCH_USER, newUserId, userSerial, newBrightness); in onSwitchUser()
704 private void handleOnSwitchUser(@UserIdInt int newUserId, int userSerial, float newBrightness) { in handleOnSwitchUser() argument
705 Slog.i(mTag, "Switching user newUserId=" + newUserId + " userSerial=" + userSerial in handleOnSwitchUser()
711 setBrightness(newBrightness, userSerial); in handleOnSwitchUser()
2468 public void setBrightness(float brightness, int userSerial) { in setBrightness() argument
2472 mDisplayBrightnessController.setBrightness(clampScreenBrightness(brightness), userSerial, in setBrightness() local
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/util/
DUserIconInfo.java47 public final long userSerial; field in UserIconInfo
53 public UserIconInfo(UserHandle user, @UserType int type, long userSerial) { in UserIconInfo() argument
56 this.userSerial = userSerial; in UserIconInfo()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DPersistentDataStoreTest.java273 int userSerial = 0; in testStoreAndReloadOfDisplayBrightnessConfigurations() local
282 userSerial)); in testStoreAndReloadOfDisplayBrightnessConfigurations()
297 mDataStore.setBrightnessConfigurationForDisplayLocked(config, testDisplayDevice, userSerial, in testStoreAndReloadOfDisplayBrightnessConfigurations()
311 userSerial)); in testStoreAndReloadOfDisplayBrightnessConfigurations()
313 userSerial), newDataStore.getBrightnessConfigurationForDisplayLocked( in testStoreAndReloadOfDisplayBrightnessConfigurations()
314 uniqueDisplayId, userSerial)); in testStoreAndReloadOfDisplayBrightnessConfigurations()
320 int userSerial = 0; in testSetBrightnessConfigurationFailsWithUnstableId() local
329 userSerial)); in testSetBrightnessConfigurationFailsWithUnstableId()
345 config, testDisplayDevice, userSerial, packageName)); in testSetBrightnessConfigurationFailsWithUnstableId()
382 int userSerial = 0; in testNullBrightnessConfiguration() local
[all …]
DDisplayPowerControllerTest.java1810 int userSerial = 12345; in testOnSwitchUserUpdatesBrightness() local
1813 mHolder.dpc.onSwitchUser(/* newUserId= */ 15, userSerial, brightness); in testOnSwitchUserUpdatesBrightness()
1816 verify(mHolder.brightnessSetting).setUserSerial(userSerial); in testOnSwitchUserUpdatesBrightness()
1825 int userSerial = 12345; in testOnSwitchUserDoesNotAddUserDataPoint() local
1839 mHolder.dpc.onSwitchUser(/* newUserId= */ 15, userSerial, brightness); in testOnSwitchUserDoesNotAddUserDataPoint()
/frameworks/base/services/core/java/com/android/server/pm/
DUserDataPreparer.java88 final int userSerial = userInfo.serialNumber; in prepareUserDataLI() local
100 enforceSerialNumber(getDataUserDeDirectory(volumeUuid, userId), userSerial); in prepareUserDataLI() local
102 enforceSerialNumber(getDataSystemDeDirectory(userId), userSerial); in prepareUserDataLI() local
106 enforceSerialNumber(getDataUserCeDirectory(volumeUuid, userId), userSerial); in prepareUserDataLI() local
108 enforceSerialNumber(getDataSystemCeDirectory(userId), userSerial); in prepareUserDataLI() local
113 mInstaller.createUserData(volumeUuid, userId, userSerial, flags); in prepareUserDataLI()
DInstaller.java618 public void createUserData(String uuid, int userId, int userSerial, int flags) in createUserData() argument
622 mInstalld.createUserData(uuid, userId, userSerial, flags); in createUserData()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DIconCacheUpdateHandler.java144 long userSerial = mIconCache.getSerialNumberForUser(user); in updateIconsPerUser() local
153 new String[]{Long.toString(userSerial)})) { in updateIconsPerUser() argument
215 new SerializedIconUpdateTask(userSerial, user, appsToAdd, appsToUpdate, cachingLogic, in updateIconsPerUser()
262 SerializedIconUpdateTask(long userSerial, UserHandle userHandle, in SerializedIconUpdateTask() argument
266 mUserSerial = userSerial; in SerializedIconUpdateTask()
DBaseIconCache.java268 long userSerial = getSerialNumberForUser(user); in removeIconsForPkg() local
271 new String[]{packageName + "/%", Long.toString(userSerial)}); in removeIconsForPkg()
322 final long userSerial, final boolean replaceExisting) { in addIconToDBAndMemCache() argument
358 addIconToDB(values, componentName, info, userSerial, in addIconToDBAndMemCache()
368 @NonNull final PackageInfo info, final long userSerial, final long lastUpdateTime) { in addIconToDB() argument
370 values.put(IconDB.COLUMN_USER, userSerial); in addIconToDB()
/frameworks/base/services/core/java/com/android/server/display/brightness/
DDisplayBrightnessController.java336 public void setBrightness(float brightnessValue, int userSerial, float maxBrightness) { in setBrightness() argument
337 mBrightnessSetting.setUserSerial(userSerial); in setBrightness()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl21 void createUserData(@nullable @utf8InCpp String uuid, int userId, int userSerial, int flags); in createUserData() argument
/frameworks/native/cmds/installd/
DInstalldNativeService.h63 int32_t userSerial, int32_t flags);
DInstalldNativeService.cpp2018 int32_t userId, int32_t userSerial ATTRIBUTE_UNUSED, int32_t flags) { in createUserData()