Lines Matching refs:pair
155 static std::pair<int, std::shared_ptr<VersionedIPreparedModel>> makeVersionedIPreparedModel( in makeVersionedIPreparedModel()
400 static std::pair<ErrorStatus, Capabilities> getCapabilitiesFunction(V1_3::IDevice* device) { in getCapabilitiesFunction()
403 const std::pair<ErrorStatus, Capabilities> kFailure = {ErrorStatus::GENERAL_FAILURE, {}}; in getCapabilitiesFunction()
404 std::pair<ErrorStatus, Capabilities> result = kFailure; in getCapabilitiesFunction()
478 static std::pair<ErrorStatus, Capabilities> getCapabilitiesFunction(V1_2::IDevice* device) { in getCapabilitiesFunction()
481 const std::pair<ErrorStatus, Capabilities> kFailure = {ErrorStatus::GENERAL_FAILURE, {}}; in getCapabilitiesFunction()
482 std::pair<ErrorStatus, Capabilities> result = kFailure; in getCapabilitiesFunction()
494 static std::pair<ErrorStatus, Capabilities> getCapabilitiesFunction(V1_1::IDevice* device) { in getCapabilitiesFunction()
497 const std::pair<ErrorStatus, Capabilities> kFailure = {ErrorStatus::GENERAL_FAILURE, {}}; in getCapabilitiesFunction()
498 std::pair<ErrorStatus, Capabilities> result = kFailure; in getCapabilitiesFunction()
511 static std::pair<ErrorStatus, Capabilities> getCapabilitiesFunction(V1_0::IDevice* device) { in getCapabilitiesFunction()
514 const std::pair<ErrorStatus, Capabilities> kFailure = {ErrorStatus::GENERAL_FAILURE, {}}; in getCapabilitiesFunction()
515 std::pair<ErrorStatus, Capabilities> result = kFailure; in getCapabilitiesFunction()
528 static std::pair<ErrorStatus, hidl_vec<Extension>> getSupportedExtensionsFunction( in getSupportedExtensionsFunction()
532 const std::pair<ErrorStatus, hidl_vec<Extension>> kFailure = {ErrorStatus::GENERAL_FAILURE, {}}; in getSupportedExtensionsFunction()
533 std::pair<ErrorStatus, hidl_vec<Extension>> result = kFailure; in getSupportedExtensionsFunction()
545 static std::pair<ErrorStatus, hidl_vec<Extension>> getSupportedExtensionsFunction( in getSupportedExtensionsFunction()
573 static std::pair<ErrorStatus, hidl_string> getVersionStringFunction(V1_2::IDevice* device) { in getVersionStringFunction()
575 const std::pair<ErrorStatus, hidl_string> kFailure = {ErrorStatus::GENERAL_FAILURE, ""}; in getVersionStringFunction()
576 std::pair<ErrorStatus, hidl_string> result = kFailure; in getVersionStringFunction()
588 static std::pair<ErrorStatus, hidl_string> getVersionStringFunction(V1_0::IDevice* device) { in getVersionStringFunction()
621 std::pair<uint32_t, uint32_t> numberOfCacheFilesNeeded;
745 std::pair<uint32_t, uint32_t> numberOfCacheFilesNeeded, in VersionedIDevice()
824 std::pair<sp<T_IDevice>, sp<IDeviceDeathHandler>> VersionedIDevice::Core::getDeviceAndDeathHandler() in getDeviceAndDeathHandler()
960 std::pair<ErrorStatus, hidl_vec<bool>> VersionedIDevice::getSupportedOperations( in getSupportedOperations()
962 const std::pair<ErrorStatus, hidl_vec<bool>> kFailure = {ErrorStatus::GENERAL_FAILURE, {}}; in getSupportedOperations()
963 std::pair<ErrorStatus, hidl_vec<bool>> result; in getSupportedOperations()
973 auto remappedResult = [&model](const std::pair<ErrorStatus, hidl_vec<bool>>& result, in getSupportedOperations()
1147 const std::pair<uint32_t, uint32_t>& numCacheFiles, in getCacheHandles()
1176 static std::pair<int, std::shared_ptr<VersionedIPreparedModel>> prepareModelFailure( in prepareModelFailure()
1181 static std::pair<int, std::shared_ptr<VersionedIPreparedModel>> prepareModelResult( in prepareModelResult()
1206 std::pair<int, std::shared_ptr<VersionedIPreparedModel>> VersionedIDevice::prepareModelInternal( in prepareModelInternal()
1212 const std::pair<int, std::shared_ptr<VersionedIPreparedModel>> kDeadObject = { in prepareModelInternal()
1389 std::pair<int, std::shared_ptr<VersionedIPreparedModel>>
1396 const std::pair<int, std::shared_ptr<VersionedIPreparedModel>> kDeadObject = { in prepareModelFromCacheInternal()
1470 std::pair<int, std::shared_ptr<VersionedIPreparedModel>> VersionedIDevice::prepareModel( in prepareModel()
1514 std::pair<uint32_t, uint32_t> VersionedIDevice::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded()