Lines Matching refs:Result
38 using ::android::hardware::contexthub::V1_0::Result;
169 Return<Result> GenericContextHub::registerCallback( in registerCallback()
171 Result result; in registerCallback()
190 result = Result::OK; in registerCallback()
192 result = Result::BAD_PARAMS; in registerCallback()
198 Return<Result> GenericContextHub::sendMessageToHub(uint32_t hubId, in sendMessageToHub()
200 Result result; in sendMessageToHub()
204 result = Result::BAD_PARAMS; in sendMessageToHub()
212 result = Result::UNKNOWN_FAILURE; in sendMessageToHub()
214 result = Result::OK; in sendMessageToHub()
221 Return<Result> GenericContextHub::loadNanoApp( in loadNanoApp()
223 Result result; in loadNanoApp()
227 result = Result::BAD_PARAMS; in loadNanoApp()
243 if (result != Result::OK) { in loadNanoApp()
255 Result GenericContextHub::sendFragmentedLoadNanoAppRequest( in sendFragmentedLoadNanoAppRequest()
257 Result result; in sendFragmentedLoadNanoAppRequest()
266 result = Result::UNKNOWN_FAILURE; in sendFragmentedLoadNanoAppRequest()
269 result = Result::OK; in sendFragmentedLoadNanoAppRequest()
275 Return<Result> GenericContextHub::unloadNanoApp( in unloadNanoApp()
277 Result result; in unloadNanoApp()
281 result = Result::BAD_PARAMS; in unloadNanoApp()
287 result = Result::UNKNOWN_FAILURE; in unloadNanoApp()
289 result = Result::OK; in unloadNanoApp()
300 Return<Result> GenericContextHub::enableNanoApp( in enableNanoApp()
305 return Result::TRANSACTION_FAILED; in enableNanoApp()
308 Return<Result> GenericContextHub::disableNanoApp( in disableNanoApp()
313 return Result::TRANSACTION_FAILED; in disableNanoApp()
316 Return<Result> GenericContextHub::queryApps(uint32_t hubId) { in queryApps()
317 Result result; in queryApps()
321 result = Result::BAD_PARAMS; in queryApps()
326 result = Result::UNKNOWN_FAILURE; in queryApps()
328 result = Result::OK; in queryApps()
462 == Result::OK) { in handleLoadNanoappResponse()