Home
last modified time | relevance | path

Searched defs:um (Results 1 – 25 of 71) sorted by relevance

123

/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java92 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/
DProfileUpdateReceiver.java54 final UserManager um = context.getSystemService(UserManager.class); in copyProfileName() local
65 private static boolean isCurrentNameInteresting(Context context, UserManager um) { in isCurrentNameInteresting()
DRestrictionUtils.java61 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/
DRestrictionUtils.java52 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/
DAudioHelper.java47 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/
DUserManagers.java32 final UserManager um = Mockito.mock(UserManager.class); in create() local
/packages/apps/Settings/src/com/android/settings/
DTestingSettings.java33 final UserManager um = UserManager.get(getContext()); in onCreate() local
DMainClear.java357 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/
DUserUtilsTest.java45 final MockUserManager um = mActor.mockUserManager; in testGetCorpUser() local
/packages/apps/Settings/src/com/android/settings/print/
DProfileSettingsPreferenceFragment.java41 final UserManager um = (UserManager) getSystemService(Context.USER_SERVICE); in onViewCreated() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/
DDevelopmentTilesTest.java57 final ShadowUserManager um = Shadows.shadowOf( in setUp() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTopLevelNetworkEntryPreferenceControllerTest.java60 final ShadowUserManager um = Shadows.shadowOf( in setUp() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAudioHelper.java54 protected int getManagedProfileId(UserManager um) { in getManagedProfileId()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DQuickstepProcessInitializer.java50 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in init() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDevicePreferenceTest.java184 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/
DAdminRestrictedPermissionsUtils.java72 UserManager um = userContext.getSystemService(UserManager.class); in mayAdminGrantPermission() local
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DUserIconLoader.java68 UserManager um = context.getSystemService(UserManager.class); in loadUserIconsWithContext() local
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DCacheDataUpdatedTaskTest.java82 UserManager um = context.getSystemService(UserManager.class); in setup() local
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java54 final UserManager um = getUserManager(context); in getCorpUserInfo() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/
DLockAfterTimeoutPreferenceControllerTest.java120 final UserManager um = mock(UserManager.class); in testUpdateStateWithAdminTimeouts() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java254 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/
DUserInfoView.java80 UserManager um = UserManager.get(getContext()); in setUserIcon() local
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountRestrictionHelper.java97 final UserManager um = UserManager.get(mContext); in getManagedUserId() local
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DExternalSourcesDetails.java84 final UserManager um = UserManager.get(context); in getPreferenceSummary() local
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DUserHalHelper.java151 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()

123