/ohos5.0/base/useriam/user_auth_framework/test/unittest/inner_api/src/ |
H A D | user_auth_client_test.cpp | 87 EXPECT_NE(dr, nullptr); 88 dr->OnRemoteDied(obj); 123 EXPECT_NE(dr, nullptr); 124 dr->OnRemoteDied(obj); 175 EXPECT_NE(dr, nullptr); 176 dr->OnRemoteDied(obj); 224 EXPECT_NE(dr, nullptr); 225 dr->OnRemoteDied(obj); 288 dr->OnRemoteDied(obj); 351 dr->OnRemoteDied(obj); [all …]
|
H A D | user_idm_client_test.cpp | 74 EXPECT_NE(dr, nullptr); 75 dr->OnRemoteDied(obj); 106 EXPECT_NE(dr, nullptr); 107 dr->OnRemoteDied(obj); 122 dr = recipient; in __anond6b7591b0302() 135 EXPECT_NE(dr, nullptr); 138 dr->OnRemoteDied(obj); 189 EXPECT_NE(dr, nullptr); 190 dr->OnRemoteDied(obj); 243 dr->OnRemoteDied(obj); [all …]
|
H A D | co_auth_client_test.cpp | 80 sptr<IRemoteObject::DeathRecipient> dr(nullptr); 81 CallRemoteObject(service, obj, dr, 73265); 85 EXPECT_NE(dr, nullptr); 86 dr->OnRemoteDied(obj); 98 .WillRepeatedly([&dr](const sptr<IRemoteObject::DeathRecipient> &recipient) { in CallRemoteObject() 99 dr = recipient; in CallRemoteObject() 131 sptr<IRemoteObject::DeathRecipient> dr(nullptr); 136 dr = recipient; in __anon0a7644260402() 151 EXPECT_NE(dr, nullptr); 153 dr->OnRemoteDied(remote); [all …]
|
/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
H A D | print_manager_client_test.cpp | 64 dr = recipient; in CallRemoteObject() 154 EXPECT_NE(dr, nullptr); 155 dr->OnRemoteDied(obj); 228 EXPECT_NE(dr, nullptr); 229 dr->OnRemoteDied(obj); 309 EXPECT_NE(dr, nullptr); 310 dr->OnRemoteDied(obj); 384 dr->OnRemoteDied(obj); 452 dr->OnRemoteDied(obj); 539 dr->OnRemoteDied(obj); [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_node_compute_generic.cpp | 46 DispatchResources dr; in GetDispatchResources() local 48 dr.buffer = ir.customInputBuffers[0].handle; in GetDispatchResources() 51 dr.image = ir.customInputImages[0].handle; in GetDispatchResources() 53 return dr; in GetDispatchResources() 120 const DispatchResources dr = GetDispatchResources(dispatchResources_); in ExecuteFrame() local 121 if ((!RenderHandleUtil::IsValid(dr.buffer)) && (!RenderHandleUtil::IsValid(dr.image))) { in ExecuteFrame() 167 if (RenderHandleUtil::IsValid(dr.buffer)) { in ExecuteFrame() 168 cmdList.DispatchIndirect(dr.buffer, 0); in ExecuteFrame() 169 } else if (RenderHandleUtil::IsValid(dr.image)) { in ExecuteFrame() 171 const GpuImageDesc desc = gpuResourceMgr.GetImageDescriptor(dr.image); in ExecuteFrame()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | remote_observer_list.h | 78 sptr<ObserverDeathRecipient> dr = it->second; in ~RemoteObserverList() local 79 if (!dr->GetObserver()->AsObject()->RemoveDeathRecipient(dr)) { in ~RemoteObserverList() 101 sptr<ObserverDeathRecipient> dr(new ObserverDeathRecipient(observer, this)); in Register() 102 if (!observer->AsObject()->AddDeathRecipient(dr)) { in Register() 105 observers_[observer] = dr; in Register() 184 sptr<ObserverDeathRecipient> dr = iter->second; in UnregisterInternal() local 186 if (!dr->GetObserver()->AsObject()->RemoveDeathRecipient(dr)) { in UnregisterInternal()
|
/ohos5.0/base/useriam/user_auth_framework/services/context/src/ |
H A D | context_death_recipient.cpp | 44 sptr<IRemoteObject::DeathRecipient> dr(new (std::nothrow) ContextDeathRecipient(contextId)); in AddDeathRecipient() local 45 if ((dr == nullptr) || (!obj->AddDeathRecipient(dr))) { in AddDeathRecipient() 50 deathRecipient_ = dr; in AddDeathRecipient()
|
/ohos5.0/base/useriam/pin_auth/test/unittest/src/ |
H A D | framework_client_pinauth_register_impl_test.cpp | 93 …sptr<IRemoteObject::DeathRecipient> dr(new (std::nothrow) PinAuthRegisterImpl::PinAuthDeathRecipie… 94 EXPECT_NO_THROW(dr->OnRemoteDied(nullptr)); 99 …sptr<IRemoteObject::DeathRecipient> dr(new (std::nothrow) PinAuthRegisterImpl::PinAuthDeathRecipie… 107 EXPECT_NO_THROW(dr->OnRemoteDied(mock));
|
/ohos5.0/drivers/peripheral/usb/net/src/ |
H A D | cdc_ether.c | 214 struct UsbControlRequest dr; in EcmUsbControlMsg() local 215 dr.target = controlParams->requestType & TARGET_MASK; in EcmUsbControlMsg() 218 dr.request = controlParams->request; in EcmUsbControlMsg() 219 dr.value = CPU_TO_LE16(controlParams->value); in EcmUsbControlMsg() 220 dr.index = CPU_TO_LE16(controlParams->index); in EcmUsbControlMsg() 221 dr.buffer = controlParams->data; in EcmUsbControlMsg() 222 dr.length = CPU_TO_LE16(controlParams->size); in EcmUsbControlMsg() 223 return dr; in EcmUsbControlMsg() 733 switch (dr->bNotificationType) { in EcmProcessNotification() 742 __func__, dr->bNotificationType, dr->wIndex, dr->wLength); in EcmProcessNotification() [all …]
|
H A D | usb_net_host.c | 369 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)buf; in UsbnetHostProcessNotification() local 371 switch (dr->bNotificationType) { in UsbnetHostProcessNotification() 373 HARCH_INFO_PRINT("%{public}s - network connection: %{public}d\n", __func__, dr->wValue); in UsbnetHostProcessNotification() 380 __func__, dr->bNotificationType, dr->wIndex, dr->wLength); in UsbnetHostProcessNotification() 397 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->buffer; in UsbnetHostReqCallback() local 398 if (dr == NULL) { in UsbnetHostReqCallback() 410 dr = (struct UsbCdcNotification *)usbNet->notificationBuffer; in UsbnetHostReqCallback() 413 if (dr != NULL) { in UsbnetHostReqCallback() 414 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in UsbnetHostReqCallback() 428 UsbnetHostProcessNotification(usbNet, (unsigned char *)dr); in UsbnetHostReqCallback()
|
/ohos5.0/base/useriam/pin_auth/services/modules/inputters/src/ |
H A D | pin_auth_manager.cpp | 40 …sptr<IRemoteObject::DeathRecipient> dr(new (std::nothrow) ResPinauthInputerDeathRecipient(tokenId)… in RegisterInputer() local 41 if (dr == nullptr || inputer->AsObject() == nullptr) { in RegisterInputer() 44 pinAuthDeathMap_.emplace(tokenId, dr); in RegisterInputer() 45 if (!inputer->AsObject()->AddDeathRecipient(dr)) { in RegisterInputer()
|
/ohos5.0/base/print/print_fwk/test/unittest/fwk_print_helper_test/ |
H A D | print_bms_helper_test.cpp | 37 void CallRemoteObject(const sptr<MockBundleMgr> &obj, sptr<IRemoteObject::DeathRecipient> &dr); 53 sptr<IRemoteObject::DeathRecipient> &dr) in CallRemoteObject() argument 58 [&dr](const sptr<IRemoteObject::DeathRecipient> &recipient) { in CallRemoteObject() 59 dr = recipient; in CallRemoteObject()
|
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/client/src/ |
H A D | co_auth_client_impl.cpp | 84 sptr<IRemoteObject::DeathRecipient> dr(new (std::nothrow) CoAuthImplDeathRecipient()); in GetProxy() local 85 if ((dr == nullptr) || (obj->IsProxyObject() && !obj->AddDeathRecipient(dr))) { in GetProxy() 91 deathRecipient_ = dr; in GetProxy()
|
H A D | user_idm_client_impl.cpp | 275 sptr<IRemoteObject::DeathRecipient> dr(new (std::nothrow) UserIdmImplDeathRecipient()); in GetProxy() local 276 if ((dr == nullptr) || (obj->IsProxyObject() && !obj->AddDeathRecipient(dr))) { in GetProxy() 282 deathRecipient_ = dr; in GetProxy()
|
/ohos5.0/base/useriam/face_auth/frameworks/ipc/src/ |
H A D | face_auth_client_impl.cpp | 115 sptr<IRemoteObject::DeathRecipient> dr(new (std::nothrow) FaceAuthClientImplDeathRecipient()); in GetProxy() local 116 if ((dr == nullptr) || (obj->IsProxyObject() && !obj->AddDeathRecipient(dr))) { in GetProxy() 122 deathRecipient_ = dr; in GetProxy()
|
/ohos5.0/drivers/peripheral/usb/test/unittest/host_sdk/ |
H A D | usb_host_sdk_if_test_io.cpp | 112 struct UsbControlRequest dr; in UsbControlMsg() local 113 dr.target = (UsbRequestTargetType)(msgData.requestType & TARGET_MASK); in UsbControlMsg() 114 …dr.reqType = (UsbControlRequestType)((msgData.requestType >> USB_TYPE_OFFSET) & REQUEST_TYPE_MASK); in UsbControlMsg() 115 dr.directon = (UsbRequestDirection)((msgData.requestType >> USB_DIR_OFFSET) & DIRECTION_MASK); in UsbControlMsg() 116 dr.request = msgData.request; in UsbControlMsg() 117 dr.value = CPU_TO_LE16(msgData.value); in UsbControlMsg() 118 dr.index = CPU_TO_LE16(msgData.index); in UsbControlMsg() 119 dr.buffer = msgData.data; in UsbControlMsg() 120 dr.length = CPU_TO_LE16(msgData.size); in UsbControlMsg() 121 return dr; in UsbControlMsg()
|
H A D | usb_host_sdk_if_test.cpp | 118 switch (dr->bNotificationType) { in AcmProcessNotification() 126 …printf("%s-%d received: index %d len %d\n", __func__, dr->bNotificationType, dr->wIndex, dr->wLeng… in AcmProcessNotification() 148 if (dr == nullptr) { in AcmCtrlIrq() 175 AcmProcessNotification(acm, dr); in AcmCtrlIrq() 184 struct UsbControlRequest dr; in UsbControlMsg() local 188 dr.request = msgData.request; in UsbControlMsg() 189 dr.value = CPU_TO_LE16(msgData.value); in UsbControlMsg() 190 dr.index = CPU_TO_LE16(msgData.index); in UsbControlMsg() 191 dr.buffer = msgData.data; in UsbControlMsg() 192 dr.length = CPU_TO_LE16(msgData.size); in UsbControlMsg() [all …]
|
/ohos5.0/base/useriam/pin_auth/frameworks/client/src/ |
H A D | pinauth_register_impl.cpp | 81 sptr<IRemoteObject::DeathRecipient> dr(new (std::nothrow) PinAuthDeathRecipient()); in GetProxy() local 82 if ((obj->IsProxyObject()) && (!obj->AddDeathRecipient(dr))) { in GetProxy() 88 deathRecipient_ = dr; in GetProxy()
|
/ohos5.0/base/telephony/state_registry/frameworks/native/observer/src/ |
H A D | telephony_observer_client.cpp | 52 sptr<IRemoteObject::DeathRecipient> dr(recipient.release()); in GetProxy() local 53 if ((obj->IsProxyObject()) && (!obj->AddDeathRecipient(dr))) { in GetProxy() 58 deathRecipient_ = dr; in GetProxy()
|
/ohos5.0/base/useriam/user_auth_framework/services/core/src/ |
H A D | auth_event_listener_manager.cpp | 143 sptr<DeathRecipient> dr(new (std::nothrow) AuthEventListenerDeathRecipient()); in AddDeathRecipient() local 144 if ((dr == nullptr) || (!obj->AddDeathRecipient(dr))) { in AddDeathRecipient() 149 deathRecipientMap_.emplace(listener, dr); in AddDeathRecipient()
|
/ohos5.0/drivers/peripheral/usb/serial/src/ |
H A D | usb_serial.c | 229 struct UsbControlRequest dr; in UsbControlSetUp() local 230 dr.target = controlParams->target; in UsbControlSetUp() 231 dr.reqType = controlParams->reqType; in UsbControlSetUp() 232 dr.directon = controlParams->directon; in UsbControlSetUp() 233 dr.request = controlParams->request; in UsbControlSetUp() 236 dr.buffer = controlParams->data; in UsbControlSetUp() 238 return dr; in UsbControlSetUp() 1256 switch (dr->bNotificationType) { in AcmProcessNotification() 1265 __func__, dr->bNotificationType, dr->wIndex, dr->wLength); in AcmProcessNotification() 1331 if ((dr == NULL) || (acm == NULL)) { in AcmCtrlIrq() [all …]
|
H A D | usb_serial_rawapi.c | 1022 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)buf; in AcmProcessNotification() local 1024 switch (dr->bNotificationType) { in AcmProcessNotification() 1026 HDF_LOGE("%{public}s - network connection: %{public}d", __func__, dr->wValue); in AcmProcessNotification() 1033 __func__, dr->bNotificationType, dr->wIndex, dr->wLength); in AcmProcessNotification() 1074 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->buffer; in AcmNotifyReqCallback() local 1075 if (dr == NULL) { in AcmNotifyReqCallback() 1089 dr = (struct UsbCdcNotification *)acm->notificationBuffer; in AcmNotifyReqCallback() 1091 if (dr != NULL) { in AcmNotifyReqCallback() 1092 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmNotifyReqCallback() 1104 AcmProcessNotification(acm, (unsigned char *)dr); in AcmNotifyReqCallback()
|
/ohos5.0/base/telephony/core_service/frameworks/native/src/ |
H A D | telephony_state_registry_client.cpp | 52 sptr<IRemoteObject::DeathRecipient> dr(recipient.release()); in GetProxy() local 53 if ((obj->IsProxyObject()) && (!obj->AddDeathRecipient(dr))) { in GetProxy() 58 deathRecipient_ = dr; in GetProxy()
|
/ohos5.0/base/telephony/cellular_call/services/satellite_service_interaction/src/ |
H A D | satellite_call_client.cpp | 81 sptr<IRemoteObject::DeathRecipient> dr(recipient.release()); in GetSatelliteCallProxy() local 82 if (remoteObjectPtr->IsProxyObject() && !remoteObjectPtr->AddDeathRecipient(dr)) { in GetSatelliteCallProxy() 98 deathRecipient_ = dr; in GetSatelliteCallProxy()
|
/ohos5.0/base/telephony/core_service/services/satellite_service_interaction/src/ |
H A D | satellite_service_client.cpp | 71 sptr<IRemoteObject::DeathRecipient> dr(recipient.release()); in GetProxy() local 72 if ((obj->IsProxyObject()) && (!obj->AddDeathRecipient(dr))) { in GetProxy() 77 deathRecipient_ = dr; in GetProxy()
|