Home
last modified time | relevance | path

Searched refs:KeyInfo (Results 1 - 19 of 19) sorted by relevance

/foundation/resourceschedule/background_task_mgr/services/transient_task/include/
H A Dkey_info.h23 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 Ddecision_maker.h45 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 Dsuspend_controller.h28 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 Dwatchdog.h37 bool AddWatchdog(int32_t requestId, const std::shared_ptr<KeyInfo>& info, int32_t interval);
H A Dbg_transient_task_mgr.h104 std::map<int32_t, std::shared_ptr<KeyInfo>> keyInfoMap_;
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Ddistributed_data_change_listener.cpp35 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 Dsuspend_controller.cpp24 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 Dwatchdog.cpp37 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 Ddecision_maker.cpp120 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 Dbg_transient_task_mgr.cpp208 auto keyInfo = make_shared<KeyInfo>(name, uid, pid); in RequestSuspendDelay()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/crypto_test/
H A Dcrypto_test.cpp104 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 Dcustom_input_method.cpp31 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 Dhuks_master.h40 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 Dkey_blob.h144 struct KeyInfo { struct
H A Dbase_key.h75 KeyInfo keyInfo_;
/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbgtask_manager_unit_test.cpp213 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 Dbgtask_misc_unit_test.cpp313 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 Dhuks_master.cpp708 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 Dbase_key.cpp969 KeyInfo planKeyInfo = {.key = planKey}; in StoreKey()

Completed in 12 milliseconds