/hardware/google/pixel/powerstats/ |
D | DisplayStateResidencyDataProvider.cpp | 38 : 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()
|
D | WlanStateResidencyDataProvider.cpp | 37 : 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()
|
D | GenericStateResidencyDataProvider.cpp | 164 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/ |
D | DisplayStateResidencyDataProvider.cpp | 35 : 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()
|
D | WlanStateResidencyDataProvider.cpp | 58 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()
|
D | GenericStateResidencyDataProvider.cpp | 147 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/ |
D | WlanStateResidencyDataProvider.h | 30 : mName(std::move(name)), mPath(std::move(path)) {} in WlanStateResidencyDataProvider() 40 const std::string mPath; variable
|
D | GenericStateResidencyDataProvider.h | 61 : mPath(std::move(path)), mPowerEntityConfigs(std::move(configs)) {} in GenericStateResidencyDataProvider() 70 const std::string mPath;
|
D | DisplayStateResidencyDataProvider.h | 59 const std::string mPath; variable
|
/hardware/libhardware/modules/input/evdev/ |
D | InputHub.cpp | 74 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/ |
D | GenericStateResidencyDataProvider.h | 59 GenericStateResidencyDataProvider(std::string path) : mPath(std::move(path)) {} in GenericStateResidencyDataProvider() 67 const std::string mPath;
|
D | WlanStateResidencyDataProvider.h | 22 const std::string mPath;
|
D | DisplayStateResidencyDataProvider.h | 56 const std::string mPath; variable
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | ConnectionDetector.cpp | 112 : 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()
|
D | ConnectionDetector.h | 79 std::string mPath; variable
|
/hardware/libhardware/tests/input/evdev/ |
D | InputMocks.h | 35 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/ |
D | overlayUtils.h | 621 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/ |
D | overlayUtils.h | 624 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/ |
D | overlayUtils.h | 785 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/ |
D | overlayUtils.h | 787 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()
|