Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 8 of 8) sorted by relevance

/test/vts/drivers/resource/hidl_handle_driver/
DVtsHidlHandleDriver.cpp148 hidl_handle* handle = FindHandle(handle_id); in GetHidlHandleAddress() local
149 if (handle == nullptr) return false; // unable to find handle object. in GetHidlHandleAddress()
150 *result = reinterpret_cast<size_t>(handle); in GetHidlHandleAddress()
155 hidl_handle* handle; in FindHandle() local
166 handle = (iterator->second).release(); in FindHandle()
168 handle = (iterator->second).get(); in FindHandle()
170 return handle; in FindHandle()
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerRunner.cpp79 void *handle = dlopen(lib_name.c_str(), RTLD_LAZY); in Dlopen() local
80 if (!handle) { in Dlopen()
85 return handle; in Dlopen()
88 static void *Dlsym(void *handle, string function_name) { in Dlsym() argument
92 void *function = dlsym(handle, function_name.c_str()); in Dlsym()
/test/vts/proto/
DVtsResourceControllerMessage.proto89 // Create a handle object for a single file.
91 // Read from a handle object with one file.
93 // Write to a handle object with one file.
95 // Delete a handle object.
181 // identifies the handle object
184 // in a handle object
198 // new id assigned to the new handle object
DComponentSpecificationMessage.proto382 // To keep the value of a handle variable.
394 // To specify an existing handle object registered in target-side driver.
396 // the handle object from target-side driver, instead of creating a new one.
/test/mlts/benchmark/crashtest/
DREADME.txt19 scenarios to validate that drivers can handle them without failing.
/test/vts/runners/host/tcp_server/
Dcallback_server.py37 def handle(self): member in CallbackRequestHandler
/test/mlts/benchmark/jni/
Dbenchmark_jni.cpp83 void *handle = BenchmarkModel::create( in Java_com_android_nn_benchmark_core_NNTestBase_initModel() local
101 return (jlong)(uintptr_t)handle; in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DBar.driver.cpp1153 …native_handle_t* handle = native_handle_create(func_msg.arg(0).handle_value().num_fds(), func_msg.… in CallFunction() local
1154 if (!handle) { in CallFunction()
1182 handle->data[fd_index] = fd; in CallFunction()
1191handle->data[fd_index] = open(file_name.c_str(), O_DIRECTORY, fd_val.mode()); in CallFunction()
1197handle->data[fd_index] = ashmem_create_region("SharedMemory", fd_val.memory().size()); in CallFunction()
1210handle->data[fd_index] = func_msg.arg(0).handle_value().int_val(fd_index -func_msg.arg(0).handle_v… in CallFunction()
1213 arg0 = handle; in CallFunction()