Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/
Dmultihal.cpp87 int global_handle = next_global_handle++; in assign_global_handle() local
91 full_to_global[full_handle] = global_handle; in assign_global_handle()
92 global_to_full[global_handle] = full_handle; in assign_global_handle()
93 return global_handle; in assign_global_handle()
97 static int get_local_handle(int global_handle) { in get_local_handle() argument
98 if (global_to_full.count(global_handle) == 0) { in get_local_handle()
99 ALOGW("Unknown global_handle %d", global_handle); in get_local_handle()
102 return global_to_full[global_handle].localHandle; in get_local_handle()
107 static int get_module_index(int global_handle) { in get_module_index() argument
108 if (global_to_full.count(global_handle) == 0) { in get_module_index()
[all …]