/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/ |
H A D | bundle_active_event_stats.cpp | 21 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 D | bundle_active_proxy.cpp | 323 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 D | bundle_active_client.cpp | 196 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 D | bundle_active_event_stats.h | 26 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 D | bundle_active_proxy.h | 107 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 D | bundle_active_client.h | 162 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 D | bundle_active_event_tracker.cpp | 46 void BundleActiveEventTracker::AddToEventStats(std::vector<BundleActiveEventStats>& eventStatsList, int32_t eventId, in AddToEventStats() 50 BundleActiveEventStats newEvent; in AddToEventStats()
|
H A D | bundle_active_user_service.cpp | 543 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 D | bundle_active_period_stats.cpp | 124 void BundleActivePeriodStats::AddEventStatsTo(std::vector<BundleActiveEventStats>& eventStatsList) in AddEventStatsTo()
|
/foundation/resourceschedule/device_usage_statistics/services/common/include/ |
H A D | ibundle_active_service.h | 42 class BundleActiveEventStats; 141 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) = 0; 150 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) = 0;
|
H A D | bundle_active_service.h | 163 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) override; 175 std::vector<BundleActiveEventStats>& eventStats, int32_t userId) override;
|
H A D | bundle_active_core.h | 183 std::vector<BundleActiveEventStats>& eventStats, int32_t userId); 192 std::vector<BundleActiveEventStats>& eventStats, int32_t userId);
|
H A D | bundle_active_usage_database.h | 80 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 D | bundle_active_user_service.h | 75 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 D | bundle_active_event_tracker.h | 31 void AddToEventStats(std::vector<BundleActiveEventStats>& eventStatsList, int32_t eventId, int64_t beginTime,
|
H A D | bundle_active_period_stats.h | 107 void AddEventStatsTo(std::vector<BundleActiveEventStats>& eventStatsList);
|
/foundation/resourceschedule/device_usage_statistics/test/unittest/ |
H A D | device_usage_statistics_mock_test.cpp | 104 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 D | device_usage_statistics_test.cpp | 310 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 D | device_usage_statistics_multi_test.cpp | 295 std::vector<BundleActiveEventStats> eventStats;
in MultiTestQueryDeviceEventStats() 317 std::vector<BundleActiveEventStats> eventStats;
in MultiTestQueryNotificationEventStats()
|
H A D | package_usage_test.cpp | 225 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 D | bundle_state_common.h | 60 const std::vector<BundleActiveEventStats> &eventStats, napi_value result); 63 const std::vector<BundleActiveEventStats> &eventStats, napi_value result);
|
H A D | bundle_state_data.h | 102 std::vector<BundleActiveEventStats> eventStats;
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_stub.cpp | 276 std::vector<BundleActiveEventStats> result; in HandleQueryDeviceEventStats() 300 std::vector<BundleActiveEventStats> result; in HandleQueryNotificationEventStats()
|
H A D | bundle_active_usage_database.cpp | 1802 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 D | bundleactivepowerstatecallbackproxy_fuzzer.cpp | 132 std::vector<BundleActiveEventStats> eventStats; in BundleActiveClientFuzzTest()
|