Home
last modified time | relevance | path

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

1234

/hardware/libhardware/
Dhardware.c67 const char *path, in load() argument
79 handle = dlopen(path, RTLD_NOW); in load()
82 ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown"); in load()
117 id, path, *pHmi, handle); in load()
129 static int hw_module_exists(char *path, size_t path_len, const char *name, in hw_module_exists() argument
132 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists()
134 if (access(path, R_OK) == 0) in hw_module_exists()
137 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists()
139 if (access(path, R_OK) == 0) in hw_module_exists()
150 char path[PATH_MAX]; in hw_get_module_by_class() local
[all …]
/hardware/intel/common/utils/ituxd/jni/
DthermalJNI.cpp36 static int readFromFile(const char *path, char* buf, size_t size, bool throwError) in readFromFile() argument
38 if (!path) in readFromFile()
41 int fd = open(path, O_RDONLY, 0); in readFromFile()
44 ALOGE("Could not open '%s'", path); in readFromFile()
62 static int writeToFile(const char *path, int val) in writeToFile() argument
68 if (!path) in writeToFile()
71 fd = open(path, O_WRONLY, 0); in writeToFile()
73 ALOGE("writeToFile: Could not open '%s' err: %d", path, errno); in writeToFile()
131 const char *path = NULL; in isFileExists() local
134 path = jPath ? env->GetStringUTFChars(jPath, NULL) : NULL; in isFileExists()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/
Dget_files.py18 import os.path
46 path = os.path.join(local_resource_path, filename)
47 fp = open(path, "wb")
54 return get_file_sha(path) == sha
77 file_list_path = os.path.join(arg)
79 local_resource_path = os.path.join(arg)
85 if not os.path.isdir(local_resource_path):
108 path = os.path.join(local_resource_path, filename) variable
109 if os.path.isfile(path) \
110 and get_file_sha(path) == sha:
[all …]
DREADME17 python get_files.py -i /path/to/test-data.sha1 -o /path/to/put/files \
23 adb push /path/to/test_files /data/local/tmp
24 adb push /path/to/built_libs /data/local/tmp
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXDccDataSave.cpp137 FILE * OMXCameraAdapter::parseDCCsubDir(DIR *pDir, char *path) in parseDCCsubDir() argument
142 int initialPathLength = strlen(path); in parseDCCsubDir()
152 strcat(path, dirEntry->d_name); in parseDCCsubDir()
154 pSubDir = opendir(path); in parseDCCsubDir()
157 strcat(path, "/"); in parseDCCsubDir()
158 pFile = parseDCCsubDir(pSubDir, path); in parseDCCsubDir()
167 pFile = fopen(path, "rb"); in parseDCCsubDir()
189 CAMHAL_LOGDB("DCC file to be updated: %s", path); in parseDCCsubDir()
191 pFile = fopen(path, "rb+"); in parseDCCsubDir()
193 CAMHAL_LOGEB("ERROR: DCC file %s failed to open for modification", path); in parseDCCsubDir()
[all …]
/hardware/intel/common/omx-components/videocodec/
DAndroid.mk28 $(call include-path-for, frameworks-native)/media/hardware \
29 $(call include-path-for, frameworks-native)/media/openmax
96 $(call include-path-for, frameworks-native)/media/hardware \
97 $(call include-path-for, frameworks-native)/media/openmax
163 $(call include-path-for, frameworks-native)/media/hardware \
164 $(call include-path-for, frameworks-native)/media/openmax
210 $(call include-path-for, frameworks-native)/media/hardware \
211 $(call include-path-for, frameworks-native)/media/openmax
257 $(call include-path-for, frameworks-native)/media/hardware \
258 $(call include-path-for, frameworks-native)/media/openmax
[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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dtools_common.sh333 --bin-path <path to libvpx binaries directory>
334 --config-path <path to libvpx config directory>
338 --test-data-path <path to libvpx test data directory>
341 When the --bin-path option is not specified the script attempts to use
344 When the --config-path option is not specified the script attempts to use
347 When the -test-data-path option is not specified the script attempts to use
365 --bin-path)
369 --config-path)
384 --test-data-path)
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
DThermalUtils.java39 private native static String native_readSysfs(String path); in native_readSysfs() argument
40 private native static int native_writeSysfs(String path, int val); in native_writeSysfs() argument
48 public static String readSysfs(String path) { in readSysfs() argument
50 return native_readSysfs(path); in readSysfs()
57 public static int writeSysfs(String path, int val) { in writeSysfs() argument
59 return native_writeSysfs(path, val); in writeSysfs()
102 public static boolean isFileExists(String path) { in isFileExists() argument
104 return native_isFileExists(path); in isFileExists()
DThermalSensor.java116 public void setSensorPath(String path) { in setSensorPath() argument
117 if (path.equalsIgnoreCase("auto")) { in setSensorPath()
120 mSensorPath = path; in setSensorPath()
124 private boolean isSensorSysfsValid(String path) { in isSensorSysfsValid() argument
125 return ThermalUtils.isFileExists(path); in isSensorSysfsValid()
DVirtualThermalZone.java38 public void setEmulTempPath(String path) { in setEmulTempPath() argument
39 mEmulTempPath = path; in setEmulTempPath()
154 String path = getEmulTempPath();
155 if (path == null) {
160 int ret = ThermalUtils.writeSysfs(path, temp);
DThermalCoolingDevice.java117 public void setThrottlePath(String path) { in setThrottlePath() argument
118 if (path.equalsIgnoreCase("auto") && !mDeviceName.equalsIgnoreCase("battery")) { in setThrottlePath()
128 mThrottlePath = path; in setThrottlePath()
/hardware/akm/AK8975_FS/akmdfs/
DAKFS_FileIO.c43 int16 AKFS_LoadParameters(AK8975PRMS * prms, const char* path) in AKFS_LoadParameters() argument
50 if ((fp = fopen(path, "r")) == NULL) { in AKFS_LoadParameters()
103 int16 AKFS_SaveParameters(AK8975PRMS *prms, const char* path) in AKFS_SaveParameters() argument
109 if ((fp = fopen(path, "w")) == NULL) { in AKFS_SaveParameters()
DAKFS_FileIO.h35 int16 AKFS_LoadParameters(AK8975PRMS *prms, const char* path);
37 int16 AKFS_SaveParameters(AK8975PRMS* prms, const char* path);
DAKFS_APIs.c93 const char* path in AKFS_Start() argument
96 AKMDATA(AKMDATA_DUMP, "%s: path=%s\n", __FUNCTION__, path); in AKFS_Start()
99 if (AKFS_LoadParameters(&g_prms, path) != AKM_SUCCESS) { in AKFS_Start()
124 const char* path in AKFS_Stop() argument
127 AKMDATA(AKMDATA_DUMP, "%s: path=%s\n", __FUNCTION__, path); in AKFS_Stop()
130 if (AKFS_SaveParameters(&g_prms, path) != AKM_SUCCESS) { in AKFS_Stop()
/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/akm/AK8975_FS/libsensors/
DSensorBase.cpp70 const char *path, const char *value, int bytes) in write_sys_attribute() argument
74 fd = open(path, O_WRONLY); in write_sys_attribute()
77 path, strerror(errno)); in write_sys_attribute()
84 path, strerror(errno)); in write_sys_attribute()
/hardware/samsung_slsi/exynos5/gralloc/
Dframebuffer.cpp110 char *path; in get_screen_res() local
116 asprintf(&path, "/sys/class/graphics/%s/modes", fbname); in get_screen_res()
117 if (!path) in get_screen_res()
119 fd = open(path, O_RDONLY); in get_screen_res()
139 free(path); in get_screen_res()
146 free(path); in get_screen_res()
/hardware/intel/img/libdrm/tests/
Ddrmtest.c62 const char *pci_id, *path; in drm_open_matching() local
76 path = udev_list_entry_get_name(entry); in drm_open_matching()
77 device = udev_device_new_from_syspath(udev, path); in drm_open_matching()
/hardware/qcom/display/msm8974/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/qcom/display/msm8960/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.c530 int wifi_connect_on_socket_path(const char *path) in wifi_connect_on_socket_path() argument
541 ctrl_conn = wpa_ctrl_open(path); in wifi_connect_on_socket_path()
544 path, strerror(errno)); in wifi_connect_on_socket_path()
547 monitor_conn = wpa_ctrl_open(path); in wifi_connect_on_socket_path()
573 static char path[PATH_MAX]; in wifi_connect_to_supplicant() local
576 snprintf(path, sizeof(path), "%s/%s", IFACE_DIR, primary_iface); in wifi_connect_to_supplicant()
578 snprintf(path, sizeof(path), "@android:wpa_%s", primary_iface); in wifi_connect_to_supplicant()
580 return wifi_connect_on_socket_path(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/intel/common/libstagefrighthw/
DAndroid.mk20 $(call include-path-for, frameworks-native)/media/hardware \
21 $(call include-path-for, frameworks-native)/media/openmax

1234