/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 121 private final SparseArray<UserState> mUserStates = new SparseArray<>(); 174 final UserState userState; in print() 198 final UserState userState; in getPrintJobInfos() 223 final UserState userState; in getPrintJobInfo() 245 final UserState userState; in getCustomPrinterIcon() 269 final UserState userState; in cancelPrintJob() 295 final UserState userState; in restartPrintJob() 320 final UserState userState; in getPrintServices() 354 final UserState userState; in setPrintServiceEnabled() 375 final UserState userState; in getPrintServiceRecommendations() [all …]
|
D | UserState.java | 102 final class UserState implements PrintSpoolerCallbacks, PrintServiceCallbacks, class 164 public UserState(Context context, int userId, Object lock, boolean lowPriority) { in UserState() method in UserState 701 UserState::handleDispatchPrintJobStateChanged, in onPrintJobStateChanged() 708 UserState::handleDispatchPrintServicesChanged, this)); in onPrintServicesChanged() 714 UserState::handleDispatchPrintServiceRecommendationsUpdated, in onPrintServiceRecommendationsUpdated() 781 UserState::onConfigurationChanged, this), in onServiceDied() 1095 UserState::failScheduledPrintJobsForServiceInternal, this, serviceName)); in failActivePrintJobsForService() 1279 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in PrinterDiscoverySessionMediator() 1291 UserState.PrinterDiscoverySessionMediator::handlePrintersAdded, in addObserverLocked() 1329 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in startPrinterDiscoveryLocked() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityServiceConnection.java | 36 import com.android.server.accessibility.AccessibilityManagerService.UserState; 59 final WeakReference<UserState> mUserStateWeakReference; 67 public AccessibilityServiceConnection(UserState userState, Context context, in AccessibilityServiceConnection() 75 mUserStateWeakReference = new WeakReference<UserState>(userState); in AccessibilityServiceConnection() 90 UserState userState = mUserStateWeakReference.get(); in bindLocked() 110 UserState userState = mUserStateWeakReference.get(); in unbindLocked() 124 UserState userState = mUserStateWeakReference.get(); in disableSelf() 157 UserState userState = mUserStateWeakReference.get(); in onServiceConnected() 178 UserState userState = mUserStateWeakReference.get(); in initializeService() 229 final UserState userState = mUserStateWeakReference.get(); in setSoftKeyboardShowMode() [all …]
|
D | AccessibilityManagerService.java | 257 private final SparseArray<UserState> mUserStates = new SparseArray<>(); 272 private UserState getCurrentUserStateLocked() { in getCurrentUserStateLocked() 340 private UserState getUserState(int userId) { in getUserState() 346 private UserState getUserStateLocked(int userId) { in getUserStateLocked() 347 UserState state = mUserStates.get(userId); in getUserStateLocked() 349 state = new UserState(userId); in getUserStateLocked() 356 final UserState userState = getUserState(userId); in getBindInstantServiceAllowed() 362 UserState userState; in setBindInstantServiceAllowed() 369 userState = new UserState(userId); in setBindInstantServiceAllowed() 387 UserState userState = getCurrentUserStateLocked(); in registerBroadcastReceivers() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 35 import static com.android.server.am.UserState.STATE_BOOTING; 36 import static com.android.server.am.UserState.STATE_RUNNING_LOCKED; 37 import static com.android.server.am.UserState.STATE_RUNNING_UNLOCKED; 38 import static com.android.server.am.UserState.STATE_RUNNING_UNLOCKING; 101 import com.android.server.am.UserState.KeyEvictedCallback; 184 private final SparseArray<UserState> mStartedUsers = new SparseArray<>(); 269 final UserState uss = new UserState(UserHandle.SYSTEM); in UserController() 277 void finishUserSwitch(UserState uss) { in finishUserSwitch() 292 UserState uss = mStartedUsers.get(userId); in getRunningUsersLU() 297 if (uss.state == UserState.STATE_STOPPING in getRunningUsersLU() [all …]
|
D | UserState.java | 35 public final class UserState { class 75 public UserState(UserHandle handle) { in UserState() method in UserState
|
D | EventLogTags.logtags | 112 # UserState has changed
|
D | ActivityManagerService.java | 16643 UserState userState = mUserController.getStartedUserState(app.userId); in maybeUpdateProviderUsageStatsLocked() 17603 final UserState userState = mUserController.getStartedUserState(userId); in getStartedUserState() 17604 return UserState.stateToString(userState.state); in getStartedUserState() 18161 mUserController.finishUserSwitch((UserState) uss); in finishUserSwitch()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 110 UserState userState = mManagerService.peekUserStateLocked(userId); in onStopUser() 123 final SparseArray<UserState> mUserStates = new SparseArray<>(); 143 UserState userState = getUserStateLocked(userId); in onSuggestSelection() 167 UserState userState = getUserStateLocked(userId); in onClassifyText() 191 UserState userState = getUserStateLocked(userId); in onGenerateLinks() 213 UserState userState = getUserStateLocked(userId); in onSelectionEvent() 237 UserState userState = getUserStateLocked(userId); in onTextClassifierEvent() 259 UserState userState = getUserStateLocked(userId); in onDetectLanguage() 283 UserState userState = getUserStateLocked(userId); in onSuggestConversationActions() 306 UserState userState = getUserStateLocked(userId); in onCreateTextClassificationSession() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 116 private final HashMap<Integer, UserState> mUserStates = new HashMap<>(); 208 UserState userState = (UserState) reportMsg.obj; in startForegroundUserAssertions() 211 assertEquals("User must be in STATE_BOOTING", UserState.STATE_BOOTING, userState.state); in startForegroundUserAssertions() 239 UserState userState = (UserState) reportMsg.obj; in testDispatchUserSwitch() 251 userState = (UserState) conMsg.obj; in testDispatchUserSwitch() 254 assertEquals("User must be in STATE_BOOTING", UserState.STATE_BOOTING, userState.state); in testDispatchUserSwitch() 269 UserState userState = (UserState) reportMsg.obj; in testDispatchUserSwitchBadReceiver() 287 UserState userState = (UserState) reportMsg.obj; in testContinueUserSwitch() 304 UserState userState = (UserState) reportMsg.obj; in testContinueUserSwitchUIDisabled() 386 UserState ussUser2 = mUserStates.get(TEST_USER_ID2); in testUserStoppingForMultipleUsersNormalMode() [all …]
|
/frameworks/base/services/core/java/com/android/server/attention/ |
D | AttentionManagerService.java | 96 private final SparseArray<UserState> mUserStates = new SparseArray<>(); 191 final UserState userState = getOrCreateCurrentUserStateLocked(); in checkAttention() 229 UserState userState) { in createAttentionCheck() 270 final UserState userState = peekCurrentUserStateLocked(); in cancelAttentionCheck() 302 protected UserState getOrCreateCurrentUserStateLocked() { in getOrCreateCurrentUserStateLocked() 308 protected UserState getOrCreateUserStateLocked(int userId) { in getOrCreateUserStateLocked() 309 UserState result = mUserStates.get(userId); in getOrCreateUserStateLocked() 311 result = new UserState(userId, mContext, mLock, mAttentionHandler, mComponentName); in getOrCreateUserStateLocked() 320 protected UserState peekCurrentUserStateLocked() { in peekCurrentUserStateLocked() 326 private UserState peekUserStateLocked(int userId) { in peekUserStateLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 127 private final SparseArray<UserState> mUserStates = new SparseArray<>(); 266 UserState userState = getOrCreateUserStateLocked(userId); in buildTvInputListLocked() 353 UserState userState = getOrCreateUserStateLocked(userId); in buildTvContentRatingSystemListLocked() 384 UserState userState = mUserStates.get(mCurrentUserId); in switchUser() 435 UserState userState = getOrCreateUserStateLocked(state.userId); in clearSessionAndNotifyClientLocked() 451 UserState userState = mUserStates.get(userId); in removeUser() 506 private UserState getOrCreateUserStateLocked(int userId) { in getOrCreateUserStateLocked() 507 UserState userState = mUserStates.get(userId); in getOrCreateUserStateLocked() 509 userState = new UserState(mContext, userId); in getOrCreateUserStateLocked() 516 UserState userState = getOrCreateUserStateLocked(userId); in getServiceStateLocked() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/ |
D | AttentionManagerServiceTest.java | 43 import com.android.server.attention.AttentionManagerService.UserState; 57 private UserState mSpyUserState; 86 UserState mUserState = new UserState(0, in setUp()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerInternal.java | 43 import com.android.server.am.UserState; 505 public abstract boolean switchUser(int userId, UserState userState); in switchUser()
|
D | ActivityStackSupervisor.java | 142 import com.android.server.am.UserState; 319 final ArrayList<UserState> mStartingUsers = new ArrayList<>(); 1258 ArrayList<UserState> startingUsers = null; in activityIdleInternalLocked()
|
D | RootActivityContainer.java | 117 import com.android.server.am.UserState; 829 boolean switchUser(int userId, UserState uss) { in switchUser()
|
D | ActivityTaskManagerService.java | 263 import com.android.server.am.UserState; 7226 public boolean switchUser(int userId, UserState userState) { in switchUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | UiAutomationManagerTest.java | 56 @Mock AccessibilityManagerService.UserState mMockUserState;
|
D | AccessibilityServiceConnectionTest.java | 65 @Mock AccessibilityManagerService.UserState mMockUserState;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 101 import com.android.server.am.UserState; 553 mUserStates.put(UserHandle.USER_SYSTEM, UserState.STATE_BOOTING); in UserManagerService() 3711 pw.println(UserState.stateToString(state)); in dump() 4019 if (state == UserState.STATE_STOPPING || state == UserState.STATE_SHUTDOWN) { in isUserUnlockingOrUnlocked() 4022 return (state == UserState.STATE_RUNNING_UNLOCKING) in isUserUnlockingOrUnlocked() 4023 || (state == UserState.STATE_RUNNING_UNLOCKED); in isUserUnlockingOrUnlocked() 4033 if (state == UserState.STATE_STOPPING || state == UserState.STATE_SHUTDOWN) { in isUserUnlocked() 4036 return state == UserState.STATE_RUNNING_UNLOCKED; in isUserUnlocked()
|
/frameworks/base/services/ |
D | art-profile | 2092 …essibilityManagerClient;ILcom/android/server/accessibility/AccessibilityManagerService$UserState;)V 2093 …ionBridge;Lcom/android/server/accessibility/AccessibilityManagerService$UserState;Landroid/content… 2129 HSPLcom/android/server/accessibility/AccessibilityManagerService$UserState;-><init>(Lcom/android/se… 2130 HSPLcom/android/server/accessibility/AccessibilityManagerService$UserState;->addServiceLocked(Lcom/… 2131 HSPLcom/android/server/accessibility/AccessibilityManagerService$UserState;->getBindInstantServiceA… 2132 HSPLcom/android/server/accessibility/AccessibilityManagerService$UserState;->getBindingServicesLock… 2133 HSPLcom/android/server/accessibility/AccessibilityManagerService$UserState;->getClientState()I 2134 HSPLcom/android/server/accessibility/AccessibilityManagerService$UserState;->isHandlingAccessibilit… 2135 HSPLcom/android/server/accessibility/AccessibilityManagerService$UserState;->onSwitchToAnotherUserL… 2144 …ibilityServiceConnection;Lcom/android/server/accessibility/AccessibilityManagerService$UserState;)Z [all …]
|
/frameworks/base/core/proto/android/server/ |
D | activitymanagerservice.proto | 1003 // sync with com.android.server.am.UserState.java
|