Home
last modified time | relevance | path

Searched refs:ActiveChangeType (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/security/access_token/interfaces/innerkits/privacy/include/
H A Dactive_change_response_info.h49 enum ActiveChangeType { enum
74 ActiveChangeType type;
/ohos5.0/base/security/access_token/services/privacymanager/test/unittest/
H A Dpermission_record_db_test.cpp388 value1.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
397 value2.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
421 value1.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
432 value2.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
473 value1.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
484 value2.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
515 value.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
565 value1.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
576 value2.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
587 value3.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
[all …]
H A Dpermission_record_manager_test.cpp224 ActiveChangeType type_ = PERM_INACTIVE;
/ohos5.0/base/security/access_token/services/privacymanager/test/coverage/
H A Dpermission_record_manager_coverage_test.cpp199 .status = ActiveChangeType::PERM_ACTIVE_IN_BACKGROUND,
205 .status = ActiveChangeType::PERM_ACTIVE_IN_BACKGROUND,
211 .status = ActiveChangeType::PERM_ACTIVE_IN_BACKGROUND,
217 .status = ActiveChangeType::PERM_ACTIVE_IN_BACKGROUND,
249 ActiveChangeType status = PERM_ACTIVE_IN_BACKGROUND;
274 ActiveChangeType status = PERM_ACTIVE_IN_BACKGROUND;
298 ActiveChangeType status = PERM_ACTIVE_IN_FOREGROUND;
321 ActiveChangeType status = PERM_ACTIVE_IN_BACKGROUND;
382 ActiveChangeType type_ = PERM_INACTIVE;
699 value.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_BACKGROUND); in GeneratePermissionRecord()
[all …]
/ohos5.0/base/security/access_token/services/privacymanager/include/active/
H A Dactive_status_callback_manager.h56 …ID tokenId, const std::string& permName, const std::string& deviceId, ActiveChangeType changeType);
61 const std::string& deviceId, ActiveChangeType changeType);
/ohos5.0/base/security/access_token/services/privacymanager/src/active/
H A Dactive_status_callback_manager.cpp128 …nID tokenId, const std::string& permName, const std::string& deviceId, ActiveChangeType changeType) in ActiveStatusChange()
159 …nID tokenId, const std::string& permName, const std::string& deviceId, ActiveChangeType changeType) in ExecuteCallbackAsync()
/ohos5.0/base/security/access_token/test/fuzztest/innerkits/privacy/registerpermactivestatuscallback_fuzzer/
H A Dregisterpermactivestatuscallback_fuzzer.cpp45 ActiveChangeType type_ = PERM_INACTIVE;
/ohos5.0/base/security/access_token/test/fuzztest/innerkits/privacy/unregisterpermactivestatuscallback_fuzzer/
H A Dunregisterpermactivestatuscallback_fuzzer.cpp45 ActiveChangeType type_ = PERM_INACTIVE;
/ohos5.0/base/security/access_token/frameworks/privacy/src/
H A Dperm_active_response_parcel.cpp45 activeChangeResponseParcel->changeResponse.type = static_cast<ActiveChangeType>(type); in Unmarshalling()
/ohos5.0/base/security/access_token/test/fuzztest/services/privacy/unregisterpermactivestatuscallbackstub_fuzzer/
H A Dunregisterpermactivestatuscallbackstub_fuzzer.cpp47 ActiveChangeType type_ = PERM_INACTIVE;
/ohos5.0/base/security/access_token/test/fuzztest/services/privacy/registerpermactivestatuscallbackstub_fuzzer/
H A Dregisterpermactivestatuscallbackstub_fuzzer.cpp47 ActiveChangeType type_ = PERM_INACTIVE;
/ohos5.0/base/security/access_token/services/privacymanager/include/record/
H A Dpermission_record_manager.h104 void NotifyAppStateChange(AccessTokenID tokenId, int32_t pid, ActiveChangeType status);
151 void ExecuteAndUpdateRecord(uint32_t tokenId, int32_t pid, ActiveChangeType status);
/ohos5.0/base/security/access_token/services/privacymanager/src/record/
H A Dpermission_record_manager.cpp111 ActiveChangeType status = PERM_INACTIVE; in OnAppStateChanged()
803 …issionRecordManager::ExecuteAndUpdateRecord(uint32_t tokenId, int32_t pid, ActiveChangeType status) in ExecuteAndUpdateRecord()
843 …ionRecordManager::NotifyAppStateChange(AccessTokenID tokenId, int32_t pid, ActiveChangeType status) in NotifyAppStateChange()
991 tokenId, permissionName, GetDeviceId(tokenId), (ActiveChangeType)status); in CallbackExecute()
1218 return (status == ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND) || isAllowedBackGround; in IsAllowedUsingCamera()
1225 if (status == ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND) { in IsAllowedUsingMicrophone()
1717 if ((GetAppStatus(tokenId) == ActiveChangeType::PERM_ACTIVE_IN_BACKGROUND) && in NotifyCameraWindowChange()
/ohos5.0/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/
H A Dprivacy_kit_test.cpp1047 ActiveChangeType type_ = PERM_INACTIVE;
1071 ActiveChangeType type_;
1120 ActiveChangeType type_ = PERM_INACTIVE;
1859 .type = ActiveChangeType::PERM_INACTIVE
1894 .type = ActiveChangeType::PERM_INACTIVE