Home
last modified time | relevance | path

Searched refs:ActiveInfo (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/sensors/sensor/utils/common/src/
H A Dactive_info.cpp27 ActiveInfo::ActiveInfo(int32_t pid, int32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDe… in ActiveInfo() function in OHOS::Sensors::ActiveInfo
31 int32_t ActiveInfo::GetPid() const in GetPid()
36 void ActiveInfo::SetPid(int32_t pid) in SetPid()
41 int32_t ActiveInfo::GetSensorId() const in GetSensorId()
46 void ActiveInfo::SetSensorId(int32_t sensorId) in SetSensorId()
51 int64_t ActiveInfo::GetSamplingPeriodNs() const in GetSamplingPeriodNs()
56 void ActiveInfo::SetSamplingPeriodNs(int64_t samplingPeriodNs) in SetSamplingPeriodNs()
61 int64_t ActiveInfo::GetMaxReportDelayNs() const in GetMaxReportDelayNs()
71 bool ActiveInfo::Marshalling(Parcel &parcel) const in Marshalling()
92 std::unique_ptr<ActiveInfo> ActiveInfo::Unmarshalling(Parcel &parcel) in Unmarshalling()
[all …]
/ohos5.0/base/sensors/sensor/utils/common/include/
H A Dactive_info.h23 class ActiveInfo : public Parcelable {
25 ActiveInfo() = default;
26 ActiveInfo(int32_t pid, int32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDelayNs);
27 ~ActiveInfo() = default;
37 std::unique_ptr<ActiveInfo> Unmarshalling(Parcel &parcel);
/ohos5.0/base/sensors/sensor/services/include/
H A Dsensor_power_policy.h41 std::vector<ActiveInfo> GetActiveInfoList(int32_t pid);
42 void ReportActiveInfo(const ActiveInfo &activeInfo, const std::vector<SessionPtr> &sessionList);
H A Dsensor_service.h63 ErrCode GetActiveInfoList(int32_t pid, std::vector<ActiveInfo> &activeInfoList) override;
/ohos5.0/base/sensors/sensor/services/src/
H A Dsensor_power_policy.cpp219 std::vector<ActiveInfo> SensorPowerPolicy::GetActiveInfoList(int32_t pid) in GetActiveInfoList()
222 std::vector<ActiveInfo> activeInfoList; in GetActiveInfoList()
226 ActiveInfo activeInfo(pid, sensorId, sensorInfo.GetSamplingPeriodNs(), in GetActiveInfoList()
238 void SensorPowerPolicy::ReportActiveInfo(const ActiveInfo &activeInfo, in ReportActiveInfo()
H A Dsensor_service.cpp539 ErrCode SensorService::GetActiveInfoList(int32_t pid, std::vector<ActiveInfo> &activeInfoList) in GetActiveInfoList()
607 ActiveInfo activeInfo(pid, sensorId, sensorInfo.GetSamplingPeriodNs(), in ReportActiveInfo()
H A Dsensor_service_stub.cpp257 std::vector<ActiveInfo> activeInfoList; in GetActiveInfoListInner()
/ohos5.0/base/sensors/sensor/frameworks/native/include/
H A Di_sensor_service.h46 virtual ErrCode GetActiveInfoList(int32_t pid, std::vector<ActiveInfo> &activeInfoList) = 0;
H A Dsensor_service_proxy.h40 ErrCode GetActiveInfoList(int32_t pid, std::vector<ActiveInfo> &activeInfoList) override;
H A Dsensor_service_client.h50 int32_t GetActiveInfoList(int32_t pid, std::vector<ActiveInfo> &activeInfoList);
/ohos5.0/base/sensors/sensor/test/fuzztest/services/service/getactiveinfolist_fuzzer/
H A Dgetactiveinfolist_fuzzer.cpp80 std::vector<ActiveInfo> activeInfoList; in GetActiveInfoListFuzzTest()
/ohos5.0/base/sensors/sensor/frameworks/native/src/
H A Dsensor_service_proxy.cpp213 ErrCode SensorServiceProxy::GetActiveInfoList(int32_t pid, std::vector<ActiveInfo> &activeInfoList) in GetActiveInfoList()
237 ActiveInfo activeInfo; in GetActiveInfoList()
H A Dsensor_service_client.cpp338 int32_t SensorServiceClient::GetActiveInfoList(int32_t pid, std::vector<ActiveInfo> &activeInfoList) in GetActiveInfoList()
H A Dsensor_agent_proxy.cpp451 std::vector<ActiveInfo> activeInfoList; in GetSensorActiveInfos()