Searched refs:hardware (Results 1 - 25 of 251) sorted by relevance

1234567891011

/external/robolectric/v1/src/main/java/android/hardware/
H A DTestSensorManager.java1 package android.hardware;
/external/syslinux/com32/hdt/
H A Dhdt.c51 static struct s_hardware hardware; local
57 init_hardware(&hardware);
60 detect_syslinux(&hardware);
63 detect_parameters(argc, argv, &hardware);
66 init_console(&hardware);
68 /* Detect hardware */
69 detect_hardware(&hardware);
80 start_cli_mode(&hardware);
82 return_code = start_menu_mode(&hardware, version_string);
84 start_cli_mode(&hardware);
[all...]
H A Dhdt-cli-cpu.c38 struct s_hardware *hardware)
45 if (hardware->acpi.madt.processor_local_apic_count > 0) {
47 hardware->acpi.madt.processor_local_apic_count,
48 hardware->physical_cpu_count);
51 more_printf(" Manufacturer : %s \n", hardware->cpu.vendor);
52 more_printf(" Product : %s \n", hardware->cpu.model);
53 more_printf(" CPU Cores : %d \n", hardware->cpu.num_cores);
54 if (hardware->dmi.processor.thread_count != 0)
55 more_printf(" CPU Threads : %d \n", hardware->dmi.processor.thread_count);
56 more_printf(" L2 Cache : %dK\n", hardware
37 main_show_cpu(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
98 show_cpu(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
[all...]
H A Dhdt-common.c41 void convert_isolinux_filename(char *filename, struct s_hardware *hardware) argument
44 if (hardware->sv->filesystem != SYSLINUX_FS_ISOLINUX)
61 struct s_hardware *hardware)
86 strlcpy(hardware->modules_pcimap_path, argv[i] + 15,
87 sizeof(hardware->modules_pcimap_path));
88 convert_isolinux_filename(hardware->modules_pcimap_path, hardware);
90 strlcpy(hardware->pciids_path, argv[i] + 7,
91 sizeof(hardware->pciids_path));
92 convert_isolinux_filename(hardware
60 detect_parameters(const int argc, const char *argv[], struct s_hardware *hardware) argument
170 detect_syslinux(struct s_hardware *hardware) argument
194 init_hardware(struct s_hardware *hardware) argument
254 detect_dmi(struct s_hardware *hardware) argument
273 detect_acpi(struct s_hardware *hardware) argument
296 detect_vpd(struct s_hardware *hardware) argument
313 detect_vesa(struct s_hardware *hardware) argument
393 detect_disks(struct s_hardware *hardware) argument
421 detect_pxe(struct s_hardware *hardware) argument
541 detect_memory(struct s_hardware *hardware) argument
548 detect_pci(struct s_hardware *hardware) argument
599 cpu_detect(struct s_hardware *hardware) argument
737 init_console(struct s_hardware *hardware) argument
746 detect_hardware(struct s_hardware *hardware) argument
[all...]
H A Dhdt-cli-vpd.c36 struct s_hardware *hardware)
40 if (!hardware->is_vpd_valid) {
45 more_printf("VPD present at address : %s\n", hardware->vpd.base_address);
46 if (strlen(hardware->vpd.bios_build_id) > 0)
48 hardware->vpd.bios_build_id);
49 if (strlen(hardware->vpd.bios_release_date) > 0)
51 hardware->vpd.bios_release_date);
52 if (strlen(hardware->vpd.bios_version) > 0)
54 hardware->vpd.bios_version);
55 if (strlen(hardware
35 main_show_vpd(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
[all...]
H A Dhdt-cli-dmi.c38 struct s_hardware *hardware)
45 if (hardware->dmi.base_board.filled == true)
47 if (hardware->dmi.battery.filled == true)
49 if (hardware->dmi.bios.filled == true)
51 if (hardware->dmi.chassis.filled == true)
53 for (int i = 0; i < hardware->dmi.memory_count; i++) {
54 if (hardware->dmi.memory[i].filled == true) {
59 for (int i = 0; i < hardware->dmi.memory_module_count; i++) {
60 if (hardware->dmi.memory_module[i].filled == true) {
65 if (hardware
37 show_dmi_modules(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
79 show_dmi_base_board(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
121 show_dmi_system(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
178 show_dmi_bios(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
221 show_dmi_chassis(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
254 show_dmi_ipmi(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
277 show_dmi_battery(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
308 show_dmi_cpu(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
368 show_dmi_memory_bank(int argc, char **argv, struct s_hardware *hardware) argument
412 show_dmi_cache(int argc, char **argv, struct s_hardware *hardware) argument
461 show_dmi_memory_module(int argc, char **argv, struct s_hardware *hardware) argument
502 main_show_dmi(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
518 show_dmi_memory_modules(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
588 show_dmi_oem_strings(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
597 show_dmi_hardware_security(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
[all...]
H A Dhdt-menu-vpd.c34 void compute_vpd(struct s_my_menu *menu, struct s_hardware *hardware) argument
44 hardware->vpd.base_address);
46 hardware->cpu.vendor);
50 if (strlen(hardware->vpd.bios_build_id) > 0) {
52 hardware->vpd.bios_build_id);
54 hardware->vpd.bios_build_id);
59 if (strlen(hardware->vpd.bios_release_date) > 0) {
61 hardware->vpd.bios_release_date);
63 hardware->vpd.bios_release_date);
68 if (strlen(hardware
[all...]
H A Dhdt-menu-processor.c51 void compute_processor(struct s_my_menu *menu, struct s_hardware *hardware) argument
57 if (hardware->acpi.madt.processor_local_apic_count > 0) {
60 hardware->acpi.madt.processor_local_apic_count,
61 hardware->physical_cpu_count);
71 snprintf(buffer, sizeof buffer, "Vendor : %s", hardware->cpu.vendor);
72 snprintf(statbuffer, sizeof statbuffer, "Vendor: %s", hardware->cpu.vendor);
76 snprintf(buffer, sizeof buffer, "Model : %s", hardware->cpu.model);
77 snprintf(statbuffer, sizeof statbuffer, "Model: %s", hardware->cpu.model);
81 snprintf(buffer, sizeof buffer, "CPU Cores : %d", hardware->cpu.num_cores);
83 hardware
[all...]
H A Dhdt-cli-acpi.c62 struct s_hardware *hardware)
66 if (hardware->is_acpi_valid == false) {
75 if (hardware->acpi.rsdp.valid) {
76 s_rsdp *r = &hardware->acpi.rsdp;
82 if (hardware->acpi.rsdt.valid)
83 show_header(hardware->acpi.rsdt.address,
84 &hardware->acpi.rsdt.header);
86 if (hardware->acpi.xsdt.valid)
87 show_header(hardware->acpi.xsdt.address,
88 &hardware
61 main_show_acpi(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
244 show_acpi_apic(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
[all...]
H A Dhdt-menu-syslinux.c33 void compute_syslinuxmenu(struct s_my_menu *menu, struct s_hardware *hardware) argument
42 hardware->syslinux_fs);
47 snprintf(buffer, sizeof buffer, "Bootloader : %s", hardware->syslinux_fs);
49 hardware->syslinux_fs);
54 hardware->sv->version_string);
56 hardware->sv->version_string);
60 snprintf(buffer, sizeof buffer, "Version : %u", hardware->sv->version);
62 hardware->sv->version);
66 snprintf(buffer, sizeof buffer, "Max API : %u", hardware->sv->max_api);
68 hardware
[all...]
H A Dhdt-menu-acpi.c47 struct s_hardware *hardware)
62 if (hardware->acpi.rsdt.valid)
63 compute_table(menu,hardware->acpi.rsdt.address,
64 &hardware->acpi.rsdt.header);
66 if (hardware->acpi.xsdt.valid)
67 compute_table(menu,hardware->acpi.xsdt.address,
68 &hardware->acpi.xsdt.header);
70 if (hardware->acpi.fadt.valid)
71 compute_table(menu,hardware->acpi.fadt.address, &hardware
46 compute_acpi_tables(struct s_my_menu *menu, struct s_hardware *hardware) argument
122 compute_ACPI(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware) argument
[all...]
H A Dhdt-menu.c34 int start_menu_mode(struct s_hardware *hardware, char *version_string) argument
44 compute_submenus(&hdt_menu, hardware);
47 compute_main_menu(&hdt_menu, hardware);
68 dump(hardware);
146 void compute_submenus(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware) argument
150 if (hardware->is_dmi_valid) {
151 if (hardware->dmi.ipmi.filled == true)
152 compute_ipmi(&hdt_menu->ipmi_menu, &hardware->dmi);
153 if (hardware->dmi.base_board.filled == true)
154 compute_motherboard(&(hdt_menu->mobo_menu), &(hardware
181 compute_main_menu(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware) argument
[all...]
H A Dhdt-cli-vesa.c37 struct s_hardware *hardware)
40 if (hardware->is_vesa_valid == false) {
45 more_printf(" Vesa version : %d.%d\n", hardware->vesa.major_version,
46 hardware->vesa.minor_version);
47 more_printf(" Vendor : %s\n", hardware->vesa.vendor);
48 more_printf(" Product : %s\n", hardware->vesa.product);
49 more_printf(" Product rev. : %s\n", hardware->vesa.product_revision);
50 more_printf(" Software rev.: %d\n", hardware->vesa.software_rev);
51 more_printf(" Memory (KB) : %d\n", hardware->vesa.total_memory * 64);
52 more_printf(" Modes : %d\n", hardware
36 main_show_vesa(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
55 show_vesa_modes(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
81 enable_vesa(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
89 disable_vesa(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
[all...]
H A Dhdt-dump-kernel.c32 void dump_kernel(struct s_hardware *hardware, ZZJSON_CONFIG * config, argument
40 if (hardware->pci_ids_return_code == -ENOPCIIDS) {
47 if ((hardware->modules_pcimap_return_code == -ENOMODULESPCIMAP)
48 &&(hardware->modules_pcimap_return_code == -ENOMODULESALIAS)) {
57 for_each_pci_func(pci_device, hardware->pci_domain) {
H A Dhdt-dump-dmi.c32 void dump_hardware_security(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) { argument
33 if (!hardware->dmi.hardware_security.filled) {
35 add_s("dmi.warning","No hardware security structure found");
49 void dump_oem_strings(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) { argument
50 if (strlen(hardware->dmi.oem_strings) == 0) {
62 void dump_memory_size(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) { argument
65 add_i("dmi.memory_size (KB)",hardware->detected_memory_size);
66 add_i("dmi.memory_size (MB)",(hardware->detected_memory_size + (1 << 9)) >> 10);
70 void dump_memory_modules(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) { argument
72 if (hardware
103 dump_cache(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) argument
130 dump_memory_banks(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) argument
172 dump_processor(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) argument
220 dump_battery(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) argument
245 dump_ipmi(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) argument
276 dump_chassis(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) argument
302 dump_bios(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) argument
346 dump_system(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) argument
382 dump_base_board(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) argument
417 dump_dmi(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) argument
[all...]
H A Dhdt-dump-pxe.c34 void dump_pxe(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) { argument
39 if (hardware->is_pxe_valid) {
41 snprintf(buffer,sizeof(buffer),"0x%x",hardware->pxe.vendor_id);
43 snprintf(buffer,sizeof(buffer),"0x%x",hardware->pxe.product_id);
45 snprintf(buffer,sizeof(buffer),"0x%x",hardware->pxe.subvendor_id);
47 snprintf(buffer,sizeof(buffer),"0x%x",hardware->pxe.subproduct_id);
50 if (hardware->pci_ids_return_code == -ENOPCIIDS || (hardware->pxe.pci_device == NULL)) {
54 add_s("Manufacturer_name", hardware->pxe.pci_device->dev_info->vendor_name);
55 add_s("Product_name", hardware
[all...]
H A Dhdt-cli-syslinux.c40 struct s_hardware *hardware)
44 more_printf(" Bootloader : %s\n", hardware->syslinux_fs);
45 more_printf(" Version : %s\n", hardware->sv->version_string);
46 more_printf(" Version : %u\n", hardware->sv->version);
47 more_printf(" Max API : %u\n", hardware->sv->max_api);
48 more_printf(" Copyright : %s\n", hardware->sv->copyright_string);
39 main_show_syslinux(int argc __unused, char **argv __unused, struct s_hardware *hardware) argument
H A Dhdt-menu-vesa.c33 struct s_hardware *hardware)
43 hardware->vesa.major_version, hardware->vesa.minor_version);
45 hardware->vesa.major_version, hardware->vesa.minor_version);
49 snprintf(buffer, sizeof buffer, "Vendor : %s", hardware->vesa.vendor);
51 hardware->vesa.vendor);
55 snprintf(buffer, sizeof buffer, "Product : %s", hardware->vesa.product);
57 hardware->vesa.product);
62 hardware
32 compute_vesa_card(struct s_my_menu *menu, struct s_hardware *hardware) argument
84 compute_vesa_modes(struct s_my_menu *menu, struct s_hardware *hardware) argument
110 compute_VESA(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware) argument
[all...]
H A Dhdt-dump-vesa.c33 void dump_vesa(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) { argument
37 if (hardware->is_vesa_valid) {
39 snprintf(buffer,sizeof(buffer),"%d.%d", hardware->vesa.major_version, hardware->vesa.minor_version);
46 snprintf(buffer,sizeof(buffer),"%d KB",hardware->vesa.total_memory*64);
48 add_i("vesa.modes",hardware->vesa.vmi_count);
50 for (int i = 0; i < hardware->vesa.vmi_count; i++) {
51 struct vesa_mode_info *mi = &hardware->vesa.vmi[i].mi;
56 snprintf(buffer,sizeof(buffer),"0x%04x",hardware->vesa.vmi[i].mode + 0x200);
H A Dhdt-dump.c45 char *get_value_from_option(struct s_hardware *hardware, char *option) argument
49 dump_options[0].item = hardware->pxe.mac_addr;
52 dump_options[1].item = hardware->dmi.system.manufacturer;
55 dump_options[2].item = hardware->dmi.system.product_name;
58 dump_options[3].item = hardware->dmi.base_board.asset_tag;
61 dump_options[4].item = hardware->dmi.base_board.serial;
64 dump_options[5].item = hardware->dmi.chassis.asset_tag;
67 dump_options[6].item = hardware->dmi.chassis.serial;
70 dump_options[7].item = hardware->dmi.system.sku_number;
73 dump_options[8].item = hardware
87 compute_filename(struct s_hardware *hardware) argument
156 dump(struct s_hardware *hardware) argument
[all...]
H A Dhdt-menu-summary.c32 void compute_summarymenu(struct s_my_menu *menu, struct s_hardware *hardware) argument
37 snprintf(buffer, sizeof(buffer), " Summary (%d CPU) ", hardware->physical_cpu_count);
43 snprintf(buffer, sizeof buffer, "CPU Vendor : %s", hardware->cpu.vendor);
45 hardware->cpu.vendor);
49 snprintf(buffer, sizeof buffer, "CPU Model : %s", hardware->cpu.model);
51 hardware->cpu.model);
56 if (hardware->dmi.processor.thread_count != 0)
57 sprintf(buffer, ", %d thread", hardware->dmi.processor.thread_count);
60 sprintf(features, "%d core%s, %dK L2 Cache", hardware->cpu.num_cores,
61 buffer, hardware
[all...]
/external/nos/host/android/hals/authsecret/include/
H A DAuthSecret.h20 #include <android/hardware/authsecret/1.0/IAuthSecret.h>
25 namespace hardware { namespace in namespace:android
28 using ::android::hardware::authsecret::V1_0::IAuthSecret;
29 using ::android::hardware::hidl_vec;
30 using ::android::hardware::Return;
38 // Methods from ::android::hardware::authsecret::V1_0::IAuthSecret follow.
46 } // namespace hardware
/external/nos/host/android/hals/keymaster/
H A Dimport_key.h20 #include <android/hardware/keymaster/4.0/IKeymasterDevice.h>
25 namespace hardware { namespace in namespace:android
29 using ::android::hardware::keymaster::V4_0::ErrorCode;
30 using ::android::hardware::keymaster::V4_0::KeyFormat;
31 using ::android::hardware::keymaster::V4_0::KeyParameter;
42 } // hardware
H A Dimport_wrapped_key.h20 #include <android/hardware/keymaster/4.0/IKeymasterDevice.h>
25 namespace hardware { namespace in namespace:android
29 using ::android::hardware::keymaster::V4_0::ErrorCode;
30 using ::android::hardware::keymaster::V4_0::KeyFormat;
31 using ::android::hardware::keymaster::V4_0::KeyParameter;
44 } // hardware
H A Dexport_key.h20 #include <android/hardware/keymaster/4.0/IKeymasterDevice.h>
25 namespace hardware { namespace in namespace:android
29 using ::android::hardware::keymaster::V4_0::ErrorCode;
38 } // hardware

Completed in 315 milliseconds

1234567891011