Searched refs:userState (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 122 final UserState userState; in print() local 131 userState = getOrCreateUserStateLocked(resolvedUserId); in print() 135 return userState.print(printJobName, adapter, attributes, in print() 146 final UserState userState; in getPrintJobInfos() local 153 userState = getOrCreateUserStateLocked(resolvedUserId); in getPrintJobInfos() 157 return userState.getPrintJobInfos(resolvedAppId); in getPrintJobInfos() 167 final UserState userState; in getPrintJobInfo() local 174 userState = getOrCreateUserStateLocked(resolvedUserId); in getPrintJobInfo() 178 return userState.getPrintJobInfo(printJobId, resolvedAppId); in getPrintJobInfo() 188 final UserState userState; in cancelPrintJob() local [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 259 UserState userState = getCurrentUserStateLocked(); in registerBroadcastReceivers() 264 userState.mInstalledServices.clear(); in registerBroadcastReceivers() 265 if (userState.mUiAutomationService == null) { in registerBroadcastReceivers() 266 if (readConfigurationForUserStateLocked(userState)) { in registerBroadcastReceivers() 267 onUserStateChangedLocked(userState); in registerBroadcastReceivers() 282 UserState userState = getUserStateLocked(userId); in registerBroadcastReceivers() 283 Iterator<ComponentName> it = userState.mEnabledServices.iterator(); in registerBroadcastReceivers() 292 userState.mEnabledServices, userId); in registerBroadcastReceivers() 294 userState.mTouchExplorationGrantedServices.remove(comp); in registerBroadcastReceivers() 298 userState.mTouchExplorationGrantedServices, userId); in registerBroadcastReceivers() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 208 UserState userState = getUserStateLocked(getChangingUserId()); in registerBroadcastReceivers() 209 if (!userState.packageSet.contains(packageName)) { in registerBroadcastReceivers() 267 UserState userState = getUserStateLocked(userId); in buildTvInputListLocked() local 268 userState.packageSet.clear(); in buildTvInputListLocked() 286 ServiceState serviceState = userState.serviceStateMap.get(component); in buildTvInputListLocked() 292 userState.serviceStateMap.put(component, serviceState); in buildTvInputListLocked() 305 userState.packageSet.add(si.packageName); in buildTvInputListLocked() 313 TvInputState state = userState.inputMap.get(info.getId()); in buildTvInputListLocked() 322 if (!userState.inputMap.containsKey(inputId)) { in buildTvInputListLocked() 323 notifyInputAddedLocked(userState, inputId); in buildTvInputListLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 104 private final SparseArray<PackageUserState> userState = new SparseArray<PackageUserState>(); field in PackageSettingBase 151 userState.clear(); in PackageSettingBase() 152 for (int i=0; i<base.userState.size(); i++) { in PackageSettingBase() 153 userState.put(base.userState.keyAt(i), in PackageSettingBase() 154 new PackageUserState(base.userState.valueAt(i))); in PackageSettingBase() 216 userState.clear(); in copyFrom() 217 for (int i=0; i<base.userState.size(); i++) { in copyFrom() 218 userState.put(base.userState.keyAt(i), base.userState.valueAt(i)); in copyFrom() 225 PackageUserState state = userState.get(userId); in modifyUserState() 228 userState.put(userId, state); in modifyUserState() [all …]
|