Searched refs:preparedModelCallback (Results 1 – 2 of 2) sorted by relevance
555 sp<PreparedModelCallback> preparedModelCallback = new PreparedModelCallback(); in startComputeOnDevice() local563 preparedModelCallback); in startComputeOnDevice()570 preparedModelCallback->wait(); in startComputeOnDevice()571 ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in startComputeOnDevice()572 mPreparedModel = preparedModelCallback->getPreparedModel(); in startComputeOnDevice()
48 sp<PreparedModelCallback> preparedModelCallback = new PreparedModelCallback(); in compile() local50 hidlModel, static_cast<ExecutionPreference>(executionPreference), preparedModelCallback); in compile()62 preparedModelCallback->wait(); in compile()63 ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in compile()64 *preparedModel = preparedModelCallback->getPreparedModel(); in compile()