Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 28) sorted by relevance

12

/test/vts/proto/
DVtsReportMessage.proto66 optional bytes product_type = 1;
69 optional bytes product_variant = 2;
72 optional bytes build_flavor = 11;
75 optional bytes build_id = 12;
78 optional bytes branch = 21;
81 optional bytes build_alias = 22;
84 optional bytes api_level = 31;
87 optional bytes abi_name = 51;
90 optional bytes abi_bitness = 52;
93 optional bytes serial = 101;
[all …]
DAndroidSystemControlMessage.proto92 repeated bytes paths = 1001;
99 optional bytes service_name = 2001;
105 optional bytes file_path = 3002;
120 optional bytes module_name = 3007;
123 optional bytes target_package = 3008;
126 optional bytes target_component_name = 3009;
138 optional bytes hw_binder_service_name = 3021;
144 optional bytes arg = 4001;
147 optional bytes driver_caller_uid = 4101;
150 repeated bytes shell_command = 5001;
[all …]
DVtsDriverControlMessage.proto81 optional bytes file_path = 1201;
91 optional bytes module_name = 1205;
93 optional bytes target_package = 1206;
95 optional bytes target_component_name = 1207;
104 optional bytes hw_binder_service_name = 1221;
110 optional bytes arg = 1401;
113 optional bytes driver_caller_uid = 1501;
116 repeated bytes shell_command = 2001;
135 optional bytes return_message = 12;
138 repeated bytes stdout = 1001;
[all …]
DVtsFuzzTaskMessage.proto57 optional bytes test_suite = 1;
60 optional bytes branch = 11;
63 optional bytes target_product = 12;
66 optional bytes build_variant = 13;
69 optional bytes build_id = 21;
79 repeated bytes corpus_file_name = 2;
82 optional bytes hal_package_name = 11;
85 optional bytes hal_transport_type = 12;
94 optional bytes hal_interface_name = 15;
135 optional bytes test_module_name = 11;
DComponentSpecificationMessage.proto167 repeated bytes next = 11;
169 repeated bytes prev = 12;
176 optional bytes file_path = 1;
179 optional bytes gcda = 11;
187 optional bytes hidl_interface_name = 1;
200 optional bytes component_type_version = 23 [deprecated = true];
202 optional bytes component_name = 24;
204 optional bytes package_name = 25;
218 optional bytes name = 1;
221 optional bytes submodule_name = 2;
[all …]
DVtsResourceControllerMessage.proto106 optional bytes data_type = 2;
162 optional bytes write_data = 6;
174 optional bytes read_data = 4;
186 // number of bytes to read from the file
191 optional bytes write_data = 5;
201 optional bytes read_data = 3;
202 // number of bytes written into the file if the request is a write operation
DTestSchedulingPolicyMessage.proto35 repeated bytes target_plans = 1;
37 repeated bytes target_tests = 2;
DVtsProfilingMessage.proto54 optional bytes package = 3;
59 optional bytes interface = 5;
/test/vti/test_serving/proto/
DTestScheduleConfigMessage.proto31 optional bytes manifest_branch = 1;
34 optional bytes pab_account_id = 2;
45 optional bytes name = 1;
61 optional bytes test_name = 1;
67 optional bytes priority = 3;
70 repeated bytes device = 4;
76 repeated bytes required_host_equipment = 6;
79 repeated bytes required_device_equipment = 7;
81 optional bytes param = 11;
87 optional bytes gsi_branch = 21;
[all …]
DGreenBuildScheduleConfigMessage.proto22 optional bytes name = 1;
25 optional bytes schedule = 2;
28 optional bytes priority = 3;
31 optional bytes gsi_branch = 11;
34 optional bytes gsi_pab_account_id = 12;
37 optional bytes test_branch = 21;
40 optional bytes test_pab_account_id = 22;
48 optional bytes test_name = 1;
51 optional bytes test_build_target = 11;
54 optional bytes device_branch = 21;
[all …]
DTestLabConfigMessage.proto22 optional bytes name = 1;
23 optional bytes owner = 2;
24 repeated bytes admin = 3;
32 optional bytes hostname = 1;
33 optional bytes ip = 2;
36 optional bytes script = 3;
37 optional bytes setup_script = 4;
40 repeated bytes host_equipment = 5;
48 optional bytes serial = 1;
54 optional bytes product = 11;
[all …]
/test/vts/testcases/host/firmware_test/src/com/android/tests/firmware/
DBootImageInfo.java64 byte[] bytes = new byte[4]; in BootImageInfo()
67 mRaf.read(bytes); in BootImageInfo()
68 mKernelSize = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN).getInt(); in BootImageInfo()
71 mRaf.read(bytes); in BootImageInfo()
72 mImgHeaderVer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN).getInt(); in BootImageInfo()
79 mRaf.read(bytes); in BootImageInfo()
80 mRamdiskSize = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN).getInt(); in BootImageInfo()
84 mRaf.read(bytes); in BootImageInfo()
85 mPageSize = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN).getInt(); in BootImageInfo()
92 mRaf.read(bytes); in BootImageInfo()
[all …]
/test/vts-testcase/kernel/encryption/
Dutils.cpp78 void RandomBytesForTesting(std::vector<uint8_t> &bytes) { in RandomBytesForTesting() argument
79 for (size_t i = 0; i < bytes.size(); i++) { in RandomBytesForTesting()
80 bytes[i] = rand(); in RandomBytesForTesting()
91 std::string BytesToHex(const std::vector<uint8_t> &bytes) { in BytesToHex() argument
93 for (uint8_t b : bytes) { in BytesToHex()
164 memcpy(fs_uuid->bytes, sb.s_uuid, kFilesystemUuidSize); in GetFilesystemUuid()
179 if (pread(fd, fs_uuid->bytes, kFilesystemUuidSize, kF2fsUuidOffset) != in GetFilesystemUuid()
267 << BytesToHex(info->uuid.bytes) << ", raw block device is " in GetFilesystemInfo()
281 bool VerifyDataRandomness(const std::vector<uint8_t> &bytes) { in VerifyDataRandomness() argument
285 size_t destLen = bytes.size() - std::min<size_t>(4, bytes.size()); in VerifyDataRandomness()
[all …]
Dvts_kernel_encryption.h80 void RandomBytesForTesting(std::vector<uint8_t> &bytes);
84 std::string BytesToHex(const std::vector<uint8_t> &bytes);
96 uint8_t bytes[kFilesystemUuidSize]; member
108 bool VerifyDataRandomness(const std::vector<uint8_t> &bytes);
Dfile_based_encryption_tests.cpp116 uint8_t bytes[kFscryptFileNonceSize]; member
126 uint8_t bytes[kFscryptMaxIVSize]; member
590 if (ioctl(fd, FS_IOC_GET_ENCRYPTION_NONCE, info->nonce.bytes) != 0) { in GenerateTestFile()
595 GTEST_LOG_(INFO) << "File nonce: " << BytesToHex(info->nonce.bytes); in GenerateTestFile()
643 hkdf_info.insert(hkdf_info.end(), fs_info_.uuid.bytes, in DerivePerModeEncryptionKey()
644 std::end(fs_info_.uuid.bytes)); in DerivePerModeEncryptionKey()
655 hkdf_info.insert(hkdf_info.end(), nonce.bytes, std::end(nonce.bytes)); in DerivePerFileEncryptionKey()
670 uint8_t bytes[8]; in HashInodeNumber() member
687 *hash = SIPHASH_24(siphash_key.words, input.bytes, sizeof(input)); in HashInodeNumber()
709 ASSERT_GE(sizeof(iv.bytes), cipher.ivsize()); in VerifyCiphertext()
[all …]
/test/mlts/benchmark/jni/
Dbenchmark_jni.cpp356 jfloat *bytes = env->GetFloatArrayElements(meanSquareErrorArray, nullptr); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark() local
357 memcpy(bytes, in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
360 env->ReleaseFloatArrayElements(meanSquareErrorArray, bytes, 0); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
363 jfloat *bytes = env->GetFloatArrayElements(maxSingleErrorArray, nullptr); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark() local
364 memcpy(bytes, in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
367 env->ReleaseFloatArrayElements(maxSingleErrorArray, bytes, 0); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
382 jbyte *bytes = env->GetByteArrayElements(inferenceOutput, nullptr); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark() local
383 … memcpy(bytes, &rentry.inferenceOutputs[i][0], rentry.inferenceOutputs[i].size()); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
384 env->ReleaseByteArrayElements(inferenceOutput, bytes, 0); in Java_com_android_nn_benchmark_core_NNTestBase_runBenchmark()
489 jfloat* bytes = env->GetFloatArrayElements(to, nullptr); in convertToJfloatArray() local
[all …]
Drun_tflite.cpp215 output_tensor->data.uint8 + output_tensor->bytes); in saveInferenceOutput()
222 if (output_tensor->bytes != length) { in getOutputError()
224 output_tensor->bytes, length); in getOutputError()
233 elements_count = output_tensor->bytes; in getOutputError()
234 for (size_t i = 0; i < output_tensor->bytes; ++i) { in getOutputError()
244 elements_count = output_tensor->bytes / sizeof(float); in getOutputError()
245 for (size_t i = 0; i < output_tensor->bytes / sizeof(float); ++i) { in getOutputError()
326 input_tensor->bytes)) { in benchmark()
649 fwrite(output_tensor->data.raw, output_tensor->bytes, 1, f); in dumpAllLayers()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DOutputMeanStdDev.java29 public OutputMeanStdDev(byte[] bytes) { in OutputMeanStdDev() argument
30 mNumOutputs = bytes.length / MeanStdDev.DATA_SIZE_BYTES; in OutputMeanStdDev()
32 ByteBuffer buffer = ByteBuffer.wrap(bytes); in OutputMeanStdDev()
/test/vts/hals/light/bullhead/
Dlights.c67 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); in write_int() local
68 int amt = write(fd, buffer, bytes); in write_int()
88 int bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", on, off); in write_on_off() local
89 int amt = write(fd, buffer, bytes); in write_on_off()
/test/mlts/benchmark/src/com/android/nn/benchmark/util/
DIOUtils.java34 public static float[] readFloats(byte[] bytes, int dataSize) { in readFloats() argument
35 ByteBuffer buffer = ByteBuffer.wrap(bytes); in readFloats()
37 int size = bytes.length / dataSize; in readFloats()
/test/vts/testcases/host/firmware_dtbo_test/src/com/android/tests/firmwaredtbo/
DFirmwareDtboVerification.java134 byte[] bytes = new byte[4]; in decompressDTEntries()
145 raf.read(bytes); in decompressDTEntries()
146 dtboItems[i] = ByteBuffer.wrap(bytes).order(ByteOrder.BIG_ENDIAN).getInt(); in decompressDTEntries()
157 raf.read(bytes); in decompressDTEntries()
158 int flags = ByteBuffer.wrap(bytes).order(ByteOrder.BIG_ENDIAN).getInt(); in decompressDTEntries()
/test/app_compat/csuite/tools/script/
Dgenerate_module.py144 def parse_package_list(package_list_file: IO[bytes]) -> Set[bytes]: argument
181 out_file: IO[bytes]) -> Text: argument
Dgenerate_module_test.py56 def assert_valid_xml(self, xml_str: bytes) -> None: argument
86 def assert_braces_balanced(self, generated_str: bytes) -> None: argument
/test/vts/utils/python/coverage/
Dparser_test.py109 stream.format + 'I', word_count) + bytes(string + padding)
209 content += bytes(test_string_padded)
/test/vts/utils/python/library/elf/
Dutils_test.py31 _SLEB_INPUT_DATA = bytes(bytearray.fromhex('0F71FF00800180800280807EFFFFFFFF'

12