Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 9 of 9) sorted by relevance

/cts/tools/manifest-generator/src/com/android/compatibility/common/generator/
DManifestGenerator.java122 final String ns = null; in generate() local
127 serializer.startTag(ns, MANIFEST); in generate()
128 serializer.attribute(ns, "xmlns:android", "http://schemas.android.com/apk/res/android"); in generate()
129 serializer.attribute(ns, "package", pkgName); in generate()
130 serializer.startTag(ns, USES_SDK); in generate()
131 serializer.attribute(ns, "android:minSdkVersion", minSdk); in generate()
133 serializer.attribute(ns, "android:targetSdkVersion", targetSdk); in generate()
135 serializer.endTag(ns, USES_SDK); in generate()
137 serializer.startTag(ns, USES_PERMISSION); in generate()
138 serializer.attribute(ns, "android:name", permission); in generate()
[all …]
/cts/tests/tests/identity/src/android/security/identity/cts/
DProvisioningTest.java617 String ns = "org.iso.18013-5.2019"; in testProvisionAndRetrieve() local
618 assertEquals("Alan", Util.getStringEntry(rd, ns, "First name")); in testProvisionAndRetrieve()
619 assertEquals("Turing", Util.getStringEntry(rd, ns, "Last name")); in testProvisionAndRetrieve()
620 assertEquals("Maida Vale, London, England", Util.getStringEntry(rd, ns, "Home address")); in testProvisionAndRetrieve()
621 assertEquals("19120623", Util.getStringEntry(rd, ns, "Birth date")); in testProvisionAndRetrieve()
622 assertEquals(true, Util.getBooleanEntry(rd, ns, "Cryptanalyst")); in testProvisionAndRetrieve()
624 Util.getBytestringEntry(rd, ns, "Portrait image")); in testProvisionAndRetrieve()
625 assertEquals(180, Util.getIntegerEntry(rd, ns, "Height")); in testProvisionAndRetrieve()
626 assertEquals(-42, Util.getIntegerEntry(rd, ns, "Neg Item")); in testProvisionAndRetrieve()
627 assertEquals(0x101, Util.getIntegerEntry(rd, ns, "Int Two Bytes")); in testProvisionAndRetrieve()
[all …]
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioPreProcessingTest.java57 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_1NsCreateAndRelease() local
59 isAvailable == (ns != null)); in test1_1NsCreateAndRelease()
60 if (ns != null) { in test1_1NsCreateAndRelease()
61 ns.release(); in test1_1NsCreateAndRelease()
83 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_2NsSetEnabledGetEnabled() local
84 assertNotNull("could not create NoiseSupressor", ns); in test1_2NsSetEnabledGetEnabled()
86 ns.setEnabled(true); in test1_2NsSetEnabledGetEnabled()
87 assertTrue("invalid state from getEnabled", ns.getEnabled()); in test1_2NsSetEnabledGetEnabled()
88 ns.setEnabled(false); in test1_2NsSetEnabledGetEnabled()
89 assertFalse("invalid state to getEnabled", ns.getEnabled()); in test1_2NsSetEnabledGetEnabled()
[all …]
/cts/tests/tests/security/jni/
Dandroid_security_cts_EncryptionTest.cpp35 static inline uint64_t ns() in ns() function
75 uint64_t t = ns(); in android_security_cts_EncryptionTest_aesIsFast()
81 t = ns() - t; in android_security_cts_EncryptionTest_aesIsFast()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathInBandTestCase.java202 WifiAwareNetworkSpecifier ns = nsBuilder.build(); in executeTestSubscriber() local
203 if (ns.getChannelFrequencyMhz() != CHANNEL_IN_MHZ || !ns.isChannelRequired()) { in executeTestSubscriber()
440 WifiAwareNetworkSpecifier ns = nsBuilder.build(); in executeTestPublisher() local
441 if (ns.getChannelFrequencyMhz() != CHANNEL_IN_MHZ || !ns.isChannelRequired()) { in executeTestPublisher()
/cts/tests/tests/security/res/raw/
Ddrm_uaf.dm168 �y �9 쁽��s�<�����#�"� I��=�ns�*{���瑐<�'-���J{�U��ϳ�K'MؠX�D��<�5�������"��V
Dcve_2019_2245.ts3184 …[��oU%Л��KJiT�@���1f-˨[AzbQ�I8 r-�D�YK}�_2���,l?Կ{4~�x��`.�K�V�C~�"ns�.v2�&�D��8D����ܦ�rv�…
3368 26�܍[��[�s�ӛ���5˜�Zǰ鰥n�7Z�ns���J�8�����Uw6�JFG�1�B�������; e�l.���kW#����mn\zF�݈�χn`{f�۲?…
Dcve_2018_13925.ts3185 …[��oU%Л��KJiT�@���1f-˨[AzbQ�I8 r-�D�YK}�_2���,l?Կ{4~�x��`.�K�V�C~�"ns�.v2�&�D��8D����ܦ�rv�…
Dcve_2019_2244.ts3186 …[��oU%Л��KJiT�@���1f-˨[AzbQ�I8 r-�D�YK}�_2���,l?Կ{4~�x��`.�K�V�C~�"ns�.v2�&�D��8D����ܦ�rv�…