Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 33) sorted by relevance

12

/hardware/libhardware/
Dhardware.c62 const char *path, in load() argument
74 handle = dlopen(path, RTLD_NOW); in load()
77 ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown"); in load()
112 id, path, *pHmi, handle); in load()
127 char path[PATH_MAX]; in hw_get_module_by_class() local
148 snprintf(path, sizeof(path), "%s/%s.%s.so", in hw_get_module_by_class()
150 if (access(path, R_OK) == 0) break; in hw_get_module_by_class()
152 snprintf(path, sizeof(path), "%s/%s.%s.so", in hw_get_module_by_class()
154 if (access(path, R_OK) == 0) break; in hw_get_module_by_class()
156 snprintf(path, sizeof(path), "%s/%s.default.so", in hw_get_module_by_class()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
DIMountService.h44 virtual int shareVolume(String16 path, String16 method) = 0;
45 virtual int unshareVolume(String16 path, String16 method) = 0;
46 virtual bool getVolumeShared(String16 path, String16 method) = 0;
47 virtual int mountVolume(String16 path) = 0;
48 virtual int unmountVolume(String16 path) = 0;
49 virtual int formatVolume(String16 path) = 0;
/hardware/ti/wpan/ti_st/uim-sysfs/
Duim.c594 char path[64]; in change_rfkill_perms() local
597 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id); in change_rfkill_perms()
598 fd = open(path, O_RDONLY); in change_rfkill_perms()
600 UIM_DBG("open(%s) failed: %s (%d)\n", path, strerror(errno), errno); in change_rfkill_perms()
614 sprintf(path, "/sys/class/rfkill/rfkill%d/state", id); in change_rfkill_perms()
615 sz = chown(path, AID_BLUETOOTH, AID_BLUETOOTH); in change_rfkill_perms()
617 UIM_ERR("change mode failed for %s (%d)\n", path, errno); in change_rfkill_perms()
624 sz = chmod(path, 0660); in change_rfkill_perms()
626 UIM_ERR("change mode failed for %s (%d)\n", path, errno); in change_rfkill_perms()
629 UIM_DBG("changed permissions for %s(%d) \n", path, sz); in change_rfkill_perms()
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/
Duim.c616 char path[64]; in change_rfkill_perms() local
619 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id); in change_rfkill_perms()
620 fd = open(path, O_RDONLY); in change_rfkill_perms()
622 UIM_DBG("open(%s) failed: %s (%d)\n", path, strerror(errno), errno); in change_rfkill_perms()
637 sprintf(path, "/sys/class/rfkill/rfkill%d/state", id); in change_rfkill_perms()
638 sz = chown(path, AID_BLUETOOTH, AID_BLUETOOTH); in change_rfkill_perms()
640 UIM_ERR("change mode failed for %s (%d)\n", path, errno); in change_rfkill_perms()
647 sz = chmod(path, 0660); in change_rfkill_perms()
649 UIM_ERR("change mode failed for %s (%d)\n", path, errno); in change_rfkill_perms()
652 UIM_DBG("changed permissions for %s(%d) \n", path, sz); in change_rfkill_perms()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/
DRegistry.cpp81 static bool doesDirExist(const char *path);
827 const char *path; in getRegistryPath() local
831 path = getenv(ENV_MC_REGISTRY_PATH.c_str()); in getRegistryPath()
832 if (doesDirExist(path)) { in getRegistryPath()
833 LOG_I("getRegistryPath(): Using MC_REGISTRY_PATH %s", path); in getRegistryPath()
834 registryPath = path; in getRegistryPath()
837 path = getenv(ENV_MC_REGISTRY_FALLBACK_PATH.c_str()); in getRegistryPath()
838 if (doesDirExist(path)) { in getRegistryPath()
839 LOG_I("getRegistryPath(): Using MC_REGISTRY_FALLBACK_PATH %s", path); in getRegistryPath()
840 registryPath = path; in getRegistryPath()
[all …]
/hardware/samsung_slsi/exynos5/gralloc/
Dframebuffer.cpp111 char *path; in get_screen_res() local
117 asprintf(&path, "/sys/class/graphics/%s/modes", fbname); in get_screen_res()
118 if (!path) in get_screen_res()
120 fd = open(path, O_RDONLY); in get_screen_res()
140 free(path); in get_screen_res()
147 free(path); in get_screen_res()
/hardware/qcom/display/liblight/
Dlights.c82 write_int(char const* path, int value) in write_int() argument
87 fd = open(path, O_RDWR); in write_int()
96 ALOGE("write_int failed to open %s\n", path); in write_int()
104 is_avail(char const* path) in is_avail() argument
106 int fd = open(path, O_RDWR); in is_avail()
/hardware/libhardware_legacy/wifi/
Dwifi.c650 int wifi_connect_on_socket_path(int index, const char *path) in wifi_connect_on_socket_path() argument
661 ctrl_conn[index] = wpa_ctrl_open(path); in wifi_connect_on_socket_path()
664 path, strerror(errno)); in wifi_connect_on_socket_path()
667 monitor_conn[index] = wpa_ctrl_open(path); in wifi_connect_on_socket_path()
693 char path[256]; in wifi_connect_to_supplicant() local
697 snprintf(path, sizeof(path), "%s/%s", IFACE_DIR, primary_iface); in wifi_connect_to_supplicant()
699 strlcpy(path, primary_iface, sizeof(path)); in wifi_connect_to_supplicant()
701 return wifi_connect_on_socket_path(PRIMARY, path); in wifi_connect_to_supplicant()
703 sprintf(path, "%s/%s", CONTROL_IFACE_PATH, ifname); in wifi_connect_to_supplicant()
704 return wifi_connect_on_socket_path(SECONDARY, path); in wifi_connect_to_supplicant()
/hardware/qcom/msm8960/original-kernel-headers/media/
Dmsm_isp.h311 int path; member
316 int path; member
319 int path; member
345 int path; member
365 uint32_t path; member
/hardware/broadcom/libbt/src/
Dupio.c147 char path[64]; in init_rfkill() local
156 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id); in init_rfkill()
157 fd = open(path, O_RDONLY); in init_rfkill()
161 path, strerror(errno), errno); in init_rfkill()
/hardware/qcom/audio/hal/
DAndroid.mk26 $(call include-path-for, audio-route) \
27 $(call include-path-for, audio-effects)
/hardware/qcom/msm8960/kernel-headers/media/
Dmsm_isp.h374 int path; member
380 int path; member
385 int path; member
416 uint32_t path; member
/hardware/samsung_slsi/exynos5/mobicore/
DREADME.android41 -r Loads dynamic driver at startup. The full path of the driver binary must be given, eg. /data/app…
55 …u want to use /data/app/mcRegistry as the default path and /system/app/mcRegistry as the fallback
61 Custom authtoken path
/hardware/qcom/keymaster/
DQSEEComAPI.h95 int QSEECom_start_app(struct QSEECom_handle **clnt_handle, const char *path,
126 int QSEECom_load_external_elf(struct QSEECom_handle **clnt_handle, const char *path,
/hardware/msm7k/liblights/
Dlights.c102 write_int(char const* path, int value) in write_int() argument
107 fd = open(path, O_RDWR); in write_int()
116 ALOGE("write_int failed to open %s\n", path); in write_int()
/hardware/qcom/audio/voice_processing/
DAndroid.mk14 $(call include-path-for, audio-effects)
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_audio.h205 uint32_t path; member
210 uint32_t path; member
318 uint16_t path; member
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_audio.h195 uint32_t path; member
200 uint32_t path; member
295 uint16_t path; member
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.cpp648 uint32_t path[2]; in do_route_audio_dev_ctrl() local
745 path[0] = out_device; in do_route_audio_dev_ctrl()
746 path[1] = rx_acdb_id; in do_route_audio_dev_ctrl()
747 if (ioctl(fd, AUDIO_SWITCH_DEVICE, &path)) { in do_route_audio_dev_ctrl()
752 path[0] = mic_device; in do_route_audio_dev_ctrl()
753 path[1] = tx_acdb_id; in do_route_audio_dev_ctrl()
754 if (ioctl(fd, AUDIO_SWITCH_DEVICE, &path)) { in do_route_audio_dev_ctrl()
772 path[0] = rx_acdb_id; in do_route_audio_dev_ctrl()
773 path[1] = tx_acdb_id; in do_route_audio_dev_ctrl()
774 if (ioctl(fd, AUDIO_START_VOICE, &path)) { in do_route_audio_dev_ctrl()
[all …]
DAudioHardware.h143 uint32_t path; member
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_ucm.c2121 char path[200]; in second_stage_parsing_thread() local
2128 strlcpy(path, CONFIG_DIR, (strlen(CONFIG_DIR)+1)); in second_stage_parsing_thread()
2129 strlcat(path, (*uc_mgr)->card_ctxt_ptr->card_name, sizeof(path)); in second_stage_parsing_thread()
2130 ALOGV("master config file path:%s", path); in second_stage_parsing_thread()
2131 fd = open(path, O_RDONLY); in second_stage_parsing_thread()
2133 ALOGE("failed to open config file %s error %d\n", path, errno); in second_stage_parsing_thread()
2137 ALOGE("failed to stat %s error %d\n", path, errno); in second_stage_parsing_thread()
2285 char path[200]; in snd_ucm_parse() local
2287 strlcpy(path, CONFIG_DIR, (strlen(CONFIG_DIR)+1)); in snd_ucm_parse()
2288 strlcat(path, (*uc_mgr)->card_ctxt_ptr->card_name, sizeof(path)); in snd_ucm_parse()
[all …]
/hardware/ti/wlan/mac80211/ti-utils/
DREADME28 export NFSROOT=<path to roofs of a target where installed libnl library>
39 ./go.sh -c <path to INI file> [<path to firmware directory>]
89 ./go.sh -c2 <path to INI file> [<path to INI file>]
/hardware/ril/reference-ril/
Dril.h273 char *path; /* "pathid" from TS 27.007 +CRSM command. member
287 char *path; /* "pathid" from TS 27.007 +CRSM command. member
/hardware/ril/include/telephony/
Dril.h273 char *path; /* "pathid" from TS 27.007 +CRSM command. member
287 char *path; /* "pathid" from TS 27.007 +CRSM command. member
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp2021 char *path; in get_screen_res() local
2027 asprintf(&path, "/sys/class/graphics/%s/modes", fbname); in get_screen_res()
2028 if (!path) in get_screen_res()
2030 fd = open(path, O_RDONLY); in get_screen_res()
2050 free(path); in get_screen_res()
2057 free(path); in get_screen_res()

12