Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DObserverNodeTest.java38 final int myUserHandle = UserHandle.myUserId(); in testUri() local
56 0, 0, myUserHandle); in testUri()
59 0, 0, myUserHandle); in testUri()
65 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls); in testUri()
72 final int myUserHandle = UserHandle.myUserId(); in testUriNotNotify() local
89 0, 0, myUserHandle); in testUriNotNotify()
95 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls); in testUriNotNotify()
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationManagerServiceTest.java563 eq(Process.myUserHandle()), eq(mTestNotificationChannel), in testCreateChannelNotifyListener()
566 eq(Process.myUserHandle()), eq(channel2), in testCreateChannelNotifyListener()
583 eq(Process.myUserHandle()), eq(group1), in testCreateChannelGroupNotifyListener()
586 eq(Process.myUserHandle()), eq(group2), in testCreateChannelGroupNotifyListener()
604 eq(Process.myUserHandle()), eq(mTestNotificationChannel), in testUpdateChannelNotifyListener()
620 eq(Process.myUserHandle()), eq(mTestNotificationChannel), in testDeleteChannelNotifyListener()
636 eq(Process.myUserHandle()), eq(ncg), in testDeleteChannelGroupNotifyListener()
648 null, PKG, Process.myUserHandle(), mTestNotificationChannel); in testUpdateNotificationChannelFromPrivilegedListener_success()
653 eq(Process.myUserHandle()), eq(mTestNotificationChannel), in testUpdateNotificationChannelFromPrivilegedListener_success()
665 null, PKG, Process.myUserHandle(), mTestNotificationChannel); in testUpdateNotificationChannelFromPrivilegedListener_noAccess()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DUserAdapter.java195 UserHandle myUserHandle = new UserHandle(UserHandle.myUserId()); in createUserSpinnerAdapter() local
197 userProfiles.remove(myUserHandle); in createUserSpinnerAdapter()
198 userProfiles.add(0, myUserHandle); in createUserSpinnerAdapter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIApplication.java120 if (Process.myUserHandle().equals(UserHandle.SYSTEM)) { in onCreate()
191 Process.myUserHandle().getIdentifier() + "."); in startServicesIfNeeded()
/frameworks/base/core/java/android/os/
DUserManager.java1191 return isUserUnlocked(Process.myUserHandle()); in isUserUnlocked()
1301 return getUserRestrictions(Process.myUserHandle()); in getUserRestrictions()
1365 setUserRestriction(key, value, Process.myUserHandle()); in setUserRestriction()
1397 return hasUserRestriction(restrictionKey, Process.myUserHandle()); in hasUserRestriction()
1558 UserHandle parentUserHandle = Process.myUserHandle(); in createRestrictedProfile()
DProcess.java548 public static UserHandle myUserHandle() { in myUserHandle() method in Process
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java50 this(componentName, id, Process.myUserHandle()); in PhoneAccountHandle()
DDefaultDialerManager.java177 return getInstalledDialerApplications(context, Process.myUserHandle().getIdentifier()); in getInstalledDialerApplications()
/frameworks/base/core/java/android/provider/
DContactsInternal.java71 startQuickContactWithErrorToastForUser(context, intent, Process.myUserHandle()); in startQuickContactWithErrorToast()
/frameworks/base/core/java/android/widget/
DViewFlipper.java98 getContext().registerReceiverAsUser(mReceiver, android.os.Process.myUserHandle(), in onAttachedToWindow()
DAdapterViewFlipper.java113 getContext().registerReceiverAsUser(mReceiver, android.os.Process.myUserHandle(), in onAttachedToWindow()
DAnalogClock.java122 android.os.Process.myUserHandle(), filter, null, getHandler()); in onAttachedToWindow()
DTextClock.java563 getContext().registerReceiverAsUser(mIntentReceiver, android.os.Process.myUserHandle(), in registerReceiver()
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java818 profile = Process.myUserHandle(); in getInstalledProvidersForProfile()
897 bindAppWidgetIdIfAllowed(appWidgetId, Process.myUserHandle(), provider, options); in bindAppWidgetId()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DInstallNonMarketAppsDeprecationTest.java91 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, Process.myUserHandle()) in setUp()
/frameworks/base/core/java/android/bluetooth/
DBluetoothPbap.java164 android.os.Process.myUserHandle())) { in doBind()
DBluetoothAvrcpController.java144 android.os.Process.myUserHandle())) { in doBind()
DBluetoothPbapClient.java117 android.os.Process.myUserHandle())) { in doBind()
DBluetoothPan.java149 android.os.Process.myUserHandle())) { in doBind()
DBluetoothSap.java146 android.os.Process.myUserHandle())) { in doBind()
DBluetoothMap.java108 android.os.Process.myUserHandle())) { in doBind()
DBluetoothA2dpSink.java185 android.os.Process.myUserHandle())) { in doBind()
/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()

12