Home
last modified time | relevance | path

Searched refs:myUser (Results 1 – 10 of 10) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DUserUtilsTest.java53 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
56 um.myUser = MockUserManager.CORP_USER.id; in testGetCorpUser()
63 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
66 um.myUser = MockUserManager.CORP_USER.id; in testGetCorpUser()
69 um.myUser = MockUserManager.SECONDARY_USER.id; in testGetCorpUser()
75 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
78 um.myUser = MockUserManager.SECONDARY_USER.id; in testGetCorpUser()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java55 final int myUser = um.getUserHandle(); in getCorpUserInfo() local
67 if (parent.id == myUser) { in getCorpUserInfo()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherAppsCompatVO.java68 UserHandle myUser = Process.myUserHandle(); in getCustomShortcutActivityList() local
81 boolean ignoreTargetSdk = myUser.equals(user); in getCustomShortcutActivityList()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoader.java96 UserHandle myUser = UserHandle.of(userId); in getStorageResultForUser() local
102 stats = mStatsManager.getStatsForPackage(mUuid, app.packageName, myUser); in getStorageResultForUser()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageAsyncLoader.java80 UserHandle myUser = UserHandle.of(userId); in getStorageResultForUser() local
91 myUser); in getStorageResultForUser()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DStorageAsyncLoader.java96 UserHandle myUser = UserHandle.of(userId); in getStorageResultForUser() local
102 stats = mStatsManager.getStatsForPackage(mUuid, app.packageName, myUser); in getStorageResultForUser()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java59 public UserHandle myUser; field in BaseModelUpdateTaskTestCase
87 myUser = Process.myUserHandle(); in setUp()
DCacheDataUpdatedTaskTest.java40 return new CacheDataUpdatedTask(op, myUser, new HashSet<>(Arrays.asList(pkg))); in newTask()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DWidgetsModel.java166 UserHandle myUser = Process.myUserHandle(); in setWidgetsAndShortcuts() local
206 } else if (!myUser.equals(pInfo.user)) { in setWidgetsAndShortcuts()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java171 public int myUser = 0; field in ContactsActor.MockUserManager
191 return myUser; in getUserHandle()