Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 59) sorted by relevance

123

/system/bt/btcore/src/
Dmodule.c45 static module_state_t get_module_state(const module_t *module);
46 static void set_module_state(const module_t *module, module_state_t state);
71 module_t* module = (module_t *)dlsym(RTLD_DEFAULT, name); in get_module() local
72 assert(module); in get_module()
73 return module; in get_module()
76 bool module_init(const module_t *module) { in module_init() argument
78 assert(module != NULL); in module_init()
79 assert(get_module_state(module) == MODULE_STATE_NONE); in module_init()
81 LOG_INFO(LOG_TAG, "%s Initializing module \"%s\"", __func__, module->name); in module_init()
82 if (!call_lifecycle_function(module->init)) { in module_init()
[all …]
Dhal_util.c41 static int load_bt_library(const struct hw_module_t **module) { in load_bt_library() argument
73 *module = hmi; in load_bt_library()
77 *module = NULL; in load_bt_library()
86 int hal_util_load_bt_library(const struct hw_module_t **module) { in hal_util_load_bt_library() argument
88 return load_bt_library(module); in hal_util_load_bt_library()
90 return hw_get_module(BT_STACK_MODULE_ID, module); in hal_util_load_bt_library()
/system/extras/bootctl/
Dbootctl.c68 static int do_get_number_slots(boot_control_module_t *module) in do_get_number_slots() argument
70 int num_slots = module->getNumberSlots(module); in do_get_number_slots()
75 static int do_get_current_slot(boot_control_module_t *module) in do_get_current_slot() argument
77 int cur_slot = module->getCurrentSlot(module); in do_get_current_slot()
82 static int do_mark_boot_successful(boot_control_module_t *module) in do_mark_boot_successful() argument
84 int ret = module->markBootSuccessful(module); in do_mark_boot_successful()
92 static int do_set_active_boot_slot(boot_control_module_t *module, in do_set_active_boot_slot() argument
95 int ret = module->setActiveBootSlot(module, slot_number); in do_set_active_boot_slot()
102 static int do_set_slot_as_unbootable(boot_control_module_t *module, in do_set_slot_as_unbootable() argument
105 int ret = module->setSlotAsUnbootable(module, slot_number); in do_set_slot_as_unbootable()
[all …]
/system/core/libbacktrace/
DAndroid.build.mk19 LOCAL_MODULE := $(module)
21 LOCAL_MULTILIB := $($(module)_multilib)
41 $($(module)_cflags) \
42 $($(module)_cflags_$(build_type)) \
49 $($(module)_conlyflags) \
50 $($(module)_conlyflags_$(build_type)) \
54 $($(module)_cppflags) \
55 $($(module)_cppflags_$(build_type)) \
59 $($(module)_c_includes) \
60 $($(module)_c_includes_$(build_type)) \
[all …]
DAndroid.mk66 module := libbacktrace
119 module := libbacktrace_offline
138 module := libbacktrace_test
204 module := backtrace_test
/system/extras/simpleperf/runtest/
DAndroid.mk19 module := simpleperf_runtest_one_function
23 module := simpleperf_runtest_two_functions
27 module := simpleperf_runtest_function_fork
31 module := simpleperf_runtest_function_pthread
35 module := simpleperf_runtest_comm_change
39 module := simpleperf_runtest_function_recursive
43 module := simpleperf_runtest_function_indirect_recursive
DAndroid.build.mk25 LOCAL_MODULE := $(module)
35 LOCAL_MODULE := $(module)
/system/bt/btcore/include/
Dmodule.h46 bool module_init(const module_t *module);
49 bool module_start_up(const module_t *module);
52 void module_shut_down(const module_t *module);
55 void module_clean_up(const module_t *module);
64 const module_t *module,
Dhal_util.h24 int hal_util_load_bt_library(const struct hw_module_t **module);
/system/core/libmemtrack/
Dmemtrack.c31 static const memtrack_module_t *module; variable
47 if (module) { in memtrack_init()
52 (hw_module_t const**)&module); in memtrack_init()
59 return module->init(module); in memtrack_init()
64 if (!module) { in memtrack_proc_new()
90 ret = module->getMemory(module, pid, type, t->records, &num_records); in memtrack_proc_get_type()
127 if (!module) { in memtrack_proc_get()
/system/extras/boot_control_copy/
Dboot_control_copy.c33 void module_init(boot_control_module_t *module) in module_init() argument
37 unsigned module_getNumberSlots(boot_control_module_t *module) in module_getNumberSlots() argument
61 unsigned module_getCurrentSlot(boot_control_module_t *module) in module_getCurrentSlot() argument
90 int module_markBootSuccessful(boot_control_module_t *module) in module_markBootSuccessful() argument
134 int module_setActiveBootSlot(boot_control_module_t *module, unsigned slot) in module_setActiveBootSlot() argument
207 int module_setSlotAsUnbootable(struct boot_control_module *module, unsigned slot) in module_setSlotAsUnbootable() argument
234 int module_isSlotBootable(struct boot_control_module *module, unsigned slot) in module_isSlotBootable() argument
254 const char* module_getSuffix(boot_control_module_t *module, unsigned slot) in module_getSuffix() argument
/system/extras/simpleperf/
Denvironment_test.cpp46 ModulesMatch(sym1.module, sym2.module); in KernelSymbolsMatch()
60 expected_symbol.module = "libsas"; in TEST()
67 expected_symbol.module = nullptr; in TEST()
Denvironment.cpp125 char module[reader.MaxLineSize()]; in ProcessKernelSymbols() local
126 strcpy(module, ""); in ProcessKernelSymbols()
129 if (sscanf(line, "%" PRIx64 " %c %s%s", &symbol.addr, &symbol.type, name, module) < 3) { in ProcessKernelSymbols()
133 size_t module_len = strlen(module); in ProcessKernelSymbols()
134 if (module_len > 2 && module[0] == '[' && module[module_len - 1] == ']') { in ProcessKernelSymbols()
135 module[module_len - 1] = '\0'; in ProcessKernelSymbols()
136 symbol.module = &module[1]; in ProcessKernelSymbols()
138 symbol.module = nullptr; in ProcessKernelSymbols()
208 for (auto& module : module_mmaps) { in GetModulesInUse() local
209 auto it = module_file_map.find(module.name); in GetModulesInUse()
[all …]
/system/connectivity/shill/wifi/
Dwifi_driver_hal.cc32 const hw_module_t* module; in WiFiDriverInit() local
36 ret = hw_get_module(WIFI_DRIVER_DEVICE_ID_MAIN, &module); in WiFiDriverInit()
42 if (wifi_driver_open(module, &driver) != 0) { in WiFiDriverInit()
/system/core/trusty/gatekeeper/
Dmodule.cpp27 static int trusty_gatekeeper_open(const hw_module_t *module, const char *name, in trusty_gatekeeper_open() argument
34 TrustyGateKeeperDevice *gatekeeper = new TrustyGateKeeperDevice(module); in trusty_gatekeeper_open()
Dtrusty_gatekeeper.cpp34 TrustyGateKeeperDevice::TrustyGateKeeperDevice(const hw_module_t *module) { in TrustyGateKeeperDevice() argument
50 device_.common.module = const_cast<hw_module_t *>(module); in TrustyGateKeeperDevice()
DAndroid.mk32 module.cpp \
/system/vold/
DKeymaster.cpp170 const hw_module_t* module; in Keymaster() local
171 int ret = hw_get_module_by_class(KEYSTORE_HARDWARE_MODULE_ID, NULL, &module); in Keymaster()
176 if (module->module_api_version == KEYMASTER_MODULE_API_VERSION_1_0) { in Keymaster()
178 ret = keymaster1_open(module, &device); in Keymaster()
184 } else if (module->module_api_version == KEYMASTER_MODULE_API_VERSION_2_0) { in Keymaster()
186 ret = keymaster2_open(module, &device); in Keymaster()
193 LOG(ERROR) << "module_api_version is " << module->module_api_version; in Keymaster()
/system/bt/bta/sys/
Dbta_sys_main.c242 void bta_sys_hw_register( tBTA_SYS_HW_MODULE module, tBTA_SYS_HW_CBACK *cback) in bta_sys_hw_register() argument
244 bta_sys_cb.sys_hw_cback[module]=cback; in bta_sys_hw_register()
248 void bta_sys_hw_unregister( tBTA_SYS_HW_MODULE module ) in bta_sys_hw_unregister() argument
250 bta_sys_cb.sys_hw_cback[module]=NULL; in bta_sys_hw_unregister()
611 void bta_sys_disable(tBTA_SYS_HW_MODULE module) in bta_sys_disable() argument
616 APPL_TRACE_DEBUG("bta_sys_disable: module %i", module); in bta_sys_disable()
618 switch( module ) in bta_sys_disable()
Dbta_sys.h233 extern void bta_sys_disable(tBTA_SYS_HW_MODULE module);
235 extern void bta_sys_hw_register( tBTA_SYS_HW_MODULE module, tBTA_SYS_HW_CBACK *cback);
236 extern void bta_sys_hw_unregister( tBTA_SYS_HW_MODULE module );
/system/extras/perfprofd/
Dperf_data_converter.cc111 auto module = program->add_modules(); in RawPerfDataToAndroidPerfProfile() local
112 module->set_load_module_id(module_id); in RawPerfDataToAndroidPerfProfile()
114 auto address_samples = module->add_address_samples(); in RawPerfDataToAndroidPerfProfile()
119 auto range_samples = module->add_range_samples(); in RawPerfDataToAndroidPerfProfile()
/system/sepolicy/
Dfingerprintd.te11 # allow HAL module to read dir contents
14 # allow HAL module to read/write/unlink contents of this dir
/system/bt/service/test/
Dfake_hal_util.cpp25 int hal_util_load_bt_library(const struct hw_module_t** module) { in hal_util_load_bt_library() argument
/system/bt/service/hal/
Dbluetooth_interface.cpp258 const hw_module_t* module; in Initialize() local
259 int status = hal_util_load_bt_library(&module); in Initialize()
267 status = module->methods->open(module, BT_HARDWARE_MODULE_ID, &device); in Initialize()
/system/gatekeeper/
Drules.mk15 include make/module.mk

123