Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/wear/
DStreamingPacketFileTest.java156 final int len1 = 11; in onInboundPacket() local
158 final byte[] data = new byte[len1 + len2 + 4]; in onInboundPacket()
159 NetPacketHelpers.encodeNetworkUnsignedInt16(len1, data, 0); in onInboundPacket()
162 data[len1 + 4] = (byte) 2; in onInboundPacket()
181 assertEquals(len1, lenCaptor.getValue().intValue()); in onInboundPacket()
212 final int len1 = 11; in onReadReady_preambleData() local
213 final byte[] data = new byte[preambleLen + 2 + len1]; in onReadReady_preambleData()
214 NetPacketHelpers.encodeNetworkUnsignedInt16(len1, data, preambleLen); in onReadReady_preambleData()
240 assertEquals(len1, lenCaptor.getValue().intValue()); in onReadReady_preambleData()
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_utils.cc1072 bool sdpu_compare_uuid_arrays(const uint8_t* p_uuid1, uint32_t len1, in sdpu_compare_uuid_arrays() argument
1077 if (((len1 != 2) && (len1 != 4) && (len1 != 16)) || in sdpu_compare_uuid_arrays()
1084 if (len1 == len2) { in sdpu_compare_uuid_arrays()
1085 if (len1 == 2) in sdpu_compare_uuid_arrays()
1087 if (len1 == 4) in sdpu_compare_uuid_arrays()
1091 return (memcmp(p_uuid1, p_uuid2, (size_t)len1) == 0); in sdpu_compare_uuid_arrays()
1092 } else if (len1 > len2) { in sdpu_compare_uuid_arrays()
1094 if (len1 == 4) { in sdpu_compare_uuid_arrays()
1120 if (len1 == 4) in sdpu_compare_uuid_arrays()
1121 memcpy(nu1, p_uuid1, (size_t)len1); in sdpu_compare_uuid_arrays()
[all …]
Dsdpint.h275 bool sdpu_compare_uuid_arrays(const uint8_t* p_uuid1, uint32_t len1,
/packages/modules/Connectivity/tests/cts/net/native/dns/
DNativeDnsAsyncTest.cpp132 int len1 = res_mkquery(ns_o_query, "www.googleapis.com", in TEST_F() local
134 EXPECT_GT(len1, 0); in TEST_F()
141 int fd1 = android_res_nsend(NETWORK_UNSPECIFIED, buf1, len1, 0); in TEST_F()
152 len1 = res_mkquery(ns_o_query, "www.googleapis.com", in TEST_F()
154 EXPECT_GT(len1, 0); in TEST_F()
159 fd1 = android_res_nsend(NETWORK_UNSPECIFIED, buf1, len1, 0); in TEST_F()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/async/
DBufferedFile.java208 byte[] data1, int pos1, int len1, in enqueueOutboundData() argument
210 Assertions.throwsIfOutOfBounds(data1, pos1, len1); in enqueueOutboundData()
213 final int totalLen = len1 + len2; in enqueueOutboundData()
223 mOutboundBuffer.writeBytes(data1, pos1, len1); in enqueueOutboundData()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp198 int len1 = makeQuery(kGoogleName, ns_t_a, buf1, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() local
199 EXPECT_GT(env, len1, 0, "v4 res_mkquery 1st"); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
205 int fd1 = android_res_nsend(handle, buf1, len1, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
218 len1 = makeQuery(kGoogleName, ns_t_aaaa, buf1, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
219 EXPECT_GT(env, len1, 0, "v6 res_mkquery 1st"); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
223 fd1 = android_res_nsend(handle, buf1, len1, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DGeometry.h106 double len1 = sqrt(dx * dx + dy * dy); in FindTriangleCentroid() local
120 mass = len1 * sqrt(dx * dx + dy * dy); in FindTriangleCentroid()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalSource.java252 int len1 = s1.length(); in compare() local
254 if (len1 < len2) { in compare()
256 } else if (len1 > len2) { in compare()
/packages/services/Telephony/src/com/android/phone/
DChangeIccPinScreen.java188 int len1 = p1.length(); in validateNewPin() local
190 if (len1 < MIN_PIN_LENGTH || len1 > MAX_PIN_LENGTH) { in validateNewPin()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_utils.cc757 uint16_t len, cfg_len, buf_space, len1; in l2cu_send_peer_config_rej() local
766 len1 = 0xFFFF - len; in l2cu_send_peer_config_rej()
767 if (rej_len > len1) { in l2cu_send_peer_config_rej()
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Djackson-core-2.11.1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE META-INF ...
/packages/apps/TV/libs/m2/
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...