Lines Matching refs:V1_0
120 void serviceDied(uint64_t /*cookie*/, const wp<hidl::base::V1_0::IBase>& /*who*/) override { in serviceDied()
156 sp<V1_0::IPreparedModel> preparedModel) { in makeVersionedIPreparedModel()
190 VersionedIPreparedModel::VersionedIPreparedModel(sp<V1_0::IPreparedModel> preparedModel, in VersionedIPreparedModel()
252 const V1_0::Request request12 = convertToV1_2(request); in executeAsynchronously()
253 Return<V1_0::ErrorStatus> ret = in executeAsynchronously()
263 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in executeAsynchronously()
264 if (status != V1_0::ErrorStatus::NONE) { in executeAsynchronously()
279 const V1_0::Request request10 = convertToV1_0(request); in executeAsynchronously()
280 Return<V1_0::ErrorStatus> ret = mPreparedModelV1_0->execute(request10, callback); in executeAsynchronously()
289 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in executeAsynchronously()
290 if (status != V1_0::ErrorStatus::NONE) { in executeAsynchronously()
338 const V1_0::Request request12 = convertToV1_2(request); in executeSynchronously()
343 [&result](V1_0::ErrorStatus error, const hidl_vec<OutputShape>& outputShapes, in executeSynchronously()
484 [&result](V1_0::ErrorStatus error, const V1_2::Capabilities& capabilities) { in getCapabilitiesFunction()
500 [&result](V1_0::ErrorStatus error, const V1_1::Capabilities& capabilities) { in getCapabilitiesFunction()
511 static std::pair<ErrorStatus, Capabilities> getCapabilitiesFunction(V1_0::IDevice* device) { in getCapabilitiesFunction()
517 [&result](V1_0::ErrorStatus error, const V1_0::Capabilities& capabilities) { in getCapabilitiesFunction()
535 [&result](V1_0::ErrorStatus error, const hidl_vec<Extension>& extensions) { in getSupportedExtensionsFunction()
546 V1_0::IDevice* device) { in getSupportedExtensionsFunction()
556 device->getType([&result](V1_0::ErrorStatus error, DeviceType deviceType) { in getTypeFunction()
557 if (error == V1_0::ErrorStatus::NONE) { in getTypeFunction()
568 static int32_t getTypeFunction(V1_0::IDevice* device) { in getTypeFunction()
578 [&result](V1_0::ErrorStatus error, const hidl_string& version) { in getVersionStringFunction()
588 static std::pair<ErrorStatus, hidl_string> getVersionStringFunction(V1_0::IDevice* device) { in getVersionStringFunction()
600 [&result](V1_0::ErrorStatus error, uint32_t numModelCache, uint32_t numDataCache) { in getNumberOfCacheFilesNeededFunction()
611 V1_0::IDevice* device) { in getNumberOfCacheFilesNeededFunction()
702 if (const auto device = core.template getDevice<V1_0::IDevice>()) { in initialize()
717 sp<V1_0::IDevice> device = makeDevice(/*blocking=*/true); in create()
757 std::optional<VersionedIDevice::Core> VersionedIDevice::Core::create(sp<V1_0::IDevice> device) { in create()
785 VersionedIDevice::Core::Core(sp<V1_0::IDevice> device, sp<IDeviceDeathHandler> deathHandler) in Core()
893 sp<V1_0::IDevice> recoveredDevice = kMakeDevice(/*blocking=*/false); in recoverable()
927 auto pingReturn = mCore.getDevice<V1_0::IDevice>()->ping(); in wait()
930 sp<V1_0::IDevice> recoveredDevice = kMakeDevice(/*blocking=*/true); in wait()
1024 [&result](V1_0::ErrorStatus error, const hidl_vec<bool>& supported) { in getSupportedOperations()
1057 [&result](V1_0::ErrorStatus error, const hidl_vec<bool>& supported) { in getSupportedOperations()
1072 if (getDevice<V1_0::IDevice>() != nullptr) { in getSupportedOperations()
1074 V1_0::Model model10; in getSupportedOperations()
1086 Return<void> ret = recoverable<void, V1_0::IDevice>( in getSupportedOperations()
1087 __FUNCTION__, [&model10, &result](const sp<V1_0::IDevice>& device) { in getSupportedOperations()
1090 [&result](V1_0::ErrorStatus error, const hidl_vec<bool>& supported) { in getSupportedOperations()
1191 const sp<V1_0::IPreparedModel> preparedModel = callback.getPreparedModel(); in prepareModelResult()
1272 const Return<V1_0::ErrorStatus> ret = recoverable<V1_0::ErrorStatus, V1_2::IDevice>( in prepareModelInternal()
1288 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in prepareModelInternal()
1289 if (status != V1_0::ErrorStatus::NONE) { in prepareModelInternal()
1316 const Return<V1_0::ErrorStatus> ret = recoverable<V1_0::ErrorStatus, V1_1::IDevice>( in prepareModelInternal()
1330 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in prepareModelInternal()
1331 if (status != V1_0::ErrorStatus::NONE) { in prepareModelInternal()
1343 if (getDevice<V1_0::IDevice>() != nullptr) { in prepareModelInternal()
1345 V1_0::Model model10; in prepareModelInternal()
1358 const Return<V1_0::ErrorStatus> ret = recoverable<V1_0::ErrorStatus, V1_0::IDevice>( in prepareModelInternal()
1360 [&model10, &callback](const sp<V1_0::IDevice>& device) { in prepareModelInternal()
1372 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in prepareModelInternal()
1373 if (status != V1_0::ErrorStatus::NONE) { in prepareModelInternal()
1437 const Return<V1_0::ErrorStatus> ret = recoverable<V1_0::ErrorStatus, V1_2::IDevice>( in prepareModelFromCacheInternal()
1451 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in prepareModelFromCacheInternal()
1452 if (status != V1_0::ErrorStatus::NONE) { in prepareModelFromCacheInternal()
1460 if (getDevice<V1_0::IDevice>() != nullptr) { in prepareModelFromCacheInternal()
1498 } else if (getDevice<V1_0::IDevice>() != nullptr) { in getFeatureLevel()