/ohos5.0/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() 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 D | key_info.h | 23 class KeyInfo { 25 …KeyInfo(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 D | decision_maker.h | 45 …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 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_;
|
/ohos5.0/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()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
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<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 D | watchdog.cpp | 38 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 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 | bg_transient_task_mgr.cpp | 210 auto keyInfo = make_shared<KeyInfo>(name, uid, pid); in RequestSuspendDelay()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | bgtask_misc_unit_test.cpp | 314 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 D | bgtask_manager_unit_test.cpp | 213 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 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 | 71 KeyInfo keyInfo_;
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | huks_master.cpp | 732 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 D | base_key.cpp | 941 KeyInfo planKeyInfo = {.key = planKey}; in StoreKey()
|