• Home
  • Raw
  • Download

Lines Matching refs:res

199         int res = sync_wait(in->acquire_fence, CAMERA_SYNC_TIMEOUT_MS);  in processCaptureBuffer()  local
200 if (res == -ETIME) { in processCaptureBuffer()
203 return res; in processCaptureBuffer()
204 } else if (res) { in processCaptureBuffer()
206 __func__, mId, strerror(-res), res); in processCaptureBuffer()
207 return res; in processCaptureBuffer()
223 int res; in initDevice() local
227 res = base.add1UInt8(ANDROID_CONTROL_MODE, ANDROID_CONTROL_MODE_OFF); in initDevice()
228 if (res) in initDevice()
229 return res; in initDevice()
233 res = initPreviewTemplate(base); in initDevice()
234 if (res) in initDevice()
235 return res; in initDevice()
236 res = initStillTemplate(base); in initDevice()
237 if (res) in initDevice()
238 return res; in initDevice()
239 res = initRecordTemplate(base); in initDevice()
240 if (res) in initDevice()
241 return res; in initDevice()
242 res = initSnapshotTemplate(base); in initDevice()
243 if (res) in initDevice()
244 return res; in initDevice()
245 res = initZslTemplate(base); in initDevice()
246 if (res) in initDevice()
247 return res; in initDevice()
248 res = initManualTemplate(base); in initDevice()
249 if (res) in initDevice()
250 return res; in initDevice()
257 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, in initPreviewTemplate() local
260 if (res) in initPreviewTemplate()
261 return res; in initPreviewTemplate()
267 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, in initStillTemplate() local
270 if (res) in initStillTemplate()
271 return res; in initStillTemplate()
277 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, in initRecordTemplate() local
280 if (res) in initRecordTemplate()
281 return res; in initRecordTemplate()
287 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, in initSnapshotTemplate() local
290 if (res) in initSnapshotTemplate()
291 return res; in initSnapshotTemplate()
297 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, in initZslTemplate() local
300 if (res) in initZslTemplate()
301 return res; in initZslTemplate()
307 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, in initManualTemplate() local
310 if (res) in initManualTemplate()
311 return res; in initManualTemplate()