Home
last modified time | relevance | path

Searched refs:OnAuthResult (Results 1 - 20 of 20) sorted by relevance

/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_device_manager_notify_three.cpp234 * Feature: DeviceManagerNotifyTest OnAuthResult
235 * Function: OnAuthResult
237 * FunctionPoints: DeviceManagerNotifyTest OnAuthResult
238 * EnvConditions: OnAuthResult success.
246 * 6. call DeviceManagerNotify OnAuthResult
266 // 6. call DeviceManagerNotify OnAuthResult in HWTEST_F()
270 DeviceManagerNotify::GetInstance().OnAuthResult(pkgName, deviceId, token, status, reason); in HWTEST_F()
276 * Feature: DeviceManagerNotifyTest OnAuthResult
277 * Function: OnAuthResult
279 * FunctionPoints: DeviceManagerNotifyTest OnAuthResult
1091 void AuthenticateCallbackTest::OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, OnAuthResult() function in OHOS::DistributedHardware::AuthenticateCallbackTest
[all...]
H A DUTTest_device_manager_service_listener.cpp92 * @tc.desc:OnAuthResult, construct a dummy listener, pass in pkgName, use the constructed listener to get pkgName
104 listener_->OnAuthResult(pkgName, deviceId, token, status, reason); in HWTEST_F()
110 * @tc.desc:OnAuthResult, construct a dummy listener, pass in pkgName, use the constructed listener to get pkgName
122 listener_->OnAuthResult(pkgName, deviceId, token, status, reason); in HWTEST_F()
128 * @tc.desc:OnAuthResult, construct a dummy listener, pass in pkgName, use the constructed listener to get pkgName
140 listener_->OnAuthResult(pkgName, deviceId, token, status, reason); in HWTEST_F()
H A DUTTest_device_manager_notify.h86 void OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status,
H A DUTTest_device_manager_impl.h101 void OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status,
H A DUTTest_dm_pin_holder.h104 void OnAuthResult(const std::string &pkgName, const std::string &deviceId, const std::string &token, int32_t status,
H A DUTTest_device_manager_notify.cpp1310 // 6. call checkMap OnAuthResult in HWTEST_F()
1315 checkMap->OnAuthResult(deviceId, token, status, reason); in HWTEST_F()
1451 * 10. call checkMap OnAuthResult
1481 // 10. call checkMap OnAuthResult in HWTEST_F()
1486 checkMap->OnAuthResult(deviceId, token, status, reason); in HWTEST_F()
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/
H A Ddevice_manager_callback.h80 virtual void OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status,
/foundation/distributedhardware/device_manager/services/service/include/
H A Didevice_manager_service_listener.h74 * @tc.name: IDeviceManagerServiceListener::OnAuthResult
78 virtual void OnAuthResult(const std::string &pkgName, const std::string &deviceId, const std::string &token,
H A Ddevice_manager_service_listener.h54 void OnAuthResult(const std::string &pkgName, const std::string &deviceId, const std::string &token, int32_t status,
/foundation/distributedhardware/device_manager/test/servicesfuzztest/devicemanagernotify_fuzzer/
H A Ddevice_manager_notify_fuzzer.cpp90 DeviceManagerNotify::GetInstance().OnAuthResult(pkgName, deviceId, token, status, reason); in DeviceManagerNotifyDeviceStatusFuzzTest()
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/include/
H A Dnative_devicemanager_js.h194 void OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, int32_t reason) override;
251 void OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, int32_t reason);
/foundation/distributedhardware/device_manager/interfaces/kits/js/include/
H A Dnative_devicemanager_js.h262 void OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, int32_t reason) override;
352 void OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, int32_t reason);
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/notify/
H A Ddevice_manager_notify.h107 void OnAuthResult(const std::string &pkgName, const std::string &deviceId, const std::string &token,
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Ddm_auth_manager.cpp141 listener_->OnAuthResult(pkgName, peerTargetId_.deviceId, "", STATUS_DM_AUTH_DEFAULT, in CheckAuthParamVaild()
154 listener_->OnAuthResult(pkgName, peerTargetId_.deviceId, "", STATUS_DM_AUTH_DEFAULT, ERR_DM_INPUT_PARA_INVALID); in CheckAuthParamVaild()
161 listener_->OnAuthResult(pkgName, peerTargetId_.deviceId, "", STATUS_DM_AUTH_DEFAULT, ERR_DM_INPUT_PARA_INVALID); in CheckAuthParamVaild()
280 listener_->OnAuthResult(pkgName, peerTargetId_.deviceId, "", STATUS_DM_AUTH_DEFAULT, DM_OK); in AuthenticateDevice()
921 listener_->OnAuthResult(authResponseContext_->hostPkgName, peerTargetId_.deviceId, in ProcessAuthRequest()
964 listener_->OnAuthResult(authResponseContext_->hostPkgName, peerTargetId_.deviceId, in ProcessAuthRequestExt()
995 listener_->OnAuthResult(authResponseContext_->hostPkgName, peerTargetId_.deviceId, in ProcessAuthRequestExt()
1104 listener_->OnAuthResult(authRequestContext_->hostPkgName, peerTargetId_.deviceId, in StartRespAuthProcess()
1232 listener_->OnAuthResult(authRequestContext_->hostPkgName, peerTargetId_.deviceId, in SrcAuthenticateFinish()
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/src/
H A Dnative_devicemanager_js.cpp499 void DmNapiAuthenticateCallback::OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, in OnAuthResult() function in DmNapiAuthenticateCallback
509 LOGE("js4.0 DmNapiAuthenticateCallback::OnAuthResult, No memory"); in OnAuthResult()
521 LOGD("OnAuthResult uv_queue_work_with_qos"); in OnAuthResult()
526 LOGE("OnAuthResult, deviceManagerNapi not find for bundleName %{public}s", callback->bundleName_.c_str()); in OnAuthResult()
528 deviceManagerNapi->OnAuthResult(callback->deviceId_, callback->token_, in OnAuthResult()
536 LOGE("Failed to execute OnAuthResult work queue"); in OnAuthResult()
630 void DeviceManagerNapi::OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, in OnAuthResult() function in DeviceManagerNapi
633 LOGI("OnAuthResult for status: %{public}d, reason: %{public}d", status, reason); in OnAuthResult()
641 LOGI("OnAuthResult success"); in OnAuthResult()
646 LOGI("OnAuthResult faile in OnAuthResult()
[all...]
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/notify/
H A Ddevice_manager_notify.cpp682 void DeviceManagerNotify::OnAuthResult(const std::string &pkgName, const std::string &deviceId, in OnAuthResult() function in OHOS::DistributedHardware::DeviceManagerNotify
689 LOGI("DeviceManagerNotify::OnAuthResult in, pkgName:%{public}s, status:%{public}d, reason:%{public}d", in OnAuthResult()
695 LOGE("DeviceManagerNotify::OnAuthResult error, authenticate callback not register for pkgName %{public}s.", in OnAuthResult()
702 LOGE("OnAuthResult error, authenticate callback not register."); in OnAuthResult()
708 LOGE("OnAuthResult error, registered authenticate callback is nullptr."); in OnAuthResult()
711 tempCbk->OnAuthResult(deviceId, token, status, reason); in OnAuthResult()
/foundation/distributedhardware/device_manager/test/commonfuzztest/authenticatedevice_fuzzer/
H A Dauthenticate_device_fuzzer.cpp34 void OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status,
/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service_listener.cpp282 void DeviceManagerServiceListener::OnAuthResult(const std::string &pkgName, const std::string &deviceId, in OnAuthResult() function in OHOS::DistributedHardware::DeviceManagerServiceListener
/foundation/distributedhardware/device_manager/interfaces/kits/js/src/
H A Dnative_devicemanager_js.cpp649 void DmNapiAuthenticateCallback::OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, in OnAuthResult() function in DmNapiAuthenticateCallback
659 LOGE("js DmNapiAuthenticateCallback::OnAuthResult, No memory"); in OnAuthResult()
671 LOGD("OnAuthResult uv_queue_work_with_qos"); in OnAuthResult()
676 LOGE("OnAuthResult, deviceManagerNapi not find for bundleName %{public}s", callback->bundleName_.c_str()); in OnAuthResult()
678 deviceManagerNapi->OnAuthResult(callback->deviceId_, callback->token_, in OnAuthResult()
686 LOGE("Failed to execute OnAuthResult work queue"); in OnAuthResult()
702 LOGE("js DmNapiAuthenticateCallback::OnAuthResult, No memory"); in OnCredentialResult()
868 void DeviceManagerNapi::OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, in OnAuthResult() function in DeviceManagerNapi
871 LOGI("OnAuthResult for status: %{public}d, reason: %{public}d", status, reason); in OnAuthResult()
879 LOGI("OnAuthResult succes in OnAuthResult()
[all...]
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/standard/
H A Dipc_cmd_parser.cpp641 DeviceManagerNotify::GetInstance().OnAuthResult(pkgName, deviceId, token, (uint32_t)status, reason); in ON_IPC_CMD()

Completed in 25 milliseconds