Lines Matching full:no_error
287 if (mp->setDataSource(file, NULL) == NO_ERROR) {
381 if (callingPid == mClientPid) return NO_ERROR;
390 if (result != NO_ERROR) return result;
395 return NO_ERROR;
406 return NO_ERROR;
409 // returns NO_ERROR if the client already owns the camera, EBUSY otherwise
420 if (result == NO_ERROR) {
440 if (mClientPid != 0 && checkPid() != NO_ERROR) {
448 return NO_ERROR;
456 return NO_ERROR;
463 if (result != NO_ERROR) {
475 if (checkPid() != NO_ERROR) {
519 if (result != NO_ERROR) return result;
523 return NO_ERROR;
528 if (result != NO_ERROR) {
545 if (result == NO_ERROR) {
589 if (checkPidAndHardware() != NO_ERROR) return;
616 if (result != NO_ERROR) return result;
638 status_t result = NO_ERROR;
642 return NO_ERROR;
659 status_t result = NO_ERROR;
663 return NO_ERROR;
669 if (result != NO_ERROR) {
678 if (result != NO_ERROR) {
688 if (checkPidAndHardware() != NO_ERROR) return;
701 if (checkPidAndHardware() != NO_ERROR) return;
713 if (checkPidAndHardware() != NO_ERROR) return;
721 if (checkPidAndHardware() != NO_ERROR) {
731 if (checkPidAndHardware() != NO_ERROR) return false;
739 if (checkPidAndHardware() != NO_ERROR) return false;
748 if (result != NO_ERROR) return result;
758 if (result != NO_ERROR) return result;
769 if (result != NO_ERROR) return result;
798 if (result != NO_ERROR) return result;
807 if (checkPidAndHardware() != NO_ERROR) return String8();
819 if (result != NO_ERROR) return result;
848 if (result != NO_ERROR) return result;
898 if (mLock.tryLock() == NO_ERROR) {
1230 if (mutex.tryLock() == NO_ERROR) {
1292 return NO_ERROR;