/hardware/libhardware/ |
D | hardware.c | 69 const char *path, in load() argument 81 handle = dlopen(path, RTLD_NOW); in load() 84 ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown"); in load() 119 id, path, *pHmi, handle); in load() 131 static int hw_module_exists(char *path, size_t path_len, const char *name, in hw_module_exists() argument 134 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists() 136 if (access(path, R_OK) == 0) in hw_module_exists() 139 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists() 141 if (access(path, R_OK) == 0) in hw_module_exists() 144 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists() [all …]
|
/hardware/intel/common/utils/ituxd/jni/ |
D | thermalJNI.cpp | 36 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/ |
D | get_files.py | 18 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 …]
|
D | README | 17 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/intel/common/omx-components/videocodec/ |
D | Android.mk | 28 $(call include-path-for, frameworks-native)/media/hardware \ 29 $(call include-path-for, frameworks-native)/media/openmax \ 30 $(call include-path-for, libhardware) 102 $(call include-path-for, frameworks-native)/media/hardware \ 103 $(call include-path-for, frameworks-native)/media/openmax \ 104 $(call include-path-for, libhardware) 174 $(call include-path-for, frameworks-native)/media/hardware \ 175 $(call include-path-for, frameworks-native)/media/openmax \ 176 $(call include-path-for, libhardware) 225 $(call include-path-for, frameworks-native)/media/hardware \ [all …]
|
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
D | ThermalUtils.java | 39 private native static String native_readSysfs(String path); in native_readSysfs() argument 40 private native static int native_readSysfsTemp(String path); in native_readSysfsTemp() argument 41 private native static int native_writeSysfs(String path, int val); in native_writeSysfs() argument 49 public static String readSysfs(String path) { in readSysfs() argument 51 return native_readSysfs(path); in readSysfs() 58 public static int readSysfsTemp(String path) { in readSysfsTemp() argument 60 return native_readSysfsTemp(path); in readSysfsTemp() 67 public static int writeSysfs(String path, int val) { in writeSysfs() argument 69 return native_writeSysfs(path, val); in writeSysfs() 112 public static boolean isFileExists(String path) { in isFileExists() argument [all …]
|
D | ThermalSensor.java | 116 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()
|
D | VirtualThermalZone.java | 38 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);
|
/hardware/qcom/audio/msm8909/audiod/ |
D | AudioDaemon.cpp | 75 String8 path; in getStateFDs() local 91 path = "/proc/asound/card"; in getStateFDs() 92 path += ptr; in getStateFDs() 93 path += "/state"; in getStateFDs() 94 ALOGD("Opening sound card state : %s", path.string()); in getStateFDs() 95 fd = open(path.string(), O_RDONLY); in getStateFDs() 97 ALOGE("Open %s failed : %s", path.string(), strerror(errno)); in getStateFDs() 127 String8 path; in getDeviceEventFDs() local 143 path = "/sys/class/switch/"; in getDeviceEventFDs() 144 path += in_file->d_name; in getDeviceEventFDs() [all …]
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | IMountService.h | 44 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/omap4-aah/camera/OMXCameraAdapter/ |
D | OMXDccDataSave.cpp | 137 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/libhardware/modules/input/evdev/ |
D | InputHub.cpp | 85 static EvdevDeviceNode* openDeviceNode(const std::string& path); 124 EvdevDeviceNode(const std::string& path, int fd) : in EvdevDeviceNode() argument 125 mFd(fd), mPath(path) {} in EvdevDeviceNode() 156 EvdevDeviceNode* EvdevDeviceNode::openDeviceNode(const std::string& path) { in openDeviceNode() argument 157 auto fd = TEMP_FAILURE_RETRY(::open(path.c_str(), O_RDONLY | O_NONBLOCK | O_CLOEXEC)); in openDeviceNode() 159 ALOGE("could not open evdev device %s. err=%d", path.c_str(), errno); in openDeviceNode() 174 auto node = new EvdevDeviceNode(path, fd); in openDeviceNode() 178 path.c_str(), ret); in openDeviceNode() 498 status_t InputHub::registerDevicePath(const std::string& path) { in registerDevicePath() argument 499 ALOGV("registering device path %s", path.c_str()); in registerDevicePath() [all …]
|
D | InputHub.h | 135 virtual status_t registerDevicePath(const std::string& path) = 0; 136 virtual status_t unregisterDevicePath(const std::string& path) = 0; 161 virtual status_t registerDevicePath(const std::string& path) override; 162 virtual status_t unregisterDevicePath(const std::string& path) override; 171 status_t scanDir(const std::string& path); 172 std::shared_ptr<InputDeviceNode> openNode(const std::string& path); 175 std::shared_ptr<InputDeviceNode> findNodeByPath(const std::string& path);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | tools_common.sh | 333 --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/libhardware/tests/input/evdev/ |
D | TestHelpers.cpp | 35 TempFile::TempFile(const char* path) { in TempFile() argument 36 bool needTrailingSlash = path[strlen(path) - 1] != '/'; in TempFile() 38 size_t nameLen = strlen(path) + 6 + 1; in TempFile() 42 strcpy(mName, path); in TempFile()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | cpuhint.cpp | 49 char path[PROPERTY_VALUE_MAX]; in Init() local 50 if (debug_handler->GetProperty("ro.vendor.extension_library", path) != kErrorNone) { in Init() 64 lib_handle_ = dlopen(path, RTLD_NOW); in Init() 76 DLOGW("Failed to open %s : %s", path, dlerror()); in Init()
|
/hardware/bsp/intel/peripheral/libupm/doxy/node/ |
D | tolower.js | 28 path = require('path'); // for file path parsing variable 61 return path.join(directory, file); 65 return path.extname(file).toLowerCase() == ".html"; 75 var originalName = path.basename(file); 77 var directory = path.dirname(file);
|
/hardware/akm/AK8975_FS/akmdfs/ |
D | AKFS_FileIO.c | 43 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()
|
D | AKFS_FileIO.h | 35 int16 AKFS_LoadParameters(AK8975PRMS *prms, const char* path); 37 int16 AKFS_SaveParameters(AK8975PRMS* prms, const char* path);
|
D | AKFS_APIs.c | 93 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/akm/AK8975_FS/libsensors/ |
D | SensorBase.cpp | 71 const char *path, const char *value, int bytes) in write_sys_attribute() argument 75 fd = open(path, O_WRONLY); in write_sys_attribute() 78 path, strerror(errno)); in write_sys_attribute() 85 path, strerror(errno)); in write_sys_attribute()
|
/hardware/bsp/intel/peripheral/libupm/doxy/ |
D | conf.py.in | 23 sys.path.insert(0, "@CMAKE_CURRENT_BINARY_DIR@/pyupm/") 24 sys.path.insert(0, "@MRAA_LIBDIR@@LIB_SUFFIX@")
|
/hardware/qcom/display/msm8960/liblight/ |
D | lights.c | 83 write_int(char const* path, int value) in write_int() argument 88 fd = open(path, O_RDWR); in write_int() 97 ALOGE("write_int failed to open %s\n", path); in write_int() 105 is_avail(char const* path) in is_avail() argument 107 int fd = open(path, O_RDWR); in is_avail()
|
/hardware/bsp/intel/peripheral/audio/generic/usb/ |
D | hal.mk | 24 $(call include-path-for, audio-utils) \ 25 $(call include-path-for, alsa-utils)
|
/hardware/libhardware/modules/usbaudio/ |
D | Android.mk | 25 $(call include-path-for, audio-utils) \ 26 $(call include-path-for, alsa-utils)
|