/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/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 69 android.os.Process.myUid(), in fromSelf() 203 if (uid == android.os.Process.myUid()) { in isSystemInternal()
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsClientManager.java | 311 new SubscriberConnection(subscriberClient, Process.myUid(), HAL_CLIENT_NAME, in onHalConnected() 314 mStatsService.getVmsClientLogger(Process.myUid()) in onHalConnected() 325 mStatsService.getVmsClientLogger(Process.myUid()) in onHalDisconnected()
|
/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 | 152 if (!UserHandle.isSameApp(launchedFromUid, Process.myUid())) { in checkCallerIsCertInstallerOrSelfInProfile() 181 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/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | SafetyNetLogger.java | 82 android.os.Process.myUid(), buildChangedPermissionForPackageMessage( in logPermissionsToggled()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/ |
D | ChannelNotificationSettingsTest.java | 97 mTargetContext.getPackageName(), Process.myUid(), blocked); in launchNotificationSettings_blockedChannel()
|
/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()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/ |
D | SmsDatabaseHandler.java | 190 int mode = appOps.checkOpNoThrow(AppOpsManager.OP_WRITE_SMS, android.os.Process.myUid(), in canWriteToDatabase()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | SQLiteContentProvider.java | 300 int uid = Process.myUid(); in clearCallingIdentityInternal()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | ActionDisabledByAdminDialogHelper.java | 207 if (UserHandle.isSameApp(Process.myUid(), Process.SYSTEM_UID)) { in setAdminSupportDetails()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelper.java | 207 if (UserHandle.isSameApp(Process.myUid(), Process.SYSTEM_UID)) { in setAdminSupportDetails()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarBugreportManagerService.java | 122 if (pm.checkSignatures(Process.myUid(), callingUid) != PackageManager.SIGNATURE_MATCH) { in requestBugreport()
|