Home
last modified time | relevance | path

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

/packages/services/Car/tools/ioanalyze/
Danalyzer.py25 self.uids = {}
41 self.uids[uid] = snapshot
155 self.uids = {}
172 for uid in snapshot.uids:
173 if uid not in self.uids: self.uids[uid] = UserActivity(uid)
174 self.uids[uid].addSnapshot(snapshot.uids[uid])
181 return sorted(self.uids.values(), key=f, reverse=True)
186 A = [(K, self.uids[K].totalWrittenBytes) for K in self.uids]
210 def __init__(self, uids): argument
211 self.uids = uids
[all …]
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapFolder.java383 final ArrayList<String> uids = new ArrayList<String>(); in getSearchUids() local
392 uids.add(s.getString()); in getSearchUids()
396 return uids.toArray(Utility.EMPTY_STRINGS); in getSearchUids()
445 final String[] uids = searchForUids(ImapConstants.UID + " " + uid); in getMessage() local
446 for (int i = 0; i < uids.length; i++) { in getMessage()
447 if (uids[i].equals(uid)) { in getMessage()
559 String [] uids = null; in getMessages() local
564 uids = searchForUids(command.toString(), false); in getMessages()
575 uids = searchForUids(command, true); in getMessages()
578 uids = null; in getMessages()
[all …]
DPop3Store.java528 public Message[] getMessages(String[] uids, MessageRetrievalListener listener) { in getMessages() argument
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java154 final ArrayList<String> uids = new ArrayList<String>(); in getSearchUids() local
163 uids.add(s.getString()); in getSearchUids()
167 return uids.toArray(Utility.EMPTY_STRINGS); in getSearchUids()
196 final String[] uids = searchForUids(ImapConstants.UID + " " + uid); in getMessage() local
197 for (int i = 0; i < uids.length; i++) { in getMessage()
198 if (uids[i].equals(uid)) { in getMessage()
216 public Message[] getMessages(String[] uids) throws MessagingException { in getMessages() argument
217 if (uids == null) { in getMessages()
218 uids = searchForUids("1:* NOT DELETED"); in getMessages()
220 return getMessagesInternal(uids); in getMessages()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java118 appItem.uids.put(uid, true); in onCreate_appUid_shouldGetAppLabelFromAppInfo()
149 appItem.uids.put(uid, true); in onCreate_notAppUid_shouldGetAppLabelFromUidDetailProvider()
316 final List<Integer> uids = loader.getUids(); in onCreateLoader_categoryApp_shouldQueryDataUsageUsingAppKey() local
317 assertThat(uids).hasSize(1); in onCreateLoader_categoryApp_shouldQueryDataUsageUsingAppKey()
318 assertThat(uids.get(0)).isEqualTo(testUid); in onCreateLoader_categoryApp_shouldQueryDataUsageUsingAppKey()
341 final List<Integer> uids = loader.getUids(); in onCreateLoader_categoryUser_shouldQueryDataUsageUsingAssociatedUids() local
342 assertThat(uids).hasSize(3); in onCreateLoader_categoryUser_shouldQueryDataUsageUsingAssociatedUids()
343 assertThat(uids.get(0)).isEqualTo(123); in onCreateLoader_categoryUser_shouldQueryDataUsageUsingAssociatedUids()
344 assertThat(uids.get(1)).isEqualTo(456); in onCreateLoader_categoryUser_shouldQueryDataUsageUsingAssociatedUids()
345 assertThat(uids.get(2)).isEqualTo(789); in onCreateLoader_categoryUser_shouldQueryDataUsageUsingAssociatedUids()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpNativeInterface.java163 void sendFolderUpdate(boolean availablePlayers, boolean addressedPlayers, boolean uids) { in sendFolderUpdate() argument
166 + " uids=" + uids); in sendFolderUpdate()
167 sendFolderUpdateNative(availablePlayers, addressedPlayers, uids); in sendFolderUpdate()
241 boolean availablePlayers, boolean addressedPlayers, boolean uids); in sendFolderUpdateNative() argument
DMediaPlayerList.java107 void run(boolean availablePlayers, boolean addressedPlayers, boolean uids); in run() argument
510 boolean uids) { in sendFolderUpdate() argument
516 mCallback.run(availablePlayers, addressedPlayers, uids); in sendFolderUpdate()
DAvrcpTargetService.java85 boolean uids) { in run() argument
86 mNativeInterface.sendFolderUpdate(availablePlayers, addressedPlayers, uids); in run()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DAppDataUsage.java138 for (int i = 0; i < mAppItem.uids.size(); i++) { in onCreate()
139 addUid(mAppItem.uids.keyAt(i)); in onCreate()
398 for (int i = 0; i < mAppItem.uids.size(); i++) {
399 builder.addUid(mAppItem.uids.keyAt(i));
468 if (mAppItem.uids.get(uid, false)) { in onWhitelistStatusChanged()
475 if (mAppItem.uids.get(uid, false)) { in onBlacklistStatusChanged()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsage.java138 for (int i = 0; i < mAppItem.uids.size(); i++) { in onCreate()
139 addUid(mAppItem.uids.keyAt(i)); in onCreate()
398 for (int i = 0; i < mAppItem.uids.size(); i++) {
399 builder.addUid(mAppItem.uids.keyAt(i));
468 if (mAppItem.uids.get(uid, false)) { in onWhitelistStatusChanged()
475 if (mAppItem.uids.get(uid, false)) { in onBlacklistStatusChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcStatsData.java315 SparseArray<LongSparseArray<ProcessStats.PackageState>> uids = mStats.mPackages.getMap() in getProcs() local
317 for (int iu = 0; iu < uids.size(); iu++) { in getProcs()
318 LongSparseArray<ProcessStats.PackageState> vpkgs = uids.valueAt(iu); in getProcs()
325 uids.keyAt(iu)); in getProcs()
328 + "/" + ss.getName() + "/" + uids.keyAt(iu) in getProcs()
333 + uids.keyAt(iu) + " for service " + ss.getName()); in getProcs()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsData.java315 SparseArray<LongSparseArray<ProcessStats.PackageState>> uids = mStats.mPackages.getMap() in getProcs() local
317 for (int iu = 0; iu < uids.size(); iu++) { in getProcs()
318 LongSparseArray<ProcessStats.PackageState> vpkgs = uids.valueAt(iu); in getProcs()
325 uids.keyAt(iu)); in getProcs()
328 + "/" + ss.getName() + "/" + uids.keyAt(iu) in getProcs()
333 + uids.keyAt(iu) + " for service " + ss.getName()); in getProcs()
/packages/apps/Nfc/src/com/android/nfc/
DForegroundUtils.java105 ArrayList<Integer> uids = new ArrayList<Integer>(mForegroundUidPids.size()); in getForegroundUids() local
108 uids.add(mForegroundUidPids.keyAt(i)); in getForegroundUids()
111 return uids; in getForegroundUids()
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
DMockFolder.java83 public Message[] getMessages(String[] uids, MessageRetrievalListener listener) { in getMessages() argument
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DFolder.java131 public abstract Message[] getMessages(String[] uids, MessageRetrievalListener listener) in getMessages() argument
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_target.cpp245 jboolean addressed_player, jboolean uids) { in sendFolderUpdateNative() argument
255 uids == JNI_TRUE); in sendFolderUpdateNative()