/hardware/libhardware/ |
H A D | hardware.c | 30 /** Base path of the hal modules */ 62 const char *path, 74 handle = dlopen(path, RTLD_NOW); 77 ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown"); 111 ALOGV("loaded HAL id=%s path=%s hmi=%p handle=%p", 112 id, path, *pHmi, handle); 127 char path[PATH_MAX]; local 148 snprintf(path, sizeof(path), "%s/%s.%s.so", 150 if (access(path, R_O 61 load(const char *id, const char *path, const struct hw_module_t **pHmi) argument [all...] |
/hardware/qcom/display/liblight/ |
H A D | lights.c | 78 write_int(char const* path, int value) argument 83 fd = open(path, O_RDWR); 92 ALOGE("write_int failed to open %s\n", path);
|
/hardware/ti/wpan/ti_st/uim-sysfs/ |
H A D | uim.c | 594 char path[64]; local 597 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id); 598 fd = open(path, O_RDONLY); 600 UIM_DBG("open(%s) failed: %s (%d)\n", path, strerror(errno), errno); 614 sprintf(path, "/sys/class/rfkill/rfkill%d/state", id); 615 sz = chown(path, AID_BLUETOOTH, AID_BLUETOOTH); 617 UIM_ERR("change mode failed for %s (%d)\n", path, errno); 624 sz = chmod(path, 0660); 626 UIM_ERR("change mode failed for %s (%d)\n", path, errn [all...] |
/hardware/msm7k/liblights/ |
H A D | lights.c | 102 write_int(char const* path, int value) argument 107 fd = open(path, O_RDWR); 116 ALOGE("write_int failed to open %s\n", path);
|
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/ |
H A D | uim.c | 616 char path[64]; local 619 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id); 620 fd = open(path, O_RDONLY); 622 UIM_DBG("open(%s) failed: %s (%d)\n", path, strerror(errno), errno); 637 sprintf(path, "/sys/class/rfkill/rfkill%d/state", id); 638 sz = chown(path, AID_BLUETOOTH, AID_BLUETOOTH); 640 UIM_ERR("change mode failed for %s (%d)\n", path, errno); 647 sz = chmod(path, 0660); 649 UIM_ERR("change mode failed for %s (%d)\n", path, errn [all...] |
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/ |
H A D | osapi.c | 429 PVOID os_fopen(const PS8 path, os_fopen_mode_e mode) argument 434 return fopen((char*)path, "r"); 436 return fopen((char*)path, "rb"); 438 return fopen(path, "w"); 440 return fopen(path, "wb");
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/ |
H A D | Registry.cpp | 81 static bool doesDirExist(const char *path); 827 const char *path; local 831 path = getenv(ENV_MC_REGISTRY_PATH.c_str()); 832 if (doesDirExist(path)) { 833 LOG_I("getRegistryPath(): Using MC_REGISTRY_PATH %s", path); 834 registryPath = path; 837 path = getenv(ENV_MC_REGISTRY_FALLBACK_PATH.c_str()); 838 if (doesDirExist(path)) { 839 LOG_I("getRegistryPath(): Using MC_REGISTRY_FALLBACK_PATH %s", path); 840 registryPath = path; 858 const char *path; local 948 doesDirExist(const char *path) argument [all...] |
/hardware/libhardware_legacy/wifi/ |
H A D | wifi.c | 631 int wifi_connect_on_socket_path(int index, const char *path) argument 642 ctrl_conn[index] = wpa_ctrl_open(path); 645 path, strerror(errno)); 648 monitor_conn[index] = wpa_ctrl_open(path); 674 char path[256]; local 678 snprintf(path, sizeof(path), "%s/%s", IFACE_DIR, primary_iface); 680 strlcpy(path, primary_iface, sizeof(path)); 682 return wifi_connect_on_socket_path(PRIMARY, path); [all...] |
/hardware/msm7k/libaudio-qsd8k/ |
H A D | AudioHardware.h | 143 uint32_t path; member in struct:android::msm_mute_info
|
H A D | AudioHardware.cpp | 648 uint32_t path[2]; local 745 path[0] = out_device; 746 path[1] = rx_acdb_id; 747 if (ioctl(fd, AUDIO_SWITCH_DEVICE, &path)) { 752 path[0] = mic_device; 753 path[1] = tx_acdb_id; 754 if (ioctl(fd, AUDIO_SWITCH_DEVICE, &path)) { 772 path[0] = rx_acdb_id; 773 path[1] = tx_acdb_id; 774 if (ioctl(fd, AUDIO_START_VOICE, &path)) { 912 static const char *const path = "/dev/audience_a1026"; local [all...] |
/hardware/qcom/audio/libalsa-intf/ |
H A D | alsa_ucm.c | 2121 char path[200]; local 2128 strlcpy(path, CONFIG_DIR, (strlen(CONFIG_DIR)+1)); 2129 strlcat(path, (*uc_mgr)->card_ctxt_ptr->card_name, sizeof(path)); 2130 ALOGV("master config file path:%s", path); 2131 fd = open(path, O_RDONLY); 2133 ALOGE("failed to open config file %s error %d\n", path, errno); 2137 ALOGE("failed to stat %s error %d\n", path, errno); 2285 char path[20 local 2878 char path[200]; local [all...] |
/hardware/libhardware_legacy/audio/ |
H A D | AudioPolicyManagerBase.cpp | 621 // select one output among several that provide a path to a particular device or set of 760 // audio path (audio DSP, CODEC ...) 3711 status_t AudioPolicyManagerBase::loadAudioPolicyConfig(const char *path) argument 3716 data = (char *)load_file(path, NULL); 3730 ALOGI("loadAudioPolicyConfig() loaded %s\n", path);
|
/hardware/qcom/camera/QCamera/HAL/core/src/ |
H A D | QCameraHWI.cpp | 2299 int path; local 2325 path = OUTPUT_TYPE_S; 2329 path = OUTPUT_TYPE_T; 2377 frame->path = path;
|
/hardware/qcom/camera/ |
H A D | QCameraHWI.cpp | 2446 int path; local 2472 path = OUTPUT_TYPE_S; 2476 path = OUTPUT_TYPE_T; 2524 frame->path = path;
|
/hardware/ti/omap4xxx/hwc/ |
H A D | hwc.c | 1569 static int load_png_image(omap4_hwc_device_t *hwc_dev, char *path, struct omap4_hwc_img *img) argument 1574 FILE *fd = fopen(path, "rb"); 1576 ALOGE("failed to open PNG file %s: (%d)", path, errno); 1584 ALOGE("%s is not a PNG file", path);
|
/hardware/ril/include/telephony/ |
H A D | ril.h | 272 char *path; /* "pathid" from TS 27.007 +CRSM command. member in struct:__anon1174 286 char *path; /* "pathid" from TS 27.007 +CRSM command. member in struct:__anon1175
|
/hardware/ril/mock-ril/src/cpp/ |
H A D | ril.h | 272 char *path; /* "pathid" from TS 27.007 +CRSM command. member in struct:__anon1299 286 char *path; /* "pathid" from TS 27.007 +CRSM command. member in struct:__anon1300
|
/hardware/ril/reference-ril/ |
H A D | ril.h | 272 char *path; /* "pathid" from TS 27.007 +CRSM command. member in struct:__anon1361 286 char *path; /* "pathid" from TS 27.007 +CRSM command. member in struct:__anon1362
|