Lines Matching refs:Result
131 Return<Result> Contexthub::sendMessageToHub(uint32_t hubId, in sendMessageToHub()
134 return Result::BAD_PARAMS; in sendMessageToHub()
156 return Result::TRANSACTION_FAILED; in sendMessageToHub()
159 return Result::OK; in sendMessageToHub()
162 Return<Result> Contexthub::registerCallback(uint32_t hubId, in registerCallback()
164 Return<Result> retVal = Result::BAD_PARAMS; in registerCallback()
168 retVal = Result::BAD_PARAMS; in registerCallback()
188 retVal = Result::OK; in registerCallback()
194 retVal = Result::UNKNOWN_FAILURE; in registerCallback()
354 Return<Result> Contexthub::unloadNanoApp(uint32_t hubId, in unloadNanoApp()
358 return Result::TRANSACTION_PENDING; in unloadNanoApp()
364 return Result::BAD_PARAMS; in unloadNanoApp()
378 return Result::TRANSACTION_FAILED; in unloadNanoApp()
381 return Result::OK; in unloadNanoApp()
385 Return<Result> Contexthub::loadNanoApp(uint32_t hubId, in loadNanoApp()
389 return Result::TRANSACTION_PENDING; in loadNanoApp()
395 return Result::BAD_PARAMS; in loadNanoApp()
426 return Result::TRANSACTION_FAILED; in loadNanoApp()
429 return Result::OK; in loadNanoApp()
433 Return<Result> Contexthub::enableNanoApp(uint32_t hubId, in enableNanoApp()
437 return Result::TRANSACTION_PENDING; in enableNanoApp()
443 return Result::BAD_PARAMS; in enableNanoApp()
457 return Result::TRANSACTION_FAILED; in enableNanoApp()
460 return Result::OK; in enableNanoApp()
464 Return<Result> Contexthub::disableNanoApp(uint32_t hubId, in disableNanoApp()
468 return Result::TRANSACTION_PENDING; in disableNanoApp()
474 return Result::BAD_PARAMS; in disableNanoApp()
488 return Result::TRANSACTION_FAILED; in disableNanoApp()
491 return Result::OK; in disableNanoApp()
495 Return<Result> Contexthub::queryApps(uint32_t hubId) { in queryApps()
500 return Result::BAD_PARAMS; in queryApps()
514 return Result::TRANSACTION_FAILED; in queryApps()
517 return Result::OK; in queryApps()