/packages/services/Car/car-test-lib/src/android/car/test/mocks/ |
D | AndroidMockitoHelper.java | 92 public static UserInfo mockUmGetUserInfo(@NonNull UserManager um, @UserIdInt int userId, in mockUmGetUserInfo() 104 public static void mockUmGetUserInfo(@NonNull UserManager um, @NonNull UserInfo user) { in mockUmGetUserInfo() 112 public static void mockUmGetSystemUser(@NonNull UserManager um) { in mockUmGetSystemUser() 121 public static void mockUmGetAliveUsers(@NonNull UserManager um, @NonNull UserInfo... users) { in mockUmGetAliveUsers() 129 public static void mockUmGetAliveUsers(@NonNull UserManager um, in mockUmGetAliveUsers() 139 public static void mockUmGetUsers(@NonNull UserManager um, boolean excludePartial, in mockUmGetUsers() 148 public static void mockUmGetAllUsers(@NonNull UserManager um, @NonNull UserInfo... userInfos) { in mockUmGetAllUsers() 155 public static void mockUmIsUserRunning(@NonNull UserManager um, @UserIdInt int userId, in mockUmIsUserRunning() 165 public static UserInfo mockUmCreateUser(@NonNull UserManager um, @Nullable String name, in mockUmCreateUser() 181 public static void mockUmCreateUser(@NonNull UserManager um, @Nullable String name, in mockUmCreateUser() [all …]
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | ProfileUpdateReceiver.java | 54 final UserManager um = context.getSystemService(UserManager.class); in copyProfileName() local 65 private static boolean isCurrentNameInteresting(Context context, UserManager um) { in isCurrentNameInteresting()
|
D | RestrictionUtils.java | 61 UserManager um = UserManager.get(context); in getRestrictions() local 79 UserManager um = UserManager.get(context); in setRestrictions() local
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictionUtils.java | 52 UserManager um = UserManager.get(context); in getRestrictions() local 70 UserManager um = UserManager.get(context); in setRestrictions() local
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AudioHelper.java | 47 public int getManagedProfileId(UserManager um) { in getManagedProfileId() 51 public boolean isUserUnlocked(UserManager um, @UserIdInt int userId) { in isUserUnlocked()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | UserManagers.java | 32 final UserManager um = Mockito.mock(UserManager.class); in create() local
|
/packages/apps/Settings/src/com/android/settings/ |
D | TestingSettings.java | 33 final UserManager um = UserManager.get(getContext()); in onCreate() local
|
D | MainClear.java | 357 final UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in establishInitialState() local 461 private void loadAccountList(final UserManager um) { in loadAccountList() 553 final UserManager um = UserManager.get(context); in onCreateView() local
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | UserUtilsTest.java | 45 final MockUserManager um = mActor.mockUserManager; in testGetCorpUser() local
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | ProfileSettingsPreferenceFragment.java | 41 final UserManager um = (UserManager) getSystemService(Context.USER_SERVICE); in onViewCreated() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/ |
D | DevelopmentTilesTest.java | 57 final ShadowUserManager um = Shadows.shadowOf( in setUp() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | TopLevelNetworkEntryPreferenceControllerTest.java | 60 final ShadowUserManager um = Shadows.shadowOf( in setUp() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowAudioHelper.java | 54 protected int getManagedProfileId(UserManager um) { in getManagedProfileId()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | QuickstepProcessInitializer.java | 50 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in init() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePreferenceTest.java | 184 final UserManager um = mock(UserManager.class); in shouldHideSecondTarget_hasUserRestriction_shouldReturnTrue() local 194 final UserManager um = mock(UserManager.class); in shouldHideSecondTarget_hasBoundDeviceAndNoRestriction_shouldReturnFalse() local
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | AdminRestrictedPermissionsUtils.java | 72 UserManager um = userContext.getSystemService(UserManager.class); in mayAdminGrantPermission() local
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | UserIconLoader.java | 68 UserManager um = context.getSystemService(UserManager.class); in loadUserIconsWithContext() local
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | CacheDataUpdatedTaskTest.java | 82 UserManager um = context.getSystemService(UserManager.class); in setup() local
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | UserUtils.java | 54 final UserManager um = getUserManager(context); in getCorpUserInfo() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/ |
D | LockAfterTimeoutPreferenceControllerTest.java | 120 final UserManager um = mock(UserManager.class); in testUpdateStateWithAdminTimeouts() local
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelper.java | 254 final UserManager um = context.getSystemService(UserManager.class); in isNetworkLockedDown() local 303 private static int getManagedProfileId(UserManager um, int parentUserId) { in getManagedProfileId()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | UserInfoView.java | 80 UserManager um = UserManager.get(getContext()); in setUserIcon() local
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountRestrictionHelper.java | 97 final UserManager um = UserManager.get(mContext); in getManagedUserId() local
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | ExternalSourcesDetails.java | 84 final UserManager um = UserManager.get(context); in getPreferenceSummary() local
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | UserHalHelper.java | 151 public static int getFlags(@NonNull UserManager um, @UserIdInt int userId) { in getFlags() 589 public static UsersInfo newUsersInfo(@NonNull UserManager um) { in newUsersInfo() 598 public static UsersInfo newUsersInfo(@NonNull UserManager um, @UserIdInt int userId) { in newUsersInfo()
|