/foundation/resourceschedule/background_task_mgr/services/transient_task/include/ |
H A D | key_info.h | 23 class KeyInfo { class 25 KeyInfo(const std::string& pkg, const int32_t& uid, const int32_t& pid = -1): pkg_(pkg), uid_(uid), pid_(pid) {} in KeyInfo() function in OHOS::BackgroundTaskMgr::KeyInfo 26 ~KeyInfo() = default; 28 inline bool operator<(const KeyInfo &o) const in operator <() 33 inline bool IsEqual(const KeyInfo& other) const in IsEqual() 70 bool operator()(const std::shared_ptr<KeyInfo> x, const std::shared_ptr<KeyInfo> y) const in operator ()()
|
H A D | decision_maker.h | 45 ErrCode Decide(const std::shared_ptr<KeyInfo>& key, const std::shared_ptr<DelaySuspendInfoEx>& delayInfo); 48 void RemoveRequest(const std::shared_ptr<KeyInfo>& key, const int32_t requestId); 49 int32_t GetRemainingDelayTime(const std::shared_ptr<KeyInfo>& key, const int32_t requestId); 51 int32_t GetQuota(const std::shared_ptr<KeyInfo>& key); 102 int32_t uid, const std::shared_ptr<KeyInfo>& key, bool& needSetTime); 111 std::map<std::shared_ptr<KeyInfo>, std::shared_ptr<PkgDelaySuspendInfo>, KeyInfoComp> pkgDelaySuspendInfoMap_; 112 std::map<std::shared_ptr<KeyInfo>, int32_t, KeyInfoComp> pkgBgDurationMap_;
|
H A D | suspend_controller.h | 28 void RequestSuspendDelay(const std::shared_ptr<KeyInfo>& key); 29 void CancelSuspendDelay(const std::shared_ptr<KeyInfo>& key); 32 std::map<std::shared_ptr<KeyInfo>, uint32_t, KeyInfoComp> delaySuspendApps_;
|
H A D | watchdog.h | 37 bool AddWatchdog(int32_t requestId, const std::shared_ptr<KeyInfo>& info, int32_t interval);
|
H A D | bg_transient_task_mgr.h | 104 std::map<int32_t, std::shared_ptr<KeyInfo>> keyInfoMap_;
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | distributed_data_change_listener.cpp | 35 struct KeyInfo { struct 39 static unique_ptr<KeyInfo> ParseInfo(const std::string& strKey) in ParseInfo() 48 auto keyInfo = make_unique<KeyInfo>(); in ParseInfo() 67 unique_ptr<KeyInfo> keyInfo = KeyInfo::ParseInfo(entry.key.ToString()); in OnChange() 82 unique_ptr<KeyInfo> keyInfo = KeyInfo::ParseInfo(entry.key.ToString()); in OnChange() 93 unique_ptr<KeyInfo> keyInfo = KeyInfo::ParseInfo(entry.key.ToString()); in OnChange()
|
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
H A D | suspend_controller.cpp | 24 void SuspendController::RequestSuspendDelay(const std::shared_ptr<KeyInfo>& key) in RequestSuspendDelay() 34 void SuspendController::CancelSuspendDelay(const std::shared_ptr<KeyInfo>& key) in CancelSuspendDelay()
|
H A D | watchdog.cpp | 37 bool Watchdog::AddWatchdog(int32_t requestId, const std::shared_ptr<KeyInfo>& info, int32_t interval) in AddWatchdog() 55 const shared_ptr<KeyInfo>& info = event->GetSharedObject<KeyInfo>(); in ProcessEvent()
|
H A D | decision_maker.cpp | 120 auto key = std::make_shared<KeyInfo>(appStateData.bundleName, appStateData.uid); in OnForegroundApplicationChanged() 161 int32_t uid, const std::shared_ptr<KeyInfo>& key, bool &needSetTime) in CheckQuotaTime() 182 ErrCode DecisionMaker::Decide(const std::shared_ptr<KeyInfo>& key, const std::shared_ptr<DelaySuspendInfoEx>& delayInfo) in Decide() 234 auto key = std::make_shared<KeyInfo>(name, uid); in PauseTransientTaskTimeForInner() 253 auto key = std::make_shared<KeyInfo>(name, uid); in StartTransientTaskTimeForInner() 274 void DecisionMaker::RemoveRequest(const std::shared_ptr<KeyInfo>& key, const int32_t requestId) in RemoveRequest() 302 int32_t DecisionMaker::GetRemainingDelayTime(const std::shared_ptr<KeyInfo>& key, const int32_t requestId) in GetRemainingDelayTime() 318 int32_t DecisionMaker::GetQuota(const std::shared_ptr<KeyInfo>& key) in GetQuota() 439 auto key = std::make_shared<KeyInfo>(fgApp.bundleName, fgApp.uid); in HandleScreenOn()
|
H A D | bg_transient_task_mgr.cpp | 208 auto keyInfo = make_shared<KeyInfo>(name, uid, pid); in RequestSuspendDelay()
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/crypto_test/ |
H A D | crypto_test.cpp | 104 const KeyInfo key; in HWTEST_F() 128 const KeyInfo key; in HWTEST_F() 151 KeyInfo key; in HWTEST_F() 175 KeyInfo key; in HWTEST_F() 199 KeyInfo key; in HWTEST_F()
|
/foundation/arkui/ui_lite/test/uitest/test_edit_text/ |
H A D | custom_input_method.cpp | 31 struct KeyInfo { struct 40 const KeyInfo LOW_CASE_KEY_IOFO = { 50 const KeyInfo UPPER_CASE_KEY_IOFO = { 60 const KeyInfo NUM_KEY_IOFO = { 70 const KeyInfo SYMBOL_KEY_IOFO = { 90 KeyInfo GetKeyInfo(KeyboardType type) in GetKeyInfo() 92 KeyInfo keyInfo; in GetKeyInfo() 213 KeyInfo keyInfo = GetKeyInfo(type); in SetupKeyboard()
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | huks_master.h | 40 bool EncryptKey(KeyContext &ctx, const UserAuth &auth, const KeyInfo &key, bool isNeedNewNonce); 42 bool DecryptKey(KeyContext &ctx, const UserAuth &auth, KeyInfo &key, bool isNeedNewNonce);
|
H A D | key_blob.h | 144 struct KeyInfo { struct
|
H A D | base_key.h | 75 KeyInfo keyInfo_;
|
/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | bgtask_manager_unit_test.cpp | 213 auto keyInfo = std::make_shared<KeyInfo>(bundleName, uid); in HWTEST_F() 251 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1); in HWTEST_F() 276 auto keyInfo = std::make_shared<KeyInfo>(bundleName, uid); in HWTEST_F() 300 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1); in HWTEST_F() 342 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1); in HWTEST_F() 402 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1); in HWTEST_F() 424 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1); in HWTEST_F()
|
H A D | bgtask_misc_unit_test.cpp | 313 auto keyInfo = std::make_shared<KeyInfo>("bundleName1", 1); in HWTEST_F() 320 auto keyInfo2 = std::make_shared<KeyInfo>("bundleName2", 2); in HWTEST_F() 353 auto keyInfo = std::make_shared<KeyInfo>("bundleName1", 1); in HWTEST_F() 386 auto keyInfo2 = std::make_shared<KeyInfo>("bundleName2", TEST_NUM_TWO); in HWTEST_F() 559 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1); in HWTEST_F() 710 auto keyInfo1 = std::make_shared<KeyInfo>("bundleName1", 1); in HWTEST_F() 715 auto keyInfo = std::make_shared<KeyInfo>("bundleName1", 1); in HWTEST_F() 749 auto keyInfo = std::make_shared<KeyInfo>("bundleName1", 1); in HWTEST_F() 754 auto keyInfo1 = std::make_shared<KeyInfo>("bundleName1", 1); in HWTEST_F() 781 auto keyInfo = std::make_shared<KeyInfo>("bundleName in HWTEST_F() [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | huks_master.cpp | 708 bool HuksMaster::EncryptKey(KeyContext &ctx, const UserAuth &auth, const KeyInfo &key, bool isNeedNewNonce) in EncryptKey() 741 bool HuksMaster::DecryptKey(KeyContext &ctx, const UserAuth &auth, KeyInfo &key, bool isNeedNewNonce) in DecryptKey()
|
H A D | base_key.cpp | 969 KeyInfo planKeyInfo = {.key = planKey}; in StoreKey()
|