Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DObserverNodeTest.java44 final int myUserHandle = UserHandle.myUserId(); in testUri() local
62 0, 0, myUserHandle); in testUri()
65 0, 0, myUserHandle); in testUri()
71 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls); in testUri()
78 final int myUserHandle = UserHandle.myUserId(); in testUriNotNotify() local
95 0, 0, myUserHandle); in testUriNotNotify()
101 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls); in testUriNotNotify()
/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/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java151 UserHandle callingUser = Process.myUserHandle(); in testEditorInfoTargetInputMethodUserForCallingUser()
165 UserHandle callingUser = Process.myUserHandle(); in testEditorInfoTargetInputMethodUserForAllUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIApplication.java73 if (Process.myUserHandle().equals(UserHandle.SYSTEM)) { in onCreate()
162 Process.myUserHandle().getIdentifier() + "."); in startServicesIfNeeded()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionController.java84 android.os.Process.myUserHandle()); in start()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java55 this(componentName, id, Process.myUserHandle()); in PhoneAccountHandle()
DDefaultDialerManager.java177 return getInstalledDialerApplications(context, Process.myUserHandle().getIdentifier()); in getInstalledDialerApplications()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java72 } else if (!dialogInfo.user.equals(android.os.Process.myUserHandle())) { in onCreateGuidance()
DUninstallAppProgress.java281 user = android.os.Process.myUserHandle(); in onCreate()
/frameworks/base/core/java/android/widget/
DViewFlipper.java102 getContext().registerReceiverAsUser(mReceiver, android.os.Process.myUserHandle(), in onAttachedToWindow()
DAdapterViewFlipper.java115 getContext().registerReceiverAsUser(mReceiver, android.os.Process.myUserHandle(), in onAttachedToWindow()
DAnalogClock.java128 android.os.Process.myUserHandle(), filter, null, getHandler()); in onAttachedToWindow()
DTextClock.java603 getContext().registerReceiverAsUser(mIntentReceiver, android.os.Process.myUserHandle(), in registerReceiver()
/frameworks/base/core/java/android/os/
DUserManager.java1705 return isUserUnlocked(Process.myUserHandle()); in isUserUnlocked()
1847 return getUserRestrictions(Process.myUserHandle()); in getUserRestrictions()
1913 setUserRestriction(key, value, Process.myUserHandle()); in setUserRestriction()
1945 return hasUserRestriction(restrictionKey, Process.myUserHandle()); in hasUserRestriction()
2121 UserHandle parentUserHandle = Process.myUserHandle(); in createRestrictedProfile()
DProcess.java634 public static UserHandle myUserHandle() { in myUserHandle() method in Process
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java417 UserManager.DISALLOW_INSTALL_APPS, Process.myUserHandle()); in checkIfAllowedAndInitiateInstall()
432 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, Process.myUserHandle()); in checkIfAllowedAndInitiateInstall()
434 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY, Process.myUserHandle()); in checkIfAllowedAndInitiateInstall()
DUninstallerActivity.java170 mDialogInfo.user = android.os.Process.myUserHandle(); in onCreate()
175 Log.e(TAG, "User " + android.os.Process.myUserHandle() + " can't request uninstall " in onCreate()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DInstallNonMarketAppsDeprecationTest.java92 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, Process.myUserHandle()) in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest10.java163 when(info.getUser()).thenReturn(Process.myUserHandle()); in setupMockActivityInfo()
DShortcutManagerTest5.java63 mMyUserId = android.os.Process.myUserHandle().getIdentifier(); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutPicker.java63 Process.myUserHandle()); in onCreatePreferences()
/frameworks/base/core/java/android/app/
DUiAutomation.java1006 grantRuntimePermissionAsUser(packageName, permission, android.os.Process.myUserHandle()); in grantRuntimePermission()
1052 revokeRuntimePermissionAsUser(packageName, permission, android.os.Process.myUserHandle()); in revokeRuntimePermission()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java1684 eq(Process.myUserHandle()), eq(mTestNotificationChannel), in testCreateChannelNotifyListener()
1687 eq(Process.myUserHandle()), eq(channel2), in testCreateChannelNotifyListener()
1704 eq(Process.myUserHandle()), eq(group1), in testCreateChannelGroupNotifyListener()
1707 eq(Process.myUserHandle()), eq(group2), in testCreateChannelGroupNotifyListener()
1725 eq(Process.myUserHandle()), eq(mTestNotificationChannel), in testUpdateChannelNotifyListener()
1741 eq(Process.myUserHandle()), eq(mTestNotificationChannel), in testDeleteChannelNotifyListener()
1757 eq(Process.myUserHandle()), eq(ncg), in testDeleteChannelGroupNotifyListener()
1772 null, PKG, Process.myUserHandle(), mTestNotificationChannel); in testUpdateNotificationChannelFromPrivilegedListener_success()
1778 eq(Process.myUserHandle()), eq(mTestNotificationChannel), in testUpdateNotificationChannelFromPrivilegedListener_success()
1790 null, PKG, Process.myUserHandle(), mTestNotificationChannel); in testUpdateNotificationChannelFromPrivilegedListener_noAccess()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java152 } else if (!dialogInfo.user.equals(android.os.Process.myUserHandle())) { in onCreateDialog()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java237 mHandler, Process.myUserHandle())) { in rebind()

12