Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 13 of 13) sorted by relevance

/cts/hostsidetests/security/src/android/security/cts/
DSELinuxHostTest.java983 private void assertDomainEmpty(String domain) throws DeviceNotAvailableException { in assertDomainEmpty() argument
984 List<ProcessDetails> procs = ProcessDetails.getProcMap(mDevice).get(domain); in assertDomainEmpty()
985 String msg = "Expected no processes in SELinux domain \"" + domain + "\"" in assertDomainEmpty()
999 …private void assertDomainOne(String domain, String executable) throws DeviceNotAvailableException { in assertDomainOne() argument
1000 List<ProcessDetails> procs = ProcessDetails.getProcMap(mDevice).get(domain); in assertDomainOne()
1002 String msg = "Expected 1 process in SELinux domain \"" + domain + "\"" in assertDomainOne()
1007 msg = "Expected executable \"" + executable + "\" in SELinux domain \"" + domain + "\"" in assertDomainOne()
1016 msg = "Expected executable \"" + executable + "\" in SELinux domain \"" + domain + "\"" in assertDomainOne()
1018 assertEquals(msg, domain, exeProcs.get(0).label); in assertDomainOne()
1031 private void assertDomainZeroOrOne(String domain, String executable) in assertDomainZeroOrOne() argument
[all …]
/cts/apps/CameraITS/tests/scene1/
Dtest_param_color_correction.py97 domain = range(len(transforms))
98 pylab.plot(domain, r_means, '-ro')
99 pylab.plot(domain, g_means, '-go')
100 pylab.plot(domain, b_means, '-bo')
/cts/tests/tests/net/src/android/net/cts/
DIpSecBaseTest.java97 int domain; in getDomain() local
99 domain = OsConstants.AF_INET6; in getDomain()
101 domain = OsConstants.AF_INET; in getDomain()
103 return domain; in getDomain()
340 int domain = getDomain(localAddr); in getNativeUdpSocketPair() local
343 Os.socket(domain, OsConstants.SOCK_DGRAM, OsConstants.IPPROTO_UDP)); in getNativeUdpSocketPair()
345 Os.socket(domain, OsConstants.SOCK_DGRAM, OsConstants.IPPROTO_UDP)); in getNativeUdpSocketPair()
362 int domain = getDomain(localAddr); in getNativeTcpSocketPair() local
365 Os.socket(domain, OsConstants.SOCK_STREAM, OsConstants.IPPROTO_TCP)); in getNativeTcpSocketPair()
367 Os.socket(domain, OsConstants.SOCK_STREAM, OsConstants.IPPROTO_TCP)); in getNativeTcpSocketPair()
/cts/tests/tests/os/assets/minijail/
Disolated-common-not-i386.policy33 # socket: domain==AF_UNIX && protocol == 0
36 # socketpair: domain==AF_UNIX
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/
Dlocal_poc.h50 uint32_t domain; member
73 uint32_t domain; member
173 uint32_t domain; member
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp215 XAuint32 domain; in StreamChangeCallback() local
216 res = (*caller)->QueryStreamType(caller, streamIndex, &domain); in StreamChangeCallback()
218 switch (domain) { in StreamChangeCallback()
228 ALOGE("Unexpected domain %u\n", domain); in StreamChangeCallback()
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java972 String domain = ""; in testAddLinks_email_matchesDomainUpTo255Chars() local
973 while (domain.length() <= 250) { in testAddLinks_email_matchesDomainUpTo255Chars()
974 domain += "d."; in testAddLinks_email_matchesDomainUpTo255Chars()
976 domain += "com"; in testAddLinks_email_matchesDomainUpTo255Chars()
977 assertEquals(255, domain.length()); in testAddLinks_email_matchesDomainUpTo255Chars()
978 String email = "a@" + domain; in testAddLinks_email_matchesDomainUpTo255Chars()
980 domain.length(), email); in testAddLinks_email_matchesDomainUpTo255Chars()
984 domain.length(), email); in testAddLinks_email_matchesDomainUpTo255Chars()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/
Dlocal_poc.h102 uint32_t domain; member
112 uint32_t domain; member
150 uint32_t domain; member
Dpoc.c54 new_arg.info.domain = NOUVEAU_GEM_DOMAIN_GART; in nouveau_gem_ioctl_new()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java491 public static boolean hasCodecForDomain(boolean encoder, String domain) { in hasCodecForDomain() argument
498 if (type.toLowerCase().startsWith(domain.toLowerCase() + "/")) { in hasCodecForDomain()
507 public static boolean checkCodecForDomain(boolean encoder, String domain) { in checkCodecForDomain() argument
508 return check(hasCodecForDomain(encoder, domain), in checkCodecForDomain()
509 "no " + domain + (encoder ? " encoder" : " decoder") + " found"); in checkCodecForDomain()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java570 public static boolean hasCodecForDomain(boolean encoder, String domain) { in hasCodecForDomain() argument
577 if (type.toLowerCase().startsWith(domain.toLowerCase() + "/")) { in hasCodecForDomain()
586 public static boolean checkCodecForDomain(boolean encoder, String domain) { in checkCodecForDomain() argument
587 return check(hasCodecForDomain(encoder, domain), in checkCodecForDomain()
588 "no " + domain + (encoder ? " encoder" : " decoder") + " found"); in checkCodecForDomain()
/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java487 protected void verifyAssistStructureHasWebDomain(String domain) { in verifyAssistStructureHasWebDomain() argument
489 return n.getWebDomain() != null && domain.equals(n.getWebDomain()); in verifyAssistStructureHasWebDomain()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DPhoneStateListenerTest.java1131 int domain, int causeCode, int additionalCauseCode) { in testOnRegistrationFailed()