/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_provider_client_test/ |
H A D | form_provider_client_test.cpp | 205 const sptr<IRemoteObject> callerToken = nullptr; variable 361 const sptr<IRemoteObject> callerToken = nullptr; variable 654 sptr<IRemoteObject> callerToken = nullptr; variable 670 sptr<IRemoteObject> callerToken = nullptr; variable 707 sptr<IRemoteObject> callerToken = nullptr; variable 724 sptr<IRemoteObject> callerToken = nullptr; variable 772 sptr<IRemoteObject> callerToken = nullptr; variable 789 sptr<IRemoteObject> callerToken = nullptr; variable 848 sptr<IRemoteObject> callerToken = nullptr; variable 896 sptr<IRemoteObject> callerToken = nullptr; variable [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_host_callback_test/ |
H A D | fms_form_host_callback_test.cpp | 64 sptr<IRemoteObject> callerToken = nullptr; variable 80 sptr<IRemoteObject> callerToken = nullptr; variable 96 sptr<IRemoteObject> callerToken = new (std::nothrow) MockFormProviderClient(); variable 111 sptr<IRemoteObject> callerToken = nullptr; variable 128 sptr<IRemoteObject> callerToken = nullptr; variable 144 sptr<IRemoteObject> callerToken = nullptr; variable 160 sptr<IRemoteObject> callerToken = new (std::nothrow) MockFormProviderClient(); variable 176 sptr<IRemoteObject> callerToken = nullptr; variable 192 sptr<IRemoteObject> callerToken = new (std::nothrow) MockFormProviderClient(); variable 209 sptr<IRemoteObject> callerToken = new (std::nothrow) MockFormProviderClient(); variable
|
/ohos5.0/foundation/ability/form_fwk/services/src/ |
H A D | form_host_callback.cpp | 34 const sptr<IRemoteObject> &callerToken) in OnAcquired() 46 …k::OnUpdate(const int64_t formId, const FormRecord &record, const sptr<IRemoteObject> &callerToken) in OnUpdate() 70 …ormHostCallback::OnUninstall(std::vector<int64_t> &formIds, const sptr<IRemoteObject> &callerToken) in OnUninstall() 87 const sptr<IRemoteObject> &callerToken) in OnAcquireFormData() 104 const sptr<IRemoteObject> &callerToken) in OnAcquireState() 121 const std::vector<int64_t> &formIds, const Want &want, const sptr<IRemoteObject> &callerToken) in OnRecycleForms() 136 const std::vector<int64_t> &formIds, const bool enable, const sptr<IRemoteObject> &callerToken) in OnEnableForms()
|
/ohos5.0/base/notification/common_event_service/test/mock/ |
H A D | mock_access_token_helper.cpp | 23 bool AccessTokenHelper::VerifyNativeToken(const AccessToken::AccessTokenID &callerToken) in VerifyNativeToken() 28 bool AccessTokenHelper::VerifyAccessToken(const AccessToken::AccessTokenID &callerToken, const std:… in VerifyAccessToken() 33 …oid AccessTokenHelper::RecordSensitivePermissionUsage(const AccessToken::AccessTokenID &callerToke… in RecordSensitivePermissionUsage() 37 bool AccessTokenHelper::IsDlpHap(const AccessToken::AccessTokenID &callerToken) in IsDlpHap()
|
H A D | mock_accesstoken_kit.cpp | 22 ATokenTypeEnum AccessTokenKit::GetTokenTypeFlag(AccessTokenID callerToken) in GetTokenTypeFlag() 30 int AccessTokenKit::GetHapTokenInfo(AccessTokenID callerToken, HapTokenInfo& hapTokenInfoRes) in GetHapTokenInfo()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | form_extension_context_mock_test.h | 36 int32_t StartAbility(const Want &want, const sptr<IRemoteObject> &callerToken) override in StartAbility() 47 int DeleteForm(const int64_t formId, const sptr<IRemoteObject> &callerToken) override in DeleteForm() 79 …int RequestForm(const int64_t formId, const sptr<IRemoteObject> &callerToken, const Want &want) ov… in RequestForm() 95 int CastTempForm(const int64_t formId, const sptr<IRemoteObject> &callerToken) override in CastTempForm() 125 … int RouterEvent(const int64_t formId, Want &want, const sptr<IRemoteObject> &callerToken) override in RouterEvent() 130 …int BackgroundEvent(const int64_t formId, Want &want, const sptr<IRemoteObject> &callerToken) over… in BackgroundEvent() 190 …32_t ShareForm(int64_t formId, const std::string &deviceId, const sptr<IRemoteObject> &callerToken, in ShareForm() 209 …nt32_t AcquireFormData(int64_t formId, int64_t requestCode, const sptr<IRemoteObject> &callerToken, in AcquireFormData() 241 const sptr<IRemoteObject> &callerToken) override in RegisterFormAddObserverByBundle() 246 const sptr<IRemoteObject> &callerToken) override in RegisterFormRemoveObserverByBundle() [all …]
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | mock_form_mgr_service.h | 45 int32_t DeleteForm(const int64_t formId, const sptr<IRemoteObject> &callerToken) override in DeleteForm() 84 int32_t CastTempForm(const int64_t formId, const sptr<IRemoteObject> &callerToken) override in CastTempForm() 121 int32_t AcquireFormState(const Want &want, const sptr<IRemoteObject> &callerToken, in AcquireFormState() 127 const sptr<IRemoteObject> &callerToken) override in NotifyFormsVisible() 132 const sptr<IRemoteObject> &callerToken) override in NotifyFormsPrivacyProtected() 137 const sptr<IRemoteObject> &callerToken) override in NotifyFormsEnableUpdate() 155 const sptr<IRemoteObject> &callerToken, const int64_t requestCode) override in ShareForm() 172 int32_t StartAbility(const Want &want, const sptr<IRemoteObject> &callerToken) override in StartAbility() 215 const sptr<IRemoteObject> &callerToken) override in RegisterFormAddObserverByBundle() 220 const sptr<IRemoteObject> &callerToken) override in RegisterFormRemoveObserverByBundle() [all …]
|
/ohos5.0/base/notification/common_event_service/services/src/ |
H A D | access_token_helper.cpp | 28 bool __attribute__((weak)) AccessTokenHelper::VerifyNativeToken(const AccessTokenID &callerToken) in VerifyNativeToken() 34 bool __attribute__((weak)) AccessTokenHelper::VerifyAccessToken(const AccessTokenID &callerToken, in VerifyAccessToken() 41 …ibute__((weak)) AccessTokenHelper::RecordSensitivePermissionUsage(const AccessTokenID &callerToken, in RecordSensitivePermissionUsage() 58 bool __attribute__((weak)) AccessTokenHelper::IsDlpHap(const AccessTokenID &callerToken) in IsDlpHap() 75 bool AccessTokenHelper::VerifyShellToken(const AccessTokenID &callerToken) in VerifyShellToken() 94 std::string AccessTokenHelper::GetCallingProcessName(const AccessTokenID &callerToken) in GetCallingProcessName()
|
/ohos5.0/foundation/ability/form_fwk/test/mock/src/ |
H A D | mock_form_provider_client.cpp | 34 const sptr<IRemoteObject> &callerToken) in AcquireProviderFormInfo() 65 const sptr<IRemoteObject> &callerToken) in NotifyFormDelete() 79 const sptr<IRemoteObject> &callerToken) in NotifyFormsDelete() 92 const sptr<IRemoteObject> &callerToken) in NotifyFormUpdate() 108 const Want &want, const sptr<IRemoteObject> &callerToken) in EventNotify() 122 const sptr<IRemoteObject> &callerToken) in NotifyFormCastTempForm() 136 const sptr<IRemoteObject> &callerToken) in FireFormEvent() 151 const sptr<IRemoteObject> &callerToken) in AcquireState()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/ |
H A D | fms_form_mgr_adapter_test.cpp | 115 sptr<IRemoteObject> callerToken = nullptr; variable 167 sptr<IRemoteObject> callerToken = nullptr; variable 198 sptr<IRemoteObject> callerToken = nullptr; variable 249 sptr<IRemoteObject> callerToken = nullptr; variable 265 sptr<IRemoteObject> callerToken = nullptr; variable 396 sptr<IRemoteObject> callerToken = nullptr; variable 447 sptr<IRemoteObject> callerToken = nullptr; variable 563 sptr<IRemoteObject> callerToken = nullptr; variable 584 sptr<IRemoteObject> callerToken = nullptr; variable 606 sptr<IRemoteObject> callerToken = nullptr; variable [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_form_mgr_service.h | 68 …int AddForm(const int64_t formId, const Want& want, const sptr<IRemoteObject>& callerToken, FormJs… in AddForm() 82 int DeleteForm(const int64_t formId, const sptr<IRemoteObject>& callerToken) in DeleteForm() 94 … int ReleaseForm(const int64_t formId, const sptr<IRemoteObject>& callerToken, const bool delCache) in ReleaseForm() 120 int RequestForm(const int64_t formId, const sptr<IRemoteObject>& callerToken, const Want& want) in RequestForm() 133 const sptr<IRemoteObject>& callerToken, in NotifyWhetherVisibleForms() 148 int CastTempForm(const int64_t formId, const sptr<IRemoteObject>& callerToken) in CastTempForm() 212 const sptr<IRemoteObject> &callerToken) in RegisterFormAddObserverByBundle() 218 const sptr<IRemoteObject> &callerToken) in RegisterFormRemoveObserverByBundle() 244 const sptr<IRemoteObject>& callerToken, in LifecycleUpdate() 260 int MessageEvent(const int64_t formId, const Want& want, const sptr<IRemoteObject>& callerToken) in MessageEvent() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | form_extension_provider_client_test.cpp | 100 const sptr<IRemoteObject> callerToken = nullptr; variable 119 const sptr<IRemoteObject> callerToken = MockFormSupplyCallback::GetInstance(); variable 144 const sptr<IRemoteObject> callerToken = MockFormSupplyCallback::GetInstance(); variable 182 const sptr<IRemoteObject> callerToken = nullptr; variable 205 const sptr<IRemoteObject> callerToken = nullptr; variable 229 const sptr<IRemoteObject> callerToken = nullptr; variable 253 const sptr<IRemoteObject> callerToken = nullptr; variable 272 sptr<IRemoteObject> callerToken = nullptr; variable 353 sptr<IRemoteObject> callerToken = nullptr; variable 387 sptr<IRemoteObject> callerToken = nullptr; variable [all …]
|
/ohos5.0/foundation/communication/nfc/test/unittest/services/hce_session_test/ |
H A D | hce_session_test.cpp | 64 Security::AccessToken::AccessTokenID callerToken = 0; variable 81 Security::AccessToken::AccessTokenID callerToken = 0; variable 98 Security::AccessToken::AccessTokenID callerToken = 0; variable 116 Security::AccessToken::AccessTokenID callerToken = 0; variable 145 Security::AccessToken::AccessTokenID callerToken = 0; variable 161 Security::AccessToken::AccessTokenID callerToken = 0; variable 175 Security::AccessToken::AccessTokenID callerToken = 0; variable 190 Security::AccessToken::AccessTokenID callerToken = 0; variable 237 Security::AccessToken::AccessTokenID callerToken = 0; variable 252 Security::AccessToken::AccessTokenID callerToken = 0; variable [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formmgrstub_fuzzer/ |
H A D | formmgrstub_fuzzer.cpp | 44 const sptr<IRemoteObject> &callerToken, FormJsInfo &formInfo) override in AddForm() 70 const sptr<IRemoteObject> &callerToken, bool updateType) override in LifecycleUpdate() 120 const sptr<IRemoteObject> &callerToken, int32_t &numFormsDeleted) override in DeleteInvalidForms() 125 const sptr<IRemoteObject> &callerToken, FormStateInfo &stateInfo) override in AcquireFormState() 130 const sptr<IRemoteObject> &callerToken) override in NotifyFormsVisible() 135 bool isProtected, const sptr<IRemoteObject> &callerToken) override in NotifyFormsPrivacyProtected() 140 const sptr<IRemoteObject> &callerToken) override in NotifyFormsEnableUpdate() 170 const sptr<IRemoteObject> &callerToken, int64_t requestCode) override in ShareForm() 219 const sptr<IRemoteObject> &callerToken) override in RegisterFormAddObserverByBundle() 225 const sptr<IRemoteObject> &callerToken) override in RegisterFormRemoveObserverByBundle() [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formproviderstub_fuzzer/ |
H A D | formproviderstub_fuzzer.cpp | 37 const sptr<IRemoteObject> &callerToken) override in AcquireProviderFormInfo() 41 …NotifyFormDelete(const int64_t formId, const Want &want, const sptr<IRemoteObject> &callerToken) o… in NotifyFormDelete() 46 const sptr<IRemoteObject> &callerToken) override in NotifyFormsDelete() 50 …NotifyFormUpdate(const int64_t formId, const Want &want, const sptr<IRemoteObject> &callerToken) o… in NotifyFormUpdate() 55 const Want &want, const sptr<IRemoteObject> &callerToken) override in EventNotify() 59 …FormCastTempForm(const int64_t formId, const Want &want, const sptr<IRemoteObject> &callerToken) o… in NotifyFormCastTempForm() 64 const sptr<IRemoteObject> &callerToken) override in FireFormEvent() 70 const sptr<IRemoteObject> &callerToken) override in AcquireState()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_router_proxy_mgr_test/ |
H A D | fms_form_router_proxy_mgr_test.cpp | 73 sptr<IRemoteObject> callerToken = new (std::nothrow) MockFormProviderClient(); variable 93 sptr<IRemoteObject> callerToken = new (std::nothrow) MockFormProviderClient(); variable 112 sptr<IRemoteObject> callerToken = new (std::nothrow) MockFormProviderClient(); variable 167 sptr<IRemoteObject> callerToken = new (std::nothrow) MockFormProviderClient(); variable 206 sptr<IRemoteObject> callerToken = nullptr; variable 227 sptr<IRemoteObject> callerToken = new (std::nothrow) MockFormProviderClient(); variable 248 auto callerToken = object.promote(); variable
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/form_runtime/ |
H A D | form_extension_provider_client.cpp | 35 const sptr<IRemoteObject> &callerToken) in AcquireProviderFormInfo() 68 const Want &want, const sptr<IRemoteObject> &callerToken) in AcquireFormExtensionProviderInfo() 121 const sptr<IRemoteObject> &callerToken) in NotifyFormDelete() 140 const sptr<IRemoteObject> &callerToken) in NotifyFormExtensionDelete() 163 const sptr<IRemoteObject> &callerToken) in NotifyFormsDelete() 200 const sptr<IRemoteObject> &callerToken) in NotifyFormUpdate() 219 const sptr<IRemoteObject> &callerToken) in NotifyFormExtensionUpdate() 276 const sptr<IRemoteObject> &callerToken) in NotifyFormCastTempForm() 296 const sptr<IRemoteObject> &callerToken) in NotifyFormExtensionCastTempForm() 416 const sptr<IRemoteObject> &callerToken) in HandleResultCode() [all …]
|
/ohos5.0/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_access_token_helper_test.cpp | 63 AccessTokenID callerToken = DLP_PERMISSION_GRANTED; in HWTEST_F() local 80 AccessTokenID callerToken = DLP_PERMISSION_GRANTED; in HWTEST_F() local 96 AccessTokenID callerToken = DLP_PERMISSION_GRANTED; in HWTEST_F() local 113 AccessTokenID callerToken = PERMISSION_GRANTED; in HWTEST_F() local 129 AccessTokenID callerToken = DLP_PERMISSION_GRANTED; in HWTEST_F() local 146 AccessTokenID callerToken = DLP_PERMISSION_GRANTED; in HWTEST_F() local 166 AccessTokenID callerToken = PERMISSION_GRANTED; in HWTEST_F() local
|
/ohos5.0/foundation/communication/nfc/test/unittest/services/ce_service_test/ |
H A D | ce_service_test.cpp | 66 Security::AccessToken::AccessTokenID callerToken = 0; variable 85 Security::AccessToken::AccessTokenID callerToken = 0; variable 103 Security::AccessToken::AccessTokenID callerToken = 0; variable 135 Security::AccessToken::AccessTokenID callerToken = 0; variable 155 Security::AccessToken::AccessTokenID callerToken = 0; variable 175 Security::AccessToken::AccessTokenID callerToken = 0; variable 306 Security::AccessToken::AccessTokenID callerToken = 0; variable 325 Security::AccessToken::AccessTokenID callerToken = 0; variable 344 Security::AccessToken::AccessTokenID callerToken = 0; variable 364 Security::AccessToken::AccessTokenID callerToken = 0; variable [all …]
|
/ohos5.0/foundation/ability/form_fwk/interfaces/kits/native/src/ |
H A D | form_provider_client.cpp | 36 const sptr<IRemoteObject> &callerToken) in AcquireProviderFormInfo() 125 const sptr<IRemoteObject> &callerToken) in NotifyFormsDelete() 157 const sptr<IRemoteObject> &callerToken) in NotifyFormUpdate() 191 const sptr<IRemoteObject> &callerToken) in EventNotify() 226 const sptr<IRemoteObject> &callerToken) in NotifyFormCastTempForm() 257 const sptr<IRemoteObject> &callerToken) in FireFormEvent() 289 const sptr<IRemoteObject> &callerToken) in AcquireState() 370 const sptr<IRemoteObject> &callerToken) in HandleAcquire() 383 …erClient::DCRtnHelper(const int &errCode, const Want &want, const sptr<IRemoteObject> &callerToken) in DCRtnHelper() 394 int FormProviderClient::HandleDisconnect(const Want &want, const sptr<IRemoteObject> &callerToken) in HandleDisconnect() [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_host_record_test/ |
H A D | fms_form_host_record_test.cpp | 372 sptr<IRemoteObject> callerToken = nullptr; variable 390 sptr<IRemoteObject> callerToken = nullptr; variable 407 sptr<IRemoteObject> callerToken = nullptr; variable 423 sptr<IRemoteObject> callerToken = nullptr; variable 440 sptr<IRemoteObject> callerToken = nullptr; variable 457 sptr<IRemoteObject> callerToken = nullptr; variable 474 sptr<IRemoteObject> callerToken = nullptr; variable 491 sptr<IRemoteObject> callerToken = nullptr; variable 508 sptr<IRemoteObject> callerToken = nullptr; variable 566 sptr<IRemoteObject> callerToken = nullptr; variable [all …]
|
/ohos5.0/base/notification/common_event_service/services/test/unittest/common_event_manager_service_branch_test/ |
H A D | mock_access_token_helper.cpp | 55 bool AccessTokenHelper::VerifyNativeToken(const AccessTokenID &callerToken) in VerifyNativeToken() 65 bool AccessTokenHelper::IsDlpHap(const AccessTokenID &callerToken) in IsDlpHap() 70 bool AccessTokenHelper::VerifyShellToken(const AccessTokenID &callerToken) in VerifyShellToken() 75 bool AccessTokenHelper::VerifyAccessToken(const AccessTokenID &callerToken, in VerifyAccessToken()
|
/ohos5.0/foundation/communication/nfc/services/src/ipc/card_emulation/ |
H A D | hce_session.cpp | 42 … Security::AccessToken::AccessTokenID callerToken) in RegHceCmdCallbackByToken() 55 Security::AccessToken::AccessTokenID callerToken) in UnRegHceCmdCallback() 67 KITS::ErrorCode HceSession::UnRegAllCallback(Security::AccessToken::AccessTokenID callerToken) in UnRegAllCallback() 79 KITS::ErrorCode HceSession::HandleWhenRemoteDie(Security::AccessToken::AccessTokenID callerToken) in HandleWhenRemoteDie() 92 Security::AccessToken::AccessTokenID callerToken) in SendRawFrameByToken() 128 …ode HceSession::StopHce(const ElementName &element, Security::AccessToken::AccessTokenID callerTok… in StopHce()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ability_manager_service_fourth_test/ |
H A D | ability_manager_service_fourth_test.cpp | 266 sptr<IRemoteObject> callerToken = nullptr; variable 285 sptr<IRemoteObject> callerToken = nullptr; variable 313 sptr<IRemoteObject> callerToken; variable 351 const sptr<IRemoteObject> callerToken; variable 377 const sptr<IRemoteObject> callerToken; variable 522 auto callerToken = MockToken(AbilityType::PAGE); variable 544 auto callerToken = MockToken(AbilityType::PAGE); variable 574 auto callerToken = MockToken(AbilityType::PAGE); variable 599 auto callerToken = MockToken(AbilityType::PAGE); variable 620 auto callerToken = MockToken(AbilityType::PAGE); variable [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/ |
H A D | fms_form_mgr_service_test.cpp | 113 const sptr<IRemoteObject> callerToken = nullptr; variable 130 const sptr<IRemoteObject> callerToken = nullptr; variable 146 const sptr<IRemoteObject> callerToken = nullptr; variable 167 const sptr<IRemoteObject> callerToken = nullptr; variable 188 const sptr<IRemoteObject> callerToken = nullptr; variable 209 const sptr<IRemoteObject> callerToken = nullptr; variable 235 const sptr<IRemoteObject> callerToken = nullptr; variable 262 const sptr<IRemoteObject> callerToken = nullptr; variable 310 const sptr<IRemoteObject> callerToken = nullptr; variable 332 const sptr<IRemoteObject> callerToken = nullptr; variable [all …]
|