/system/bt/btcore/src/ |
D | module.cc | 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); in get_module() local 56 CHECK(module); in get_module() 57 return module; in get_module() 60 bool module_init(const module_t* module) { in module_init() argument 61 CHECK(module != NULL); in module_init() 62 CHECK(get_module_state(module) == MODULE_STATE_NONE); in module_init() 64 if (!call_lifecycle_function(module->init)) { in module_init() 66 module->name); in module_init() [all …]
|
/system/extras/bootctl/ |
D | bootctl.cpp | 54 static int do_hal_info(const sp<IBootControl> module) { in do_hal_info() argument 55 module->interfaceDescriptor([&](const auto& descriptor) { in do_hal_info() 63 static int do_get_number_slots(sp<IBootControl> module) in do_get_number_slots() argument 65 uint32_t numSlots = module->getNumberSlots(); in do_get_number_slots() 70 static int do_get_current_slot(sp<IBootControl> module) in do_get_current_slot() argument 72 Slot curSlot = module->getCurrentSlot(); in do_get_current_slot() 94 static int do_mark_boot_successful(sp<IBootControl> module) in do_mark_boot_successful() argument 97 Return<void> ret = module->markBootSuccessful(generate_callback(&cr)); in do_mark_boot_successful() 101 static int do_set_active_boot_slot(sp<IBootControl> module, in do_set_active_boot_slot() argument 105 Return<void> ret = module->setActiveBootSlot(slot_number, generate_callback(&cr)); in do_set_active_boot_slot() [all …]
|
/system/tools/hidl/scripts/ |
D | run-tests.sh | 28 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} || status=$?
|
/system/extras/simpleperf/runtest/ |
D | Android.mk | 19 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 47 module := simpleperf_runtest_run_and_sleep
|
D | Android.build.mk | 25 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
|
/system/bt/btcore/include/ |
D | module.h | 49 bool module_init(const module_t* module); 52 bool module_start_up(const module_t* module); 55 void module_shut_down(const module_t* module); 58 void module_clean_up(const module_t* module); 66 void module_start_up_callbacked_wrapper(const module_t* module,
|
/system/sepolicy/private/ |
D | technical_debt.cil | 1 ; THIS IS A WORKAROUND for the current limitations of the module policy language 3 ; stuff below, for example, by improving typeattribute statement of module 9 ; Unfortunately, we can't currently express this in module policy language: 16 ; Unfortunately, we can't currently express this in module policy language: 21 ; Unfortunately, we can't currently express this in module policy language: 26 ; Unfortunately, we can't currently express this in module policy language: 31 ; Unfortunately, we can't currently express this in module policy language: 36 ; Unfortunately, we can't currently express this in module policy language:
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | technical_debt.cil | 1 ; THIS IS A WORKAROUND for the current limitations of the module policy language 3 ; stuff below, for example, by improving typeattribute statement of module 9 ; Unfortunately, we can't currently express this in module policy language: 16 ; Unfortunately, we can't currently express this in module policy language: 21 ; Unfortunately, we can't currently express this in module policy language: 26 ; Unfortunately, we can't currently express this in module policy language: 31 ; Unfortunately, we can't currently express this in module policy language: 36 ; Unfortunately, we can't currently express this in module policy language:
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | technical_debt.cil | 1 ; THIS IS A WORKAROUND for the current limitations of the module policy language 3 ; stuff below, for example, by improving typeattribute statement of module 9 ; Unfortunately, we can't currently express this in module policy language: 16 ; Unfortunately, we can't currently express this in module policy language: 21 ; Unfortunately, we can't currently express this in module policy language: 26 ; Unfortunately, we can't currently express this in module policy language: 31 ; Unfortunately, we can't currently express this in module policy language:
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | technical_debt.cil | 1 ; THIS IS A WORKAROUND for the current limitations of the module policy language 3 ; stuff below, for example, by improving typeattribute statement of module 9 ; Unfortunately, we can't currently express this in module policy language: 16 ; Unfortunately, we can't currently express this in module policy language: 21 ; Unfortunately, we can't currently express this in module policy language: 26 ; Unfortunately, we can't currently express this in module policy language:
|
/system/extras/boot_control_copy/ |
D | boot_control_copy.cpp | 34 void module_init(boot_control_module_t *module) in module_init() argument 38 unsigned module_getNumberSlots(boot_control_module_t *module) in module_getNumberSlots() argument 62 unsigned module_getCurrentSlot(boot_control_module_t *module) in module_getCurrentSlot() argument 91 int module_markBootSuccessful(boot_control_module_t *module) in module_markBootSuccessful() argument 135 int module_setActiveBootSlot(boot_control_module_t *module, unsigned slot) in module_setActiveBootSlot() argument 208 int module_setSlotAsUnbootable(struct boot_control_module *module, unsigned slot) in module_setSlotAsUnbootable() argument 235 int module_isSlotBootable(struct boot_control_module *module, unsigned slot) in module_isSlotBootable() argument 255 const char* module_getSuffix(boot_control_module_t *module, unsigned slot) in module_getSuffix() argument
|
/system/tools/hidl/c2hal/test/ |
D | simple.h | 72 static inline int showColor(const struct hw_module_t* module, in showColor() argument 74 return module->methods->open(module, in showColor()
|
/system/extras/simpleperf/ |
D | utils_test.cpp | 35 ModulesMatch(sym1.module, sym2.module); in KernelSymbolsMatch() 47 expected_symbol.module = "libsas"; in TEST() 55 expected_symbol.module = nullptr; in TEST()
|
D | utils.cpp | 294 char module[line_size]; in ProcessKernelSymbols() local 295 strcpy(module, ""); in ProcessKernelSymbols() 298 int ret = sscanf(p, "%" PRIx64 " %c %s%s", &symbol.addr, &symbol.type, name, module); in ProcessKernelSymbols() 307 size_t module_len = strlen(module); in ProcessKernelSymbols() 308 if (module_len > 2 && module[0] == '[' && module[module_len - 1] == ']') { in ProcessKernelSymbols() 309 module[module_len - 1] = '\0'; in ProcessKernelSymbols() 310 symbol.module = &module[1]; in ProcessKernelSymbols() 312 symbol.module = nullptr; in ProcessKernelSymbols()
|
/system/bt/build/ |
D | fluoride.go | 28 module := cc.DefaultsFactory() 29 android.AddLoadHook(module, fluorideDefaults) 31 return module
|
/system/core/trusty/keymaster/ |
D | module.cpp | 29 static int trusty_keymaster_open(const hw_module_t* module, const char* name, hw_device_t** device)… in trusty_keymaster_open() argument 34 TrustyKeymasterDevice* dev = new TrustyKeymasterDevice(module); in trusty_keymaster_open()
|
/system/core/trusty/gatekeeper/ |
D | module.cpp | 27 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()
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | hal_fingerprint.te | 8 # allow HAL module to read dir contents 11 # allow HAL module to read/write/unlink contents of this dir
|
D | fingerprintd.te | 12 # allow HAL module to read dir contents 15 # allow HAL module to read/write/unlink contents of this dir
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | hal_fingerprint.te | 8 # allow HAL module to read dir contents 11 # allow HAL module to read/write/unlink contents of this dir
|
D | fingerprintd.te | 12 # allow HAL module to read dir contents 15 # allow HAL module to read/write/unlink contents of this dir
|
/system/bt/bta/sys/ |
D | bta_sys_main.cc | 234 void bta_sys_hw_register(tBTA_SYS_HW_MODULE module, tBTA_SYS_HW_CBACK* cback) { in bta_sys_hw_register() argument 235 bta_sys_cb.sys_hw_cback[module] = cback; in bta_sys_hw_register() 238 void bta_sys_hw_unregister(tBTA_SYS_HW_MODULE module) { in bta_sys_hw_unregister() argument 239 bta_sys_cb.sys_hw_cback[module] = NULL; in bta_sys_hw_unregister() 604 void bta_sys_disable(tBTA_SYS_HW_MODULE module) { in bta_sys_disable() argument 608 APPL_TRACE_DEBUG("bta_sys_disable: module %i", module); in bta_sys_disable() 610 switch (module) { in bta_sys_disable()
|
/system/core/logwrapper/ |
D | Android.bp | 45 // TODO: Add vendor_available to "logwrapper" module and remove "logwrapper_vendor" module
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | fingerprintd.te | 12 # allow HAL module to read dir contents 15 # allow HAL module to read/write/unlink contents of this dir
|
/system/sepolicy/public/ |
D | fingerprintd.te | 12 # allow HAL module to read dir contents 15 # allow HAL module to read/write/unlink contents of this dir
|