Home
last modified time | relevance | path

Searched refs:myUserHandle (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DObserverNodeTest.java66 final int myUserHandle = UserHandle.myUserId(); in testUri() local
84 0, 0, myUserHandle); in testUri()
87 0, 0, myUserHandle); in testUri()
92 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, collector); in testUri()
100 final int myUserHandle = UserHandle.myUserId(); in testUriNotNotify() local
117 0, 0, myUserHandle); in testUriNotNotify()
122 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, collector); in testUriNotNotify()
130 final int myUserHandle = UserHandle.myUserId(); in testCluster() local
144 true, root, 0, 1000, myUserHandle); in testCluster()
148 0, myUserHandle, collector); in testCluster()
[all …]
/frameworks/libs/systemui/searchuilib/src/com/android/app/search/
DSearchTargetEventHelper.java60 "WEB_SUGGEST" + ":" + Process.myUserHandle().getIdentifier() + ":"); in generateWebTargetIdForLogging()
89 "APPLICATION" + ":" + Process.myUserHandle().getIdentifier() + ":"); in generateAppTargetIdForLogging()
104 return "PLAY" + ":" + Process.myUserHandle().getIdentifier() + ":" + appPackage + ":Gms"; in generatePlayTargetIdForLogging()
DSearchTargetGenerator.java29 private static final UserHandle USERHANDLE = Process.myUserHandle();
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java65 final UserHandle myUserHandle = Process.myUserHandle(); in onCreateGuidance() local
76 } else if (!dialogInfo.user.equals(myUserHandle)) { in onCreateGuidance()
79 && userInfo.profileGroupId == myUserHandle.getIdentifier()) { in onCreateGuidance()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java129 final UserHandle myUserHandle = Process.myUserHandle(); in onCreateDialog() local
140 } else if (!dialogInfo.user.equals(myUserHandle)) { in onCreateDialog()
143 && userInfo.profileGroupId == myUserHandle.getIdentifier()) { in onCreateDialog()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DSliceBroadcastRelay.java61 Process.myUserHandle().getIdentifier())); in registerReceiver()
81 Process.myUserHandle().getIdentifier())); in unregisterReceivers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/process/
DProcessWrapper.java33 return android.os.Process.myUserHandle().isSystem(); in isSystemUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DInitializationChecker.kt36 Process.myUserHandle().isSystem &&
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionController.java84 android.os.Process.myUserHandle()); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DLongScreenshotActivity.java157 mScreenshotUserHandle = Process.myUserHandle(); in onCreate()
339 != Process.myUserHandle()) { in doEdit()
425 ? mScreenshotUserHandle : Process.myUserHandle()); in startExport()
DScreenshotPolicyImpl.kt168 Process.myUserHandle(), in <lambda>()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverActivityWorkProfileTest.java374 UserHandle myUserHandle, Tab tab, ExpectedBlocker expectedBlocker) { in TestCase() argument
377 mMyUserHandle = myUserHandle; in TestCase()
DChooserActivityWorkProfileTest.java393 UserHandle myUserHandle, Tab tab, ExpectedBlocker expectedBlocker) { in TestCase() argument
396 mMyUserHandle = myUserHandle; in TestCase()
/frameworks/base/core/java/android/widget/
DViewFlipper.java103 getContext().registerReceiverAsUser(mReceiver, android.os.Process.myUserHandle(), in onAttachedToWindow()
DAdapterViewFlipper.java115 getContext().registerReceiverAsUser(mReceiver, android.os.Process.myUserHandle(), in onAttachedToWindow()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java77 this(componentName, id, Process.myUserHandle()); in PhoneAccountHandle()
DDefaultDialerManager.java177 return getInstalledDialerApplications(context, Process.myUserHandle().getIdentifier()); in getInstalledDialerApplications()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIApplication.java123 if (Process.myUserHandle().equals(UserHandle.SYSTEM)) { in onCreate()
248 Process.myUserHandle().getIdentifier() + "."); in startServicesIfNeeded()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DInstallNonMarketAppsDeprecationTest.java94 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, Process.myUserHandle()) in setUp()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallerActivity.java173 mDialogInfo.user = android.os.Process.myUserHandle(); in onCreate()
178 Log.e(TAG, "User " + android.os.Process.myUserHandle() + " can't request uninstall " in onCreate()
DPackageInstallerActivity.java451 UserManager.DISALLOW_INSTALL_APPS, Process.myUserHandle()); in checkIfAllowedAndInitiateInstall()
472 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, Process.myUserHandle()); in checkIfAllowedAndInitiateInstall()
474 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY, Process.myUserHandle()); in checkIfAllowedAndInitiateInstall()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest10.java160 when(info.getUser()).thenReturn(Process.myUserHandle()); in setupMockActivityInfo()
DShortcutManagerTest5.java66 mMyUserId = android.os.Process.myUserHandle().getIdentifier(); in setUp()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/
DDragAndDropControllerTest.java150 i.putExtra(Intent.EXTRA_USER, android.os.Process.myUserHandle()); in createClipData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutPicker.java63 Process.myUserHandle()); in onCreatePreferences()

123