Home
last modified time | relevance | path

Searched refs:pids (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-5862/
Dpoc.c39 lst.pids = calloc(NUM_BLOCKS, sizeof(struct snd_ctl_elem_id)); in get_speakerid()
46 if (!strncmp((const char *)lst.pids[i].name, SPEAKER, in get_speakerid()
48 id = lst.pids[i].numid; in get_speakerid()
52 free(lst.pids); in get_speakerid()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-5867/
Dpoc.c41 lst.pids = calloc(NUM_BLOCKS, sizeof(struct snd_ctl_elem_id)); in get_doblycontrolid()
48 if (!strncmp((const char *)lst.pids[i].name, DOLBY_SET_PARAM, in get_doblycontrolid()
50 id = lst.pids[i].numid; in get_doblycontrolid()
54 free(lst.pids); in get_doblycontrolid()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileCrossProfileTest.java459 Map<String, List<String>> pids = new HashMap<>(); in getPackagesPids() local
461 pids.put(packageName, Arrays.asList(getAppPid(packageName).split(" "))); in getPackagesPids()
463 return pids; in getPackagesPids()
479 private void assertAppRunningInBothProfiles(String packageName, List<String> pids) in assertAppRunningInBothProfiles() argument
483 assertThat(currentPids).containsAtLeastElementsIn(pids); in assertAppRunningInBothProfiles()
486 private void assertAppKilledInBothProfiles(String packageName, List<String> pids) in assertAppKilledInBothProfiles() argument
490 assertThat(currentPids).containsNoneIn(pids); in assertAppKilledInBothProfiles()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DTestBase.kt410 val pids = SystemUtil.runShellCommand("pgrep $name").trim().split("\\s+".toRegex()) in setSystemProp() constant
411 for (pid: String in pids) { in setSystemProp()