Lines Matching refs:OK
93 return OK; in unlock()
125 ALOGE_IF(validate_camera_metadata_structure(mBuffer, /*size*/NULL) != OK, in acquire()
185 return OK; in checkType()
195 if ( (res = checkType(tag, TYPE_INT32)) != OK) { in update()
208 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { in update()
221 if ( (res = checkType(tag, TYPE_FLOAT)) != OK) { in update()
234 if ( (res = checkType(tag, TYPE_INT64)) != OK) { in update()
247 if ( (res = checkType(tag, TYPE_DOUBLE)) != OK) { in update()
260 if ( (res = checkType(tag, TYPE_RATIONAL)) != OK) { in update()
273 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { in update()
308 if (res == OK) { in updateImpl()
314 } else if (res == OK) { in updateImpl()
320 if (res != OK) { in updateImpl()
328 OK, in updateImpl()
351 if (CC_UNLIKELY( res != OK )) { in find()
362 if (CC_UNLIKELY( res != OK )) { in find()
378 return OK; in erase()
379 } else if (res != OK) { in erase()
387 if (res != OK) { in erase()
435 return OK; in resizeIfNeeded()
441 status_t err = OK; in readFromParcel()
452 if ((err = data.readInt32(&blobSizeTmp)) != OK) { in readFromParcel()
463 return OK; in readFromParcel()
480 if ((err = data.readBlob(blobSize, &blob)) != OK) { in readFromParcel()
490 if ((err = data.readInt32(&offsetTmp)) != OK) { in readFromParcel()
531 status_t res = OK; in writeToParcel()
567 if (res != OK) { in writeToParcel()
598 if (res != OK) { in writeToParcel()
610 if (validate_camera_metadata_structure(metadata, /*size*/NULL) != OK) { in writeToParcel()
628 status_t res = OK; in readFromParcel()
653 return OK; in readFromParcel()