/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() 271 final UserState userState; in cancelPrintJob() 297 final UserState userState; in restartPrintJob() 322 final UserState userState; in getPrintServices() 356 final UserState userState; in setPrintServiceEnabled() 377 final UserState userState; in getPrintServiceRecommendations() [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 702 UserState::handleDispatchPrintJobStateChanged, in onPrintJobStateChanged() 709 UserState::handleDispatchPrintServicesChanged, this)); in onPrintServicesChanged() 715 UserState::handleDispatchPrintServiceRecommendationsUpdated, in onPrintServiceRecommendationsUpdated() 782 UserState::onConfigurationChanged, this), in onServiceDied() 1096 UserState::failScheduledPrintJobsForServiceInternal, this, serviceName)); in failActivePrintJobsForService() 1280 Handler.getMain().sendMessage(obtainMessage(UserState.PrinterDiscoverySessionMediator:: in PrinterDiscoverySessionMediator() 1292 UserState.PrinterDiscoverySessionMediator::handlePrintersAdded, in addObserverLocked() 1330 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 | 41 import static com.android.server.am.UserState.STATE_BOOTING; 42 import static com.android.server.am.UserState.STATE_RUNNING_LOCKED; 43 import static com.android.server.am.UserState.STATE_RUNNING_UNLOCKED; 44 import static com.android.server.am.UserState.STATE_RUNNING_UNLOCKING; 109 import com.android.server.am.UserState.KeyEvictedCallback; 274 private final SparseArray<UserState> mStartedUsers = new SparseArray<>(); 381 final UserState uss = new UserState(UserHandle.SYSTEM); in UserController() 416 void finishUserSwitch(UserState uss) { in finishUserSwitch() 431 UserState uss = mStartedUsers.get(userId); in getRunningUsersLU() 436 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 | 74 # UserState has changed
|
D | ContentProviderHelper.java | 1538 UserState userState = mService.mUserController.getStartedUserState(app.userId); in maybeUpdateProviderUsageStatsLocked()
|
D | ActivityManagerService.java | 15117 final UserState userState = mUserController.getStartedUserState(userId); in getStartedUserState() 15118 return UserState.stateToString(userState.state); in getStartedUserState() 15738 mUserController.finishUserSwitch((UserState) uss); in finishUserSwitch()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 84 import com.android.server.am.UserState.KeyEvictedCallback; 127 private final HashMap<Integer, UserState> mUserStates = new HashMap<>(); 253 UserState userState = (UserState) reportMsg.obj; in startForegroundUserAssertions() 256 assertEquals("User must be in STATE_BOOTING", UserState.STATE_BOOTING, userState.state); in startForegroundUserAssertions() 286 UserState userState = (UserState) reportMsg.obj; in testDispatchUserSwitch() 298 userState = (UserState) conMsg.obj; in testDispatchUserSwitch() 301 assertEquals("User must be in STATE_BOOTING", UserState.STATE_BOOTING, userState.state); in testDispatchUserSwitch() 316 UserState userState = (UserState) reportMsg.obj; in testDispatchUserSwitchBadReceiver() 334 UserState userState = (UserState) reportMsg.obj; in testContinueUserSwitch() 353 UserState userState = (UserState) reportMsg.obj; in testContinueUserSwitchUIDisabled() [all …]
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 22 import android.security.maintenance.UserState; 61 case UserState.UNINITIALIZED: in state() 63 case UserState.LSKF_UNLOCKED: in state() 65 case UserState.LSKF_LOCKED: in state()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 152 private final SparseArray<UserState> mUserStates = new SparseArray<>(); 308 UserState userState = getOrCreateUserStateLocked(userId); in buildTvInputListLocked() 416 UserState userState = getOrCreateUserStateLocked(userId); in buildTvContentRatingSystemListLocked() 505 UserState userState = getUserStateLocked(userId); in releaseSessionOfUserLocked() 537 UserState userState = getUserStateLocked(userId); in unbindServiceOfUserLocked() 569 UserState userState = getOrCreateUserStateLocked(state.userId); in clearSessionAndNotifyClientLocked() 585 UserState userState = getUserStateLocked(userId); in removeUser() 656 private UserState getOrCreateUserStateLocked(int userId) { in getOrCreateUserStateLocked() 657 UserState userState = getUserStateLocked(userId); in getOrCreateUserStateLocked() 659 userState = new UserState(mContext, userId); in getOrCreateUserStateLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 157 UserState userState = mManagerService.peekUserStateLocked(userId); in onUserStopping() 171 final SparseArray<UserState> mUserStates = new SparseArray<>(); 213 final UserState userState = getUserStateLocked(userId); in startTrackingPackageChanges() 224 final UserState userState = getUserStateLocked(userId); in startTrackingPackageChanges() 415 private UserState getUserStateLocked(int userId) { in getUserStateLocked() 416 UserState result = mUserStates.get(userId); in getUserStateLocked() 418 result = new UserState(userId); in getUserStateLocked() 425 UserState peekUserStateLocked(int userId) { in peekUserStateLocked() 467 UserState userState = mUserStates.valueAt(i); in dump() 506 UserState userState = getUserStateLocked(userId); in handleRequest() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerInternal.java | 41 import com.android.server.am.UserState; 514 public abstract boolean switchUser(int userId, UserState userState); in switchUser()
|
D | ActivityTaskSupervisor.java | 150 import com.android.server.am.UserState; 323 final ArrayList<UserState> mStartingUsers = new ArrayList<>(); 1350 final ArrayList<UserState> startingUsers = new ArrayList<>(mStartingUsers); in activityIdleInternal()
|
D | RootWindowContainer.java | 160 import com.android.server.am.UserState; 1995 boolean switchUser(int userId, UserState uss) { in switchUser()
|
D | ActivityTaskManagerService.java | 254 import com.android.server.am.UserState; 6219 public boolean switchUser(int userId, UserState userState) { in switchUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 116 import com.android.server.am.UserState; 683 mUserStates.put(UserHandle.USER_SYSTEM, UserState.STATE_BOOTING); in UserManagerService() 5178 pw.println(UserState.stateToString(state)); in dump() 5257 pw.print(UserState.stateToString(state)); in dump() 5586 if (state == UserState.STATE_STOPPING || state == UserState.STATE_SHUTDOWN) { in isUserUnlockingOrUnlocked() 5589 return (state == UserState.STATE_RUNNING_UNLOCKING) in isUserUnlockingOrUnlocked() 5590 || (state == UserState.STATE_RUNNING_UNLOCKED); in isUserUnlockingOrUnlocked() 5605 if (state == UserState.STATE_STOPPING || state == UserState.STATE_SHUTDOWN) { in isUserUnlocked() 5608 return state == UserState.STATE_RUNNING_UNLOCKED; in isUserUnlocked()
|
/frameworks/base/core/proto/android/server/ |
D | activitymanagerservice.proto | 937 // sync with com.android.server.am.UserState.java
|
/frameworks/base/services/ |
D | art-profile | 9230 …yntheticLambda11;-><init>(Lcom/android/server/am/UserController;Lcom/android/server/am/UserState;)V 9232 …yntheticLambda12;-><init>(Lcom/android/server/am/UserController;Lcom/android/server/am/UserState;)V 9234 …ntheticLambda13;-><init>(Lcom/android/server/am/UserController;Lcom/android/server/am/UserState;Z)V 9236 …ntheticLambda14;-><init>(Lcom/android/server/am/UserController;Lcom/android/server/am/UserState;Z)V 9242 …yntheticLambda3;-><init>(Lcom/android/server/am/UserController;ILcom/android/server/am/UserState;)V 9244 …ntheticLambda4;-><init>(Lcom/android/server/am/UserController;ILcom/android/server/am/UserState;Z)V 9246 …ntheticLambda5;-><init>(Lcom/android/server/am/UserController;ILcom/android/server/am/UserState;Z)V 9266 …roid/util/ArraySet;Ljava/util/concurrent/atomic/AtomicInteger;Lcom/android/server/am/UserState;II)V 9306 …d/server/am/UserController$Injector;->taskSupervisorSwitchUser(ILcom/android/server/am/UserState;)Z 9324 PLcom/android/server/am/UserController;->continueUserSwitch(Lcom/android/server/am/UserState;II)V [all …]
|
D | art-profile-boot | 573 Lcom/android/server/am/UserController;->getStartedUserState(I)Lcom/android/server/am/UserState;
|