Searched refs:module (Results 1 - 25 of 49) sorted by relevance

12

/system/bt/btcore/src/
H A Dmodule.cc28 #include "btcore/include/module.h"
45 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);
55 module_t* module = (module_t*)dlsym(RTLD_DEFAULT, name); local
56 CHECK(module);
57 return module;
60 bool module_init(const module_t* module) { argument
61 CHECK(module != NULL);
62 CHECK(get_module_state(module) == MODULE_STATE_NONE);
64 if (!call_lifecycle_function(module
74 module_start_up(const module_t* module) argument
96 module_shut_down(const module_t* module) argument
116 module_clean_up(const module_t* module) argument
148 get_module_state(const module_t* module) argument
155 set_module_state(const module_t* module, module_state_t state) argument
164 const module_t* module; member in struct:__anon493
174 module_start_up_callbacked_wrapper(const module_t* module, thread_t* callback_thread, thread_fn callback) argument
[all...]
/system/bt/btcore/include/
H A Dmodule.h39 // Prepares module management. Must be called before doing anything with
42 // Cleans up all module management resources.
47 // Initialize the provided module. |module| may not be NULL
49 bool module_init(const module_t* module);
50 // Start up the provided module. |module| may not be NULL
52 bool module_start_up(const module_t* module);
53 // Shut down the provided module. |module| ma
[all...]
/system/extras/simpleperf/runtest/
H A DAndroid.build.mk25 LOCAL_MODULE := $(module)
27 LOCAL_MODULE_STEM_32 := $(module)32
28 LOCAL_MODULE_STEM_64 := $(module)64
37 LOCAL_MODULE := $(module)
40 LOCAL_MODULE_STEM_32 := $(module)32
41 LOCAL_MODULE_STEM_64 := $(module)64
H A DAndroid.mk19 module := simpleperf_runtest_one_function macro
23 module := simpleperf_runtest_two_functions macro
27 module := simpleperf_runtest_function_fork macro
31 module := simpleperf_runtest_function_pthread macro
35 module := simpleperf_runtest_comm_change macro
39 module := simpleperf_runtest_function_recursive macro
43 module := simpleperf_runtest_function_indirect_recursive macro
47 module := simpleperf_runtest_run_and_sleep macro
/system/tools/hidl/scripts/
H A Drun-tests.sh28 local module=$1
30 local test_file=/data/${test_dir}/${module}/${module}
40 local module=$1
44 local test_file=/data/${test_dir}/${module}/${module}
102 for module in ${modules} ; do
103 push_test ${module}
108 for module in ${modules} ; do
109 run_test ${module} || statu
[all...]
/system/extras/bootctl/
H A Dbootctl.cpp54 static int do_hal_info(const sp<IBootControl> module) { argument
55 module->interfaceDescriptor([&](const auto& descriptor) {
63 static int do_get_number_slots(sp<IBootControl> module) argument
65 uint32_t numSlots = module->getNumberSlots();
70 static int do_get_current_slot(sp<IBootControl> module) argument
72 Slot curSlot = module->getCurrentSlot();
94 static int do_mark_boot_successful(sp<IBootControl> module)
97 Return<void> ret = module->markBootSuccessful(generate_callback(&cr));
101 static int do_set_active_boot_slot(sp<IBootControl> module,
105 Return<void> ret = module
[all...]
/system/tools/hidl/c2hal/test/
H A Dsimple.h72 static inline int showColor(const struct hw_module_t* module, argument
74 return module->methods->open(module,
/system/core/trusty/gatekeeper/
H A Dmodule.cpp27 static int trusty_gatekeeper_open(const hw_module_t *module, const char *name, argument
34 TrustyGateKeeperDevice *gatekeeper = new TrustyGateKeeperDevice(module);
/system/core/trusty/keymaster/
H A Dmodule.cpp29 static int trusty_keymaster_open(const hw_module_t* module, const char* name, hw_device_t** device) { argument
34 TrustyKeymasterDevice* dev = new TrustyKeymasterDevice(module);
/system/extras/simpleperf/
H A Dutils_test.cpp35 ModulesMatch(sym1.module, sym2.module);
47 expected_symbol.module = "libsas";
55 expected_symbol.module = nullptr;
H A Dutils.cpp294 char module[line_size]; local
295 strcpy(module, "");
298 int ret = sscanf(p, "%" PRIx64 " %c %s%s", &symbol.addr, &symbol.type, name, module);
307 size_t module_len = strlen(module);
308 if (module_len > 2 && module[0] == '[' && module[module_len - 1] == ']') {
309 module[module_len - 1] = '\0';
310 symbol.module = &module[1];
312 symbol.module
[all...]
/system/nvram/hal/
H A Dtesting_module.c20 int testing_nvram_open(const hw_module_t* module,
H A Dtesting_nvram_implementation.cpp130 extern "C" int testing_nvram_open(const hw_module_t* module, argument
138 new nvram::NvramDeviceAdapter(module, new TestingNvramImplementation);
/system/nvram/messages/
H A Drules.mk34 include make/module.mk
/system/gatekeeper/
H A Drules.mk20 include make/module.mk
/system/nvram/core/tests/
H A Drules.mk34 include make/module.mk
/system/nvram/core/
H A Drules.mk21 # this module into the unittest app with dependencies mocked out.
47 include make/module.mk
/system/nvram/hal/include/nvram/hal/
H A Dnvram_device_adapter.h42 // to be used in the HAL module's |open()| operation. To obtain the desired
48 NvramDeviceAdapter(const hw_module_t* module,
/system/extras/boot_control_copy/
H A Dboot_control_copy.cpp34 void module_init(boot_control_module_t *module) argument
38 unsigned module_getNumberSlots(boot_control_module_t *module) argument
62 unsigned module_getCurrentSlot(boot_control_module_t *module) argument
91 int module_markBootSuccessful(boot_control_module_t *module) argument
135 int module_setActiveBootSlot(boot_control_module_t *module, unsigned slot) argument
208 int module_setSlotAsUnbootable(struct boot_control_module *module, unsigned slot) argument
235 int module_isSlotBootable(struct boot_control_module *module, unsigned slot) argument
255 const char* module_getSuffix(boot_control_module_t *module, unsigned slot) argument
/system/bt/embdrv/sbc/decoder/include/
H A Doi_osinterface.h63 * @param module Module in which the error was detected (see
68 void OI_LogError(OI_MODULE module, OI_INT lineno, OI_STATUS status);
/system/extras/tests/bootloader/
H A DAndroid.mk3 # Build a module that has all of the python files as its LOCAL_PICKUP_FILES.
/system/timezone/output_data/android/
H A DAndroid.mk14 # A host version of the tzlookup.xml module for use by
/system/timezone/output_data/iana/
H A DAndroid.mk14 # A host version of the tzdata module for use by
/system/bt/bta/sys/
H A Dbta_sys_main.cc234 void bta_sys_hw_register(tBTA_SYS_HW_MODULE module, tBTA_SYS_HW_CBACK* cback) { argument
235 bta_sys_cb.sys_hw_cback[module] = cback;
238 void bta_sys_hw_unregister(tBTA_SYS_HW_MODULE module) { argument
239 bta_sys_cb.sys_hw_cback[module] = NULL;
320 /* register which HW module was turned on */
330 /* register which HW module was turned on */
346 * Description if no other module is using the HW, this function will call
360 /* register which module we turn off */
411 APPL_TRACE_DEBUG("bta_sys_hw_evt_disabled - module 0x%X",
604 void bta_sys_disable(tBTA_SYS_HW_MODULE module) { argument
[all...]
/system/core/libmemtrack/
H A Dmemtrack.cpp48 static android::sp<IMemtrack> module = IMemtrack::getService(); local
49 if (module == nullptr) {
50 ALOGE("Couldn't load memtrack module");
52 return module;

Completed in 959 milliseconds

12