Home
last modified time | relevance | path

Searched refs:len1 (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/net/jni/
DNativeMultinetworkJni.cpp186 int len1 = makeQuery(kGoogleName, ns_t_a, buf1, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() local
187 EXPECT_GT(env, len1, 0, "v4 res_mkquery 1st"); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
193 int fd1 = android_res_nsend(handle, buf1, len1, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
205 len1 = makeQuery(kNxDomainName, ns_t_a, buf1, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
206 EXPECT_GT(env, len1, 0, "v4 res_mkquery NXDOMAIN"); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
207 fd1 = android_res_nsend(handle, buf1, len1, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
215 len1 = makeQuery(kGoogleName, ns_t_aaaa, buf1, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
216 EXPECT_GT(env, len1, 0, "v6 res_mkquery 1st"); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
220 fd1 = android_res_nsend(handle, buf1, len1, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
232 len1 = makeQuery(kNxDomainName, ns_t_aaaa, buf1, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
[all …]
/cts/suite/audio_quality/test_description/processing/
Dcalc_delay.py41 len1 = len(data1)
42 if len1 > len0:
45 searchLen = len0 - len1
/cts/tests/tests/net/native/dns/
DNativeDnsAsyncTest.cpp129 int len1 = res_mkquery(ns_o_query, "www.googleapis.com", in TEST() local
131 EXPECT_GT(len1, 0); in TEST()
138 int fd1 = android_res_nsend(NETWORK_UNSPECIFIED, buf1, len1, 0); in TEST()
149 len1 = res_mkquery(ns_o_query, "www.googleapis.com", in TEST()
151 EXPECT_GT(len1, 0); in TEST()
156 fd1 = android_res_nsend(NETWORK_UNSPECIFIED, buf1, len1, 0); in TEST()
/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java836 static byte[] concat(byte[] arr1, int offset1, int len1, in concat() argument
838 if (len1 == 0) { in concat()
841 return subarray(arr1, offset1, len1); in concat()
843 byte[] result = new byte[len1 + len2]; in concat()
844 if (len1 > 0) { in concat()
845 System.arraycopy(arr1, offset1, result, 0, len1); in concat()
848 System.arraycopy(arr2, offset2, result, len1, len2); in concat()
DBlockCipherTestBase.java1554 protected static boolean equals(byte[] arr1, int offset1, int len1, byte[] arr2, int offset2, in equals() argument
1561 if (len1 != len2) { in equals()
1564 for (int i = 0; i < len1; i++) { in equals()