• Home
  • Raw
  • Download

Lines Matching refs:result

353     qcamera_api_result_t result;  in procEvtPreviewStoppedState()  local
354 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtPreviewStoppedState()
361 result.status = rc; in procEvtPreviewStoppedState()
362 result.request_api = evt; in procEvtPreviewStoppedState()
363 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
364 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
376 result.status = rc; in procEvtPreviewStoppedState()
377 result.request_api = evt; in procEvtPreviewStoppedState()
378 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
379 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
390 result.status = rc; in procEvtPreviewStoppedState()
391 result.request_api = evt; in procEvtPreviewStoppedState()
392 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
393 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
404 result.status = rc; in procEvtPreviewStoppedState()
405 result.request_api = evt; in procEvtPreviewStoppedState()
406 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
407 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
413 result.status = rc; in procEvtPreviewStoppedState()
414 result.request_api = evt; in procEvtPreviewStoppedState()
415 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPreviewStoppedState()
416 result.enabled = enabled; in procEvtPreviewStoppedState()
417 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
430 result.status = rc; in procEvtPreviewStoppedState()
431 result.request_api = evt; in procEvtPreviewStoppedState()
432 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
433 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
439 result.status = rc; in procEvtPreviewStoppedState()
440 result.request_api = evt; in procEvtPreviewStoppedState()
441 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
442 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
448 result.status = rc; in procEvtPreviewStoppedState()
449 result.request_api = evt; in procEvtPreviewStoppedState()
450 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
451 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
457 result.status = rc; in procEvtPreviewStoppedState()
458 result.request_api = evt; in procEvtPreviewStoppedState()
459 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
460 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
472 result.params = nullParams; in procEvtPreviewStoppedState()
474 result.params = m_parent->getParameters(); in procEvtPreviewStoppedState()
476 rc = result.params ? NO_ERROR : UNKNOWN_ERROR; in procEvtPreviewStoppedState()
477 result.status = rc; in procEvtPreviewStoppedState()
478 result.request_api = evt; in procEvtPreviewStoppedState()
479 result.result_type = QCAMERA_API_RESULT_TYPE_PARAMS; in procEvtPreviewStoppedState()
480 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
486 result.status = rc; in procEvtPreviewStoppedState()
487 result.request_api = evt; in procEvtPreviewStoppedState()
488 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
489 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
504 result.status = rc; in procEvtPreviewStoppedState()
505 result.request_api = evt; in procEvtPreviewStoppedState()
506 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
507 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
536 result.status = rc; in procEvtPreviewStoppedState()
537 result.request_api = evt; in procEvtPreviewStoppedState()
538 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
539 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
559 result.status = rc; in procEvtPreviewStoppedState()
560 result.request_api = evt; in procEvtPreviewStoppedState()
561 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
562 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
569 result.status = NO_ERROR; in procEvtPreviewStoppedState()
570 result.request_api = evt; in procEvtPreviewStoppedState()
571 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
572 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
578 result.status = NO_ERROR; in procEvtPreviewStoppedState()
579 result.request_api = evt; in procEvtPreviewStoppedState()
580 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPreviewStoppedState()
581 result.enabled = 0; in procEvtPreviewStoppedState()
582 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
588 result.status = rc; in procEvtPreviewStoppedState()
589 result.request_api = evt; in procEvtPreviewStoppedState()
590 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
591 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
597 result.status = rc; in procEvtPreviewStoppedState()
598 result.request_api = evt; in procEvtPreviewStoppedState()
599 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
600 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
611 result.status = rc; in procEvtPreviewStoppedState()
612 result.request_api = evt; in procEvtPreviewStoppedState()
613 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
614 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
629 result.status = rc; in procEvtPreviewStoppedState()
630 result.request_api = evt; in procEvtPreviewStoppedState()
631 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
632 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
647 result.status = rc; in procEvtPreviewStoppedState()
648 result.request_api = evt; in procEvtPreviewStoppedState()
649 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
650 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
658 result.status = NO_ERROR; in procEvtPreviewStoppedState()
659 result.request_api = evt; in procEvtPreviewStoppedState()
660 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
661 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
672 result.status = rc; in procEvtPreviewStoppedState()
673 result.request_api = evt; in procEvtPreviewStoppedState()
674 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
675 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
686 result.status = rc; in procEvtPreviewStoppedState()
687 result.request_api = evt; in procEvtPreviewStoppedState()
688 result.result_type = QCAMERA_API_RESULT_TYPE_HANDLE; in procEvtPreviewStoppedState()
689 result.handle = faceID; in procEvtPreviewStoppedState()
690 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
725 result.status = rc; in procEvtPreviewStoppedState()
726 result.request_api = evt; in procEvtPreviewStoppedState()
727 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
728 m_parent->signalEvtResult(&result); in procEvtPreviewStoppedState()
777 qcamera_api_result_t result; in procEvtPreviewReadyState() local
778 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtPreviewReadyState()
796 result.status = rc; in procEvtPreviewReadyState()
797 result.request_api = evt; in procEvtPreviewReadyState()
798 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
799 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
811 result.status = rc; in procEvtPreviewReadyState()
812 result.request_api = evt; in procEvtPreviewReadyState()
813 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
814 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
820 result.status = rc; in procEvtPreviewReadyState()
821 result.request_api = evt; in procEvtPreviewReadyState()
822 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
823 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
829 result.status = rc; in procEvtPreviewReadyState()
830 result.request_api = evt; in procEvtPreviewReadyState()
831 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
832 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
838 result.status = rc; in procEvtPreviewReadyState()
839 result.request_api = evt; in procEvtPreviewReadyState()
840 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPreviewReadyState()
841 result.enabled = enabled; in procEvtPreviewReadyState()
842 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
849 result.status = rc; in procEvtPreviewReadyState()
850 result.request_api = evt; in procEvtPreviewReadyState()
851 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
852 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
862 result.status = rc; in procEvtPreviewReadyState()
863 result.request_api = evt; in procEvtPreviewReadyState()
864 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
865 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
871 result.status = rc; in procEvtPreviewReadyState()
872 result.request_api = evt; in procEvtPreviewReadyState()
873 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
874 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
885 result.status = rc; in procEvtPreviewReadyState()
886 result.request_api = evt; in procEvtPreviewReadyState()
887 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
888 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
893 result.params = m_parent->getParameters(); in procEvtPreviewReadyState()
894 rc = result.params ? NO_ERROR : UNKNOWN_ERROR; in procEvtPreviewReadyState()
895 result.status = rc; in procEvtPreviewReadyState()
896 result.request_api = evt; in procEvtPreviewReadyState()
897 result.result_type = QCAMERA_API_RESULT_TYPE_PARAMS; in procEvtPreviewReadyState()
898 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
904 result.status = rc; in procEvtPreviewReadyState()
905 result.request_api = evt; in procEvtPreviewReadyState()
906 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
907 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
914 result.status = rc; in procEvtPreviewReadyState()
915 result.request_api = evt; in procEvtPreviewReadyState()
916 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
917 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
931 result.status = rc; in procEvtPreviewReadyState()
932 result.request_api = evt; in procEvtPreviewReadyState()
933 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
934 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
950 result.status = rc; in procEvtPreviewReadyState()
951 result.request_api = evt; in procEvtPreviewReadyState()
952 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
953 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
961 result.status = rc; in procEvtPreviewReadyState()
962 result.request_api = evt; in procEvtPreviewReadyState()
963 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
964 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
970 result.status = rc; in procEvtPreviewReadyState()
971 result.request_api = evt; in procEvtPreviewReadyState()
972 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPreviewReadyState()
973 result.enabled = 1; in procEvtPreviewReadyState()
974 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
980 result.status = rc; in procEvtPreviewReadyState()
981 result.request_api = evt; in procEvtPreviewReadyState()
982 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPreviewReadyState()
983 result.enabled = 0; in procEvtPreviewReadyState()
984 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
990 result.status = rc; in procEvtPreviewReadyState()
991 result.request_api = evt; in procEvtPreviewReadyState()
992 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
993 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
999 result.status = rc; in procEvtPreviewReadyState()
1000 result.request_api = evt; in procEvtPreviewReadyState()
1001 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
1002 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1008 result.status = rc; in procEvtPreviewReadyState()
1009 result.request_api = evt; in procEvtPreviewReadyState()
1010 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
1011 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1017 result.status = rc; in procEvtPreviewReadyState()
1018 result.request_api = evt; in procEvtPreviewReadyState()
1019 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
1020 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1030 result.status = rc; in procEvtPreviewReadyState()
1031 result.request_api = evt; in procEvtPreviewReadyState()
1032 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
1033 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1044 result.status = rc; in procEvtPreviewReadyState()
1045 result.request_api = evt; in procEvtPreviewReadyState()
1046 result.result_type = QCAMERA_API_RESULT_TYPE_HANDLE; in procEvtPreviewReadyState()
1047 result.handle = faceID; in procEvtPreviewReadyState()
1048 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1065 result.status = rc; in procEvtPreviewReadyState()
1066 result.request_api = evt; in procEvtPreviewReadyState()
1067 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
1068 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
1093 result.status = rc; in procEvtPreviewReadyState()
1094 result.request_api = evt; in procEvtPreviewReadyState()
1095 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewReadyState()
1096 m_parent->signalEvtResult(&result); in procEvtPreviewReadyState()
1141 qcamera_api_result_t result; in procEvtPreviewingState() local
1142 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtPreviewingState()
1151 result.status = rc; in procEvtPreviewingState()
1152 result.request_api = evt; in procEvtPreviewingState()
1153 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1154 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1166 result.status = rc; in procEvtPreviewingState()
1167 result.request_api = evt; in procEvtPreviewingState()
1168 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1169 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1181 result.status = rc; in procEvtPreviewingState()
1182 result.request_api = evt; in procEvtPreviewingState()
1183 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1184 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1197 result.status = rc; in procEvtPreviewingState()
1198 result.request_api = evt; in procEvtPreviewingState()
1199 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1200 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1210 result.status = rc; in procEvtPreviewingState()
1211 result.request_api = evt; in procEvtPreviewingState()
1212 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPreviewingState()
1213 result.enabled = enabled; in procEvtPreviewingState()
1214 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1221 result.status = rc; in procEvtPreviewingState()
1222 result.request_api = evt; in procEvtPreviewingState()
1223 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1224 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1234 result.status = rc; in procEvtPreviewingState()
1235 result.request_api = evt; in procEvtPreviewingState()
1236 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1237 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1243 result.status = rc; in procEvtPreviewingState()
1244 result.request_api = evt; in procEvtPreviewingState()
1245 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1246 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1264 result.status = rc; in procEvtPreviewingState()
1265 result.request_api = evt; in procEvtPreviewingState()
1266 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1267 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1272 result.params = m_parent->getParameters(); in procEvtPreviewingState()
1273 rc = result.params ? NO_ERROR : UNKNOWN_ERROR; in procEvtPreviewingState()
1274 result.status = rc; in procEvtPreviewingState()
1275 result.request_api = evt; in procEvtPreviewingState()
1276 result.result_type = QCAMERA_API_RESULT_TYPE_PARAMS; in procEvtPreviewingState()
1277 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1283 result.status = rc; in procEvtPreviewingState()
1284 result.request_api = evt; in procEvtPreviewingState()
1285 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1286 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1294 result.status = rc; in procEvtPreviewingState()
1295 result.request_api = evt; in procEvtPreviewingState()
1296 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1297 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1307 result.status = rc; in procEvtPreviewingState()
1308 result.request_api = evt; in procEvtPreviewingState()
1309 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1310 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1318 result.status = rc; in procEvtPreviewingState()
1319 result.request_api = evt; in procEvtPreviewingState()
1320 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1321 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1328 result.status = rc; in procEvtPreviewingState()
1329 result.request_api = evt; in procEvtPreviewingState()
1330 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPreviewingState()
1331 result.enabled = 1; in procEvtPreviewingState()
1332 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1338 result.status = rc; in procEvtPreviewingState()
1339 result.request_api = evt; in procEvtPreviewingState()
1340 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPreviewingState()
1341 result.enabled = 0; in procEvtPreviewingState()
1342 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1348 result.status = rc; in procEvtPreviewingState()
1349 result.request_api = evt; in procEvtPreviewingState()
1350 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1351 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1357 result.status = rc; in procEvtPreviewingState()
1358 result.request_api = evt; in procEvtPreviewingState()
1359 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1360 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1366 result.status = rc; in procEvtPreviewingState()
1367 result.request_api = evt; in procEvtPreviewingState()
1368 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1369 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1375 result.status = rc; in procEvtPreviewingState()
1376 result.request_api = evt; in procEvtPreviewingState()
1377 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1378 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1384 result.status = rc; in procEvtPreviewingState()
1385 result.request_api = evt; in procEvtPreviewingState()
1386 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1387 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1398 result.status = rc; in procEvtPreviewingState()
1399 result.request_api = evt; in procEvtPreviewingState()
1400 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1401 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1417 result.status = rc; in procEvtPreviewingState()
1418 result.request_api = evt; in procEvtPreviewingState()
1419 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1420 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1427 result.status = rc; in procEvtPreviewingState()
1428 result.request_api = evt; in procEvtPreviewingState()
1429 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1430 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1472 result.status = rc; in procEvtPreviewingState()
1473 result.request_api = evt; in procEvtPreviewingState()
1474 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1475 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1499 result.status = rc; in procEvtPreviewingState()
1500 result.request_api = evt; in procEvtPreviewingState()
1501 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1502 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1538 result.status = rc; in procEvtPreviewingState()
1539 result.request_api = evt; in procEvtPreviewingState()
1540 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1541 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1562 result.status = rc; in procEvtPreviewingState()
1563 result.request_api = evt; in procEvtPreviewingState()
1564 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1565 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1576 result.status = rc; in procEvtPreviewingState()
1577 result.request_api = evt; in procEvtPreviewingState()
1578 result.result_type = QCAMERA_API_RESULT_TYPE_HANDLE; in procEvtPreviewingState()
1579 result.handle = faceID; in procEvtPreviewingState()
1580 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1590 result.status = rc; in procEvtPreviewingState()
1591 result.request_api = evt; in procEvtPreviewingState()
1592 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1593 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1673 result.status = rc; in procEvtPreviewingState()
1674 result.request_api = evt; in procEvtPreviewingState()
1675 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1676 m_parent->signalEvtResult(&result); in procEvtPreviewingState()
1682 result.status = rc; in procEvtPreviewingState()
1683 result.request_api = evt; in procEvtPreviewingState()
1684 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1685 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1694 result.status = rc; in procEvtPreviewingState()
1695 result.request_api = evt; in procEvtPreviewingState()
1696 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewingState()
1697 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1727 qcamera_api_result_t result; in procEvtPrepareSnapshotState() local
1728 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtPrepareSnapshotState()
1768 result.status = rc; in procEvtPrepareSnapshotState()
1769 result.request_api = evt; in procEvtPrepareSnapshotState()
1770 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPrepareSnapshotState()
1771 m_parent->signalAPIResult(&result); in procEvtPrepareSnapshotState()
1786 result.status = NO_ERROR; in procEvtPrepareSnapshotState()
1787 result.request_api = QCAMERA_SM_EVT_PREPARE_SNAPSHOT; in procEvtPrepareSnapshotState()
1788 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPrepareSnapshotState()
1789 m_parent->signalAPIResult(&result); in procEvtPrepareSnapshotState()
1839 result.status = rc; in procEvtPrepareSnapshotState()
1840 result.request_api = QCAMERA_SM_EVT_PREPARE_SNAPSHOT; in procEvtPrepareSnapshotState()
1841 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPrepareSnapshotState()
1842 m_parent->signalAPIResult(&result); in procEvtPrepareSnapshotState()
1844 result.status = rc; in procEvtPrepareSnapshotState()
1845 result.request_api = QCAMERA_SM_EVT_TAKE_PICTURE; in procEvtPrepareSnapshotState()
1846 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPrepareSnapshotState()
1847 m_parent->signalAPIResult(&result); in procEvtPrepareSnapshotState()
1865 result.status = rc; in procEvtPrepareSnapshotState()
1866 result.request_api = evt; in procEvtPrepareSnapshotState()
1867 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPrepareSnapshotState()
1868 m_parent->signalEvtResult(&result); in procEvtPrepareSnapshotState()
1903 qcamera_api_result_t result; in procEvtPicTakingState() local
1904 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtPicTakingState()
1913 result.status = rc; in procEvtPicTakingState()
1914 result.request_api = evt; in procEvtPicTakingState()
1915 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
1916 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1928 result.status = rc; in procEvtPicTakingState()
1929 result.request_api = evt; in procEvtPicTakingState()
1930 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
1931 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1937 result.status = rc; in procEvtPicTakingState()
1938 result.request_api = evt; in procEvtPicTakingState()
1939 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
1940 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1946 result.status = rc; in procEvtPicTakingState()
1947 result.request_api = evt; in procEvtPicTakingState()
1948 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
1949 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1955 result.status = rc; in procEvtPicTakingState()
1956 result.request_api = evt; in procEvtPicTakingState()
1957 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPicTakingState()
1958 result.enabled = enabled; in procEvtPicTakingState()
1959 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1966 result.status = rc; in procEvtPicTakingState()
1967 result.request_api = evt; in procEvtPicTakingState()
1968 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
1969 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1974 result.status = rc; in procEvtPicTakingState()
1975 result.request_api = evt; in procEvtPicTakingState()
1976 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
1977 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1983 result.status = rc; in procEvtPicTakingState()
1984 result.request_api = evt; in procEvtPicTakingState()
1985 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
1986 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1992 result.status = rc; in procEvtPicTakingState()
1993 result.request_api = evt; in procEvtPicTakingState()
1994 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
1995 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2000 result.params = m_parent->getParameters(); in procEvtPicTakingState()
2001 rc = result.params ? NO_ERROR : UNKNOWN_ERROR; in procEvtPicTakingState()
2002 result.status = rc; in procEvtPicTakingState()
2003 result.request_api = evt; in procEvtPicTakingState()
2004 result.result_type = QCAMERA_API_RESULT_TYPE_PARAMS; in procEvtPicTakingState()
2005 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2011 result.status = rc; in procEvtPicTakingState()
2012 result.request_api = evt; in procEvtPicTakingState()
2013 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2014 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2023 result.status = rc; in procEvtPicTakingState()
2024 result.request_api = evt; in procEvtPicTakingState()
2025 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2026 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2032 result.status = rc; in procEvtPicTakingState()
2033 result.request_api = evt; in procEvtPicTakingState()
2034 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPicTakingState()
2035 result.enabled = 0; in procEvtPicTakingState()
2036 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2042 result.status = rc; in procEvtPicTakingState()
2043 result.request_api = evt; in procEvtPicTakingState()
2044 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPicTakingState()
2045 result.enabled = 0; in procEvtPicTakingState()
2046 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2052 result.status = rc; in procEvtPicTakingState()
2053 result.request_api = evt; in procEvtPicTakingState()
2054 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2055 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2061 result.status = rc; in procEvtPicTakingState()
2062 result.request_api = evt; in procEvtPicTakingState()
2063 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2064 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2070 result.status = rc; in procEvtPicTakingState()
2071 result.request_api = evt; in procEvtPicTakingState()
2072 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2073 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2079 result.status = rc; in procEvtPicTakingState()
2080 result.request_api = evt; in procEvtPicTakingState()
2081 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2082 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2098 result.status = rc; in procEvtPicTakingState()
2099 result.request_api = evt; in procEvtPicTakingState()
2100 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2101 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2108 result.status = rc; in procEvtPicTakingState()
2109 result.request_api = evt; in procEvtPicTakingState()
2110 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2111 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2122 result.status = rc; in procEvtPicTakingState()
2123 result.request_api = evt; in procEvtPicTakingState()
2124 result.result_type = QCAMERA_API_RESULT_TYPE_HANDLE; in procEvtPicTakingState()
2125 result.handle = faceID; in procEvtPicTakingState()
2126 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2139 result.status = rc; in procEvtPicTakingState()
2140 result.request_api = evt; in procEvtPicTakingState()
2141 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2142 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2154 result.status = rc; in procEvtPicTakingState()
2155 result.request_api = evt; in procEvtPicTakingState()
2156 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2157 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2174 result.status = rc; in procEvtPicTakingState()
2175 result.request_api = evt; in procEvtPicTakingState()
2176 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2177 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2234 result.status = rc; in procEvtPicTakingState()
2235 result.request_api = QCAMERA_SM_EVT_PREPARE_SNAPSHOT; in procEvtPicTakingState()
2236 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2237 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2239 result.status = rc; in procEvtPicTakingState()
2240 result.request_api = QCAMERA_SM_EVT_TAKE_PICTURE; in procEvtPicTakingState()
2241 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2242 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2289 result.status = rc; in procEvtPicTakingState()
2290 result.request_api = evt; in procEvtPicTakingState()
2291 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2292 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
2317 result.status = rc; in procEvtPicTakingState()
2318 result.request_api = evt; in procEvtPicTakingState()
2319 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPicTakingState()
2320 m_parent->signalEvtResult(&result); in procEvtPicTakingState()
2354 qcamera_api_result_t result; in procEvtRecordingState() local
2355 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtRecordingState()
2367 result.status = rc; in procEvtRecordingState()
2368 result.request_api = evt; in procEvtRecordingState()
2369 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2370 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2382 result.status = rc; in procEvtRecordingState()
2383 result.request_api = evt; in procEvtRecordingState()
2384 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2385 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2391 result.status = rc; in procEvtRecordingState()
2392 result.request_api = evt; in procEvtRecordingState()
2393 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2394 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2400 result.status = rc; in procEvtRecordingState()
2401 result.request_api = evt; in procEvtRecordingState()
2402 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2403 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2409 result.status = rc; in procEvtRecordingState()
2410 result.request_api = evt; in procEvtRecordingState()
2411 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtRecordingState()
2412 result.enabled = enabled; in procEvtRecordingState()
2413 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2430 result.status = rc; in procEvtRecordingState()
2431 result.request_api = evt; in procEvtRecordingState()
2432 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2433 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2439 result.status = rc; in procEvtRecordingState()
2440 result.request_api = evt; in procEvtRecordingState()
2441 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2442 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2450 result.status = rc; in procEvtRecordingState()
2451 result.request_api = evt; in procEvtRecordingState()
2452 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2453 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2458 result.params = m_parent->getParameters(); in procEvtRecordingState()
2459 rc = result.params ? NO_ERROR : UNKNOWN_ERROR; in procEvtRecordingState()
2460 result.status = rc; in procEvtRecordingState()
2461 result.request_api = evt; in procEvtRecordingState()
2462 result.result_type = QCAMERA_API_RESULT_TYPE_PARAMS; in procEvtRecordingState()
2463 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2469 result.status = rc; in procEvtRecordingState()
2470 result.request_api = evt; in procEvtRecordingState()
2471 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2472 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2478 result.status = rc; in procEvtRecordingState()
2479 result.request_api = evt; in procEvtRecordingState()
2480 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtRecordingState()
2481 result.enabled = 0; in procEvtRecordingState()
2482 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2488 result.status = rc; in procEvtRecordingState()
2489 result.request_api = evt; in procEvtRecordingState()
2490 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtRecordingState()
2491 result.enabled = 1; in procEvtRecordingState()
2492 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2498 result.status = rc; in procEvtRecordingState()
2499 result.request_api = evt; in procEvtRecordingState()
2500 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2501 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2507 result.status = rc; in procEvtRecordingState()
2508 result.request_api = evt; in procEvtRecordingState()
2509 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2510 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2516 result.status = rc; in procEvtRecordingState()
2517 result.request_api = evt; in procEvtRecordingState()
2518 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2519 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2525 result.status = rc; in procEvtRecordingState()
2526 result.request_api = evt; in procEvtRecordingState()
2527 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2528 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2538 result.status = rc; in procEvtRecordingState()
2539 result.request_api = evt; in procEvtRecordingState()
2540 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2541 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2548 result.status = rc; in procEvtRecordingState()
2549 result.request_api = evt; in procEvtRecordingState()
2550 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2551 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2562 result.status = rc; in procEvtRecordingState()
2563 result.request_api = evt; in procEvtRecordingState()
2564 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2565 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2576 result.status = rc; in procEvtRecordingState()
2577 result.request_api = evt; in procEvtRecordingState()
2578 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2579 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2586 result.status = rc; in procEvtRecordingState()
2587 result.request_api = evt; in procEvtRecordingState()
2588 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2589 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2600 result.status = rc; in procEvtRecordingState()
2601 result.request_api = evt; in procEvtRecordingState()
2602 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2603 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2609 result.status = rc; in procEvtRecordingState()
2610 result.request_api = evt; in procEvtRecordingState()
2611 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2612 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2623 result.status = rc; in procEvtRecordingState()
2624 result.request_api = evt; in procEvtRecordingState()
2625 result.result_type = QCAMERA_API_RESULT_TYPE_HANDLE; in procEvtRecordingState()
2626 result.handle = faceID; in procEvtRecordingState()
2627 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2633 result.status = NO_ERROR; in procEvtRecordingState()
2634 result.request_api = evt; in procEvtRecordingState()
2635 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2636 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2645 result.status = rc; in procEvtRecordingState()
2646 result.request_api = evt; in procEvtRecordingState()
2647 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2648 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2726 result.status = rc; in procEvtRecordingState()
2727 result.request_api = evt; in procEvtRecordingState()
2728 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtRecordingState()
2729 m_parent->signalEvtResult(&result); in procEvtRecordingState()
2759 qcamera_api_result_t result; in procEvtVideoPicTakingState() local
2760 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtVideoPicTakingState()
2769 result.status = rc; in procEvtVideoPicTakingState()
2770 result.request_api = evt; in procEvtVideoPicTakingState()
2771 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2772 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2784 result.status = rc; in procEvtVideoPicTakingState()
2785 result.request_api = evt; in procEvtVideoPicTakingState()
2786 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2787 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2793 result.status = rc; in procEvtVideoPicTakingState()
2794 result.request_api = evt; in procEvtVideoPicTakingState()
2795 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2796 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2802 result.status = rc; in procEvtVideoPicTakingState()
2803 result.request_api = evt; in procEvtVideoPicTakingState()
2804 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2805 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2811 result.status = rc; in procEvtVideoPicTakingState()
2812 result.request_api = evt; in procEvtVideoPicTakingState()
2813 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtVideoPicTakingState()
2814 result.enabled = enabled; in procEvtVideoPicTakingState()
2815 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2832 result.status = rc; in procEvtVideoPicTakingState()
2833 result.request_api = evt; in procEvtVideoPicTakingState()
2834 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2835 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2841 result.status = rc; in procEvtVideoPicTakingState()
2842 result.request_api = evt; in procEvtVideoPicTakingState()
2843 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2844 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2852 result.status = rc; in procEvtVideoPicTakingState()
2853 result.request_api = evt; in procEvtVideoPicTakingState()
2854 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2855 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2860 result.params = m_parent->getParameters(); in procEvtVideoPicTakingState()
2861 rc = result.params ? NO_ERROR : UNKNOWN_ERROR; in procEvtVideoPicTakingState()
2862 result.status = rc; in procEvtVideoPicTakingState()
2863 result.request_api = evt; in procEvtVideoPicTakingState()
2864 result.result_type = QCAMERA_API_RESULT_TYPE_PARAMS; in procEvtVideoPicTakingState()
2865 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2871 result.status = rc; in procEvtVideoPicTakingState()
2872 result.request_api = evt; in procEvtVideoPicTakingState()
2873 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2874 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2880 result.status = rc; in procEvtVideoPicTakingState()
2881 result.request_api = evt; in procEvtVideoPicTakingState()
2882 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtVideoPicTakingState()
2883 result.enabled = 1; in procEvtVideoPicTakingState()
2884 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2890 result.status = rc; in procEvtVideoPicTakingState()
2891 result.request_api = evt; in procEvtVideoPicTakingState()
2892 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtVideoPicTakingState()
2893 result.enabled = 1; in procEvtVideoPicTakingState()
2894 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2900 result.status = rc; in procEvtVideoPicTakingState()
2901 result.request_api = evt; in procEvtVideoPicTakingState()
2902 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2903 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2909 result.status = rc; in procEvtVideoPicTakingState()
2910 result.request_api = evt; in procEvtVideoPicTakingState()
2911 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2912 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2918 result.status = rc; in procEvtVideoPicTakingState()
2919 result.request_api = evt; in procEvtVideoPicTakingState()
2920 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2921 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2927 result.status = rc; in procEvtVideoPicTakingState()
2928 result.request_api = evt; in procEvtVideoPicTakingState()
2929 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2930 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2940 result.status = rc; in procEvtVideoPicTakingState()
2941 result.request_api = evt; in procEvtVideoPicTakingState()
2942 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2943 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2954 result.status = rc; in procEvtVideoPicTakingState()
2955 result.request_api = evt; in procEvtVideoPicTakingState()
2956 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2957 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2963 result.status = rc; in procEvtVideoPicTakingState()
2964 result.request_api = evt; in procEvtVideoPicTakingState()
2965 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2966 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2973 result.status = rc; in procEvtVideoPicTakingState()
2974 result.request_api = evt; in procEvtVideoPicTakingState()
2975 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
2976 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2987 result.status = rc; in procEvtVideoPicTakingState()
2988 result.request_api = evt; in procEvtVideoPicTakingState()
2989 result.result_type = QCAMERA_API_RESULT_TYPE_HANDLE; in procEvtVideoPicTakingState()
2990 result.handle = faceID; in procEvtVideoPicTakingState()
2991 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
3005 result.status = rc; in procEvtVideoPicTakingState()
3006 result.request_api = evt; in procEvtVideoPicTakingState()
3007 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
3008 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
3025 result.status = rc; in procEvtVideoPicTakingState()
3026 result.request_api = evt; in procEvtVideoPicTakingState()
3027 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
3028 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
3108 result.status = rc; in procEvtVideoPicTakingState()
3109 result.request_api = evt; in procEvtVideoPicTakingState()
3110 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtVideoPicTakingState()
3111 m_parent->signalEvtResult(&result); in procEvtVideoPicTakingState()
3145 qcamera_api_result_t result; in procEvtPreviewPicTakingState() local
3146 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtPreviewPicTakingState()
3159 result.status = rc; in procEvtPreviewPicTakingState()
3160 result.request_api = evt; in procEvtPreviewPicTakingState()
3161 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3162 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3168 result.status = rc; in procEvtPreviewPicTakingState()
3169 result.request_api = evt; in procEvtPreviewPicTakingState()
3170 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3171 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3177 result.status = rc; in procEvtPreviewPicTakingState()
3178 result.request_api = evt; in procEvtPreviewPicTakingState()
3179 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3180 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3186 result.status = rc; in procEvtPreviewPicTakingState()
3187 result.request_api = evt; in procEvtPreviewPicTakingState()
3188 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPreviewPicTakingState()
3189 result.enabled = enabled; in procEvtPreviewPicTakingState()
3190 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3197 result.status = rc; in procEvtPreviewPicTakingState()
3198 result.request_api = evt; in procEvtPreviewPicTakingState()
3199 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3200 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3211 result.status = rc; in procEvtPreviewPicTakingState()
3212 result.request_api = evt; in procEvtPreviewPicTakingState()
3213 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3214 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3221 result.status = rc; in procEvtPreviewPicTakingState()
3222 result.request_api = evt; in procEvtPreviewPicTakingState()
3223 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3224 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3242 result.status = rc; in procEvtPreviewPicTakingState()
3243 result.request_api = evt; in procEvtPreviewPicTakingState()
3244 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3245 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3250 result.params = m_parent->getParameters(); in procEvtPreviewPicTakingState()
3251 rc = result.params ? NO_ERROR : UNKNOWN_ERROR; in procEvtPreviewPicTakingState()
3252 result.status = rc; in procEvtPreviewPicTakingState()
3253 result.request_api = evt; in procEvtPreviewPicTakingState()
3254 result.result_type = QCAMERA_API_RESULT_TYPE_PARAMS; in procEvtPreviewPicTakingState()
3255 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3261 result.status = rc; in procEvtPreviewPicTakingState()
3262 result.request_api = evt; in procEvtPreviewPicTakingState()
3263 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3264 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3270 result.status = rc; in procEvtPreviewPicTakingState()
3271 result.request_api = evt; in procEvtPreviewPicTakingState()
3272 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPreviewPicTakingState()
3273 result.enabled = 1; in procEvtPreviewPicTakingState()
3274 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3280 result.status = rc; in procEvtPreviewPicTakingState()
3281 result.request_api = evt; in procEvtPreviewPicTakingState()
3282 result.result_type = QCAMERA_API_RESULT_TYPE_ENABLE_FLAG; in procEvtPreviewPicTakingState()
3283 result.enabled = 0; in procEvtPreviewPicTakingState()
3284 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3290 result.status = rc; in procEvtPreviewPicTakingState()
3291 result.request_api = evt; in procEvtPreviewPicTakingState()
3292 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3293 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3299 result.status = rc; in procEvtPreviewPicTakingState()
3300 result.request_api = evt; in procEvtPreviewPicTakingState()
3301 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3302 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3308 result.status = rc; in procEvtPreviewPicTakingState()
3309 result.request_api = evt; in procEvtPreviewPicTakingState()
3310 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3311 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3317 result.status = rc; in procEvtPreviewPicTakingState()
3318 result.request_api = evt; in procEvtPreviewPicTakingState()
3319 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3320 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3336 result.status = rc; in procEvtPreviewPicTakingState()
3337 result.request_api = evt; in procEvtPreviewPicTakingState()
3338 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3339 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3345 result.status = rc; in procEvtPreviewPicTakingState()
3346 result.request_api = evt; in procEvtPreviewPicTakingState()
3347 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3348 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3359 result.status = rc; in procEvtPreviewPicTakingState()
3360 result.request_api = evt; in procEvtPreviewPicTakingState()
3361 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3362 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3381 result.status = rc; in procEvtPreviewPicTakingState()
3382 result.request_api = evt; in procEvtPreviewPicTakingState()
3383 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3384 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3398 result.status = rc; in procEvtPreviewPicTakingState()
3399 result.request_api = evt; in procEvtPreviewPicTakingState()
3400 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3401 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3420 result.status = rc; in procEvtPreviewPicTakingState()
3421 result.request_api = evt; in procEvtPreviewPicTakingState()
3422 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3423 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3434 result.status = rc; in procEvtPreviewPicTakingState()
3435 result.request_api = evt; in procEvtPreviewPicTakingState()
3436 result.result_type = QCAMERA_API_RESULT_TYPE_HANDLE; in procEvtPreviewPicTakingState()
3437 result.handle = faceID; in procEvtPreviewPicTakingState()
3438 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3451 result.status = rc; in procEvtPreviewPicTakingState()
3452 result.request_api = evt; in procEvtPreviewPicTakingState()
3453 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3454 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3466 result.status = rc; in procEvtPreviewPicTakingState()
3467 result.request_api = evt; in procEvtPreviewPicTakingState()
3468 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3469 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3482 result.status = rc; in procEvtPreviewPicTakingState()
3483 result.request_api = evt; in procEvtPreviewPicTakingState()
3484 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3485 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3492 result.status = rc; in procEvtPreviewPicTakingState()
3493 result.request_api = evt; in procEvtPreviewPicTakingState()
3494 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3495 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3508 result.status = rc; in procEvtPreviewPicTakingState()
3509 result.request_api = evt; in procEvtPreviewPicTakingState()
3510 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3511 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3527 result.status = NO_ERROR; in procEvtPreviewPicTakingState()
3528 result.request_api = QCAMERA_SM_EVT_PREPARE_SNAPSHOT; in procEvtPreviewPicTakingState()
3529 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3530 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3544 result.status = NO_ERROR; in procEvtPreviewPicTakingState()
3545 result.request_api = QCAMERA_SM_EVT_TAKE_PICTURE; in procEvtPreviewPicTakingState()
3546 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3547 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3596 result.status = rc; in procEvtPreviewPicTakingState()
3597 result.request_api = QCAMERA_SM_EVT_PREPARE_SNAPSHOT; in procEvtPreviewPicTakingState()
3598 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3599 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3601 result.status = rc; in procEvtPreviewPicTakingState()
3602 result.request_api = QCAMERA_SM_EVT_TAKE_PICTURE; in procEvtPreviewPicTakingState()
3603 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3604 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3648 result.status = rc; in procEvtPreviewPicTakingState()
3649 result.request_api = evt; in procEvtPreviewPicTakingState()
3650 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3652 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3655 result.status = rc; in procEvtPreviewPicTakingState()
3656 result.request_api = evt; in procEvtPreviewPicTakingState()
3657 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3658 m_parent->signalEvtResult(&result); in procEvtPreviewPicTakingState()
3669 result.status = rc; in procEvtPreviewPicTakingState()
3670 result.request_api = evt; in procEvtPreviewPicTakingState()
3671 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3672 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3681 result.status = rc; in procEvtPreviewPicTakingState()
3682 result.request_api = evt; in procEvtPreviewPicTakingState()
3683 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewPicTakingState()
3684 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()