Lines Matching refs:cb

93     auto cb = hal::utils::CallbackValue(capabilitiesCallback);  in getCapabilitiesFrom()  local
95 const auto ret = device->getCapabilities_1_2(cb); in getCapabilitiesFrom()
98 return cb.take(); in getCapabilitiesFrom()
106 auto cb = hal::utils::CallbackValue(versionStringCallback); in getVersionStringFrom() local
108 const auto ret = device->getVersionString(cb); in getVersionStringFrom()
111 return cb.take(); in getVersionStringFrom()
117 auto cb = hal::utils::CallbackValue(deviceTypeCallback); in getDeviceTypeFrom() local
119 const auto ret = device->getType(cb); in getDeviceTypeFrom()
122 return cb.take(); in getDeviceTypeFrom()
128 auto cb = hal::utils::CallbackValue(supportedExtensionsCallback); in getSupportedExtensionsFrom() local
130 const auto ret = device->getSupportedExtensions(cb); in getSupportedExtensionsFrom()
133 return cb.take(); in getSupportedExtensionsFrom()
140 auto cb = hal::utils::CallbackValue(numberOfCacheFilesNeededCallback); in getNumberOfCacheFilesNeededFrom() local
142 const auto ret = device->getNumberOfCacheFilesNeeded(cb); in getNumberOfCacheFilesNeededFrom()
145 return cb.take(); in getNumberOfCacheFilesNeededFrom()
228 auto cb = hal::utils::CallbackValue(V1_0::utils::supportedOperationsCallback); in getSupportedOperations() local
230 const auto ret = kDevice->getSupportedOperations_1_2(hidlModel, cb); in getSupportedOperations()
233 return cb.take(); in getSupportedOperations()
251 const auto cb = sp<PreparedModelCallback>::make(); in prepareModel() local
252 const auto scoped = kDeathHandler.protectCallback(cb.get()); in prepareModel()
255 hidlDataCache, hidlToken, cb); in prepareModel()
259 return cb->get(); in prepareModel()
269 const auto cb = sp<PreparedModelCallback>::make(); in prepareModelFromCache() local
270 const auto scoped = kDeathHandler.protectCallback(cb.get()); in prepareModelFromCache()
272 const auto ret = kDevice->prepareModelFromCache(hidlModelCache, hidlDataCache, hidlToken, cb); in prepareModelFromCache()
276 return cb->get(); in prepareModelFromCache()