/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | SecureSettingsWrapper.java | 201 private static ReaderWriter createImpl(@NonNull UserManagerInternal userManagerInternal, in createImpl() argument 203 return userManagerInternal.isUserUnlockingOrUnlocked(userId) in createImpl() 237 final UserManagerInternal userManagerInternal = in get() local 239 if (!userManagerInternal.exists(userId)) { in get() 242 return putOrGet(userId, createImpl(userManagerInternal, userId)); in get() 256 final UserManagerInternal userManagerInternal = in onStart() local 258 putOrGet(userId, createImpl(userManagerInternal, userId)); in onStart() 260 userManagerInternal.addUserLifecycleListener( in onStart()
|
D | InputMethodSettingsRepository.java | 58 final UserManagerInternal userManagerInternal = in initialize() local 61 userManagerInternal.addUserLifecycleListener( in initialize() 74 for (int userId : userManagerInternal.getUserIds()) { in initialize()
|
D | UserDataRepository.java | 56 UserDataRepository(@NonNull Handler handler, @NonNull UserManagerInternal userManagerInternal, in UserDataRepository() argument 59 userManagerInternal.addUserLifecycleListener( in UserDataRepository()
|
D | AdditionalSubtypeMapRepository.java | 229 final UserManagerInternal userManagerInternal = in initialize() local 232 userManagerInternal.addUserLifecycleListener( in initialize() 268 for (int userId : userManagerInternal.getUserIds()) { in initialize()
|
D | InputMethodUtils.java | 224 final UserManagerInternal userManagerInternal = in resolveUserId() local 228 return userManagerInternal.getUserIds(); in resolveUserId() 241 } else if (userManagerInternal.exists(userIdToBeResolved)) { in resolveUserId()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageMetrics.java | 107 final UserManagerInternal userManagerInternal = in reportInstallationStats() local 109 if (userManagerInternal == null) { in reportInstallationStats() 155 userManagerInternal.getUserTypesForStatsd(newUsers) /* user_types */, in reportInstallationStats() 157 userManagerInternal.getUserTypesForStatsd(originalUsers) /* original_user_types */, in reportInstallationStats() 280 final UserManagerInternal userManagerInternal = in onUninstallSucceeded() local 282 if (userManagerInternal == null) { in onUninstallSucceeded() 287 final int[] removedUserTypes = userManagerInternal.getUserTypesForStatsd(removedUsers); in onUninstallSucceeded() 289 final int[] originalUserTypes = userManagerInternal.getUserTypesForStatsd(originalUsers); in onUninstallSucceeded()
|
D | CrossProfileIntentFilterHelper.java | 35 PackageManagerTracedLock lock, UserManagerInternal userManagerInternal, in CrossProfileIntentFilterHelper() argument 41 mUserManagerInternal = userManagerInternal; in CrossProfileIntentFilterHelper()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotPersister.java | 113 boolean isReady(UserManagerInternal userManagerInternal) { in isReady() argument 115 if (!userManagerInternal.isUserUnlocked(mRunningUserIds[i])) { in isReady()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | GracePeriodObserverTest.java | 57 UserManagerInternal userManagerInternal = mock(UserManagerInternal.class); in setUpOnce() local 58 LocalServices.addService(UserManagerInternal.class, userManagerInternal); in setUpOnce()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTestable.java | 68 UserManagerInternal userManagerInternal, DeviceStateCache deviceStateCache) { in MockInjector() argument 76 mUserManagerInternal = userManagerInternal; in MockInjector()
|
D | RebootEscrowManagerTests.java | 153 UserManagerInternal userManagerInternal, in MockInjector() argument 159 super(context, storage, userManagerInternal); in MockInjector() 172 mUserManagerInternal = userManagerInternal; in MockInjector() 180 UserManagerInternal userManagerInternal, in MockInjector() argument 185 super(context, storage, userManagerInternal); in MockInjector() 204 mUserManagerInternal = userManagerInternal; in MockInjector()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotPersisterTestBase.java | 99 final UserManagerInternal userManagerInternal = in setUp() local 101 when(userManagerInternal.isUserUnlocked(mTestUserId)).thenReturn(true); in setUp()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 122 private lateinit var userManagerInternal: UserManagerInternal in <lambda>() variable in com.android.server.permission.access.permission.PermissionService 158 userManagerInternal = LocalServices.getService(UserManagerInternal::class.java) in <lambda>() 469 if (!userManagerInternal.exists(userId)) { in <lambda>() 529 if (!userManagerInternal.exists(userId)) { in <lambda>() 748 if (!userManagerInternal.exists(userId)) { in <lambda>() 1058 if (!userManagerInternal.exists(userId)) { in <lambda>() 1102 if (!userManagerInternal.exists(userId)) { in <lambda>() 1151 if (!userManagerInternal.exists(userId)) { in <lambda>() 1201 if (!userManagerInternal.exists(userId)) { in <lambda>() 1300 if (!userManagerInternal.exists(userId)) { in <lambda>() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 131 return new Owners(services.userManager, services.userManagerInternal, in makeOwners()
|
D | DevicePolicyManagerTest.java | 276 when(getServices().userManagerInternal.getUserIds()).thenReturn(new int[]{0}); in setUp() 1432 verify(getServices().userManagerInternal).setDevicePolicyUserRestrictions( in testClearDeviceOwner() 1987 reset(getServices().userManagerInternal); in testSetUserRestriction_asDo() 1990 verify(getServices().userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo() 1994 reset(getServices().userManagerInternal); in testSetUserRestriction_asDo() 1997 verify(getServices().userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo() 2003 reset(getServices().userManagerInternal); in testSetUserRestriction_asDo() 2017 verify(getServices().userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo() 2023 reset(getServices().userManagerInternal); in testSetUserRestriction_asDo() 2035 verify(getServices().userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo() [all …]
|
D | MockSystemServices.java | 105 public final UserManagerInternal userManagerInternal; field in MockSystemServices 163 userManagerInternal = mock(UserManagerInternal.class); in MockSystemServices() 328 when(userManagerInternal.getUserInfos()).thenReturn( in addUser()
|
D | DevicePolicyManagerServiceMigrationTest.java | 83 when(getServices().userManagerInternal.getUserIds()).thenReturn(new int[]{0}); in setUp()
|
D | DevicePolicyManagerServiceTestable.java | 133 return services.userManagerInternal; in getUserManagerInternal()
|
D | DpmMockContext.java | 271 return mMockSystemServices.userManagerInternal; in getUserManagerInternal()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowManager.java | 236 UserManagerInternal userManagerInternal) { in Injector() argument 240 mUserManagerInternal = userManagerInternal; in Injector() 420 Handler handler, UserManagerInternal userManagerInternal) { in RebootEscrowManager() argument 421 this(new Injector(context, storage, userManagerInternal), callbacks, storage, handler); in RebootEscrowManager()
|
D | LockSettingsService.java | 2891 final UserManagerInternal userManagerInternal = mInjector.getUserManagerInternal(); in callToAuthSecretIfNeeded() local 2892 final UserInfo userInfo = userManagerInternal.getUserInfo(userId); in callToAuthSecretIfNeeded() 3543 final UserManagerInternal userManagerInternal = mInjector.getUserManagerInternal(); 3546 if (userManagerInternal.isUserManaged(userId)) { 3552 if (userManagerInternal.isDeviceManaged()) {
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | MockSystem.kt | 205 val userManagerInternal: UserManagerInternal = mock() constant in com.android.server.pm.Mocks 301 whenever(mocks.injector.userManagerInternal).thenReturn(mocks.userManagerInternal) in stageNominalSystemState() 344 whenever(mocks.userManagerInternal.getUsers(true, false, false)).thenReturn(DEFAULT_USERS) in stageNominalSystemState()
|
D | DeletePackageHelperTest.kt | 59 mUserManagerInternal = rule.mocks().injector.userManagerInternal in setup()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 87 UserManagerInternal userManagerInternal, in Owners() argument 94 mUserManagerInternal = userManagerInternal; in Owners()
|
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/ |
D | PackageManagerComponentLabelIconOverrideTest.kt | 394 whenever(this.userManagerInternal) { mockUserManagerInternal } in <lambda>()
|