/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/util/ |
D | ShortcutUtilsTest.java | 101 mAccessibilityManagerService, UserHandle.myUserId(), in setUp() 114 ShortcutConstants.UserShortcutType.SOFTWARE, UserHandle.myUserId()) in getShortcutTargets_softwareShortcutNoService_emptyResult() 123 UserHandle.myUserId()) in getShortcutTargets_volumeKeyShortcutNoService_emptyResult() 135 UserHandle.myUserId()) in getShortcutTargets_softwareShortcut1Service_return1Service() 147 UserHandle.myUserId()) in getShortcutTargets_volumeShortcut2Service_return2Service() 160 UserHandle.myUserId()) in getShortcutTargets_tripleTapShortcut_magnificationDisabled_emptyResult() 173 UserHandle.myUserId()) in getShortcutTargets_tripleTapShortcut_magnificationEnabled_returnMagnification() 185 UserHandle.myUserId() in updateAccessibilityServiceStateIfNeeded_alwaysOnServiceOn_noShortcuts_serviceTurnedOff() 199 UserHandle.myUserId() in updateAccessibilityServiceStateIfNeeded_alwaysOnServiceOn_hasShortcut_serviceKeepsOn() 213 UserHandle.myUserId() in updateAccessibilityServiceStateIfNeeded_alwaysOnServiceOff_noShortcuts_serviceKeepsOff() [all …]
|
/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/VpnDialogs/src/com/android/vpndialogs/ |
D | ManageDialog.java | 60 mConfig = mVm.getVpnConfig(UserHandle.myUserId()); in onCreate() 118 final int myUserId = UserHandle.myUserId(); in onClick() local 120 mVm.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, myUserId); in onClick() 122 mVm.prepareVpn(mConfig.user, VpnConfig.LEGACY_VPN, myUserId); in onClick()
|
D | ConfirmDialog.java | 108 if (mVm.prepareVpn(mPackage, null, UserHandle.myUserId())) { in onCreate() 117 final String alwaysOnVpnPackage = mVm.getAlwaysOnVpnPackageForUser(UserHandle.myUserId()); in onCreate() 177 if (mVm.prepareVpn(null, mPackage, UserHandle.myUserId())) { in onClick() 180 mVm.setVpnPackageAuthorization(mPackage, UserHandle.myUserId(), mVpnType); in onClick()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/accessibility/ |
D | AccessibilityUtilsTest.java | 56 UserHandle.myUserId()); in getEnabledServicesFromSettings_badFormat_emptyResult() 67 UserHandle.myUserId()); in getEnabledServicesFromSettings_1Service_1result() 80 UserHandle.myUserId()); in getEnabledServicesFromSettings_2Services_2results()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
D | ComplicationTypesUpdater.java | 75 UserHandle.myUserId()); in onStart() 79 UserHandle.myUserId()); in onStart() 83 UserHandle.myUserId()); in onStart()
|
/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 | 93 UserHandle.myUserId())) { in RestrictedPreferenceHelper() 179 checkRestrictionAndSetDisabled(mAttrUserRestriction, UserHandle.myUserId()); in onAttachedToHierarchy() 217 mAttrUserRestriction, UserHandle.myUserId()); in checkRestrictionEnforced()
|
/frameworks/base/packages/SettingsLib/DisplayUtils/src/com/android/settingslib/display/ |
D | DisplayDensityConfiguration.java | 55 final int userId = UserHandle.myUserId(); in clearForcedDisplayDensity() 77 final int userId = UserHandle.myUserId(); in setForcedDisplayDensity()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | BroadcastTest.java | 315 UserHandle.myUserId()); in testSetSticky() 317 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testSetSticky() 329 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testClearSticky() 333 UserHandle.myUserId()); in testClearSticky() 344 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testReplaceSticky() 347 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testReplaceSticky() 361 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testReceiveSticky() 371 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testReceive2Sticky() 374 ActivityManager.broadcastStickyIntent(intent, UserHandle.myUserId()); in testReceive2Sticky()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationSmartActionsTest.java | 86 true, UserHandle.of(UserHandle.myUserId())); in testExceptionHandlingInGetSmartActionsFuture() 127 true, UserHandle.of(UserHandle.myUserId())); in testUnsupportedBitmapConfiguration() 142 UserHandle.of(UserHandle.myUserId())); in testScreenshotNotificationSmartActionsProviderInvokedOnce() 158 true, UserHandle.of(UserHandle.myUserId())); in testSupportedBitmapConfiguration()
|
/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/tests/permission/src/com/android/framework/permission/tests/ |
D | WindowManagerPermissionTests.java | 72 mWm.disableKeyguard(token, "foo", UserHandle.myUserId()); in testDISABLE_KEYGUARD() 82 mWm.reenableKeyguard(token, UserHandle.myUserId()); in testDISABLE_KEYGUARD()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/ |
D | ActionDisabledByAdminControllerFactory.java | 66 new UserHandle(UserHandle.myUserId())); in isSupervisedDevice() 81 BiometricAuthenticator.TYPE_ANY_BIOMETRIC, new UserHandle(UserHandle.myUserId())); in doesBiometricRequireParentalConsent()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/ |
D | AbstractEnableAdbPreferenceController.java | 85 checkIfUsbDataSignalingIsDisabled(mContext, UserHandle.myUserId())); in updateState() 94 checkIfUsbDataSignalingIsDisabled(mContext, UserHandle.myUserId())); in onDeveloperOptionsSwitchEnabled()
|
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/ |
D | ShadowUserManager.java | 78 return getUserInfo(UserHandle.myUserId()).isAdmin(); in isAdminUser() 86 UserInfo userInfo = getUserInfo(UserHandle.myUserId()); in setIsAdminUser()
|
/frameworks/base/errorprone/tests/res/android/os/ |
D | UserHandle.java | 32 public static int myUserId() { in myUserId() method in UserHandle
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageManagerServiceTest.java | 475 UserHandle.myUserId())).isEqualTo( in testInstallReason_afterUpdate_keepUnchanged() 482 UserHandle.myUserId())).isEqualTo( in testInstallReason_afterUpdate_keepUnchanged() 501 UserHandle.myUserId())).isEqualTo( in testInstallReason_userRemainsUninstalled_keepUnknown() 537 UserHandle.myUserId())).isEqualTo( in testInstallReason_installForAllUsers_sameReason() 563 UserHandle.myUserId())).isEqualTo( in testInstallReason_installSeparately_withSeparatedReason() 582 UserHandle.myUserId()); in testSetSplashScreenTheme_samePackage_succeeds() 592 UserHandle.myUserId()); in testSetSplashScreenTheme_differentPackage_fails() 603 mIPackageManager.setUserMinAspectRatio(PACKAGE_NAME, UserHandle.myUserId(), in testSetUserMinAspectRatio_samePackage_succeeds() 613 mIPackageManager.setUserMinAspectRatio(TEST_PKG_NAME, UserHandle.myUserId(), in testSetUserMinAspectRatio_differentPackage_fails()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | ObserverNodeTest.java | 66 final int myUserHandle = UserHandle.myUserId(); in testUri() 100 final int myUserHandle = UserHandle.myUserId(); in testUriNotNotify() 130 final int myUserHandle = UserHandle.myUserId(); in testCluster()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityOverrideData.java | 79 public Integer myUserId; field in ChooserActivityOverrideData 107 myUserId = null; in reset()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbDialogHelper.java | 185 final int userId = UserHandle.myUserId(); in setDefaultPackage() 201 final int userId = UserHandle.myUserId(); in clearDefaultPackage() 217 final int userId = UserHandle.myUserId(); in confirmDialogStartActivity()
|
/frameworks/base/core/java/android/security/net/config/ |
D | UserCertificateSource.java | 34 Environment.getUserConfigDirectory(UserHandle.myUserId()), "cacerts-added")); in UserCertificateSource()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ManagedUserContentResolverTest.java | 46 UserManager.USER_TYPE_PROFILE_MANAGED, /* flags */ 0, UserHandle.myUserId()); in createUser()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | SingleUserReceiver.java | 30 res.putInt("user", UserHandle.myUserId()); in onReceive()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTestable.java | 39 public int myUserId() { in myUserId() method in DevicePolicyManagerTestable
|