/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | GlobalSortKeyComparatorTest.java | 53 new UserHandle(UserHandle.myUserId()), in testComparator() 60 new UserHandle(UserHandle.myUserId()), in testComparator() 67 new UserHandle(UserHandle.myUserId()), in testComparator() 92 new UserHandle(UserHandle.myUserId()), in testNoCrash_leftNull() 98 new UserHandle(UserHandle.myUserId()), in testNoCrash_leftNull() 122 new UserHandle(UserHandle.myUserId()), in testNoCrash_rightNull() 129 new UserHandle(UserHandle.myUserId()), in testNoCrash_rightNull()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/accessibility/ |
D | AccessibilityUtilsTest.java | 52 UserHandle.myUserId()); in getEnabledServicesFromSettings_badFormat_emptyResult() 63 UserHandle.myUserId()); in getEnabledServicesFromSettings_1Service_1result() 76 UserHandle.myUserId()); in getEnabledServicesFromSettings_2Services_2results()
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ManageDialog.java | 62 mConfig = mService.getVpnConfig(UserHandle.myUserId()); in onCreate() 119 final int myUserId = UserHandle.myUserId(); in onClick() local 121 mService.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, myUserId); in onClick() 123 mService.prepareVpn(mConfig.user, VpnConfig.LEGACY_VPN, myUserId); in onClick()
|
D | ConfirmDialog.java | 102 return mService.getAlwaysOnVpnPackage(UserHandle.myUserId()); in getAlwaysOnVpnPackage() 112 return mService.prepareVpn(mPackage, null, UserHandle.myUserId()); in prepareVpn() 149 if (mService.prepareVpn(null, mPackage, UserHandle.myUserId())) { in onClick() 152 mService.setVpnPackageAuthorization(mPackage, UserHandle.myUserId(), mVpnType); in onClick()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | BroadcastTest.java | 308 UserHandle.myUserId()); in testSetSticky() 310 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testSetSticky() 322 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testClearSticky() 326 UserHandle.myUserId()); in testClearSticky() 337 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testReplaceSticky() 340 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testReplaceSticky() 354 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testReceiveSticky() 364 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testReceive2Sticky() 367 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testReceive2Sticky()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 100 int myUserId = UserHandle.myUserId(); in onReceive() local 105 if (isProfileOfOrSame(userManager, myUserId, user.id)) { in onReceive() 155 int myUserId = UserHandle.myUserId(); in onReceive() local 156 if (isProfileOfOrSame(userManager, myUserId, blockingUserId)) { in onReceive()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | TetherUtil.java | 29 UserHandle.myUserId()) != null; in isTetherAvailable() 31 context, DISALLOW_CONFIG_TETHERING, UserHandle.myUserId()); in isTetherAvailable()
|
D | RestrictedPreferenceHelper.java | 66 UserHandle.myUserId())) { in RestrictedPreferenceHelper() 125 checkRestrictionAndSetDisabled(mAttrUserRestriction, UserHandle.myUserId()); in onAttachedToHierarchy()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgress.java | 156 int myUserId = UserHandle.myUserId(); in handleMessage() local 161 if (isProfileOfOrSame(userManager, myUserId, user.id)) continue; in handleMessage() 208 int myUserId = UserHandle.myUserId(); in handleMessage() local 209 if (isProfileOfOrSame(userManager, myUserId, blockingUserId)) { in handleMessage()
|
/frameworks/base/core/tests/coretests/src/android/app/compat/ |
D | CompatChangesTest.java | 70 UserHandle.of(UserHandle.myUserId()))).isTrue(); in testEnabledChange() 79 UserHandle.of(UserHandle.myUserId()))).isFalse(); in testDisabledChange()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 165 protected int myUserId() { in myUserId() method in DevicePolicyManager 2332 return isAdminActiveAsUser(admin, myUserId()); in isAdminActive() 2373 return getActiveAdminsAsUser(myUserId()); in getActiveAdmins() 2400 return packageHasActiveAdmins(packageName, myUserId()); in packageHasActiveAdmins() 2436 mService.removeActiveAdmin(admin, myUserId()); in removeActiveAdmin() 2457 return mService.hasGrantedPolicy(admin, usesPolicy, myUserId()); in hasGrantedPolicy() 2647 return getPasswordQuality(admin, myUserId()); in getPasswordQuality() 2718 return getPasswordMinimumLength(admin, myUserId()); in getPasswordMinimumLength() 2794 return getPasswordMinimumUpperCase(admin, myUserId()); in getPasswordMinimumUpperCase() 2870 return getPasswordMinimumLowerCase(admin, myUserId()); in getPasswordMinimumLowerCase() [all …]
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | WindowManagerPermissionTests.java | 100 mWm.disableKeyguard(token, "foo", UserHandle.myUserId()); in testDISABLE_KEYGUARD() 110 mWm.reenableKeyguard(token, UserHandle.myUserId()); in testDISABLE_KEYGUARD()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | ObserverNodeTest.java | 44 final int myUserHandle = UserHandle.myUserId(); in testUri() 78 final int myUserHandle = UserHandle.myUserId(); in testUriNotNotify()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableSettingsProvider.java | 52 int userId = UserHandle.myUserId(); in clearValuesAndCheck() 74 final int userId = extras.getInt(Settings.CALL_METHOD_USER_KEY, UserHandle.myUserId()); in call()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | AppUtils.java | 52 int status = pm.getIntentVerificationStatusAsUser(packageName, UserHandle.myUserId()); in getLaunchByDefaultSummary() 64 return usbManager.hasDefaults(packageName, UserHandle.myUserId()); in hasUsbDefaults()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1363 return UserHandle.myUserId(); in getUserHandle() 1419 UserInfo user = getUserInfo(UserHandle.myUserId()); in isPrimaryUser() 1431 return UserHandle.myUserId() == UserHandle.USER_SYSTEM; in isSystemUser() 1445 return isUserAdmin(UserHandle.myUserId()); in isAdminUser() 1550 UserInfo user = getUserInfo(UserHandle.myUserId()); in isGuestUser() 1563 return mService.isDemoUser(UserHandle.myUserId()); in isDemoUser() 1584 mIsManagedProfileCached = mService.isManagedProfile(UserHandle.myUserId()); in isManagedProfile() 1602 if (userId == UserHandle.myUserId()) { in isManagedProfile() 1636 return isUserEphemeral(UserHandle.myUserId()); in isEphemeralUser() 2593 int[] userIds = getProfileIds(UserHandle.myUserId(), true /* enabledOnly */); in getUserProfiles()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionManager.java | 132 UserHandle.myUserId()); in createSession() 183 return getActiveSessionsForUser(notificationListener, UserHandle.myUserId()); in getActiveSessions() 232 return getSession2Tokens(UserHandle.myUserId()); in getSession2Tokens() 296 UserHandle.myUserId(), handler); in addOnActiveSessionsChangedListener() 376 addOnSession2TokensChangedListener(UserHandle.myUserId(), listener, new Handler()); in addOnSession2TokensChangedListener() 392 addOnSession2TokensChangedListener(UserHandle.myUserId(), listener, handler); in addOnSession2TokensChangedListener()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ManagedUserContentResolverTest.java | 43 UserInfo.FLAG_MANAGED_PROFILE, UserHandle.myUserId()); in createUser()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputContentInfo.java | 96 ContentProvider.getUserIdFromUri(mContentUri, UserHandle.myUserId()); in InputContentInfo() 166 if (mContentUriOwnerUserId != UserHandle.myUserId()) { in getContentUri()
|
/frameworks/base/core/java/android/security/net/config/ |
D | UserCertificateSource.java | 34 Environment.getUserConfigDirectory(UserHandle.myUserId()), "cacerts-added")); in UserCertificateSource()
|
D | SystemCertificateSource.java | 36 File configDir = Environment.getUserConfigDirectory(UserHandle.myUserId()); in SystemCertificateSource()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTestable.java | 39 public int myUserId() { in myUserId() method in DevicePolicyManagerTestable
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | SingleUserReceiver.java | 30 res.putInt("user", UserHandle.myUserId()); in onReceive()
|
D | SingleUserService.java | 33 "Service created as user " + UserHandle.myUserId(), in onCreate()
|
D | ServiceUserTarget.java | 33 "Service created as user " + UserHandle.myUserId(), in onCreate()
|