Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 121) sorted by relevance

12345

/test/vts/compilation_tools/vtsc/test/golden/FUZZER/
DContext.fuzzer.cpp26 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument
38 memcpy(&arg0, data, type_size0); in LLVMFuzzerTestOneInput()
39 data += type_size0; in LLVMFuzzerTestOneInput()
45 memcpy(&arg1, data, type_size1); in LLVMFuzzerTestOneInput()
46 data += type_size1; in LLVMFuzzerTestOneInput()
55 memcpy(&arg0, data, type_size0); in LLVMFuzzerTestOneInput()
56 data += type_size0; in LLVMFuzzerTestOneInput()
62 memcpy(&arg1, data, type_size1); in LLVMFuzzerTestOneInput()
63 data += type_size1; in LLVMFuzzerTestOneInput()
72 memcpy(&arg0, data, type_size0); in LLVMFuzzerTestOneInput()
[all …]
DDevice.fuzzer.cpp26 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument
38 memcpy(&arg0, data, type_size0); in LLVMFuzzerTestOneInput()
39 data += type_size0; in LLVMFuzzerTestOneInput()
45 memcpy(&arg1, data, type_size1); in LLVMFuzzerTestOneInput()
46 data += type_size1; in LLVMFuzzerTestOneInput()
52 memcpy(&arg2, data, type_size2); in LLVMFuzzerTestOneInput()
53 data += type_size2; in LLVMFuzzerTestOneInput()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DStat.java51 public static StatResult getStat(double[] data) { in getStat() argument
52 double average = data[0]; in getStat()
53 double min = data[0]; in getStat()
54 double max = data[0]; in getStat()
55 for (int i = 1; i < data.length; i++) { in getStat()
56 average += data[i]; in getStat()
57 if (data[i] > max) { in getStat()
58 max = data[i]; in getStat()
60 if (data[i] < min) { in getStat()
61 min = data[i]; in getStat()
[all …]
/test/vts/drivers/hal/common/binder/
DVtsFuzzerBinderService.cpp44 Parcel data; in Exit() local
46 data.writeInterfaceToken(IVtsFuzzer::getInterfaceDescriptor()); in Exit()
47 data.writeString16(String16("Exit code")); in Exit()
48 remote()->transact(EXIT, data, &reply, IBinder::FLAG_ONEWAY); in Exit()
55 Parcel data; in LoadHal() local
62 data.writeInterfaceToken(IVtsFuzzer::getInterfaceDescriptor()); in LoadHal()
63 data.writeCString(path.c_str()); in LoadHal()
64 data.writeInt32(target_class); in LoadHal()
65 data.writeInt32(target_type); in LoadHal()
66 data.writeInt32(target_version_major); in LoadHal()
[all …]
/test/vts/tools/vts-tradefed/res/push_groups/
DIfaceFuzzerTest.push1 DATA/asan/system/lib/libvts_datatype.so->/data/local/tmp/32/libvts_datatype.so
2 DATA/asan/system/lib64/libvts_datatype.so->/data/local/tmp/64/libvts_datatype.so
4 DATA/asan/system/lib/libvts_measurement.so->/data/local/tmp/32/libvts_measurement.so
5 DATA/asan/system/lib64/libvts_measurement.so->/data/local/tmp/64/libvts_measurement.so
7 DATA/asan/system/lib/libvts_interfacespecification.so->/data/local/tmp/32/libvts_interfacespecifica…
8 DATA/asan/system/lib64/libvts_interfacespecification.so->/data/local/tmp/64/libvts_interfacespecifi…
10 DATA/asan/system/lib/libvts_common.so->/data/local/tmp/32/libvts_common.so
11 DATA/asan/system/lib64/libvts_common.so->/data/local/tmp/64/libvts_common.so
13 DATA/asan/system/lib/libvts_multidevice_proto.so->/data/local/tmp/32/libvts_multidevice_proto.so
14 DATA/asan/system/lib64/libvts_multidevice_proto.so->/data/local/tmp/64/libvts_multidevice_proto.so
[all …]
DVtsAgent.push1 DATA/lib/libvts_common.so->/data/local/tmp/32/libvts_common.so
2 DATA/lib64/libvts_common.so->/data/local/tmp/64/libvts_common.so
4 DATA/lib/libvts_resource_driver.so->/data/local/tmp/32/libvts_resource_driver.so
5 DATA/lib64/libvts_resource_driver.so->/data/local/tmp/64/libvts_resource_driver.so
7 DATA/lib/libvts_resource_manager.so->/data/local/tmp/32/libvts_resource_manager.so
8 DATA/lib64/libvts_resource_manager.so->/data/local/tmp/64/libvts_resource_manager.so
10 DATA/lib/libvts_multidevice_proto.so->/data/local/tmp/32/libvts_multidevice_proto.so
11 DATA/lib64/libvts_multidevice_proto.so->/data/local/tmp/64/libvts_multidevice_proto.so
13 DATA/lib/libvts_drivercomm.so->/data/local/tmp/32/libvts_drivercomm.so
14 DATA/lib64/libvts_drivercomm.so->/data/local/tmp/64/libvts_drivercomm.so
[all …]
DVtsSpec.push1 spec/hardware/interfaces/thermal/1.0/vts/Thermal.vts->/data/local/tmp/spec/thermal/Thermal.vts
2 spec/hardware/interfaces/thermal/1.0/vts/types.vts->/data/local/tmp/spec/thermal/types.vts
3 spec/hardware/interfaces/vibrator/1.0/vts/Vibrator.vts->/data/local/tmp/spec/vibrator/Vibrator.vts
4 spec/hardware/interfaces/vibrator/1.0/vts/types.vts->/data/local/tmp/spec/vibrator/types.vts
5 spec/hardware/interfaces/sensors/1.0/vts/Sensors.vts->/data/local/tmp/spec/sensors/Sensors.vts
6 spec/hardware/interfaces/sensors/1.0/vts/types.vts->/data/local/tmp/spec/sensors/types.vts
7 spec/hardware/interfaces/graphics/mapper/2.0/vts/Mapper.vts->/data/local/tmp/spec/graphics/mapper/M…
8 spec/hardware/interfaces/graphics/mapper/2.0/vts/types.vts->/data/local/tmp/spec/graphics/mapper/ty…
9 spec/hardware/interfaces/graphics/allocator/2.0/vts/Allocator.vts->/data/local/tmp/spec/graphics/al…
10 spec/hardware/interfaces/graphics/allocator/2.0/vts/AllocatorClient.vts->/data/local/tmp/spec/graph…
[all …]
DVtsDriverHal.push3 DATA/lib/libvts_datatype.so->/data/local/tmp/32/libvts_datatype.so
4 DATA/lib64/libvts_datatype.so->/data/local/tmp/64/libvts_datatype.so
6 DATA/lib/libvts_measurement.so->/data/local/tmp/32/libvts_measurement.so
7 DATA/lib64/libvts_measurement.so->/data/local/tmp/64/libvts_measurement.so
9 DATA/lib/libvts_interfacespecification.so->/data/local/tmp/32/libvts_interfacespecification.so
10 DATA/lib64/libvts_interfacespecification.so->/data/local/tmp/64/libvts_interfacespecification.so
12 DATA/bin/vts_hal_driver32->/data/local/tmp/32/vts_hal_driver32
13 DATA/bin/vts_hal_driver64->/data/local/tmp/64/vts_hal_driver64
DVtsHalReplayTest.push4 DATA/lib/libvts_profiling_utils.so->/data/local/tmp/32/libvts_profiling_utils.so
5 DATA/lib64/libvts_profiling_utils.so->/data/local/tmp/64/libvts_profiling_utils.so
7 DATA/bin/vts_hal_replayer32->/data/local/tmp/32/vts_hal_replayer32
8 DATA/bin/vts_hal_replayer64->/data/local/tmp/64/vts_hal_replayer64
DFuncFuzzerTest.push1 DATA/lib/libclang_rt.asan-arm-android.so->/data/local/tmp/32/libclang_rt.asan-arm-android.so
2 DATA/lib64/libclang_rt.asan-aarch64-android.so->/data/local/tmp/64/libclang_rt.asan-aarch64-android…
4 DATA/asan/system/lib/libvts_func_fuzzer_utils.so->/data/local/tmp/32/libvts_func_fuzzer_utils.so
5 DATA/asan/system/lib64/libvts_func_fuzzer_utils.so->/data/local/tmp/64/libvts_func_fuzzer_utils.so
/test/mlts/benchmark/src/com/android/nn/benchmark/util/
DIOUtils.java79 private static void invertOrder4(byte[] data) { in invertOrder4() argument
80 if (data.length % 4 != 0) { in invertOrder4()
83 for (int i = 0; i < data.length; i += 4) { in invertOrder4()
84 byte a = data[i]; in invertOrder4()
85 byte b = data[i + 1]; in invertOrder4()
86 data[i] = data[i + 3]; in invertOrder4()
87 data[i + 1] = data[i + 2]; in invertOrder4()
88 data[i + 2] = b; in invertOrder4()
89 data[i + 3] = a; in invertOrder4()
94 private static void invertOrder2(byte[] data) { in invertOrder2() argument
[all …]
/test/vts/script/
Dsetup-local.sh22 adb shell mkdir -p /data/local/tmp/32
23 adb shell mkdir -p /data/local/tmp/64
24 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_hal_driver32 /data/local…
25 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_hal_driver64 /data/local…
26 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_shell_driver32 /data/loc…
27 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_shell_driver64 /data/loc…
28 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_hal_agent32 /data/local/…
29 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_hal_agent64 /data/local/…
32 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/lib/libvts_common.so /data/local…
33 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/lib64/libvts_common.so /data/loc…
[all …]
Dstart-agent.sh2 adb shell chmod 755 /data/local/tmp/32/vts_shell_driver32
3 adb shell chmod 755 /data/local/tmp/64/vts_shell_driver64
8 adb shell rm -f /data/local/tmp/vts_driver_*
9 adb shell rm -f /data/local/tmp/vts_agent_callback*
10 adb shell LD_LIBRARY_PATH=/data/local/tmp/64 \
11 /data/local/tmp/64/vts_hal_agent64 \
12 --hal_driver_path_32=/data/local/tmp/32/vts_hal_driver32 \
13 --hal_driver_path_64=/data/local/tmp/64/vts_hal_driver64 \
14 --spec_dir=/data/local/tmp/spec \
15 --shell_driver_path_32=/data/local/tmp/32/vts_shell_driver32 \
[all …]
Dsetup-gce.sh18 adb push ${ANDROID_BUILD_TOP}/out/target/product/gce_x86/system/bin/vts_hal_driver /data/local/tmp/…
19 adb push ${ANDROID_BUILD_TOP}/out/target/product/gce_x86/system/bin/vts_hal_agent /data/local/tmp/v…
20 adb shell chmod 755 /data/local/tmp/vts_hal_driver
21 adb shell chmod 755 /data/local/tmp/vts_hal_agent
22 adb shell /data/local/tmp/vts_hal_agent
/test/vts/drivers/hal/server/
DBinderServer.cpp50 virtual status_t onTransact(uint32_t code, const Parcel& data, Parcel* reply,
54 status_t BnVtsFuzzer::onTransact(uint32_t code, const Parcel& data, in onTransact() argument
58 data.checkInterface(this); in onTransact()
60 alog << data << endl; in onTransact()
68 const char* path = data.readCString(); in onTransact()
69 const int target_class = data.readInt32(); in onTransact()
70 const int target_type = data.readInt32(); in onTransact()
71 const int target_version_major = data.readInt32(); in onTransact()
72 const int target_version_minor = data.readInt32(); in onTransact()
73 const char* module_name = data.readCString(); in onTransact()
[all …]
/test/vts-testcase/kernel/zram/
DZramTest.cpp56 std::vector<std::string> data = Split(line, delimiters); in TEST() local
58 data.erase(std::remove_if(data.begin(), data.end(), in TEST()
60 data.end()); in TEST()
62 ASSERT_EQ(SWAP_NUM, data.size()) << "Unexpected format in /proc/swaps."; in TEST()
63 ASSERT_STREQ(swapFilename, data[SWAP_FILENAME].c_str()) in TEST()
65 ParseInt(data[SWAP_SIZE], &swapSize); in TEST()
/test/vts-testcase/nbu/src/
Dble_test.py125 result = scan_result.data['result']
158 result = scan_result.data['result']
209 asserts.assert_equal(start_server_result.data[STATUS], GATT_SUCCESS)
212 for characteristic in start_server_result.data['Service'][
227 asserts.assert_equal(start_client_result.data[STATUS], GATT_SUCCESS)
228 asserts.assert_equal(start_client_result.data[STATE], 'STATE_CONNECTED')
252 asserts.assert_equal(start_server_result.data[STATUS], GATT_SUCCESS)
255 for characteristic in start_server_result.data['Service'][
279 asserts.assert_equal(start_client_result.data[STATUS], GATT_SUCCESS)
280 asserts.assert_equal(start_client_result.data[STATE], 'STATE_CONNECTED')
[all …]
/test/vts-testcase/security/avb/
DVtsSecurityAvbTest.cpp91 typedef int (*UpdateFunc)(CTX_TYPE *sha, const void *data, size_t len);
150 return hasher.CalculateDigest(buffer.data(), size, salt, block_length, in CalculateZeroDigest()
266 if (!CalculateZeroDigest(hasher, data_block_size, salt.data(), salt.size(), in VerifyHashtree()
267 padded_zero_digest.data())) { in VerifyHashtree()
276 pread64(image_fd, data_block.data(), data_block.size(), image_offset)); in VerifyHashtree()
288 level->calculating_hash_block.data() + level->calculating_offset; in VerifyHashtree()
289 if (!hasher.CalculateDigest(current_block->data(), current_block->size(), in VerifyHashtree()
290 salt.data(), salt.size(), current_digest)) { in VerifyHashtree()
304 level->calculating_hash_block.data() + level->calculating_offset, 0, in VerifyHashtree()
318 pread64(image_fd, tree_block.data(), tree_block.size(), in VerifyHashtree()
[all …]
/test/vts/utils/python/mirror/
Dresource_mirror.py92 def read(self, data, data_size): argument
107 del data[:]
115 self._extractReadData(fmq_response, data)
120 def readBlocking(self, data, data_size, time_out_nanos=0): argument
137 del data[:]
146 self._extractReadData(fmq_response, data)
150 def write(self, data, data_size): argument
166 prepare_result = self._prepareWriteData(request_msg, data[:data_size])
178 def writeBlocking(self, data, data_size, time_out_nanos=0): argument
196 prepare_result = self._prepareWriteData(request_msg, data[:data_size])
[all …]
/test/mlts/benchmark/jni/
Drun_tflite.cpp129 outputs.insert(outputs.end(), node_outputs->data, in init()
130 node_outputs->data + node_outputs->size); in init()
166 void* raw = input_tensor->data.raw; in setInput()
182 sink.insert(sink.end(), output_tensor->data.uint8, in saveInferenceOutput()
183 output_tensor->data.uint8 + output_tensor->bytes); in saveInferenceOutput()
281 const InferenceInOut& data = seq[i]; in benchmark() local
287 if (data.input) { in benchmark()
288 setInput(data.input, data.input_size); in benchmark()
292 if (!data.createInput((uint8_t*)input_tensor->data.raw, in benchmark()
320 if (outputsCount != data.outputs.size()) { in benchmark()
[all …]
/test/vts/drivers/resource/hidl_handle_driver/
DVtsHidlHandleDriver.cpp44 int mode, vector<int> data) { in CreateFileHandle() argument
46 int num_ints = data.size(); in CreateFileHandle()
61 close(native_handle->data[j]); in CreateFileHandle()
66 native_handle->data[i] = curr_fd; in CreateFileHandle()
68 native_handle->data[i] = data[i - num_fds]; in CreateFileHandle()
104 int fd = native_handle->data[0]; in ReadFile()
126 int fd = native_handle->data[0]; in WriteFile()
/test/vti/dashboard/
DREADME.md107 …u start your local GAE server, you will see empty page as the local datastore do not have any data.
108 So we need to put some sample data into local datastore so that developers are able to continue to
117 ### How to set test data on json files for generating mock data on local dev server
119 If you want to generate some mock data for your local development, you need to set some fake data
121 otherwise you will end up with errors from the mock data dev API.
123 First, in test-plan-report-data.json, you need to set the same number of data under "testCaseNames"
124 and "results". For example, if you put 5 elements of data in "testCaseNames", you should put the sa…
125 number of data under "results".
152 Second, in test-report-data.json file, you need to make sure that "testModules" should have
154 in the test-report-data.json file.
[all …]
/test/vti/dashboard/src/main/webapp/js/
Dcommon.js73 function displayTestDetails(container, data, lineHeight) { argument
74 var nCol = data.length;
78 data.forEach(function(column, index) {
79 if (column.data == undefined || column.name == undefined) {
95 var count = column.data.length;
106 column.data.forEach(function(testCase) {
/test/vts/drivers/resource/include/fmq_driver/
DVtsFmqDriver.h130 bool ReadFmq(const string& data_type, QueueId queue_id, T* data,
148 bool ReadFmqBlocking(const string& data_type, QueueId queue_id, T* data,
168 bool ReadFmqBlocking(const string& data_type, QueueId queue_id, T* data,
184 bool WriteFmq(const string& data_type, QueueId queue_id, T* data,
203 bool WriteFmqBlocking(const string& data_type, QueueId queue_id, T* data,
223 bool WriteFmqBlocking(const string& data_type, QueueId queue_id, T* data,
407 bool VtsFmqDriver::ReadFmq(const string& data_type, QueueId queue_id, T* data, in ReadFmq() argument
412 return queue_object->read(data, data_size); in ReadFmq()
417 T* data, size_t data_size, in ReadFmqBlocking() argument
428 return queue_object->readBlocking(data, data_size, time_out_nanos); in ReadFmqBlocking()
[all …]
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_plan_run.jsp45 var urlSafeKeyList = modal.data('urlSafeKeyList');
48 return $.get( "/api/coverage/api/data?key=" + urlSafeKey, function(data) {
49 halApiInfoList.push(data);
52 alert( "Error : can't bring API coverage data from the server" );
57 $.each(halApiInfoList, function( index, data ) {
59 var version = data.halMajorVersion + '.' + data.halMinorVersion;
60 … var defaultInfo = data.halPackageName + '@' + version + '::' + data.halInterfaceName;
72 $.map( data.halApi, function( apiName, idx ) {
73 … var colorClass = data.coveredHalApi.indexOf(apiName) > -1 ? "green" : "red"
121 var data = google.visualization.arrayToDataTable(rows);
[all …]

12345