Searched refs:handle (Results 1 – 8 of 8) sorted by relevance
148 hidl_handle* handle = FindHandle(handle_id); in GetHidlHandleAddress() local149 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() local166 handle = (iterator->second).release(); in FindHandle()168 handle = (iterator->second).get(); in FindHandle()170 return handle; in FindHandle()
79 void *handle = dlopen(lib_name.c_str(), RTLD_LAZY); in Dlopen() local80 if (!handle) { in Dlopen()85 return handle; in Dlopen()88 static void *Dlsym(void *handle, string function_name) { in Dlsym() argument92 void *function = dlsym(handle, function_name.c_str()); in Dlsym()
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 object184 // in a handle object198 // new id assigned to the new handle object
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.
19 scenarios to validate that drivers can handle them without failing.
37 def handle(self): member in CallbackRequestHandler
83 void *handle = BenchmarkModel::create( in Java_com_android_nn_benchmark_core_NNTestBase_initModel() local101 return (jlong)(uintptr_t)handle; in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
1153 …native_handle_t* handle = native_handle_create(func_msg.arg(0).handle_value().num_fds(), func_msg.… in CallFunction() local1154 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()