/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | MockPackageManager.java | 51 public String[] getPackagesForUid(int uid) { argument
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadIdleService.java | 168 final int uid = android.os.Process.myUid(); 170 fromDisk.addAll(listFilesRecursive(getCacheDir(), null, uid)); 171 fromDisk.addAll(listFilesRecursive(getFilesDir(), null, uid)); 172 fromDisk.addAll(listFilesRecursive(Environment.getDownloadCacheDirectory(), null, uid));
|
H A D | DownloadReceiver.java | 116 final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); 118 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, Constants.UID + "=" + uid, null); 121 Slog.d(TAG, "Deleted " + count + " downloads owned by UID " + uid);
|
H A D | StorageUtils.java | 202 * @param uid only return files owned by this UID, or {@code -1} to ignore. 204 static List<ConcreteFile> listFilesRecursive(File startDir, String exclude, int uid) { argument 221 if (uid == -1 || file.stat.st_uid == uid) {
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipSettings.java | 107 log("SipPreference.updateSummary, profile uid: " + profileUid + 123 private String getPackageNameFromUid(int uid) { argument 125 String[] pkgs = mPackageManager.getPackagesForUid(uid); 129 log("getPackageNameFromUid, cannot find name of uid: " + uid + ", exception: " + e); 131 return "uid:" + uid; 290 int uid = profile.getCallingUid(); 291 if (uid == mUid || uid [all...] |
/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | Pop3Store.java | 322 public Message getMessage(String uid) throws MessagingException { argument 334 Pop3Message message = mUidToMsgMap.get(uid); 658 String uid = message.getUid(); 659 int msgNum = mUidToMsgNumMap.get(uid); 663 mUidToMsgNumMap.remove(uid); 756 public Message createMessage(String uid) { argument 757 return new Pop3Message(uid, this); 767 public Pop3Message(String uid, Pop3Folder folder) { argument 768 mUid = uid;
|
H A D | ImapFolder.java | 442 public Message getMessage(String uid) throws MessagingException { argument 445 final String[] uids = searchForUids(ImapConstants.UID + " " + uid); 447 if (uids[i].equals(uid)) { 448 return new ImapMessage(uid, this); 597 final String uid = uids[i]; 598 final ImapMessage message = new ImapMessage(uid, this); 693 final String uid = fetchList.getKeyedStringOrEmpty(ImapConstants.UID) 695 if (TextUtils.isEmpty(uid)) continue; 697 ImapMessage message = (ImapMessage) messageMap.get(uid); 1288 public Message createMessage(String uid) { argument [all...] |
H A D | ImapStore.java | 212 byte[] uid = messageDigest.digest(); 213 String hexUid = Base64.encodeToString(uid, Base64.NO_WRAP); 605 ImapMessage(String uid, ImapFolder folder) { argument 606 mUid = uid;
|
/packages/apps/Email/src/com/android/email/service/ |
H A D | Pop3Service.java | 330 final String uid = message.getUid(); 331 remoteUidMap.put(uid, message); 351 final String uid = message.getUid(); 352 final LocalMessageInfo localMessage = localMessageMap.get(uid); 369 LogUtils.d(Logging.LOG_TAG, "need to sync " + uid); 372 LogUtils.d(Logging.LOG_TAG, "don't need to sync " + uid); 406 String uid = msg.mServerId; 407 Pop3Message popMessage = remoteUidMap.get(uid); 433 LogUtils.e(TAG, "Could not find message for attachment " + uid);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
H A D | AppInfo.java | 120 return mEntry.info.uid;
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
H A D | KeyChainServiceTest.java | 133 Log.d(TAG, "test_KeyChainService uid=" + getApplicationInfo().uid); 204 mSupport.grantAppPermission(getApplicationInfo().uid, alias1); 216 mSupport.revokeAppPermission(getApplicationInfo().uid, alias2);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | DataUsageSummary.java | 810 final int uid = mCurrentApp.key; 811 final UidDetail detail = mUidDetailProvider.getUidDetail(uid, true); 844 final String[] packageNames = pm.getPackagesForUid(uid); 868 new UserHandle(UserHandle.getUserId(uid))); 882 if (UserHandle.isApp(uid) && !mPolicyManager.getRestrictBackground() 950 final int uid = mCurrentApp.key; 951 final int uidPolicy = mPolicyManager.getUidPolicy(uid); 957 final int uid = mCurrentApp.key; 959 uid, restrictBackground ? POLICY_REJECT_METERED_BACKGROUND : POLICY_NONE); 1487 public void addUid(int uid) { argument [all...] |
H A D | UsageAccessSettings.java | 158 if (packageOp.getUid() != pe.packageInfo.applicationInfo.uid) { 334 pe.packageInfo.applicationInfo.uid, pe.packageName, newMode); 351 public void onPackageAdded(String packageName, int uid) { 356 public void onPackageRemoved(String packageName, int uid) {
|
H A D | AppPicker.java | 92 if (ai.uid == Process.SYSTEM_UID) {
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | PowerUsageDetail.java | 114 BatteryStats.Uid uid = entry.sipper.uidObj; 148 uid.getUid()); 155 uid.getUid()); 159 userId = UserHandle.getUserId(uid.getUid()); 287 public static final String EXTRA_UID = "uid"; 544 private void fillControlsSection(int uid) { argument 546 String[] packages = pm.getPackagesForUid(uid); 617 private void fillMessagesSection(int uid) { argument 723 private void fillPackagesSection(int uid) { argument 724 if (uid < [all...] |
/packages/apps/Nfc/nxp/jni/ |
H A D | com_android_nfc_NativeNfcManager.cpp | 638 phNfc_sData_t uid; local 646 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.Uid; 647 uid.length = psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.UidLength; 651 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Iso14443B_Info.AtqB.AtqResInfo.Pupi; 652 uid.length = sizeof(psRemoteDevInfo->RemoteDevInfo.Iso14443B_Info.AtqB.AtqResInfo.Pupi); 655 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Felica_Info.IDm; 656 uid.length = psRemoteDevInfo->RemoteDevInfo.Felica_Info.IDmLength; 659 uid.buffer = psRemoteDevInfo->RemoteDevInfo.Jewel_Info.Uid; 660 uid.length = psRemoteDevInfo->RemoteDevInfo.Jewel_Info.UidLength; 663 uid [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | RunningState.java | 86 // by uid and name. Note that this mapping does not change even across 369 public ProcessItem(Context context, int uid, String processName) { argument 370 super(true, UserHandle.getUserId(uid)); 373 mUid = uid; 385 if (ai.uid == mUid) { 395 // process, try to find something about the uid. 398 // If there is one package with this uid, that is what we want. 412 // for this uid. 465 UserHandle.getUserId(service.uid)); 953 HashMap<String, ProcessItem> procs = mServiceProcessesByName.get(si.uid); [all...] |
H A D | AppOpsState.java | 490 public List<AppOpEntry> buildState(OpsTemplate tpl, int uid, String packageName) { argument 512 pkgs = mAppOps.getOpsForPackage(uid, packageName, tpl.ops); 578 appInfo.packageName, appInfo.applicationInfo.uid, dummyOps);
|
H A D | AppOpsDetails.java | 118 mPackageInfo.applicationInfo.uid, mPackageInfo.packageName);
|
H A D | ManageApplications.java | 1191 nm.setNotificationsEnabledForPackage(app.packageName, app.uid, true); 1212 for (int uid : restrictedUids) { 1214 if (UserHandle.getUserId(uid) == currentUserId) { 1215 if (DEBUG) Log.v(TAG, "Clearing data policy: " + uid); 1216 npm.setUidPolicy(uid, POLICY_NONE);
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
H A D | CalendarUtilities.java | 1468 * Return the uid for an event based on its globalObjId 1470 * @return the uid for the calendar event 1479 // the actual uid is hidden within; the magic substring is never at the start of the 1483 // The uid starts after "vCal-Uidxxxx", where xxxx are padding 1487 // This is an EAS uid. Go through the bytes and write out the hex 1727 * @param uid the unique id of this Event, or null if it can be retrieved from the Event 1732 int messageFlag, String uid, Account account) { 1733 return createMessageForEntity(context, entity, messageFlag, uid, account, 1738 int messageFlag, String uid, Account account, String specifiedAttendee) { 1797 if (uid 1731 createMessageForEntity(Context context, Entity entity, int messageFlag, String uid, Account account) argument 1737 createMessageForEntity(Context context, Entity entity, int messageFlag, String uid, Account account, String specifiedAttendee) argument 2044 createMessageForEventId(Context context, long eventId, int messageFlag, String uid, Account account) argument 2050 createMessageForEventId(Context context, long eventId, int messageFlag, String uid, Account account, String specifiedAttendee) argument [all...] |
/packages/apps/Settings/src/com/android/settings/nfc/ |
H A D | PaymentSettings.java | 184 public void onPackageAdded(String packageName, int uid) { argument 199 public void onPackageRemoved(String packageName, int uid) { argument
|
/packages/apps/Settings/src/com/android/settings/search/ |
H A D | DynamicIndexableContentMonitor.java | 187 public void onPackageAppeared(String packageName, int uid) { argument 193 public void onPackageDisappeared(String packageName, int uid) { argument
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
H A D | CredentialHelper.java | 251 void setInstallAsUid(int uid) { argument 252 mUid = uid;
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | AccessibilitySettings.java | 143 public void onPackageAdded(String packageName, int uid) { 158 public void onPackageRemoved(String packageName, int uid) {
|