Searched refs:path (Results 1 - 25 of 86) sorted by relevance

1234

/hardware/akm/AK8975_FS/akmdfs/
H A DAKFS_FileIO.h35 int16 AKFS_LoadParameters(AK8975PRMS *prms, const char* path);
37 int16 AKFS_SaveParameters(AK8975PRMS* prms, const char* path);
H A DAKFS_APIs.h40 int16 AKFS_Start(const char* path);
42 int16 AKFS_Stop(const char* path);
H A DAKFS_FileIO.c31 Load parameters from file which is specified with #path. This function reads
41 @param[in] path A path to the setting file.
43 int16 AKFS_LoadParameters(AK8975PRMS * prms, const char* path) argument
50 if ((fp = fopen(path, "r")) == NULL) {
94 Save parameters to file which is specified with #path. This function saves
101 @param[in] path A path to the setting file.
103 int16 AKFS_SaveParameters(AK8975PRMS *prms, const char* path) argument
109 if ((fp = fopen(path, "
[all...]
H A DAKFS_APIs.c90 @param[in] path Specify a path to the settings file.
93 const char* path
96 AKMDATA(AKMDATA_DUMP, "%s: path=%s\n", __FUNCTION__, path);
99 if (AKFS_LoadParameters(&g_prms, path) != AKM_SUCCESS) {
121 @param[in] path Specify a path to the settings file.
124 const char* path
127 AKMDATA(AKMDATA_DUMP, "%s: path
[all...]
/hardware/libhardware/
H A Dhardware.c30 /** Base path of the hal modules */
67 const char *path,
79 handle = dlopen(path, RTLD_NOW);
82 ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown");
116 ALOGV("loaded HAL id=%s path=%s hmi=%p handle=%p",
117 id, path, *pHmi, handle);
127 * otherwise return negative. On success path will contain the path to the HAL.
129 static int hw_module_exists(char *path, size_t path_len, const char *name, argument
132 snprintf(path, path_le
66 load(const char *id, const char *path, const struct hw_module_t **pHmi) argument
150 char path[PATH_MAX]; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/
H A Dget_files.py18 import os.path namespace
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 variable
[all...]
/hardware/intel/common/utils/ituxd/jni/
H A DthermalJNI.cpp36 static int readFromFile(const char *path, char* buf, size_t size, bool throwError) argument
38 if (!path)
41 int fd = open(path, O_RDONLY, 0);
44 ALOGE("Could not open '%s'", path);
62 static int writeToFile(const char *path, int val) argument
68 if (!path)
71 fd = open(path, O_WRONLY, 0);
73 ALOGE("writeToFile: Could not open '%s' err: %d", path, errno);
131 const char *path = NULL; local
134 path
217 const char *path = NULL; local
232 const char *path = NULL; local
253 const char *path = NULL; local
[all...]
/hardware/libhardware_legacy/include/hardware_legacy/
H A 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/utils/ituxd/src/com/intel/thermal/
H A DThermalUtils.java39 private native static String native_readSysfs(String path); argument
40 private native static int native_readSysfsTemp(String path); argument
41 private native static int native_writeSysfs(String path, int val); argument
49 public static String readSysfs(String path) { argument
51 return native_readSysfs(path);
58 public static int readSysfsTemp(String path) { argument
60 return native_readSysfsTemp(path);
67 public static int writeSysfs(String path, int val) { argument
69 return native_writeSysfs(path, val);
112 public static boolean isFileExists(String path) { argument
[all...]
H A DThermalSensor.java37 private String mSensorPath; /* sys path to read temp from */
39 private String mInputTempPath; /* sys path to read the current temp */
40 private String mHighTempPath; /* sys path to set the intermediate upper threshold */
41 private String mLowTempPath; /* sys path to set the intermediate lower threshold */
42 private String mUEventDevPath; /* sys path for uevent listener */
110 * This function sets the sensor path to the given String value. If the
111 * String is "auto" it loops through the standard sysfs path, to obtain the
112 * 'mSensorPath'. The standard sysfs path is /sys/class/
114 * If sensor path is "none", sensor temp is not read via any sysfs
116 public void setSensorPath(String path) { argument
124 isSensorSysfsValid(String path) argument
[all...]
H A DThermalCoolingDevice.java117 public void setThrottlePath(String path) { argument
118 if (path.equalsIgnoreCase("auto") && !mDeviceName.equalsIgnoreCase("battery")) {
119 //construct the throttle path
128 mThrottlePath = path;
/hardware/intel/common/libstagefrighthw/
H A DAndroid.mk24 $(call include-path-for, frameworks-native)/media/hardware \
25 $(call include-path-for, frameworks-native)/media/openmax
/hardware/intel/common/omx-components/videocodec/
H A DAndroid.mk28 $(call include-path-for, frameworks-native)/media/hardware \
29 $(call include-path-for, frameworks-native)/media/openmax \
30 $(call include-path-for, libhardware)
98 $(call include-path-for, frameworks-native)/media/hardware \
99 $(call include-path-for, frameworks-native)/media/openmax \
100 $(call include-path-for, libhardware)
166 $(call include-path-for, frameworks-native)/media/hardware \
167 $(call include-path-for, frameworks-native)/media/openmax \
168 $(call include-path-for, libhardware)
213 $(call include-path
[all...]
/hardware/akm/AK8975_FS/libsensors/
H A DSensorBase.h48 int write_int(char const *path, int value);
50 char const *path, char const *value, int bytes);
H A DSensorBase.cpp70 const char *path, const char *value, int bytes)
74 fd = open(path, O_WRONLY);
77 path, strerror(errno));
84 path, strerror(errno));
69 write_sys_attribute( const char *path, const char *value, int bytes) argument
/hardware/qcom/audio/voice_processing/
H A DAndroid.mk14 $(call include-path-for, audio-effects)
/hardware/intel/common/wrs_omxil_core/utils/inc/
H A Dmodule.h50 struct module *module_open(const char *path, int flag);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
H A Dtools_common.sh177 # parameter one is used as the input file path. Positional parameter two, when
214 # 5 - path to input file
215 # 6 - path to output file
216 # Note: The output file path must end in .ivf to output an IVF file.
333 --bin-path <path to libvpx binaries directory>
334 --config-path <path to libvpx config directory>
338 --test-data-path <path t
[all...]
/hardware/intel/img/libdrm/tests/
H A Ddrmtest.c62 const char *pci_id, *path; local
76 path = udev_list_entry_get_name(entry);
77 device = udev_device_new_from_syspath(udev, path);
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
H A DOMXDccDataSave.cpp130 // The directory must be opened and its stream pointer + path passed
132 // stack usage the path param is reused -> this MUST be char array with
137 FILE * OMXCameraAdapter::parseDCCsubDir(DIR *pDir, char *path) argument
142 int initialPathLength = strlen(path);
152 strcat(path, dirEntry->d_name);
154 pSubDir = opendir(path);
157 strcat(path, "/");
158 pFile = parseDCCsubDir(pSubDir, path);
167 pFile = fopen(path, "rb");
189 CAMHAL_LOGDB("DCC file to be updated: %s", path);
[all...]
/hardware/intel/common/utils/ISV/
H A DAndroid.mk29 $(call include-path-for, frameworks-openmax) \
35 $(call include-path-for, frameworks-native)/media/openmax
/hardware/qcom/audio/post_proc/
H A DAndroid.mk29 $(call include-path-for, audio-effects)
/hardware/qcom/keymaster/
H A 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/qcom/audio/hal/
H A DAndroid.mk40 $(call include-path-for, audio-route) \
41 $(call include-path-for, audio-effects) \
/hardware/samsung_slsi/exynos5/gralloc/
H A Dframebuffer.cpp110 char *path; local
116 asprintf(&path, "/sys/class/graphics/%s/modes", fbname);
117 if (!path)
119 fd = open(path, O_RDONLY);
139 free(path);
146 free(path);

Completed in 6117 milliseconds

1234