Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DUserUtilsTest.java55 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
58 um.myUser = MockUserManager.CORP_USER.id; in testGetCorpUser()
65 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
68 um.myUser = MockUserManager.CORP_USER.id; in testGetCorpUser()
71 um.myUser = MockUserManager.SECONDARY_USER.id; in testGetCorpUser()
77 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
80 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.java65 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.java95 UserHandle myUser = UserHandle.of(userId); in getStorageResultForUser() local
101 stats = mStatsManager.getStatsForPackage(mUuid, app.packageName, myUser); in getStorageResultForUser()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java137 UserHandle myUser = Process.myUserHandle(); in setWidgetsAndShortcuts() local
169 } else if (!myUser.equals(pInfo.user)) { in setWidgetsAndShortcuts()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DManagedProfileHeuristic.java256 UserHandle myUser = Process.myUserHandle(); in markExistingUsersForNoFolderCreation() local
260 if (myUser.equals(user)) { in markExistingUsersForNoFolderCreation()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java54 public UserHandle myUser; field in BaseModelUpdateTaskTestCase
81 myUser = Process.myUserHandle(); in setUp()
DCacheDataUpdatedTaskTest.java29 return new CacheDataUpdatedTask(op, myUser, new HashSet<>(Arrays.asList(pkg))); in newTask()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java167 public int myUser = 0; field in ContactsActor.MockUserManager
187 return myUser; in getUserHandle()