/hardware/akm/AK8975_FS/akmdfs/ |
H A D | AKFS_FileIO.c | 31 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...] |
/hardware/akm/AK8975_FS/libsensors/ |
H A D | SensorBase.cpp | 70 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/intel/img/libdrm/tests/ |
H A D | drmtest.c | 62 const char *pci_id, *path; local 76 path = udev_list_entry_get_name(entry); 77 device = udev_device_new_from_syspath(udev, path);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/ |
H A D | get_files.py | 18 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/src/com/intel/thermal/ |
H A D | VirtualThermalZone.java | 38 public void setEmulTempPath(String path) { argument 39 mEmulTempPath = path; 154 String path = getEmulTempPath(); 155 if (path == null) { 160 int ret = ThermalUtils.writeSysfs(path, temp);
|
H A D | ThermalUtils.java | 39 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 D | ThermalCoolingDevice.java | 117 public void setThrottlePath(String path) { argument 118 if (path.equalsIgnoreCase("auto") && !mDeviceName.equalsIgnoreCase("battery")) { 119 //construct the throttle path 128 mThrottlePath = path;
|
H A D | ThermalSensor.java | 37 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...] |
/hardware/libhardware/ |
H A D | hardware.c | 30 /** 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/utils/ituxd/jni/ |
H A D | thermalJNI.cpp | 36 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/ti/omap4-aah/camera/OMXCameraAdapter/ |
H A D | OMXDccDataSave.cpp | 130 // 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/broadcom/libbt/src/ |
H A D | upio.c | 147 char path[64]; local 156 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id); 157 fd = open(path, O_RDONLY); 161 path, strerror(errno), errno); 415 * certain time already due to heavy downstream path flow.
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/include/ |
H A D | cavl_impl.h | 328 /* Records a path into the tree. If bit n is true, indicates 329 ** take greater branch from the nth node in the path, otherwise 518 /* Records a path into the tree. If bit n is true, indicates 519 ** take greater branch from the nth node in the path, otherwise 527 AVL_HANDLE path; variable 622 /* "path" is the parent of the subtree being eliminated or reduced 623 ** from a depth of 2 to 1. If "path" is the node to be removed, we 624 ** set path to the node we're about to poke into the position of the 626 path = parent == rm ? h : parent; 646 if (path ! [all...] |
/hardware/intel/img/hwcomposer/common/base/ |
H A D | Drm.cpp | 47 const char *path = DrmConfig::getDrmPath(); local 48 mDrmFd = open(path, O_RDWR, 0);
|
/hardware/qcom/display/msm8084/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/qcom/display/msm8226/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/qcom/display/msm8960/liblight/ |
H A D | lights.c | 82 write_int(char const* path, int value) argument 87 fd = open(path, O_RDWR); 96 ALOGE("write_int failed to open %s\n", path); 104 is_avail(char const* path) argument 106 int fd = open(path, O_RDWR);
|
/hardware/qcom/display/msm8974/liblight/ |
H A D | lights.c | 82 write_int(char const* path, int value) argument 87 fd = open(path, O_RDWR); 96 ALOGE("write_int failed to open %s\n", path); 104 is_avail(char const* path) argument 106 int fd = open(path, O_RDWR);
|
/hardware/samsung_slsi/exynos5/gralloc/ |
H A D | framebuffer.cpp | 110 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);
|
/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/modules/sensors/ |
H A D | multihal.cpp | 486 ALOGV("accepting valid path '%s'", real_path); 491 ALOGW("rejecting path '%s' because it does not start with '%s' or '%s'", 519 char* path = *it; local 520 void* lib_handle = dlopen(path, RTLD_LAZY); 524 ALOGI("Loaded library from %s", path);
|
/hardware/libhardware_legacy/wifi/ |
H A D | wifi.c | 530 int wifi_connect_on_socket_path(const char *path) argument 541 ctrl_conn = wpa_ctrl_open(path); 544 path, strerror(errno)); 547 monitor_conn = wpa_ctrl_open(path); 573 static char path[PATH_MAX]; local 576 snprintf(path, sizeof(path), "%s/%s", IFACE_DIR, primary_iface); 578 snprintf(path, sizeof(path), "@android:wpa_%s", primary_iface); 580 return wifi_connect_on_socket_path(path); [all...] |
/hardware/qcom/audio/legacy/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/intel/img/libdrm/libdrm/ |
H A D | xf86drm.c | 275 * \param path to file. 286 static int chown_check_return(const char *path, uid_t owner, gid_t group) argument 291 rv = chown(path, owner, group); 298 path, errno, strerror(errno));
|
/hardware/qcom/msm8960/kernel-headers/linux/ |
H A D | msm_audio.h | 195 uint32_t path; member in struct:msm_mute_info 200 uint32_t path; member in struct:msm_vol_info 295 uint16_t path; member in struct:msm_dtmf_config
|