/packages/services/Car/service/src/com/android/car/ |
D | CarExperimentalFeatureServiceController.java | 160 int myUid = Process.myUid(); in bindService() local 161 if (myUid != Process.SYSTEM_UID) { in bindService() 163 + myUid); in bindService()
|
/packages/services/Car/car-lib/src/android/car/user/ |
D | CarUserManager.java | 21 import static android.os.Process.myUid; 210 int uid = myUid(); in switchUser() 255 int uid = myUid(); in createUser() 322 int uid = myUid(); in removeUser() 352 int uid = myUid(); in addListener() 396 int uid = myUid(); in removeListener()
|
/packages/modules/NetworkStack/src/com/android/server/util/ |
D | PermissionUtil.java | 44 if (caller != Process.myUid() && // apps with NETWORK_STACK_UID in enforceNetworkStackCallingPermission() 76 if (caller != Process.myUid() && caller != Process.SYSTEM_UID && caller != Process.ROOT_UID in checkDumpPermission()
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
D | BasicKeyChainServiceTest.java | 141 mTestSupportService.grantAppPermission(Process.myUid(), ALIAS_1); in testCanAccessKeyAfterGettingGrant() 167 mTestSupportService.grantAppPermission(Process.myUid(), ALIAS_IMPORTED); in testInstallAndRemoveKeyPair() 246 mTestSupportService.grantAppPermission(Process.myUid(), ALIAS_GENERATED); in testGenerateKeyPairSucceeds() 278 mTestSupportService.grantAppPermission(Process.myUid(), ALIAS_GENERATED); in testSetKeyPairCertificate()
|
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
D | NotificationUtils.java | 89 .setContentText("Message from " + UserHandle.getUserHandleForUid(Process.myUid())) in sendDirectReplyNotification() 108 UserHandle.getUserHandleForUid(Process.myUid()))); in onReceiveDirectReply()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 59 final int uid = android.os.Process.myUid(); in testSelfPermissions() 84 final int uid = android.os.Process.myUid(); in testNoIsolatedStorageIsByDefaultDenied()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | SafetyNetLogger.java | 84 android.os.Process.myUid(), buildChangedPermissionForPackageMessage( in logPermissionsToggled() 110 android.os.Process.myUid(), buildChangedPermissionForPackageMessage(group, in logPermissionToggled()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/netlink/ |
D | InetDiagSocketIntegrationTest.java | 148 assertEquals(Process.myUid(), uid); in checkConnectionOwnerUid() 150 assertNotEquals(Process.myUid(), uid); in checkConnectionOwnerUid()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | CredentialStorage.java | 130 if (uid != KeyStore.UID_SELF && !UserHandle.isSameUser(uid, Process.myUid())) { in installIfAvailable() 339 if (!UserHandle.isSameApp(launchedFromUid, Process.myUid())) { in checkCallerIsCertInstallerOrSelfInProfile()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | VoicemailProviderTest.java | 214 mPackageManager.removePackage(Process.myUid()); in testUpdateOtherPackageCallLog_NotDirty() 306 mPackageManager.removePackage(Process.myUid()); in testDeleteOtherPackageVoicemail_SetsDirtyStatus() 333 mPackageManager.removePackage(Process.myUid()); in testUpdateAfterDelete_lastModifiedNotChanged() 337 mPackageManager.addPackage(Process.myUid(), mActor.packageName); in testUpdateAfterDelete_lastModifiedNotChanged()
|
D | BaseVoicemailProviderTest.java | 50 mPackageManager.addPackage(Process.myUid(), mActor.packageName); in setUp()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/ |
D | CredentialStorage.java | 129 if (uid != KeyStore.UID_SELF && !UserHandle.isSameUser(uid, Process.myUid())) { in installIfAvailable() 364 if (!UserHandle.isSameApp(launchedFromUid, Process.myUid())) { in checkCallerIsCertInstallerOrSelfInProfile()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | CredentialStorageActivity.java | 148 if (!UserHandle.isSameApp(launchedFromUid, Process.myUid())) { in checkCallerIsCertInstallerOrSelfInProfile() 176 if (uid != KeyStore.UID_SELF && !UserHandle.isSameUser(uid, Process.myUid())) { in installIfAvailable()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | CarPermission.java | 42 if (Binder.getCallingUid() != Process.myUid()) { in checkGranted()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PermissionsUtil.java | 63 final int mode = appOpsManager.checkOpNoThrow(appOp, Process.myUid(), in hasAppOp()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | PickImageInfo.java | 48 Manifest.permission.READ_EXTERNAL_STORAGE, Process.myPid(), Process.myUid()) == in getThumbnailOfLastPhoto()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/ |
D | ChannelNotificationSettingsTest.java | 97 mTargetContext.getPackageName(), Process.myUid(), blocked); in launchNotificationSettings_blockedChannel()
|
/packages/services/Car/tests/SecondaryHomeApp/src/com/android/car/secondaryhome/launcher/ |
D | NotificationListener.java | 73 Process.myUid()); in registerAsSystemService()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | LocalCallingIdentityTest.java | 67 assertEquals(Arrays.asList(pm.getPackagesForUid(android.os.Process.myUid())), in testFromSelf()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/ |
D | InstrumentClusterServiceTest.java | 131 mService.onFocusAcquired(CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION, Process.myUid(), in initService()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | ActionDisabledByAdminDialogHelper.java | 170 if (UserHandle.isSameApp(Process.myUid(), Process.SYSTEM_UID)) { in setAdminSupportDetails()
|
/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | AgingHelperTest.java | 89 mUid = Process.myUid(); in setUp()
|
D | NotificationCategorizerTest.java | 63 when(mSbn.getUid()).thenReturn(Process.myUid()); in setUp()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadIdleService.java | 187 final int uid = android.os.Process.myUid(); in cleanOrphans()
|
D | OpenHelper.java | 174 if (uid != Process.myUid()) { in getOriginatingUid()
|