Lines Matching refs:OK
165 if (res != OK) { in Initialize()
171 if (res != OK) { in Initialize()
176 if (res != OK) return res; in Initialize()
367 if (res != OK) { in constructDefaultRequest()
372 if (res != OK) { in constructDefaultRequest()
704 return OK; in waitUntilRunning()
715 return OK; in newRequestAvailable()
1158 return OK; in waitUntilRunning()
1167 if (res != OK) { in waitForReady()
1383 if (res != OK) { in threadLoop()
1436 if (res != OK) { in onJpegInputDone()
1452 if (res != OK) { in collectStatisticsMetadata()
1457 if (entry.data.u8[0] == ANDROID_STATISTICS_FACE_DETECT_MODE_OFF) return OK; in collectStatisticsMetadata()
1490 if (res != OK) { in collectStatisticsMetadata()
1497 if (res != OK) { in collectStatisticsMetadata()
1502 if (entry.data.u8[0] == ANDROID_STATISTICS_FACE_DETECT_MODE_SIMPLE) return OK; in collectStatisticsMetadata()
1533 if (res != OK) { in collectStatisticsMetadata()
1540 if (res != OK) { in collectStatisticsMetadata()
1545 return OK; in collectStatisticsMetadata()
1594 return OK; in waitUntilRunning()
1606 #define READ_IF_OK(res, what, def) (((res) == OK) ? (what) : (uint8_t)(def)) in processRequest()
1664 if (res == OK) { in processRequest()
1671 return OK; in processRequest()
1699 return OK; in triggerAction()
2062 count)) != OK) \ in constructStaticInfo()
2293 return OK; in constructStaticInfo()
2304 data, count)) != OK) \ in constructDefaultRequest()
2583 return OK; in constructDefaultRequest()
2600 return OK; in addOrSize()