/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 123 private final SparseArray<UserState> mUserStates = new SparseArray<>(); 176 final UserState userState; in print() 200 final UserState userState; in getPrintJobInfos() 225 final UserState userState; in getPrintJobInfo() 247 final UserState userState; in getCustomPrinterIcon() 304 final UserState userState; in cancelPrintJob() 330 final UserState userState; in restartPrintJob() 355 final UserState userState; in getPrintServices() 389 final UserState userState; in setPrintServiceEnabled() 421 final UserState userState; in isPrintServiceEnabled() [all …]
|
D | UserState.java | 103 final class UserState implements PrintSpoolerCallbacks, PrintServiceCallbacks, class 165 public UserState(Context context, int userId, Object lock, boolean lowPriority) { in UserState() method in UserState 714 UserState::handleDispatchPrintJobStateChanged, in onPrintJobStateChanged() 721 UserState::handleDispatchPrintServicesChanged, this)); in onPrintServicesChanged() 727 UserState::handleDispatchPrintServiceRecommendationsUpdated, in onPrintServiceRecommendationsUpdated() 794 UserState::onConfigurationChanged, this), in onServiceDied() 1108 UserState::failScheduledPrintJobsForServiceInternal, this, serviceName)); in failActivePrintJobsForService() 1292 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in PrinterDiscoverySessionMediator() 1304 UserState.PrinterDiscoverySessionMediator::handlePrintersAdded, in addObserverLocked() 1342 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in startPrinterDiscoveryLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | LegacyPermissionState.java | 37 private final SparseArray<UserState> mUserStates = new SparseArray<>(); 59 new UserState(other.mUserStates.valueAt(i))); in copyFrom() 119 UserState userState = mUserStates.get(userId); in getPermissionState() 135 UserState userState = mUserStates.get(userId); in putPermissionState() 137 userState = new UserState(); in putPermissionState() 154 final UserState userState = mUserStates.valueAt(i); in hasPermissionState() 173 final UserState userState = mUserStates.get(userId); in getPermissionStates() 221 private static final class UserState { class in LegacyPermissionState 226 public UserState() {} in UserState() method in LegacyPermissionState.UserState 228 public UserState(@NonNull UserState other) { in UserState() method in LegacyPermissionState.UserState
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 45 import static com.android.server.am.UserState.STATE_BOOTING; 46 import static com.android.server.am.UserState.STATE_RUNNING_LOCKED; 47 import static com.android.server.am.UserState.STATE_RUNNING_UNLOCKED; 48 import static com.android.server.am.UserState.STATE_RUNNING_UNLOCKING; 139 import com.android.server.am.UserState.KeyEvictedCallback; 293 private final SparseArray<UserState> mStartedUsers = new SparseArray<>(); 465 final UserState uss = new UserState(UserHandle.SYSTEM); in UserController() 524 void finishUserSwitch(UserState uss) { in finishUserSwitch() 555 UserState uss = mStartedUsers.get(userId); in getRunningUsersLU() 560 if (uss.state == UserState.STATE_STOPPING in getRunningUsersLU() [all …]
|
D | UserState.java | 35 public final class UserState { class 76 public UserState(UserHandle handle) { in UserState() method in UserState
|
D | EventLogTags.logtags | 74 # UserState has changed
|
D | ContentProviderHelper.java | 1681 UserState userState = mService.mUserController.getStartedUserState(app.userId); in maybeUpdateProviderUsageStatsLocked()
|
D | ActivityManagerService.java | 18261 final UserState userState = mUserController.getStartedUserState(userId); in getStartedUserState() 18262 return UserState.stateToString(userState.state); in getStartedUserState() 19090 mUserController.finishUserSwitch((UserState) uss); in finishUserSwitch()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 172 private final SparseArray<UserState> mUserStates = new SparseArray<>(); 350 UserState userState = getOrCreateUserStateLocked(userId); in buildTvInputListLocked() 458 UserState userState = getOrCreateUserStateLocked(userId); in buildTvContentRatingSystemListLocked() 552 UserState userState = getUserStateLocked(userId); in releaseSessionOfUserLocked() 584 UserState userState = getUserStateLocked(userId); in unbindServiceOfUserLocked() 616 UserState userState = getOrCreateUserStateLocked(state.userId); in clearSessionAndNotifyClientLocked() 632 UserState userState = getUserStateLocked(userId); in removeUser() 703 private UserState getOrCreateUserStateLocked(int userId) { in getOrCreateUserStateLocked() 704 UserState userState = getUserStateLocked(userId); in getOrCreateUserStateLocked() 706 userState = new UserState(mContext, userId); in getOrCreateUserStateLocked() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 108 import com.android.server.am.UserState.KeyEvictedCallback; 163 private final HashMap<Integer, UserState> mUserStates = new HashMap<>(); 391 UserState userState = (UserState) reportMsg.obj; in startForegroundUserAssertions() 394 assertEquals("User must be in STATE_BOOTING", UserState.STATE_BOOTING, userState.state); in startForegroundUserAssertions() 428 UserState userState = (UserState) reportMsg.obj; in testDispatchUserSwitch() 441 userState = (UserState) conMsg.obj; in testDispatchUserSwitch() 444 assertEquals("User must be in STATE_BOOTING", UserState.STATE_BOOTING, userState.state); in testDispatchUserSwitch() 459 UserState userState = (UserState) reportMsg.obj; in testDispatchUserSwitchBadReceiver() 472 private void continueAndCompleteUserSwitch(UserState userState, int oldUserId, int newUserId) { in continueAndCompleteUserSwitch() 487 UserState userState = (UserState) reportMsg.obj; in testContinueUserSwitch() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/interactive/ |
D | TvInteractiveAppManagerService.java | 116 private final SparseArray<UserState> mUserStates = new SparseArray<>(); 145 UserState userState = getOrCreateUserStateLocked(userId); in buildAppLinkInfoLocked() 180 UserState userState = getOrCreateUserStateLocked(userId); in buildTvInteractiveAppServiceListLocked() 274 UserState userState = getOrCreateUserStateLocked(userId); in buildTvAdServiceListLocked() 357 private void notifyAdServiceAddedLocked(UserState userState, String serviceId) { in notifyAdServiceAddedLocked() 373 private void notifyAdServiceRemovedLocked(UserState userState, String serviceId) { in notifyAdServiceRemovedLocked() 389 private void notifyAdServiceUpdatedLocked(UserState userState, String serviceId) { in notifyAdServiceUpdatedLocked() 405 private void notifyInteractiveAppServiceAddedLocked(UserState userState, String iAppServiceId) { in notifyInteractiveAppServiceAddedLocked() 424 UserState userState, String iAppServiceId) { in notifyInteractiveAppServiceRemovedLocked() 443 UserState userState, String iAppServiceId) { in notifyInteractiveAppServiceUpdatedLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 159 UserState userState = mManagerService.peekUserStateLocked(userId); in onUserStopping() 173 final SparseArray<UserState> mUserStates = new SparseArray<>(); 213 final UserState userState = getUserStateLocked(userId); in startTrackingPackageChanges() 224 final UserState userState = getUserStateLocked(userId); in startTrackingPackageChanges() 414 private UserState getUserStateLocked(int userId) { in getUserStateLocked() 415 UserState result = mUserStates.get(userId); in getUserStateLocked() 417 result = new UserState(userId); in getUserStateLocked() 424 UserState peekUserStateLocked(int userId) { in peekUserStateLocked() 466 UserState userState = mUserStates.valueAt(i); in dump() 505 UserState userState = getUserStateLocked(userId); in handleRequest() [all …]
|
/frameworks/base/services/permission/java/com/android/server/permission/access/ |
D | AccessState.kt | 30 typealias UserStates = IntReferenceMap<UserState, MutableUserState> 32 typealias MutableUserStates = MutableIntReferenceMap<UserState, MutableUserState> 381 sealed class UserState( class 424 UserState( in toMutable() 446 userState: UserState in toMutable()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerInternal.java | 48 import com.android.server.am.UserState; 561 public abstract boolean switchUser(int userId, UserState userState); in switchUser()
|
D | ActivityTaskSupervisor.java | 157 import com.android.server.am.UserState; 349 final ArrayList<UserState> mStartingUsers = new ArrayList<>(); 1498 final ArrayList<UserState> startingUsers = new ArrayList<>(mStartingUsers); in activityIdleInternal() 1502 UserState userState = startingUsers.get(i); in activityIdleInternal()
|
D | RootWindowContainer.java | 150 import com.android.server.am.UserState; 1920 boolean switchUser(int userId, UserState uss) { in switchUser()
|
D | ActivityTaskManagerService.java | 282 import com.android.server.am.UserState; 7023 public boolean switchUser(int userId, UserState userState) { in switchUser()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | UserManagerServiceTest.java | 77 import com.android.server.am.UserState; 990 setUserState(userId, UserState.STATE_RUNNING_UNLOCKED); in startUser() 994 setUserState(userId, UserState.STATE_STOPPING); in stopUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 164 import com.android.server.am.UserState; 1077 mUserStates.put(UserHandle.USER_SYSTEM, UserState.STATE_BOOTING); in UserManagerService() 1996 state = mUserStates.get(userId, UserState.STATE_NONE); in showConfirmCredentialToDisableQuietMode() 1998 if (state != UserState.STATE_NONE) { in showConfirmCredentialToDisableQuietMode() 5939 mUserStates.get(user.id, -1) == UserState.STATE_RUNNING_UNLOCKED; 7185 pw.print(UserState.stateToString(state)); 7318 pw.println(UserState.stateToString(state)); 7598 state = mUserStates.get(userId, UserState.STATE_NONE); 7601 return state != UserState.STATE_NONE 7602 && state != UserState.STATE_STOPPING [all …]
|
/frameworks/base/core/proto/android/server/ |
D | activitymanagerservice.proto | 964 // sync with com.android.server.am.UserState.java
|
/frameworks/base/services/ |
D | art-wear-profile | 342 Lcom/android/server/am/UserState; 663 Lcom/android/server/permission/access/UserState; 7249 …yntheticLambda5;-><init>(Lcom/android/server/am/UserController;ILcom/android/server/am/UserState;)V 7290 …MhheLTVS7w6eap82_5eQPhJk(Lcom/android/server/am/UserController;ILcom/android/server/am/UserState;)V 7300 PLcom/android/server/am/UserController;->finishUserBoot(Lcom/android/server/am/UserState;Landroid/c… 7301 PLcom/android/server/am/UserController;->finishUserUnlocked(Lcom/android/server/am/UserState;)V 7302 …/android/server/am/UserController;->finishUserUnlockedCompleted(Lcom/android/server/am/UserState;)V 7303 PLcom/android/server/am/UserController;->finishUserUnlocking(Lcom/android/server/am/UserState;)Z 7310 HPLcom/android/server/am/UserController;->getStartedUserState(I)Lcom/android/server/am/UserState; 7322 …ndroid/server/am/UserController;->lambda$finishUserUnlocking$1(ILcom/android/server/am/UserState;)V [all …]
|
D | art-profile-boot | 573 Lcom/android/server/am/UserController;->getStartedUserState(I)Lcom/android/server/am/UserState;
|
D | art-profile | 1124 HSPLcom/android/server/am/UserController;->getStartedUserState(I)Lcom/android/server/am/UserState;+… 2773 …/permission/LegacyPermissionState$UserState;-><init>(Lcom/android/server/pm/permission/LegacyPermi… 2776 …er/pm/permission/LegacyPermissionState$UserState;Lcom/android/server/pm/permission/LegacyPermissio…
|