/system/bt/btcore/src/ |
D | module.cc | 48 static module_state_t get_module_state(const module_t* module); 49 static void set_module_state(const module_t* module, module_state_t state); 58 module_t* module = (module_t*)dlsym(RTLD_DEFAULT, name); in get_module() local 59 CHECK(module); in get_module() 60 return module; in get_module() 63 bool module_init(const module_t* module) { in module_init() argument 64 CHECK(module != NULL); in module_init() 65 CHECK(get_module_state(module) == MODULE_STATE_NONE); in module_init() 67 if (!call_lifecycle_function(module->init)) { in module_init() 69 module->name); in module_init() [all …]
|
/system/tools/xsdc/build/ |
D | xsdc.go | 97 func (module *xsdConfig) GeneratedSourceFiles() android.Paths { 98 return android.Paths{module.genOutputs_c} 101 func (module *xsdConfig) Srcs() android.Paths { 102 return android.Paths{module.genOutputs_j} 105 func (module *xsdConfig) GeneratedDeps() android.Paths { 106 return android.Paths{module.genOutputs_h} 109 func (module *xsdConfig) GeneratedHeaderDirs() android.Paths { 110 return android.Paths{module.genOutputDir} 113 func (module *xsdConfig) DepsMutator(ctx android.BottomUpMutatorContext) { 114 android.ExtractSourcesDeps(ctx, module.properties.Srcs) [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/bt/btcore/include/ |
D | module.h | 50 bool module_init(const module_t* module); 53 bool module_start_up(const module_t* module); 56 void module_shut_down(const module_t* module); 59 void module_clean_up(const module_t* module); 68 const module_t* module,
|
/system/sepolicy/prebuilts/api/29.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: 20 ; Unfortunately, we can't currently express this in module policy language: 24 ; Unfortunately, we can't currently express this in module policy language: 29 ; Unfortunately, we can't currently express this in module policy language: 34 ; Unfortunately, we can't currently express this in module policy language: 39 ; Unfortunately, we can't currently express this in module policy language: 44 ; Unfortunately, we can't currently express this in module policy language: [all …]
|
/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: 20 ; Unfortunately, we can't currently express this in module policy language: 24 ; Unfortunately, we can't currently express this in module policy language: 29 ; Unfortunately, we can't currently express this in module policy language: 34 ; Unfortunately, we can't currently express this in module policy language: 39 ; Unfortunately, we can't currently express this in module policy language: 44 ; Unfortunately, we can't currently express this in module policy language: [all …]
|
/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/bt/build/ |
D | fluoride.go | 28 module := cc.DefaultsFactory() 29 android.AddLoadHook(module, fluorideDefaults) 31 return module
|
/system/sepolicy/build/soong/ |
D | filegroup.go | 27 module := &fileGroup{} 28 module.AddProperties(&module.properties) 29 android.InitAndroidModule(module) 30 return module
|
/system/extras/simpleperf/ |
D | utils_test.cpp | 36 ModulesMatch(sym1.module, sym2.module); in KernelSymbolsMatch() 48 expected_symbol.module = "libsas"; in TEST() 56 expected_symbol.module = nullptr; in TEST()
|
D | utils.cpp | 350 char module[line_size]; in ProcessKernelSymbols() local 351 strcpy(module, ""); in ProcessKernelSymbols() 354 int ret = sscanf(p, "%" PRIx64 " %c %s%s", &symbol.addr, &symbol.type, name, module); in ProcessKernelSymbols() 363 size_t module_len = strlen(module); in ProcessKernelSymbols() 364 if (module_len > 2 && module[0] == '[' && module[module_len - 1] == ']') { in ProcessKernelSymbols() 365 module[module_len - 1] = '\0'; in ProcessKernelSymbols() 366 symbol.module = &module[1]; in ProcessKernelSymbols() 368 symbol.module = nullptr; in ProcessKernelSymbols()
|
/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/core/trusty/keymaster/legacy/ |
D | module.cpp | 29 static int trusty_keymaster_open(const hw_module_t* module, const char* name, in trusty_keymaster_open() argument 35 TrustyKeymasterDevice* dev = new TrustyKeymasterDevice(module); in trusty_keymaster_open()
|
/system/tools/sysprop/ |
D | JavaGen.cpp | 267 const std::string& module = props.module(); in GetJavaPackageName() local 268 return module.substr(0, module.rfind('.')); in GetJavaPackageName() 272 const std::string& module = props.module(); in GetJavaClassName() local 273 return module.substr(module.rfind('.') + 1); in GetJavaClassName()
|
D | Common.cpp | 211 std::vector<std::string> names = android::base::Split(props.module(), "."); in ValidateProps() 213 if (err) *err = "Invalid module name \"" + props.module() + "\""; in ValidateProps() 293 const std::string& module = props.module(); in GetModuleName() local 294 return module.substr(module.rfind('.') + 1); in GetModuleName()
|
/system/vold/ |
D | Checkpoint.cpp | 118 sp<IBootControl> module = IBootControl::getService(); in cp_startCheckpoint() local 119 if (module) { in cp_startCheckpoint() 122 if (module->getSuffix(module->getCurrentSlot(), cb).isOk()) content += " " + suffix; in cp_startCheckpoint() 144 sp<IBootControl> module = IBootControl::getService(); in cp_commitChanges() local 145 if (module) { in cp_commitChanges() 147 module->markBootSuccessful([&cr](CommandResult result) { cr = result; }); in cp_commitChanges() 233 sp<IBootControl> module = IBootControl::getService(); in cp_needsRollback() local 236 if (module) { in cp_needsRollback() 238 module->getSuffix(module->getCurrentSlot(), cb); in cp_needsRollback() 249 sp<IBootControl> module = IBootControl::getService(); in cp_needsCheckpoint() local [all …]
|
/system/tools/aidl/build/ |
D | api_preamble.txt | 12 // with the aidl_interface module type with versions property set. The module 16 // later when a module using the interface is updated, e.g., Mainline modules.
|
/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
|
/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
|
/system/bt/bta/sys/ |
D | bta_sys_main.cc | 229 void bta_sys_hw_register(tBTA_SYS_HW_MODULE module, tBTA_SYS_HW_CBACK* cback) { in bta_sys_hw_register() argument 230 bta_sys_cb.sys_hw_cback[module] = cback; in bta_sys_hw_register() 233 void bta_sys_hw_unregister(tBTA_SYS_HW_MODULE module) { in bta_sys_hw_unregister() argument 234 bta_sys_cb.sys_hw_cback[module] = NULL; in bta_sys_hw_unregister() 564 void bta_sys_disable(tBTA_SYS_HW_MODULE module) { in bta_sys_disable() argument 568 APPL_TRACE_DEBUG("bta_sys_disable: module %i", module); in bta_sys_disable() 570 switch (module) { in bta_sys_disable()
|