/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_unit_test.c | 44 mm_camera_test_obj_t test_obj; local 48 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t)); 49 rc = mm_app_open(cam_app, i, &test_obj); 56 rc = mm_app_close(&test_obj); 76 mm_camera_test_obj_t test_obj; local 80 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t)); 81 rc = mm_app_open(cam_app, i, &test_obj); 89 rc = mm_app_start_preview(&test_obj); 96 rc = mm_app_stop_preview(&test_obj); 104 rc |= mm_app_close(&test_obj); 124 mm_camera_test_obj_t test_obj; local 172 mm_camera_test_obj_t test_obj; local 220 mm_camera_test_obj_t test_obj; local 295 mm_camera_test_obj_t test_obj; local 394 mm_camera_test_obj_t test_obj; local 447 mm_camera_test_obj_t test_obj; local 500 mm_camera_test_obj_t test_obj; local 551 mm_camera_test_obj_t test_obj; local [all...] |
mm_qcamera_video.c | 56 mm_camera_stream_t * mm_app_add_video_stream(mm_camera_test_obj_t *test_obj, 64 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 66 stream = mm_app_add_stream(test_obj, channel); 91 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 100 mm_camera_channel_t * mm_app_add_video_channel(mm_camera_test_obj_t *test_obj) 105 channel = mm_app_add_channel(test_obj, 115 stream = mm_app_add_video_stream(test_obj, 118 (void *)test_obj, 122 mm_app_del_channel(test_obj, channel); 129 int mm_app_start_record_preview(mm_camera_test_obj_t *test_obj) [all...] |
mm_qcamera_snapshot.c | 75 int encodeData(mm_camera_test_obj_t *test_obj, mm_camera_super_buf_t* recvd_frame, 78 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 84 test_obj->current_job_frames = 86 if (!test_obj->current_job_frames) { 90 *(test_obj->current_job_frames) = *recvd_frame; 94 job.encode_job.session_id = test_obj->current_jpeg_sess_id; 114 rc = test_obj->jpeg_ops.start_job(&job, &test_obj->current_job_id); 116 free(test_obj->current_job_frames); 117 test_obj->current_job_frames = NULL [all...] |
mm_qcamera_preview.c | 149 mm_camera_stream_t * mm_app_add_preview_stream(mm_camera_test_obj_t *test_obj, 157 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 159 stream = mm_app_add_stream(test_obj, channel); 184 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 193 mm_camera_stream_t * mm_app_add_snapshot_stream(mm_camera_test_obj_t *test_obj, 202 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 204 stream = mm_app_add_stream(test_obj, channel); 234 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 243 mm_camera_channel_t * mm_app_add_preview_channel(mm_camera_test_obj_t *test_obj) 248 channel = mm_app_add_channel(test_obj, [all...] |
mm_qcamera_app.c | 440 mm_camera_test_obj_t *test_obj = local 442 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { 464 mm_camera_test_obj_t *test_obj) 471 test_obj->cam = cam_app->hal_lib.mm_camera_open(cam_id); 472 if(test_obj->cam == NULL) { 477 CDBG("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); 482 rc = mm_app_alloc_bufs(&test_obj->cap_buf, 492 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle [all...] |
mm_qcamera_rdi.c | 84 mm_camera_stream_t * mm_app_add_rdi_stream(mm_camera_test_obj_t *test_obj, 94 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 98 stream = mm_app_add_stream(test_obj, channel); 144 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 159 mm_camera_stream_t * mm_app_add_rdi_snapshot_stream(mm_camera_test_obj_t *test_obj, 168 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 170 stream = mm_app_add_stream(test_obj, channel); 200 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 209 mm_camera_channel_t * mm_app_add_rdi_channel(mm_camera_test_obj_t *test_obj, uint8_t num_burst) 214 channel = mm_app_add_channel(test_obj, [all...] |
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_unit_test.c | 44 mm_camera_test_obj_t test_obj; local 48 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t)); 49 rc = mm_app_open(cam_app, i, &test_obj); 56 rc = mm_app_close(&test_obj); 76 mm_camera_test_obj_t test_obj; local 80 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t)); 81 rc = mm_app_open(cam_app, i, &test_obj); 89 rc = mm_app_start_preview(&test_obj); 96 rc = mm_app_stop_preview(&test_obj); 104 rc |= mm_app_close(&test_obj); 124 mm_camera_test_obj_t test_obj; local 172 mm_camera_test_obj_t test_obj; local 220 mm_camera_test_obj_t test_obj; local 295 mm_camera_test_obj_t test_obj; local 394 mm_camera_test_obj_t test_obj; local 447 mm_camera_test_obj_t test_obj; local 500 mm_camera_test_obj_t test_obj; local 551 mm_camera_test_obj_t test_obj; local [all...] |
mm_qcamera_video.c | 56 mm_camera_stream_t * mm_app_add_video_stream(mm_camera_test_obj_t *test_obj, 64 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 66 stream = mm_app_add_stream(test_obj, channel); 91 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 100 mm_camera_channel_t * mm_app_add_video_channel(mm_camera_test_obj_t *test_obj) 105 channel = mm_app_add_channel(test_obj, 115 stream = mm_app_add_video_stream(test_obj, 118 (void *)test_obj, 122 mm_app_del_channel(test_obj, channel); 129 int mm_app_start_record_preview(mm_camera_test_obj_t *test_obj) [all...] |
mm_qcamera_snapshot.c | 75 int encodeData(mm_camera_test_obj_t *test_obj, mm_camera_super_buf_t* recvd_frame, 78 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 84 test_obj->current_job_frames = 86 if (!test_obj->current_job_frames) { 90 *(test_obj->current_job_frames) = *recvd_frame; 94 job.encode_job.session_id = test_obj->current_jpeg_sess_id; 114 rc = test_obj->jpeg_ops.start_job(&job, &test_obj->current_job_id); 116 free(test_obj->current_job_frames); 117 test_obj->current_job_frames = NULL [all...] |
mm_qcamera_preview.c | 149 mm_camera_stream_t * mm_app_add_preview_stream(mm_camera_test_obj_t *test_obj, 157 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 159 stream = mm_app_add_stream(test_obj, channel); 184 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 193 mm_camera_stream_t * mm_app_add_snapshot_stream(mm_camera_test_obj_t *test_obj, 202 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 204 stream = mm_app_add_stream(test_obj, channel); 234 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 243 mm_camera_channel_t * mm_app_add_preview_channel(mm_camera_test_obj_t *test_obj) 248 channel = mm_app_add_channel(test_obj, [all...] |
mm_qcamera_app.c | 440 mm_camera_test_obj_t *test_obj = local 442 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { 464 mm_camera_test_obj_t *test_obj) 471 test_obj->cam = cam_app->hal_lib.mm_camera_open(cam_id); 472 if(test_obj->cam == NULL) { 477 CDBG("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); 482 rc = mm_app_alloc_bufs(&test_obj->cap_buf, 492 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle [all...] |
mm_qcamera_rdi.c | 84 mm_camera_stream_t * mm_app_add_rdi_stream(mm_camera_test_obj_t *test_obj, 94 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 98 stream = mm_app_add_stream(test_obj, channel); 144 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 159 mm_camera_stream_t * mm_app_add_rdi_snapshot_stream(mm_camera_test_obj_t *test_obj, 168 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 170 stream = mm_app_add_stream(test_obj, channel); 200 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 209 mm_camera_channel_t * mm_app_add_rdi_channel(mm_camera_test_obj_t *test_obj, uint8_t num_burst) 214 channel = mm_app_add_channel(test_obj, [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_video.c | 56 mm_camera_stream_t * mm_app_add_video_stream(mm_camera_test_obj_t *test_obj, 64 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 66 stream = mm_app_add_stream(test_obj, channel); 91 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 100 mm_camera_channel_t * mm_app_add_video_channel(mm_camera_test_obj_t *test_obj) 105 channel = mm_app_add_channel(test_obj, 115 stream = mm_app_add_video_stream(test_obj, 118 (void *)test_obj, 122 mm_app_del_channel(test_obj, channel); 129 int mm_app_start_record_preview(mm_camera_test_obj_t *test_obj) [all...] |
mm_qcamera_preview.c | 361 mm_camera_stream_t * mm_app_add_metadata_stream(mm_camera_test_obj_t *test_obj, 369 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 371 stream = mm_app_add_stream(test_obj, channel); 396 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 405 mm_camera_stream_t * mm_app_add_preview_stream(mm_camera_test_obj_t *test_obj, 413 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 415 stream = mm_app_add_stream(test_obj, channel); 436 if ((test_obj->preview_resolution.user_input_display_width == 0) || 437 ( test_obj->preview_resolution.user_input_display_height == 0)) { 441 stream->s_config.stream_info->dim.width = test_obj->preview_resolution.user_input_display_width [all...] |
mm_qcamera_unit_test.c | 44 mm_camera_test_obj_t test_obj; local 48 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t)); 49 rc = mm_app_open(cam_app, i, &test_obj); 56 rc = mm_app_close(&test_obj); 76 mm_camera_test_obj_t test_obj; local 80 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t)); 81 rc = mm_app_open(cam_app, i, &test_obj); 89 rc = mm_app_start_preview(&test_obj); 96 rc = mm_app_stop_preview(&test_obj); 104 rc |= mm_app_close(&test_obj); 124 mm_camera_test_obj_t test_obj; local 172 mm_camera_test_obj_t test_obj; local 220 mm_camera_test_obj_t test_obj; local 295 mm_camera_test_obj_t test_obj; local 394 mm_camera_test_obj_t test_obj; local 447 mm_camera_test_obj_t test_obj; local 500 mm_camera_test_obj_t test_obj; local 553 mm_camera_test_obj_t test_obj; local 604 mm_camera_test_obj_t test_obj; local [all...] |
mm_qcamera_app.c | 460 mm_camera_test_obj_t *test_obj = local 462 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { 484 mm_camera_test_obj_t *test_obj) 491 test_obj->cam = cam_app->hal_lib.mm_camera_open(cam_id); 492 if(test_obj->cam == NULL) { 497 CDBG("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); 503 rc = mm_app_alloc_bufs(&test_obj->cap_buf, 514 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle [all...] |
mm_qcamera_reprocess.c | 106 mm_camera_stream_t * mm_app_add_reprocess_stream_from_source(mm_camera_test_obj_t *test_obj, 119 if ( ( NULL == test_obj ) || 126 cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 128 stream = mm_app_add_stream(test_obj, channel); 159 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 168 mm_camera_channel_t * mm_app_add_reprocess_channel(mm_camera_test_obj_t *test_obj, 179 channel = mm_app_add_channel(test_obj, 193 cam_capability_t *caps = ( cam_capability_t * ) ( test_obj->cap_buf.buf.buffer ); 196 pp_config.sharpness = test_obj->reproc_sharpness; 199 if (test_obj->reproc_wnr.denoise_enable) [all...] |
mm_qcamera_snapshot.c | 79 int encodeData(mm_camera_test_obj_t *test_obj, mm_camera_super_buf_t* recvd_frame, 82 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 88 test_obj->current_job_frames = 90 if (!test_obj->current_job_frames) { 94 *(test_obj->current_job_frames) = *recvd_frame; 98 job.encode_job.session_id = test_obj->current_jpeg_sess_id; 119 if (test_obj->metadata != NULL) { 120 job.encode_job.p_metadata = test_obj->metadata; 125 rc = test_obj->jpeg_ops.start_job(&job, &test_obj->current_job_id) [all...] |
mm_qcamera_rdi.c | 86 mm_camera_stream_t * mm_app_add_rdi_stream(mm_camera_test_obj_t *test_obj, 96 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 100 stream = mm_app_add_stream(test_obj, channel); 151 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 166 mm_camera_stream_t * mm_app_add_rdi_snapshot_stream(mm_camera_test_obj_t *test_obj, 175 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); 177 stream = mm_app_add_stream(test_obj, channel); 207 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 216 mm_camera_channel_t * mm_app_add_rdi_channel(mm_camera_test_obj_t *test_obj, uint8_t num_burst) 221 channel = mm_app_add_channel(test_obj, [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/inc/ |
mm_qcamera_app.h | 196 mm_camera_test_obj_t *test_obj); 197 extern int mm_app_close(mm_camera_test_obj_t *test_obj); 199 mm_camera_test_obj_t *test_obj, 204 extern int mm_app_del_channel(mm_camera_test_obj_t *test_obj, 206 extern mm_camera_stream_t * mm_app_add_stream(mm_camera_test_obj_t *test_obj, 208 extern int mm_app_del_stream(mm_camera_test_obj_t *test_obj, 211 extern int mm_app_config_stream(mm_camera_test_obj_t *test_obj, 215 extern int mm_app_start_channel(mm_camera_test_obj_t *test_obj, 217 extern int mm_app_stop_channel(mm_camera_test_obj_t *test_obj, 220 mm_camera_test_obj_t *test_obj, [all...] |
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/inc/ |
mm_qcamera_app.h | 196 mm_camera_test_obj_t *test_obj); 197 extern int mm_app_close(mm_camera_test_obj_t *test_obj); 199 mm_camera_test_obj_t *test_obj, 204 extern int mm_app_del_channel(mm_camera_test_obj_t *test_obj, 206 extern mm_camera_stream_t * mm_app_add_stream(mm_camera_test_obj_t *test_obj, 208 extern int mm_app_del_stream(mm_camera_test_obj_t *test_obj, 211 extern int mm_app_config_stream(mm_camera_test_obj_t *test_obj, 215 extern int mm_app_start_channel(mm_camera_test_obj_t *test_obj, 217 extern int mm_app_stop_channel(mm_camera_test_obj_t *test_obj, 220 mm_camera_test_obj_t *test_obj, [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/inc/ |
mm_qcamera_app.h | 335 mm_camera_test_obj_t test_obj; member in struct:__anon4443 384 mm_camera_test_obj_t *test_obj); 385 extern int mm_app_close(mm_camera_test_obj_t *test_obj); 387 mm_camera_test_obj_t *test_obj, 392 extern int mm_app_del_channel(mm_camera_test_obj_t *test_obj, 394 extern mm_camera_stream_t * mm_app_add_stream(mm_camera_test_obj_t *test_obj, 396 extern int mm_app_del_stream(mm_camera_test_obj_t *test_obj, 399 extern int mm_app_config_stream(mm_camera_test_obj_t *test_obj, 403 extern int mm_app_start_channel(mm_camera_test_obj_t *test_obj, 405 extern int mm_app_stop_channel(mm_camera_test_obj_t *test_obj, [all...] |
/external/chromium_org/build/android/pylib/device/ |
decorators_test.py | 306 test_obj = self._MethodDecoratorTestObject(self) 310 test_obj.alwaysTimesOut(timeout=1, retries=0) 316 self.assertEquals(1, test_obj.function_call_counters['alwaysTimesOut']) 320 test_obj = self._MethodDecoratorTestObject(self) 323 test_obj.alwaysRaisesCommandFailedError(retries=10) 328 11, test_obj.function_call_counters['alwaysRaisesCommandFailedError']) 332 test_obj = self._MethodDecoratorTestObject( 334 self.assertEquals(42, test_obj.alwaysReturnsTimeout()) 335 self.assertEquals(41, test_obj.alwaysReturnsTimeout(timeout=41)) 336 self.assertEquals(31, test_obj.alwaysReturnsRetries() [all...] |
/external/chromium_org/build/android/buildbot/ |
bb_run_bot.py | 25 'BotConfig', ['bot_id', 'host_obj', 'test_obj']) 105 test_obj = bot_config.test_obj 106 if test_obj: 107 run_test_cmd = [test_obj.script] + property_args 108 for test in test_obj.tests: 110 if test_obj.extra_args: 111 run_test_cmd.extend(test_obj.extra_args) 217 test_obj = bot_map[to_id].test_obj [all...] |
/external/chromium_org/base/prefs/ |
pref_member_unittest.cc | 273 PrefMemberTestClass test_obj(&prefs); 274 EXPECT_EQ("default", *test_obj.str_); 277 test_obj.str_.SetValue("hello"); 278 EXPECT_EQ(0, test_obj.observe_cnt_); 283 EXPECT_EQ(1, test_obj.observe_cnt_); 284 EXPECT_EQ("world", *(test_obj.str_)); 288 EXPECT_EQ(1, test_obj.observe_cnt_); 289 EXPECT_EQ("world", *(test_obj.str_)); 292 EXPECT_EQ(2, test_obj.observe_cnt_);
|