/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | ObserverNodeTest.java | 38 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/ |
D | NotificationManagerServiceTest.java | 563 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/ |
D | UserAdapter.java | 195 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/ |
D | SystemUIApplication.java | 120 if (Process.myUserHandle().equals(UserHandle.SYSTEM)) { in onCreate() 191 Process.myUserHandle().getIdentifier() + "."); in startServicesIfNeeded()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1191 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()
|
D | Process.java | 548 public static UserHandle myUserHandle() { in myUserHandle() method in Process
|
/frameworks/base/telecomm/java/android/telecom/ |
D | PhoneAccountHandle.java | 50 this(componentName, id, Process.myUserHandle()); in PhoneAccountHandle()
|
D | DefaultDialerManager.java | 177 return getInstalledDialerApplications(context, Process.myUserHandle().getIdentifier()); in getInstalledDialerApplications()
|
/frameworks/base/core/java/android/provider/ |
D | ContactsInternal.java | 71 startQuickContactWithErrorToastForUser(context, intent, Process.myUserHandle()); in startQuickContactWithErrorToast()
|
/frameworks/base/core/java/android/widget/ |
D | ViewFlipper.java | 98 getContext().registerReceiverAsUser(mReceiver, android.os.Process.myUserHandle(), in onAttachedToWindow()
|
D | AdapterViewFlipper.java | 113 getContext().registerReceiverAsUser(mReceiver, android.os.Process.myUserHandle(), in onAttachedToWindow()
|
D | AnalogClock.java | 122 android.os.Process.myUserHandle(), filter, null, getHandler()); in onAttachedToWindow()
|
D | TextClock.java | 563 getContext().registerReceiverAsUser(mIntentReceiver, android.os.Process.myUserHandle(), in registerReceiver()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetManager.java | 818 profile = Process.myUserHandle(); in getInstalledProvidersForProfile() 897 bindAppWidgetIdIfAllowed(appWidgetId, Process.myUserHandle(), provider, options); in bindAppWidgetId()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | InstallNonMarketAppsDeprecationTest.java | 91 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, Process.myUserHandle()) in setUp()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothPbap.java | 164 android.os.Process.myUserHandle())) { in doBind()
|
D | BluetoothAvrcpController.java | 144 android.os.Process.myUserHandle())) { in doBind()
|
D | BluetoothPbapClient.java | 117 android.os.Process.myUserHandle())) { in doBind()
|
D | BluetoothPan.java | 149 android.os.Process.myUserHandle())) { in doBind()
|
D | BluetoothSap.java | 146 android.os.Process.myUserHandle())) { in doBind()
|
D | BluetoothMap.java | 108 android.os.Process.myUserHandle())) { in doBind()
|
D | BluetoothA2dpSink.java | 185 android.os.Process.myUserHandle())) { in doBind()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest10.java | 163 when(info.getUser()).thenReturn(Process.myUserHandle()); in setupMockActivityInfo()
|
D | ShortcutManagerTest5.java | 63 mMyUserId = android.os.Process.myUserHandle().getIdentifier(); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ShortcutPicker.java | 63 Process.myUserHandle()); in onCreatePreferences()
|