Searched refs:uid (Results 51 - 66 of 66) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/accounts/
H A DManageAccountsSettings.java472 * activity that doesn't share a uid with the authenticator.
497 * will launch a exported=true activity or owned by the same uid as the
512 || resolvedAppInfo.uid == authenticatorAppInf.uid;
/packages/apps/Settings/src/com/android/settings/print/
H A DPrintSettingsFragment.java313 public void onPackageAdded(String packageName, int uid) { argument
328 public void onPackageRemoved(String packageName, int uid) { argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DLocationActivity.java231 if (appInfo.uid == ops.getUid()) {
H A DDeveloperOptionsActivity.java597 if (ai.uid == Process.SYSTEM_UID) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsActor.java435 public int checkPermission(String permission, int pid, int uid) { argument
449 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { argument
468 public void enforcePermission(String permission, int pid, int uid, String message) { argument
/packages/apps/Settings/src/com/android/settings/applications/
H A DInstalledAppDetails.java416 mAppEntry.info.uid);
844 String[] packages = mPm.getPackagesForUid(mPackageInfo.applicationInfo.uid);
1303 intent.putExtra(Intent.EXTRA_UID, mAppEntry.info.uid);
1304 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(mAppEntry.info.uid));
1336 nm.setNotificationsEnabledForPackage(packageName, mAppEntry.info.uid, enabled);
/packages/apps/KeyChain/src/com/android/keychain/
H A DKeyChainActivity.java100 mSender.getIntentSender().getTargetPackage(), 0).applicationInfo.uid;
/packages/apps/Settings/src/com/android/settings/
H A DDeviceAdminSettings.java462 return UserHandle.getUserId(adminInfo.getActivityInfo().applicationInfo.uid);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java447 // Initialize the system uid
449 // Initialize the default container uid. Package name hardcoded
459 mDefContainerUid = appInfo.uid;
613 int uid = Binder.getCallingUid();
615 if (uid == 0 || mSystemFacade.userOwnsPackage(uid, pckg)) {
1304 + ", uid: " + Binder.getCallingUid());
H A DDownloadThread.java800 public void onUidRulesChanged(int uid, int uidRules) {
802 if (uid == mInfo.mUid) {
/packages/apps/Nfc/src/com/android/nfc/
H A DP2pLinkManager.java502 private boolean isManagedOrBeamDisabled(int uid) { argument
504 UserInfo userInfo = userManager.getUserInfo(UserHandle.getUserId(uid));
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/resolver/
H A DResolverActivity.java180 // uid (not re-using the same resolver from an old launching uid),
443 // Filter out any activities that the launched uid does not
453 ai.applicationInfo.uid, ai.exported);
/packages/apps/Email/src/com/android/email/service/
H A DImapService.java1442 * A message and numeric uid that's easily sortable
1448 SortableMessage(Message message, long uid) { argument
1450 mUid = uid;
1476 // Get the "bare" messages (basically uid)
1485 // Sort the uid's, most recent first
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DPackageInstallerActivity.java550 /** Get the originating uid if possible, or VerificationParams.NO_UID if not available */
552 // The originating uid from the intent. We only trust/use this if it comes from a
567 // We either didn't get a uid in the intent, or we don't trust it. Use the
568 // uid of the calling package instead.
569 return sourceInfo.uid;
572 // We couldn't get the specific calling package. Let's get the uid instead
578 Log.w(TAG, "Could not determine the launching uid.");
583 // If we got a uid from the intent, we need to verify that the caller is a
602 // We either didn't get a uid from the intent, or we don't trust it. Use the
603 // calling uid instea
[all...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java5078 final int uid = Binder.getCallingUid();
5079 final String[] packages = pm.getPackagesForUid(uid);
5083 final String name = pm.getNameForUid(uid);
5087 return String.valueOf(uid);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsDatabaseHelper.java4521 * Return the {@link ApplicationInfo#uid} for the given package name.
4526 return clientInfo.uid;

Completed in 474 milliseconds

123