Searched refs:handle (Results 1 – 9 of 9) sorted by relevance
/test/vts/drivers/resource/hidl_handle_driver/ |
D | VtsHidlHandleDriver.cpp | 148 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/ |
D | ProtoFuzzerRunner.cpp | 83 void *handle = dlopen(lib_name.c_str(), RTLD_LAZY); in Dlopen() local 84 if (!handle) { in Dlopen() 89 return handle; in Dlopen() 92 static void *Dlsym(void *handle, string function_name) { in Dlsym() argument 96 void *function = dlsym(handle, function_name.c_str()); in Dlsym()
|
/test/framework/harnesses/host_controller/build/ |
D | build_provider_pab.py | 148 with open(self.XSRF_STORE, 'r') as handle: 149 self._xsrf = handle.read() 165 with open(self._userinfo_file, 'r') as handle: 166 userinfo = json.load(handle) 209 with open(self.XSRF_STORE, 'w') as handle: 210 handle.write(self._xsrf) 511 with open(filename, 'wb') as handle: 513 handle.write(block)
|
/test/vts/proto/ |
D | VtsResourceControllerMessage.proto | 89 // 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
|
D | ComponentSpecificationMessage.proto | 382 // 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/ |
D | README.txt | 19 scenarios to validate that drivers can handle them without failing.
|
/test/vts/runners/host/tcp_server/ |
D | callback_server.py | 37 def handle(self): member in CallbackRequestHandler
|
/test/mlts/benchmark/jni/ |
D | benchmark_jni.cpp | 55 void *handle = BenchmarkModel::create( in Java_com_android_nn_benchmark_core_NNTestBase_initModel() local 73 return (jlong)(uintptr_t)handle; in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
|
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/ |
D | Bar.driver.cpp | 1153 …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() 1191 … handle->data[fd_index] = open(file_name.c_str(), O_DIRECTORY, fd_val.mode()); in CallFunction() 1197 … handle->data[fd_index] = ashmem_create_region("SharedMemory", fd_val.memory().size()); in CallFunction() 1210 …handle->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()
|