Home
last modified time | relevance | path

Searched refs:len (Results 1 – 16 of 16) sorted by relevance

/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/
DGrpcAudioCaptureStream.java159 public int read(byte[] b, int off, int len) throws IOException { in read() argument
165 return mInputStream.read(b, off, len); in read()
235 public int read(short[] samples, int offset, int len) throws IOException { in read() argument
240 if (len < 0 || len + offset > samples.length) { in read()
253 if (len == 0) { in read()
260 byte[] buffer = new byte[len * BYTES_PER_SAMPLE_16BIT * getAudioFormat().getChannels()]; in read()
/platform_testing/tests/bettertogether/quickstart/performance_test/
Dnc_base_test.py243 success_count = len(filtered)
247 average_kbps = round(sum(filtered) / len(filtered))
249 int(len(filtered) * nc_constants.PERCENTILE_50_FACTOR)
252 int(len(filtered) * nc_constants.PERCENTILE_95_FACTOR)
302 sum(filtered) / len(filtered), nc_constants.LATENCY_PRECISION_DIGITS
307 filtered[int(len(filtered) * nc_constants.PERCENTILE_50_FACTOR)],
311 filtered[int(len(filtered) * nc_constants.PERCENTILE_95_FACTOR)],
316 average, percentile_50, percentile_95, n - len(filtered)
/platform_testing/tests/bettertogether/betocq/
Diperf_utils.py78 if len(owner_addr) > GROUP_OWNER_IPV4_ADDR_LEN_MAX:
125 if len(ip_addr) > GROUP_OWNER_IPV4_ADDR_LEN_MAX:
129 if len(ip_addr) > GROUP_OWNER_IPV4_ADDR_LEN_MAX:
133 if len(ip_addr) > GROUP_OWNER_IPV4_ADDR_LEN_MAX:
202 return string[left_index + len(prefix): right_index].strip()
Dd2d_performance_test_base.py709 len(filtered),
710 self.__convert_kbps_to_mbps(filtered[len(filtered) - 1]),
712 filtered[int(len(filtered) * nc_constants.PERCENTILE_50_FACTOR)]
732 filtered[int(len(filtered) * nc_constants.PERCENTILE_50_FACTOR)],
736 len(filtered),
740 filtered[len(filtered) - 1], nc_constants.LATENCY_PRECISION_DIGITS
Dsetup_utils.py506 return int(string[left_index + len(prefix): right_index].strip())
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/core/
DAudioCaptureStream.java44 public abstract int read(short[] samples, int offset, int len) throws IOException; in read() argument
/platform_testing/tests/example/mobly_multidevice/
Dmultidevice_test.py34 assert len(self.ads) == 2, "Failed to get multiple devices"
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/service/
DCaptureChunkStreamObserverOutputStream.java124 public void write(byte[] b, int off, int len) { in write() argument
130 ByteString chunkBytes = ByteString.copyFrom(b, off, len); in write()
/platform_testing/tools/automotive/proxy/
Dproxy.cpp151 int len = sizeof(addr); in setupRoute() local
155 reinterpret_cast<socklen_t*>(&len))) < 0) { in setupRoute()
/platform_testing/tests/automotive/mobly_tests/utilities/
Dmedia_utils.py111 if len(actual_dumpsys_metadata) < 1:
122 x.count(constants.NULL_VALUE) < 3 and len(x.split('=', 1)) > 1]
126 parsed_song_metadata = actual_song_metadata[0] if len(
/platform_testing/libraries/motion/golden_updater/
Dwatch_local_tests.py96 if len(lines) == 1:
100 if len(lines) > 2:
124 if len(parts) == 2:
185 requested_file_start_index = parsed.path.find("/", len("/golden/") + 1)
372 return [name[: -len(marker_name)] for name in files]
/platform_testing/scripts/map_tests/
Dmap_tests.py94 has_test_config = len(k['test_config'])
/platform_testing/tests/automotive/mobly_tests/media/
Dmedia_test_song_metadata_validation.py56 asserts.assert_true(len(phone_current_song_metadata) > 0,
Dmedia_test_prev_and_next_song_metadata_validation.py60 asserts.assert_true(len(phone_current_song_metadata) > 0,
/platform_testing/libraries/sts-common-util/sts-sdk/package/gradle/wrapper/
Dgradle-wrapper.jar ... java.io.File[] arr$ int len$ int i$ java.io.File gradleHome ...
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioCapturerTests.java246 public void write(byte[] b, int off, int len) throws IOException { in write() argument