Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageSummary.java148 Uid uid = sipper.uidObj; in onPreferenceTreeClick() local
162 uid != null? uid.getTcpBytesSent(mStatsType) : 0, in onPreferenceTreeClick()
163 uid != null? uid.getTcpBytesReceived(mStatsType) : 0, in onPreferenceTreeClick()
573 BatterySipper(String label, DrainType drainType, int iconId, Uid uid, double[] values) { in BatterySipper() argument
581 if ((label == null || iconId == 0) && uid != null) { in BatterySipper()
582 getQuickNameIconForUid(uid); in BatterySipper()
584 uidObj = uid; in BatterySipper()
605 final int uid = uidObj.getUid(); in getQuickNameIconForUid() local
606 final String uidString = Integer.toString(uid); in getQuickNameIconForUid()
616 String[] packages = pm.getPackagesForUid(uid); in getQuickNameIconForUid()
[all …]
DPowerUsageDetail.java246 private void fillControlsSection(int uid) { in fillControlsSection() argument
248 String[] packages = pm.getPackagesForUid(uid); in fillControlsSection()
337 private void fillPackagesSection(int uid) { in fillPackagesSection() argument
338 if (uid < 1) { in fillPackagesSection()
348 mPackages = pm.getPackagesForUid(uid); in fillPackagesSection()
/packages/apps/Settings/src/com/android/settings/battery_history/
DBatteryHistory.java173 void getNameForUid(int uid) { in getNameForUid() argument
175 mPackages = pm.getPackagesForUid(uid); in getNameForUid()
177 mName = Integer.toString(uid); in getNameForUid()
195 mName = getString(R.string.battery_history_uid, uid); // Default name in getNameForUid()
221 public CpuUsage(int uid, String process, long userTime, long systemTime, in CpuUsage() argument
223 getNameForUid(uid); in CpuUsage()
270 public NetworkUsage(int uid, long received, long sent) { in NetworkUsage() argument
271 getNameForUid(uid); in NetworkUsage()
325 public SensorUsage(int uid, long time, int count, long totalRealtime) { in SensorUsage() argument
326 getNameForUid(uid); in SensorUsage()
[all …]
/packages/apps/Email/tests/src/com/android/email/mail/
DMockFolder.java63 public Message getMessage(String uid) { in getMessage() argument
121 public Message createMessage(String uid) { in createMessage() argument
/packages/apps/Email/src/com/android/email/mail/store/
DPop3Store.java353 public Message getMessage(String uid) throws MessagingException { in getMessage() argument
365 Pop3Message message = mUidToMsgMap.get(uid); in getMessage()
461 for (String uid : uids) { in indexUids()
462 if (mUidToMsgMap.get(uid) == null) { in indexUids()
463 unindexedUids.add(uid); in indexUids()
932 public Message createMessage(String uid) throws MessagingException { in createMessage() argument
933 return new Pop3Message(uid, this); in createMessage()
938 public Pop3Message(String uid, Pop3Folder folder) throws MessagingException { in Pop3Message() argument
939 mUid = uid; in Pop3Message()
DImapStore.java527 public Message getMessage(String uid) throws MessagingException { in getMessage() argument
533 … mConnection.executeSimpleCommand(String.format("UID SEARCH UID %S", uid)); in getMessage()
537 if (uid.equals(response.get(i))) { in getMessage()
538 return new ImapMessage(uid, this); in getMessage()
691 String uid = fetchList.getKeyedString("UID"); in fetch() local
693 Message message = messageMap.get(uid); in fetch()
696 listener.messageStarted(uid, messageNumber++, messageMap.size()); in fetch()
1119 public Message createMessage(String uid) throws MessagingException { in createMessage() argument
1120 return new ImapMessage(uid, this); in createMessage()
1275 ImapMessage(String uid, Folder folder) throws MessagingException { in ImapMessage() argument
[all …]
DLocalStore.java947 public Message getMessage(String uid) throws MessagingException { in getMessage() argument
949 LocalMessage message = new LocalMessage(uid, this); in getMessage()
1009 for (String uid : uids) { in getMessages()
1010 messages.add(getMessage(uid)); in getMessages()
1134 String uid = message.getUid(); in appendMessages() local
1135 if (uid == null) { in appendMessages()
1459 private void deleteAttachments(String uid) throws MessagingException { in deleteAttachments() argument
1467 new String[] { Long.toString(mFolderId), uid }, in deleteAttachments()
1591 public Message createMessage(String uid) throws MessagingException { in createMessage() argument
1592 return new LocalMessage(uid, this); in createMessage()
[all …]
/packages/apps/Email/src/com/android/email/mail/
DMessage.java39 public void setUid(String uid) { in setUid() argument
40 this.mUid = uid; in setUid()
DFolder.java101 public abstract Message getMessage(String uid) throws MessagingException; in getMessage() argument
186 public abstract Message createMessage(String uid) throws MessagingException; in createMessage() argument
DMessageRetrievalListener.java20 public void messageStarted(String uid, int number, int ofTotal); in messageStarted() argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java240 public String[] getPackagesForUid(int uid) { in getPackagesForUid() argument
247 Integer uid = mReverse.get(packageName); in getApplicationInfo() local
248 info.uid = (uid != null) ? uid : -1; in getApplicationInfo()
/packages/apps/Settings/src/com/android/settings/
DRunningServices.java182 public ProcessItem(Context context, int uid, String processName) { in ProcessItem() argument
186 mUid = uid; in ProcessItem()
197 if (ai.uid == mUid) { in ensureLabel()
421 HashMap<String, ProcessItem> procs = mProcesses.get(si.uid); in update()
424 mProcesses.put(si.uid, procs); in update()
429 proc = new ProcessItem(context, si.uid, si.process); in update()
467 proc = new ProcessItem(context, pi.uid, pi.processName); in update()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java298 int uid = Binder.getCallingUid(); in insert() local
300 if (uid == 0 || in insert()
301 getContext().getPackageManager().getApplicationInfo(pckg, 0).uid == uid) { in insert()
/packages/apps/Email/src/com/android/email/activity/
DFolderMessageList.java286 if (message.uid.equals(oldUid)) { in handleMessage()
287 message.uid = newUid; in handleMessage()
826 folderUids.add(holder.uid); in onOpenMessage()
879 mAdapter.removeMessage(holder.message.getFolder().getName(), holder.uid); in onDelete()
1645 if (message.uid.equals(messageUid)) { in getMessage()
1911 public String uid; field in FolderMessageList.MessageInfoHolder
1946 this.uid = message.getUid(); in populate()
/packages/apps/Email/src/com/android/email/
DMessagingController.java680 public void messageStarted(String uid, int number, int ofTotal) { in synchronizeMailboxGeneric() argument
815 public void messageStarted(String uid, int number, int ofTotal) { in synchronizeMailboxGeneric() argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java1448 return clientInfo.uid; in getUidForPackageName()