Searched defs:path (Results 1 - 25 of 102) sorted by relevance

12345

/hardware/akm/AK8975_FS/akmdfs/
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...]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
H A Dcpuhint.cpp42 char path[PROPERTY_VALUE_MAX]; local
43 if (debug_handler->GetProperty("ro.vendor.extension_library", path) != kErrorNone) {
58 if (vendor_ext_lib_.Open(path)) {
67 DLOGW("Failed to open %s : %s", path, vendor_ext_lib_.Error());
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
H A Dcpuhint.cpp42 char path[PROPERTY_VALUE_MAX]; local
43 if (debug_handler->GetProperty("ro.vendor.extension_library", path) != kErrorNone) {
58 if (vendor_ext_lib_.Open(path)) {
67 DLOGW("Failed to open %s : %s", path, vendor_ext_lib_.Error());
/hardware/qcom/display/msm8996/sdm/libs/hwc/
H A Dcpuhint.cpp42 char path[PROPERTY_VALUE_MAX]; local
43 if (debug_handler->GetProperty("ro.vendor.extension_library", path) != kErrorNone) {
58 if (vendor_ext_lib_.Open(path)) {
67 DLOGW("Failed to open %s : %s", path, vendor_ext_lib_.Error());
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
H A Dcpuhint.cpp42 char path[PROPERTY_VALUE_MAX]; local
43 if (debug_handler->GetProperty("ro.vendor.extension_library", path) != kErrorNone) {
58 if (vendor_ext_lib_.Open(path)) {
67 DLOGW("Failed to open %s : %s", path, vendor_ext_lib_.Error());
/hardware/akm/AK8975_FS/libsensors/
H A DSensorBase.cpp71 const char *path, const char *value, int bytes)
75 fd = open(path, O_WRONLY);
78 path, strerror(errno));
85 path, strerror(errno));
70 write_sys_attribute( const char *path, const char *value, int bytes) argument
/hardware/interfaces/cas/1.0/default/
H A DSharedLibrary.cpp31 SharedLibrary::SharedLibrary(const String8 &path) { argument
32 mLibHandle = dlopen(path.string(), RTLD_NOW);
H A DFactoryLoader.h61 const String8 &path,
67 const String8 &path,
70 bool openFactory(const String8 &path);
152 const String8 &path, int32_t CA_system_id,
156 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) {
172 const String8 &path, vector<HidlCasPluginDescriptor>* results) {
176 if (!openFactory(path) || mFactory->queryPlugins(&descriptors) != OK) {
190 bool FactoryLoader<T>::openFactory(const String8 &path) { argument
192 ssize_t index = mLibraryPathToOpenLibraryMap.indexOfKey(path);
196 index = mLibraryPathToOpenLibraryMap.add(path, NUL
151 loadFactoryForSchemeFromPath( const String8 &path, int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) argument
171 queryPluginsFromPath( const String8 &path, vector<HidlCasPluginDescriptor>* results) argument
[all...]
/hardware/interfaces/drm/1.0/default/
H A DSharedLibrary.cpp28 SharedLibrary::SharedLibrary(const String8& path) { argument
29 mLibHandle = dlopen(path.string(), RTLD_NOW);
/hardware/interfaces/drm/1.0/vts/functional/
H A Dvendor_modules.cpp52 DrmHalVTSVendorModule* VendorModules::getModule(const string& path) { argument
53 if (mOpenLibraries.find(path) == mOpenLibraries.end()) {
54 auto library = std::make_unique<SharedLibrary>(String8(path.c_str()));
56 ALOGE("failed to map shared library %s", path.c_str());
59 mOpenLibraries[path] = std::move(library);
61 const unique_ptr<SharedLibrary>& library = mOpenLibraries[path];
65 "%s", path.c_str(), library->lastError());
/hardware/libhardware/tests/input/evdev/
H A DTestHelpers.cpp35 TempFile::TempFile(const char* path) { argument
36 bool needTrailingSlash = path[strlen(path) - 1] != '/';
37 // name = path + XXXXXX + \0
38 size_t nameLen = strlen(path) + 6 + 1;
42 strcpy(mName, path);
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
H A DVirtualThermalZone.java38 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 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 DThermalCoolingDevice.java117 public void setThrottlePath(String path) { argument
118 if (path.equalsIgnoreCase("auto") && !mDeviceName.equalsIgnoreCase("battery")) {
119 //construct the throttle path
128 mThrottlePath = path;
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...]
/hardware/interfaces/drm/1.0/default/include/
H A DPluginLoader.h50 String8 path = pluginDir + "/" + pEntry->d_name; local
51 T *plugin = loadOne(path, entry);
74 T* loadOne(const char *path, const char *entry) { argument
75 sp<SharedLibrary> library = new SharedLibrary(String8(path));
77 ALOGE("Failed to open plugin library %s: %s", path,
84 ALOGV("Found plugin factory entry %s in %s", entry, path);
/hardware/libhardware/
H A Dhardware.c34 /** Base path of the hal modules */
73 const char *path,
91 strncmp(path, HAL_LIBRARY_PATH1, strlen(HAL_LIBRARY_PATH1)) == 0) {
95 handle = dlopen(path, RTLD_NOW);
97 handle = android_load_sphal_library(path, RTLD_NOW);
101 ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown");
135 ALOGV("loaded HAL id=%s path=%s hmi=%p handle=%p",
136 id, path, *pHmi, handle);
146 * otherwise return negative. On success path will contain the path t
72 load(const char *id, const char *path, const struct hw_module_t **pHmi) argument
148 hw_module_exists(char *path, size_t path_len, const char *name, const char *subname) argument
176 char path[PATH_MAX] = {0}; local
[all...]
/hardware/interfaces/bluetooth/1.0/default/test/
H A Dbluetooth_address_test.cc54 void FileWriteString(const char* path, const char* string);
57 void BluetoothAddressTest::FileWriteString(const char* path, argument
59 int fd = open(path, O_CREAT | O_RDWR, 0600);
/hardware/libhardware/modules/camera/3_4/
H A Dv4l2_camera.cpp51 V4L2Camera* V4L2Camera::NewV4L2Camera(int id, const std::string path) { argument
54 std::shared_ptr<V4L2Wrapper> v4l2_wrapper(V4L2Wrapper::NewV4L2Wrapper(path));
104 // This is checked by the HAL, but the device at |device_|'s path may
/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DConnectionDetector.cpp107 BaseDynamicSensorDaemon *d, const std::string &path, const std::string &regex)
108 : ConnectionDetector(d), Thread(false /*callCallJava*/), mPath(path), mRegex(regex),
120 int wd = ::inotify_add_watch(mInotifyFd, path.c_str(), IN_CREATE | IN_DELETE);
124 ALOGE("Cannot setup watch on dir %s", path.c_str());
106 FileConnectionDetector( BaseDynamicSensorDaemon *d, const std::string &path, const std::string &regex) argument
/hardware/broadcom/libbt/src/
H A Dupio.c151 char path[64]; local
160 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id);
161 fd = open(path, O_RDONLY);
165 path, strerror(errno), errno);
455 * certain time already due to heavy downstream path flow.
/hardware/google/av/media/sfplugin/
H A DReflectedParamUpdater.cpp144 C2String path,
149 C2String fieldName = path + "." + it->name();
142 addParamStructDesc( std::shared_ptr<C2ParamDescriptor> desc, C2String path, size_t offset, const C2StructDescriptor &structDesc, const std::shared_ptr<C2ParamReflector> &reflector) argument
/hardware/intel/common/utils/ituxd/jni/
H A DthermalJNI.cpp38 static int readFromFile(const char *path, char* buf, size_t size, bool throwError) argument
40 if (!path)
43 int fd = open(path, O_RDONLY, 0);
46 ALOGE("Could not open '%s'", path);
64 static int writeToFile(const char *path, int val) argument
70 if (!path)
73 fd = open(path, O_WRONLY, 0);
75 ALOGE("writeToFile: Could not open '%s' err: %d", path, errno);
133 const char *path = NULL; local
137 path
224 const char *path = NULL; local
240 const char *path = NULL; local
262 const char *path = NULL; local
[all...]
/hardware/intel/img/hwcomposer/merrifield/common/base/
H A DDrm.cpp47 const char *path = DrmConfig::getDrmPath(); local
48 mDrmFd = open(path, O_RDWR, 0);
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
H A DDrm.cpp47 const char *path = DrmConfig::getDrmPath(); local
48 mDrmFd = open(path, O_RDWR, 0);

Completed in 653 milliseconds

12345