/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityServiceConnection.java | 36 import com.android.server.accessibility.AccessibilityManagerService.UserState; 60 final WeakReference<UserState> mUserStateWeakReference; 69 public AccessibilityServiceConnection(UserState userState, Context context, in AccessibilityServiceConnection() 78 mUserStateWeakReference = new WeakReference<UserState>(userState); in AccessibilityServiceConnection() 94 UserState userState = mUserStateWeakReference.get(); in bindLocked() 117 UserState userState = mUserStateWeakReference.get(); in unbindLocked() 134 UserState userState = mUserStateWeakReference.get(); in disableSelf() 167 UserState userState = mUserStateWeakReference.get(); in onServiceConnected() 188 UserState userState = mUserStateWeakReference.get(); in initializeService() 221 UserState userState = mUserStateWeakReference.get(); in onServiceDisconnected() [all …]
|
D | AccessibilityManagerService.java | 257 private final SparseArray<UserState> mUserStates = new SparseArray<>(); 272 private UserState getCurrentUserStateLocked() { in getCurrentUserStateLocked() 341 private UserState getUserState(int userId) { in getUserState() 347 private UserState getUserStateLocked(int userId) { in getUserStateLocked() 348 UserState state = mUserStates.get(userId); in getUserStateLocked() 350 state = new UserState(userId); in getUserStateLocked() 357 final UserState userState = getUserState(userId); in getBindInstantServiceAllowed() 363 UserState userState; in setBindInstantServiceAllowed() 370 userState = new UserState(userId); in setBindInstantServiceAllowed() 388 UserState userState = getCurrentUserStateLocked(); in registerBroadcastReceivers() [all …]
|
/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/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; 188 private final SparseArray<UserState> mStartedUsers = new SparseArray<>(); 273 final UserState uss = new UserState(UserHandle.SYSTEM); in UserController() 281 void finishUserSwitch(UserState uss) { in finishUserSwitch() 296 UserState uss = mStartedUsers.get(userId); in getRunningUsersLU() 301 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 | 16752 UserState userState = mUserController.getStartedUserState(app.userId); in maybeUpdateProviderUsageStatsLocked() 17713 final UserState userState = mUserController.getStartedUserState(userId); in getStartedUserState() 17714 return UserState.stateToString(userState.state); in getStartedUserState() 18266 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 | 122 private final HashMap<Integer, UserState> mUserStates = new HashMap<>(); 240 UserState userState = (UserState) reportMsg.obj; in startForegroundUserAssertions() 243 assertEquals("User must be in STATE_BOOTING", UserState.STATE_BOOTING, userState.state); in startForegroundUserAssertions() 271 UserState userState = (UserState) reportMsg.obj; in testDispatchUserSwitch() 283 userState = (UserState) conMsg.obj; in testDispatchUserSwitch() 286 assertEquals("User must be in STATE_BOOTING", UserState.STATE_BOOTING, userState.state); in testDispatchUserSwitch() 301 UserState userState = (UserState) reportMsg.obj; in testDispatchUserSwitchBadReceiver() 319 UserState userState = (UserState) reportMsg.obj; in testContinueUserSwitch() 336 UserState userState = (UserState) reportMsg.obj; in testContinueUserSwitchUIDisabled() 418 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 | 128 private final SparseArray<UserState> mUserStates = new SparseArray<>(); 265 UserState userState = getOrCreateUserStateLocked(userId); in buildTvInputListLocked() 352 UserState userState = getOrCreateUserStateLocked(userId); in buildTvContentRatingSystemListLocked() 383 UserState userState = mUserStates.get(mCurrentUserId); in switchUser() 434 UserState userState = getOrCreateUserStateLocked(state.userId); in clearSessionAndNotifyClientLocked() 450 UserState userState = mUserStates.get(userId); in removeUser() 505 private UserState getOrCreateUserStateLocked(int userId) { in getOrCreateUserStateLocked() 506 UserState userState = mUserStates.get(userId); in getOrCreateUserStateLocked() 508 userState = new UserState(mContext, userId); in getOrCreateUserStateLocked() 515 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 | 42 import com.android.server.am.UserState; 511 public abstract boolean switchUser(int userId, UserState userState); in switchUser()
|
D | ActivityStackSupervisor.java | 143 import com.android.server.am.UserState; 320 final ArrayList<UserState> mStartingUsers = new ArrayList<>(); 1261 ArrayList<UserState> startingUsers = null; in activityIdleInternalLocked()
|
D | RootActivityContainer.java | 118 import com.android.server.am.UserState; 830 boolean switchUser(int userId, UserState uss) { in switchUser()
|
D | ActivityTaskManagerService.java | 266 import com.android.server.am.UserState; 7281 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 | 66 @Mock AccessibilityManagerService.UserState mMockUserState;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 106 import com.android.server.am.UserState; 565 mUserStates.put(UserHandle.USER_SYSTEM, UserState.STATE_BOOTING); in UserManagerService() 4000 pw.println(UserState.stateToString(state)); in dump() 4311 if (state == UserState.STATE_STOPPING || state == UserState.STATE_SHUTDOWN) { in isUserUnlockingOrUnlocked() 4314 return (state == UserState.STATE_RUNNING_UNLOCKING) in isUserUnlockingOrUnlocked() 4315 || (state == UserState.STATE_RUNNING_UNLOCKED); in isUserUnlockingOrUnlocked() 4325 if (state == UserState.STATE_STOPPING || state == UserState.STATE_SHUTDOWN) { in isUserUnlocked() 4328 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
|