Home
last modified time | relevance | path

Searched refs:mPath (Results 1 – 20 of 20) sorted by relevance

/hardware/google/pixel/powerstats/
DDisplayStateResidencyDataProvider.cpp38 : mPath(std::move(path)), in DisplayStateResidencyDataProvider()
51 LOG(VERBOSE) << "Opening " << mPath; in DisplayStateResidencyDataProvider()
52 mFd = open(mPath.c_str(), O_RDONLY | O_NONBLOCK); in DisplayStateResidencyDataProvider()
54 PLOG(ERROR) << ":Failed to open file " << mPath; in DisplayStateResidencyDataProvider()
DWlanStateResidencyDataProvider.cpp37 : mPath(std::move(path)), mPowerEntityId(id) {} in WlanStateResidencyDataProvider()
55 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(mPath.c_str(), "r"), fclose); in getResults()
57 PLOG(ERROR) << __func__ << ":Failed to open file " << mPath; in getResults()
DGenericStateResidencyDataProvider.cpp164 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(mPath.c_str(), "r"), fclose); in getResults()
166 PLOG(ERROR) << __func__ << ":Failed to open file " << mPath in getResults()
225 LOG(ERROR) << __func__ << ":Failed to get results for " << mPath; in getResults()
/hardware/google/pixel/powerstats/dataproviders/
DDisplayStateResidencyDataProvider.cpp35 : mPath(std::move(path)), in DisplayStateResidencyDataProvider()
48 LOG(VERBOSE) << "Opening " << mPath; in DisplayStateResidencyDataProvider()
49 mFd = open(mPath.c_str(), O_RDONLY | O_NONBLOCK); in DisplayStateResidencyDataProvider()
51 PLOG(ERROR) << ":Failed to open file " << mPath; in DisplayStateResidencyDataProvider()
DWlanStateResidencyDataProvider.cpp58 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(mPath.c_str(), "r"), fclose); in getStateResidencies()
60 PLOG(ERROR) << ":Failed to open file " << mPath; in getStateResidencies()
DGenericStateResidencyDataProvider.cpp147 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(mPath.c_str(), "r"), fclose); in getStateResidencies()
149 PLOG(ERROR) << "Failed to open file " << mPath; in getStateResidencies()
182 LOG(ERROR) << "Failed to get results for " << mPath; in getStateResidencies()
/hardware/google/pixel/powerstats/include/dataproviders/
DWlanStateResidencyDataProvider.h30 : mName(std::move(name)), mPath(std::move(path)) {} in WlanStateResidencyDataProvider()
40 const std::string mPath; variable
DGenericStateResidencyDataProvider.h61 : mPath(std::move(path)), mPowerEntityConfigs(std::move(configs)) {} in GenericStateResidencyDataProvider()
70 const std::string mPath;
DDisplayStateResidencyDataProvider.h59 const std::string mPath; variable
/hardware/libhardware/modules/input/evdev/
DInputHub.cpp74 ALOGV("closing %s (fd=%d)", mPath.c_str(), mFd); in ~EvdevDeviceNode()
81 virtual const std::string& getPath() const override { return mPath; } in getPath()
111 mFd(fd), mPath(path) {} in EvdevDeviceNode()
117 std::string mPath; member in android::EvdevDeviceNode
175 ALOGV("could not get device name for %s.", mPath.c_str()); in queryProperties()
183 ALOGE("could not get driver version for %s. err=%d", mPath.c_str(), errno); in queryProperties()
189 ALOGE("could not get device input id for %s. err=%d", mPath.c_str(), errno); in queryProperties()
198 ALOGV("could not get location for %s.", mPath.c_str()); in queryProperties()
205 ALOGV("could not get unique id for %s.", mPath.c_str()); in queryProperties()
211 ALOGV("add device %s", mPath.c_str()); in queryProperties()
[all …]
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DGenericStateResidencyDataProvider.h59 GenericStateResidencyDataProvider(std::string path) : mPath(std::move(path)) {} in GenericStateResidencyDataProvider()
67 const std::string mPath;
DWlanStateResidencyDataProvider.h22 const std::string mPath;
DDisplayStateResidencyDataProvider.h56 const std::string mPath; variable
/hardware/libhardware/modules/sensors/dynamic_sensor/
DConnectionDetector.cpp112 : ConnectionDetector(d), Thread(false /*callCallJava*/), mPath(path), mRegex(regex), in FileConnectionDetector()
154 return mPath + name; in getFullName()
158 auto dirp = ::opendir(mPath.c_str()); in processExistingFiles()
DConnectionDetector.h79 std::string mPath; variable
/hardware/libhardware/tests/input/evdev/
DInputMocks.h35 virtual const std::string& getPath() const override { return mPath; } in getPath()
40 void setPath(const std::string& path) { mPath = path; } in setPath()
104 std::string mPath = "/test";
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.h621 char mPath[utils::MAX_PATH_LEN]; variable
634 mPath[0] = 0; in OvFD()
655 ::strlcpy(mPath, dev, sizeof(mPath)); in setPath()
682 mFD, mPath); in dump()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.h624 char mPath[utils::MAX_PATH_LEN]; variable
637 mPath[0] = 0; in OvFD()
658 ::strlcpy(mPath, dev, sizeof(mPath)); in setPath()
685 mFD, mPath); in dump()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayUtils.h785 char mPath[utils::MAX_PATH_LEN]; variable
798 mPath[0] = 0; in OvFD()
819 ::strlcpy(mPath, dev, sizeof(mPath)); in setPath()
846 mFD, mPath); in dump()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.h787 char mPath[utils::MAX_PATH_LEN]; variable
800 mPath[0] = 0; in OvFD()
821 ::strncpy(mPath, dev, utils::MAX_PATH_LEN); in setPath()
848 mFD, mPath); in dump()