/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | ObserverNodeTest.java | 66 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/base/packages/SystemUI/src/com/android/systemui/process/ |
D | ProcessWrapper.java | 36 return myUserHandle().isSystem(); in isSystemUser() 47 public UserHandle myUserHandle() { in myUserHandle() method in ProcessWrapper 48 return Process.myUserHandle(); in myUserHandle()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/ |
D | UninstallAlertDialogFragment.java | 137 final UserHandle myUserHandle = Process.myUserHandle(); in onCreateDialog() local 150 } else if (!dialogInfo.user.equals(myUserHandle)) { in onCreateDialog() 158 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateDialog() 164 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateDialog() 171 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateDialog() 184 } else if (isCloneProfile(myUserHandle)) { in onCreateDialog() 188 } else if (Process.myUserHandle().equals(UserHandle.SYSTEM) in onCreateDialog()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | UninstallRepository.kt | 138 uninstalledUser = Process.myUserHandle() in performPreUninstallChecks() 144 "User " + Process.myUserHandle() + " can't request uninstall " + in performPreUninstallChecks() 204 val myUserHandle = Process.myUserHandle() in generateUninstallDetails() constant 219 } else if (uninstalledUser != myUserHandle) { in generateUninstallDetails() 228 if (userManager!!.isSameProfileGroup(myUserHandle, uninstalledUser!!)) { in generateUninstallDetails() 256 } else if (myUserHandle == UserHandle.SYSTEM && in generateUninstallDetails() 494 val myUserHandle = Process.myUserHandle() in handleUninstallResult() constant 499 findUserOfDeviceAdmin(myUserHandle, targetPackageName!!) in handleUninstallResult() 537 myUserHandle, in handleUninstallResult() 595 private fun findUserOfDeviceAdmin(myUserHandle: UserHandle, packageName: String): UserHandle? { in findUserOfDeviceAdmin() [all …]
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 100 UserHandle myUserHandle = Process.myUserHandle(); in onReceive() local 105 if (isProfileOfOrSame(userManager, myUserHandle, otherUserHandle)) { in onReceive() 148 UserHandle myUserHandle = Process.myUserHandle(); in onReceive() local 149 if (isProfileOfOrSame(userManager, myUserHandle, otherBlockingUserHandle)) { in onReceive()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAlertFragment.java | 66 final UserHandle myUserHandle = Process.myUserHandle(); in onCreateGuidance() local 77 } else if (!dialogInfo.user.equals(myUserHandle)) { in onCreateGuidance() 85 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateGuidance()
|
D | UninstallAppProgress.java | 148 UserHandle myUserHandle = Process.myUserHandle(); in handleMessage() local 153 if (isProfileOfOrSame(userManager, myUserHandle, otherUserHandle)) { in handleMessage() 194 UserHandle myUserHandle = Process.myUserHandle(); in handleMessage() local 195 if (isProfileOfOrSame(userManager, myUserHandle, otherBlockingUserHandle)) { in handleMessage() 264 user = Process.myUserHandle(); in onCreate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ActionIntentExecutorTest.kt | 20 import android.os.Process.myUserHandle 67 val userHandle = myUserHandle() in launchIntent_callsCloseSystemWindows()
|
D | DefaultScreenshotActionsProviderTest.kt | 51 private val validResult = ScreenshotSavedResult(Uri.EMPTY, Process.myUserHandle(), 0) 98 .startSharedTransition(intentCaptor.capture(), eq(Process.myUserHandle()), eq(false)) in <lambda>() 120 .startSharedTransition(intentCaptor.capture(), eq(Process.myUserHandle()), eq(true)) in <lambda>()
|
D | ImageExporterTest.java | 135 Process.myUserHandle(), Display.DEFAULT_DISPLAY); in testImageExport() 201 Process.myUserHandle(), customizedFileName); in testImageExport_customizedFileName()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | SliceBroadcastRelay.java | 61 Process.myUserHandle().getIdentifier())); in registerReceiver() 81 Process.myUserHandle().getIdentifier())); in unregisterReceivers()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | SensitiveContentProtectionManagerServiceContentTest.java | 100 new MediaProjectionInfo(mScreenRecorderPackage, Process.myUserHandle(), null); in setUp() 106 mExemptedScreenRecorderPackage, Process.myUserHandle(), null); in testExemptedRecorderPackageForScreenCapture() 153 int userId = Process.myUserHandle().getIdentifier(); in testAutofillServicePackageExemption()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/process/ |
D | ProcessWrapperFake.kt | 31 override fun myUserHandle() = userHandle method in com.android.systemui.process.ProcessWrapperFake
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouter2ManagerTest.java | 391 android.os.Process.myUserHandle()); in testRouterOnSessionCreated() 419 android.os.Process.myUserHandle()); in testGetRoutingSessions() 461 android.os.Process.myUserHandle(), in testTransfer_unknownRoute_fail() 499 android.os.Process.myUserHandle(), in testRouterRelease_managerGetRoutingSessions() 537 android.os.Process.myUserHandle()), in testSelectAndTransferAndRelease() 552 android.os.Process.myUserHandle()), in testSelectAndTransferAndRelease() 611 mPackageName, route1, android.os.Process.myUserHandle()); in testTransferTwice() 614 mPackageName, route2, android.os.Process.myUserHandle()); in testTransferTwice() 664 android.os.Process.myUserHandle(), in testTransfer_ignored_fails() 739 android.os.Process.myUserHandle()); in testSetSessionVolume() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | InitializationChecker.kt | 36 Process.myUserHandle().isSystem &&
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ActionIntentExecutor.kt | 24 import android.os.Process.myUserHandle 99 if (user == myUserHandle()) { in launchIntent()
|
D | ScreenshotData.kt | 36 return userHandle ?: Process.myUserHandle() in getUserOrDefault()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/policy/ |
D | PolicyRequestProcessor.kt | 24 import android.os.Process.myUserHandle in <lambda>() 53 private val defaultOwner: UserHandle = myUserHandle(), in <lambda>()
|
D | ScreenshotPolicyModule.kt | 81 defaultOwner = Process.myUserHandle(), in bindProfileTypeRepository()
|
/frameworks/base/core/java/android/app/ |
D | UiAutomation.java | 317 Log.i(LOG_TAG, "Initialized for user " + Process.myUserHandle().getIdentifier() in UiAutomation() 364 Log.d(LOG_TAG, "connectWithTimeout: user=" + Process.myUserHandle().getIdentifier() in connectWithTimeout() 1540 grantRuntimePermissionAsUser(packageName, permission, android.os.Process.myUserHandle()); in grantRuntimePermission() 1586 revokeRuntimePermissionAsUser(packageName, permission, android.os.Process.myUserHandle()); in revokeRuntimePermission() 1867 + windowToken + ", user=" + Process.myUserHandle() in IAccessibilityServiceClientImpl() 1934 Log.v(LOG_TAG, "onAccessibilityEvent(" + Process.myUserHandle() + "): " in IAccessibilityServiceClientImpl()
|
/frameworks/base/tests/inputmethod/ConcurrentMultiSessionImeTest/src/com/android/server/inputmethod/multisessiontest/ |
D | MainActivity.java | 52 + Process.myUserHandle().getIdentifier() + " on display " in onCreate()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
D | SuggestionController.java | 84 android.os.Process.myUserHandle()); in start()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/recents/ |
D | OverviewProxyServiceTest.kt | 206 `when`(Process.myUserHandle()).thenReturn(UserHandle.SYSTEM) in connectToOverviewService_primaryUser_expectBindService() 221 `when`(Process.myUserHandle()).thenReturn(UserHandle.of(12345)) in connectToOverviewService_nonPrimaryUser_expectNoBindService()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/ |
D | DragAndDropPolicyTest.java | 158 .thenReturn(android.os.Process.myUserHandle()); in setUp() 195 doReturn(android.os.Process.myUserHandle()).when(pi).getCreatorUserHandle(); in createAppClipData() 199 i.putExtra(Intent.EXTRA_USER, android.os.Process.myUserHandle()); in createAppClipData()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | PhoneAccountHandle.java | 83 this(componentName, id, Process.myUserHandle()); in PhoneAccountHandle()
|