Home
last modified time | relevance | path

Searched refs:BundleActiveEventStats (Results 1 - 25 of 29) sorted by relevance

12

/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/
H A Dbundle_active_event_stats.cpp21 BundleActiveEventStats::BundleActiveEventStats() in BundleActiveEventStats() function in OHOS::DeviceUsageStats::BundleActiveEventStats
33 BundleActiveEventStats::BundleActiveEventStats(const BundleActiveEventStats& orig) in BundleActiveEventStats() function in OHOS::DeviceUsageStats::BundleActiveEventStats
45 int32_t BundleActiveEventStats::GetEventId() in GetEventId()
50 int64_t BundleActiveEventStats::GetFirstTimeStamp() in GetFirstTimeStamp()
55 int64_t BundleActiveEventStats::GetLastTimeStamp() in GetLastTimeStamp()
60 int64_t BundleActiveEventStats::GetLastEventTime() in GetLastEventTime()
65 int64_t BundleActiveEventStats
[all...]
H A Dbundle_active_proxy.cpp323 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) in QueryDeviceEventStats()
335 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) in QueryNotificationEventStats()
347 std::vector<BundleActiveEventStats>& eventStats, int32_t userId, int32_t communicationFlag) in IPCCommunication()
364 std::shared_ptr<BundleActiveEventStats> tmp; in IPCCommunication()
H A Dbundle_active_client.cpp196 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) in QueryDeviceEventStats()
207 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) in QueryNotificationEventStats()
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/
H A Dbundle_active_event_stats.h26 class BundleActiveEventStats : public Parcelable { class
38 * function: BundleActiveEventStats, default constructor.
40 BundleActiveEventStats();
42 * function: BundleActiveEventStats, copy constructor.
45 BundleActiveEventStats(const BundleActiveEventStats& orig);
80 void add(const BundleActiveEventStats& right);
92 * return: point to a BundleActiveEventStats.
94 static std::shared_ptr<BundleActiveEventStats> UnMarshalling(Parcel &parcel);
H A Dbundle_active_proxy.h107 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) override;
116 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) override;
146 ErrCode IPCCommunication(int64_t beginTime, int64_t endTime, std::vector<BundleActiveEventStats>& eventStats,
H A Dbundle_active_client.h162 std::vector<BundleActiveEventStats>& eventStats, int32_t userId = -1);
174 std::vector<BundleActiveEventStats>& eventStats, int32_t userId = -1);
/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/
H A Dbundle_active_event_tracker.cpp46 void BundleActiveEventTracker::AddToEventStats(std::vector<BundleActiveEventStats>& eventStatsList, int32_t eventId, in AddToEventStats()
50 BundleActiveEventStats newEvent; in AddToEventStats()
H A Dbundle_active_user_service.cpp543 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) in QueryDeviceEventStats()
554 std::map<std::string, BundleActiveEventStats> systemEventStats; in QueryDeviceEventStats()
566 std::map<std::string, BundleActiveEventStats>::iterator iter; in QueryDeviceEventStats()
574 int64_t beginTime, int64_t endTime, std::map<std::string, BundleActiveEventStats>& systemEventStats) in GetCachedSystemEvents()
578 BundleActiveEventStats singleEventStats; in GetCachedSystemEvents()
579 std::map<std::string, BundleActiveEventStats>::iterator iter; in GetCachedSystemEvents()
593 systemEventStats.insert(std::pair<std::string, BundleActiveEventStats>( in GetCachedSystemEvents()
601 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) in QueryNotificationEventStats()
612 std::map<std::string, BundleActiveEventStats> notificationEventStats; in QueryNotificationEventStats()
622 std::map<std::string, BundleActiveEventStats> in QueryNotificationEventStats()
[all...]
H A Dbundle_active_period_stats.cpp124 void BundleActivePeriodStats::AddEventStatsTo(std::vector<BundleActiveEventStats>& eventStatsList) in AddEventStatsTo()
/foundation/resourceschedule/device_usage_statistics/services/common/include/
H A Dibundle_active_service.h42 class BundleActiveEventStats;
141 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) = 0;
150 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) = 0;
H A Dbundle_active_service.h163 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) override;
175 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) override;
H A Dbundle_active_core.h183 std::vector<BundleActiveEventStats>& eventStats, int32_t userId);
192 std::vector<BundleActiveEventStats>& eventStats, int32_t userId);
H A Dbundle_active_usage_database.h80 std::map<std::string, BundleActiveEventStats>& eventStats, int32_t userId);
82 std::map<std::string, BundleActiveEventStats>& notificationEventStats, int32_t userId);
/foundation/resourceschedule/device_usage_statistics/services/packageusage/include/
H A Dbundle_active_user_service.h75 std::vector<BundleActiveEventStats>& eventStats, int32_t userId);
77 std::vector<BundleActiveEventStats>& eventStats, int32_t userId);
104 int64_t endTime, std::map<std::string, BundleActiveEventStats>& systemEventStats);
106 int64_t endTime, std::map<std::string, BundleActiveEventStats>& notificationEventStats);
H A Dbundle_active_event_tracker.h31 void AddToEventStats(std::vector<BundleActiveEventStats>& eventStatsList, int32_t eventId, int64_t beginTime,
H A Dbundle_active_period_stats.h107 void AddEventStatsTo(std::vector<BundleActiveEventStats>& eventStatsList);
/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Ddevice_usage_statistics_mock_test.cpp104 std::vector<BundleActiveEventStats> eventStats; in HWTEST_F()
140 std::vector<BundleActiveEventStats> eventStats; in HWTEST_F()
155 std::vector<BundleActiveEventStats> eventStats; in HWTEST_F()
288 std::vector<BundleActiveEventStats> eventStats; in HWTEST_F()
401 std::map<std::string, BundleActiveEventStats> eventStats; in HWTEST_F()
H A Ddevice_usage_statistics_test.cpp310 std::vector<BundleActiveEventStats> eventStats; in HWTEST_F()
326 std::vector<BundleActiveEventStats> eventStats; in HWTEST_F()
412 auto bundleActiveEventStats = std::make_shared<BundleActiveEventStats>(); in HWTEST_F()
H A Ddevice_usage_statistics_multi_test.cpp295 std::vector<BundleActiveEventStats> eventStats; in MultiTestQueryDeviceEventStats()
317 std::vector<BundleActiveEventStats> eventStats; in MultiTestQueryNotificationEventStats()
H A Dpackage_usage_test.cpp225 std::vector<BundleActiveEventStats> eventStatsList; in HWTEST_F()
258 * @tc.desc: BundleActiveEventStats
264 auto eventStats = std::make_shared<BundleActiveEventStats>(); in HWTEST_F()
265 BundleActiveEventStats stat; in HWTEST_F()
361 std::vector<BundleActiveEventStats> eventStats; in HWTEST_F()
392 std::vector<BundleActiveEventStats> eventStats; in HWTEST_F()
/foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/
H A Dbundle_state_common.h60 const std::vector<BundleActiveEventStats> &eventStats, napi_value result);
63 const std::vector<BundleActiveEventStats> &eventStats, napi_value result);
H A Dbundle_state_data.h102 std::vector<BundleActiveEventStats> eventStats;
/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_stub.cpp276 std::vector<BundleActiveEventStats> result; in HandleQueryDeviceEventStats()
300 std::vector<BundleActiveEventStats> result; in HandleQueryNotificationEventStats()
H A Dbundle_active_usage_database.cpp1802 int64_t endTime, std::map<std::string, BundleActiveEventStats>& eventStats, int32_t userId) in QueryDeviceEventStats()
1831 BundleActiveEventStats event; in QueryDeviceEventStats()
1835 eventStats.insert(std::pair<std::string, BundleActiveEventStats>(event.name_, event)); in QueryDeviceEventStats()
1861 int64_t endTime, std::map<std::string, BundleActiveEventStats>& notificationEventStats, int32_t userId) in QueryNotificationEventStats()
1890 BundleActiveEventStats event; in QueryNotificationEventStats()
1891 std::map<std::string, BundleActiveEventStats>::iterator iter; in QueryNotificationEventStats()
1902 notificationEventStats.insert(std::pair<std::string, BundleActiveEventStats>(event.name_, event)); in QueryNotificationEventStats()
/foundation/resourceschedule/device_usage_statistics/test/fuzztest/bundleactivepowerstatecallbackproxy_fuzzer/
H A Dbundleactivepowerstatecallbackproxy_fuzzer.cpp132 std::vector<BundleActiveEventStats> eventStats; in BundleActiveClientFuzzTest()

Completed in 18 milliseconds

12