/ohos5.0/base/security/access_token/interfaces/innerkits/privacy/include/ |
H A D | active_change_response_info.h | 49 enum ActiveChangeType { enum 74 ActiveChangeType type;
|
/ohos5.0/base/security/access_token/services/privacymanager/test/unittest/ |
H A D | permission_record_db_test.cpp | 388 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 D | permission_record_manager_test.cpp | 224 ActiveChangeType type_ = PERM_INACTIVE;
|
/ohos5.0/base/security/access_token/services/privacymanager/test/coverage/ |
H A D | permission_record_manager_coverage_test.cpp | 199 .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 D | active_status_callback_manager.h | 56 …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 D | active_status_callback_manager.cpp | 128 …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 D | registerpermactivestatuscallback_fuzzer.cpp | 45 ActiveChangeType type_ = PERM_INACTIVE;
|
/ohos5.0/base/security/access_token/test/fuzztest/innerkits/privacy/unregisterpermactivestatuscallback_fuzzer/ |
H A D | unregisterpermactivestatuscallback_fuzzer.cpp | 45 ActiveChangeType type_ = PERM_INACTIVE;
|
/ohos5.0/base/security/access_token/frameworks/privacy/src/ |
H A D | perm_active_response_parcel.cpp | 45 activeChangeResponseParcel->changeResponse.type = static_cast<ActiveChangeType>(type); in Unmarshalling()
|
/ohos5.0/base/security/access_token/test/fuzztest/services/privacy/unregisterpermactivestatuscallbackstub_fuzzer/ |
H A D | unregisterpermactivestatuscallbackstub_fuzzer.cpp | 47 ActiveChangeType type_ = PERM_INACTIVE;
|
/ohos5.0/base/security/access_token/test/fuzztest/services/privacy/registerpermactivestatuscallbackstub_fuzzer/ |
H A D | registerpermactivestatuscallbackstub_fuzzer.cpp | 47 ActiveChangeType type_ = PERM_INACTIVE;
|
/ohos5.0/base/security/access_token/services/privacymanager/include/record/ |
H A D | permission_record_manager.h | 104 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 D | permission_record_manager.cpp | 111 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 D | privacy_kit_test.cpp | 1047 ActiveChangeType type_ = PERM_INACTIVE; 1071 ActiveChangeType type_; 1120 ActiveChangeType type_ = PERM_INACTIVE; 1859 .type = ActiveChangeType::PERM_INACTIVE 1894 .type = ActiveChangeType::PERM_INACTIVE
|