Home
last modified time | relevance | path

Searched refs:castFrom (Results 1 – 24 of 24) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DHalUtils.h52 if (auto driver13 = V1_3::IDevice::castFrom(driver).withDefault(nullptr); driver13 != nullptr) { in makeSharedDevice()
55 if (auto driver12 = V1_2::IDevice::castFrom(driver).withDefault(nullptr); driver12 != nullptr) { in makeSharedDevice()
58 if (auto driver11 = V1_1::IDevice::castFrom(driver).withDefault(nullptr); driver11 != nullptr) { in makeSharedDevice()
DTestExecution.cpp83 mPreparedModelV1_2(V1_2::IPreparedModel::castFrom(preparedModel).withDefault(nullptr)), in TestPreparedModelLatest()
84 mPreparedModelV1_3(V1_3::IPreparedModel::castFrom(preparedModel).withDefault(nullptr)), in TestPreparedModelLatest()
378 V1_3::IPreparedModel::castFrom(localCallback->getPreparedModel())); in prepareModel_1_3()
385 V1_3::IPreparedModel::castFrom(localCallback->getPreparedModel())); in prepareModel_1_3()
409 V1_2::IPreparedModel::castFrom(localCallback->getPreparedModel())); in prepareModel_1_2()
416 V1_2::IPreparedModel::castFrom(localCallback->getPreparedModel())); in prepareModel_1_2()
/packages/modules/NeuralNetworks/runtime/
DSupportLibraryDiagnostic.cpp43 const ANeuralNetworksDiagnosticCompilationInfo* castFrom(const DiagnosticCompilationInfo* info) { in castFrom() function
48 const ANeuralNetworksDiagnosticExecutionInfo* castFrom(const DiagnosticExecutionInfo* info) { in castFrom() function
222 compilationCallback(callbackContext, castFrom(info)); in SL_ANeuralNetworksDiagnostic_registerCallbacks()
226 executionCallback(callbackContext, castFrom(info)); in SL_ANeuralNetworksDiagnostic_registerCallbacks()
/packages/services/Car/cpp/evs/manager/1.1/
DVirtualCamera.cpp333 mStream_1_1 = IEvsCameraStream_1_1::castFrom(stream).withDefault(nullptr); in startVideoStream()
609 auto hwCamera_1_1 = IEvsCamera_1_1::castFrom(pHwCamera->getHwCamera()).withDefault(nullptr); in getCameraInfo_1_1()
627 IEvsCamera_1_1::castFrom(pHwCamera->getHwCamera()).withDefault(nullptr); in getPhysicalCameraInfo()
759 auto hwCamera_1_1 = IEvsCamera_1_1::castFrom(pHwCamera->getHwCamera()).withDefault(nullptr); in getParameterList()
791 auto hwCamera_1_1 = IEvsCamera_1_1::castFrom(pHwCamera->getHwCamera()).withDefault(nullptr); in getIntParameterRange()
870 auto hwCamera = IEvsCamera_1_1::castFrom(pHwCamera->getHwCamera()).withDefault(nullptr); in setExtendedInfo_1_1()
895 auto hwCamera = IEvsCamera_1_1::castFrom(pHwCamera->getHwCamera()).withDefault(nullptr); in getExtendedInfo_1_1()
DHalDisplay.cpp116 sp<IEvsDisplay_1_1> display = IEvsDisplay_1_1::castFrom(mHwDisplay).withDefault(nullptr); in getDisplayInfo_1_1()
DEnumerator.cpp290 device = IEvsCamera_1_1::castFrom(mServiceFactory->getService()->openCamera(cameraId)) in openCamera()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiApIfaceHidlImpl.java200 return android.hardware.wifi.V1_4.IWifiApIface.castFrom(mWifiApIface); in getWifiApIfaceV1_4Mockable()
204 return android.hardware.wifi.V1_5.IWifiApIface.castFrom(mWifiApIface); in getWifiApIfaceV1_5Mockable()
DWifiNanIfaceHidlImpl.java1148 return android.hardware.wifi.V1_2.IWifiNanIface.castFrom(mWifiNanIface); in mockableCastTo_1_2()
1152 return android.hardware.wifi.V1_4.IWifiNanIface.castFrom(mWifiNanIface); in mockableCastTo_1_4()
1156 return android.hardware.wifi.V1_5.IWifiNanIface.castFrom(mWifiNanIface); in mockableCastTo_1_5()
1160 return android.hardware.wifi.V1_6.IWifiNanIface.castFrom(mWifiNanIface); in mockableCastTo_1_6()
DWifiChipHidlImpl.java2277 return android.hardware.wifi.V1_1.IWifiChip.castFrom(mWifiChip); in getWifiChipV1_1Mockable()
2281 return android.hardware.wifi.V1_2.IWifiChip.castFrom(mWifiChip); in getWifiChipV1_2Mockable()
2285 return android.hardware.wifi.V1_3.IWifiChip.castFrom(mWifiChip); in getWifiChipV1_3Mockable()
2289 return android.hardware.wifi.V1_4.IWifiChip.castFrom(mWifiChip); in getWifiChipV1_4Mockable()
2293 return android.hardware.wifi.V1_5.IWifiChip.castFrom(mWifiChip); in getWifiChipV1_5Mockable()
2297 return android.hardware.wifi.V1_6.IWifiChip.castFrom(mWifiChip); in getWifiChipV1_6Mockable()
DWifiStaIfaceHidlImpl.java1543 return android.hardware.wifi.V1_2.IWifiStaIface.castFrom(mWifiStaIface); in getWifiStaIfaceV1_2Mockable()
1547 return android.hardware.wifi.V1_3.IWifiStaIface.castFrom(mWifiStaIface); in getWifiStaIfaceV1_3Mockable()
1551 return android.hardware.wifi.V1_5.IWifiStaIface.castFrom(mWifiStaIface); in getWifiStaIfaceV1_5Mockable()
1555 return android.hardware.wifi.V1_6.IWifiStaIface.castFrom(mWifiStaIface); in getWifiStaIfaceV1_6Mockable()
DWifiRttControllerHidlImpl.java72 android.hardware.wifi.V1_4.IWifiRttController.castFrom(mWifiRttController); in WifiRttControllerHidlImpl()
74 android.hardware.wifi.V1_6.IWifiRttController.castFrom(mWifiRttController); in WifiRttControllerHidlImpl()
DWifiHalHidlImpl.java553 return android.hardware.wifi.V1_5.IWifi.castFrom(mWifi); in getWifiV1_5Mockable()
/packages/services/Car/cpp/evs/manager/aidl/wrappers/src/
DAidlDisplay.cpp55 auto halV1_1 = hidlevs::V1_1::IEvsDisplay::castFrom(mHidlDisplay).withDefault(nullptr); in getDisplayInfo()
DAidlCameraStream.cpp38 auto hidlStreamV1 = hidlevs::V1_1::IEvsCameraStream::castFrom(hidlStream).withDefault(nullptr); in AidlCameraStream()
DAidlEnumerator.cpp65 auto serviceV1 = hidlevs::V1_1::IEvsEnumerator::castFrom(service).withDefault(nullptr); in AidlEnumerator()
DAidlCamera.cpp42 auto hidlCameraV1 = hidlevs::V1_1::IEvsCamera::castFrom(hidlCamera).withDefault(nullptr); in AidlCamera()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHalHidlImp.java753 return android.hardware.wifi.hostapd.V1_1.IHostapd.castFrom(mIHostapd); in getHostapdMockableV1_1()
766 return android.hardware.wifi.hostapd.V1_2.IHostapd.castFrom(mIHostapd); in getHostapdMockableV1_2()
779 return android.hardware.wifi.hostapd.V1_3.IHostapd.castFrom(mIHostapd); in getHostapdMockableV1_3()
DSupplicantStaNetworkHalHidlImpl.java3430 return android.hardware.wifi.supplicant.V1_1.ISupplicantStaNetwork.castFrom( in getSupplicantStaNetworkForV1_1Mockable()
3443 return android.hardware.wifi.supplicant.V1_2.ISupplicantStaNetwork.castFrom( in getSupplicantStaNetworkForV1_2Mockable()
3456 return android.hardware.wifi.supplicant.V1_3.ISupplicantStaNetwork.castFrom( in getSupplicantStaNetworkForV1_3Mockable()
3469 return android.hardware.wifi.supplicant.V1_4.ISupplicantStaNetwork.castFrom( in getSupplicantStaNetworkForV1_4Mockable()
DSupplicantStaIfaceHalHidlImpl.java794 android.hardware.wifi.supplicant.V1_1.ISupplicant.castFrom( in getSupplicantMockableV1_1()
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DMockHidlEvsHal.cpp565 auto client = IEvsCameraStream::castFrom(cb).withDefault(nullptr); in addMockCameraDevice()
747 ::android::sp<IEvsCamera> c = IEvsCamera::castFrom(handle); in configureEnumerator()
DMockHidlEvsHal_1_0.cpp457 ::android::sp<IEvsCamera> c = IEvsCamera::castFrom(handle); in configureEnumerator()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalHidlImpl.java543 return android.hardware.wifi.supplicant.V1_1.ISupplicant.castFrom( in getSupplicantMockableV1_1()
559 return android.hardware.wifi.supplicant.V1_2.ISupplicantP2pIface.castFrom( in getP2pIfaceMockableV1_2()
566 return android.hardware.wifi.supplicant.V1_4.ISupplicantP2pIface.castFrom( in getP2pIfaceMockableV1_4()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp224 mStream = IEvsCameraStream_1_1::castFrom(stream).withDefault(nullptr); in startVideoStream()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsV4lCamera.cpp208 mStream_1_1 = IEvsCameraStream_1_1::castFrom(mStream).withDefault(nullptr); in startVideoStream()