Lines Matching defs:proxy

86             sptr<IBluetoothOpp> proxy = iface_cast<IBluetoothOpp>(remote);
87 CHECK_AND_RETURN_LOG(proxy != nullptr, "failed: no proxy");
88 proxy->RegisterObserver(serviceObserverImp_);
94 sptr<IBluetoothOpp> proxy = GetRemoteProxy<IBluetoothOpp>(PROFILE_OPP_SERVER);
95 CHECK_AND_RETURN_LOG(proxy != nullptr, "failed: no proxy");
96 proxy->DeregisterObserver(serviceObserverImp_);
268 sptr<IBluetoothOpp> proxy = GetRemoteProxy<IBluetoothOpp>(PROFILE_OPP_SERVER);
269 CHECK_AND_RETURN_LOG_RET(proxy != nullptr, BT_ERR_INTERNAL_ERROR, "proxy is nullptr");
272 int32_t ret = proxy->GetDevicesByStates(states, rawAddress);
286 sptr<IBluetoothOpp> proxy = GetRemoteProxy<IBluetoothOpp>(PROFILE_OPP_SERVER);
287 CHECK_AND_RETURN_LOG_RET(proxy != nullptr, BT_ERR_INTERNAL_ERROR, "proxy is nullptr");
290 return proxy->GetDeviceState(BluetoothRawAddress(device.GetDeviceAddr()), state);
297 sptr<IBluetoothOpp> proxy = GetRemoteProxy<IBluetoothOpp>(PROFILE_OPP_SERVER);
298 CHECK_AND_RETURN_LOG_RET(proxy != nullptr, BT_ERR_INTERNAL_ERROR, "proxy is nullptr");
299 int ret = proxy->SendFile(device, filePaths, mimeTypes, result);
308 sptr<IBluetoothOpp> proxy = GetRemoteProxy<IBluetoothOpp>(PROFILE_OPP_SERVER);
309 CHECK_AND_RETURN_LOG_RET(proxy != nullptr, BT_ERR_INTERNAL_ERROR, "proxy is nullptr");
310 int ret = proxy->SetIncomingFileConfirmation(accept);
318 sptr<IBluetoothOpp> proxy = GetRemoteProxy<IBluetoothOpp>(PROFILE_OPP_SERVER);
319 CHECK_AND_RETURN_LOG_RET(proxy != nullptr, BT_ERR_INTERNAL_ERROR, "proxy is nullptr");
322 int ret = proxy->GetCurrentTransferInformation(oppInformation);
333 sptr<IBluetoothOpp> proxy = GetRemoteProxy<IBluetoothOpp>(PROFILE_OPP_SERVER);
334 CHECK_AND_RETURN_LOG_RET(proxy != nullptr, BT_ERR_INTERNAL_ERROR, "proxy is nullptr");
336 int ret = proxy->CancelTransfer(result);