Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/cts/
DWorkSourceTest.java41 private WorkSource wsNew(int[] uids) { in wsNew() argument
43 for (int i=0; i<uids.length; i++) { in wsNew()
44 ws.add(uids[i]); in wsNew()
46 checkWorkSource("Constructed", ws, uids); in wsNew()
50 private WorkSource wsNew(int[] uids, String[] names) { in wsNew() argument
52 for (int i=0; i<uids.length; i++) { in wsNew()
53 ws.add(uids[i], names[i]); in wsNew()
55 checkWorkSource("Constructed", ws, uids, names); in wsNew()
67 private void printArrays(StringBuilder sb, int[] uids, String[] names) { in printArrays() argument
69 for (int i=0; i<uids.length; i++) { in printArrays()
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java815 final ArrayMap<Integer, Integer> uids = new ArrayMap<>(); in testInstallWithIdSigNoDigesting() local
873 Integer touchedByUid = uids.get(uid); in testInstallWithIdSigNoDigesting()
874 uids.put(uid, touchedByUid == null ? 1 : touchedByUid + 1); in testInstallWithIdSigNoDigesting()
901 AppReads[] appIdReads = new AppReads[uids.size()]; in testInstallWithIdSigNoDigesting()
902 for (int i = 0, size = uids.size(); i < size; ++i) { in testInstallWithIdSigNoDigesting()
903 final int uid = uids.keyAt(i); in testInstallWithIdSigNoDigesting()
918 appIdReads[i] = new AppReads(packageName, uids.valueAt(i)); in testInstallWithIdSigNoDigesting()
DPackageManagerTest.java1037 final int[] uids = new int[]{ in testGetNamesForUids_valid() local
1043 result = mPackageManager.getNamesForUids(uids); in testGetNamesForUids_valid()
2784 final int[] uids = new int[]{Process.toSdkSandboxUid(10101)}; in testGetNamesForUids_sdkSandboxUids() local
2785 final String[] names = pm.getNamesForUids(uids); in testGetNamesForUids_sdkSandboxUids()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingManagerTest.java859 List<Integer> uids = session.getClientUids(); in testAddingClientUids() local
860 assertTrue(uids.size() == 4); // At least 4 uid included the original request uid. in testAddingClientUids()
861 assertTrue(uids.contains(1898)); in testAddingClientUids()
862 assertTrue(uids.contains(1899)); in testAddingClientUids()
863 assertTrue(uids.contains(1900)); in testAddingClientUids()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java805 int[] uids = {1234, appInfo.uid}; in testWriteRawTestAtom() local
817 StatsLogStatsdCts.write(StatsLogStatsdCts.TEST_ATOM_REPORTED, uids, tags, 42, in testWriteRawTestAtom()
852 int[] uids = {1234, appInfo.uid}; in testWriteExtensionTestAtom() local
864 StatsLogStatsdCts.write(StatsLogStatsdCts.TEST_EXTENSION_ATOM_REPORTED, uids, tags, 42, in testWriteExtensionTestAtom()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioManagerTest.java2465 int[] uids = mAudioManager.getAssistantServicesUids(); in testAssistantUidRouting() local