Home
last modified time | relevance | path

Searched refs:KeyInfo (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/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() argument
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()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/include/
H A Dkey_info.h23 class KeyInfo {
25KeyInfo(const std::string& pkg, const int32_t& uid, const int32_t& pid = -1): pkg_(pkg), uid_(uid)…
26 ~KeyInfo() = default;
28 inline bool operator<(const KeyInfo &o) const
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>& del…
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> pkgDelaySusp…
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_;
/ohos5.0/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()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/src/
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<DelaySuspe… 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 req… 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 Dwatchdog.cpp38 bool Watchdog::AddWatchdog(int32_t requestId, const std::shared_ptr<KeyInfo>& info, int32_t interva… in AddWatchdog()
56 const shared_ptr<KeyInfo>& info = event->GetSharedObject<KeyInfo>(); in ProcessEvent()
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 Dbg_transient_task_mgr.cpp210 auto keyInfo = make_shared<KeyInfo>(name, uid, pid); in RequestSuspendDelay()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbgtask_misc_unit_test.cpp314 auto keyInfo = std::make_shared<KeyInfo>("bundleName1", 1);
321 auto keyInfo2 = std::make_shared<KeyInfo>("bundleName2", 2);
354 auto keyInfo = std::make_shared<KeyInfo>("bundleName1", 1);
387 auto keyInfo2 = std::make_shared<KeyInfo>("bundleName2", TEST_NUM_TWO);
560 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1);
711 auto keyInfo1 = std::make_shared<KeyInfo>("bundleName1", 1);
716 auto keyInfo = std::make_shared<KeyInfo>("bundleName1", 1);
750 auto keyInfo = std::make_shared<KeyInfo>("bundleName1", 1);
755 auto keyInfo1 = std::make_shared<KeyInfo>("bundleName1", 1);
782 auto keyInfo = std::make_shared<KeyInfo>("bundleName1", 1);
[all …]
H A Dbgtask_manager_unit_test.cpp213 auto keyInfo = std::make_shared<KeyInfo>(bundleName, uid);
251 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1);
276 auto keyInfo = std::make_shared<KeyInfo>(bundleName, uid);
300 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1);
342 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1);
402 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1);
424 auto keyInfo = std::make_shared<KeyInfo>("bundleName", 1);
/ohos5.0/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.h71 KeyInfo keyInfo_;
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dhuks_master.cpp732 bool HuksMaster::EncryptKey(KeyContext &ctx, const UserAuth &auth, const KeyInfo &key, bool isNeedN… in EncryptKey()
765 bool HuksMaster::DecryptKey(KeyContext &ctx, const UserAuth &auth, KeyInfo &key, bool isNeedNewNonc… in DecryptKey()
H A Dbase_key.cpp941 KeyInfo planKeyInfo = {.key = planKey}; in StoreKey()