HomeSort by relevance Sort by last modified time
    Searched refs:test_obj (Results 1 - 25 of 34) sorted by null

1 2

  /device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
mm_qcamera_unit_test.c 47 mm_camera_test_obj_t test_obj; local
51 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t));
52 rc = mm_app_open(cam_app, i, &test_obj);
59 rc = mm_app_close(&test_obj);
79 mm_camera_test_obj_t test_obj; local
83 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t));
84 rc = mm_app_open(cam_app, i, &test_obj);
92 rc = mm_app_start_preview(&test_obj);
99 rc = mm_app_stop_preview(&test_obj);
107 rc |= mm_app_close(&test_obj);
127 mm_camera_test_obj_t test_obj; local
175 mm_camera_test_obj_t test_obj; local
223 mm_camera_test_obj_t test_obj; local
298 mm_camera_test_obj_t test_obj; local
397 mm_camera_test_obj_t test_obj; local
450 mm_camera_test_obj_t test_obj; local
503 mm_camera_test_obj_t test_obj; local
556 mm_camera_test_obj_t test_obj; local
607 mm_camera_test_obj_t test_obj; local
    [all...]
mm_qcamera_app.c 480 mm_camera_test_obj_t *test_obj = local
482 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) {
504 mm_camera_test_obj_t *test_obj)
511 rc = cam_app->hal_lib.mm_camera_open((uint8_t)cam_id, &(test_obj->cam));
512 if(rc || !test_obj->cam) {
513 LOGE("dev open error. rc = %d, vtbl = %p\n", rc, test_obj->cam);
517 LOGD("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle);
523 rc = mm_app_alloc_bufs(&test_obj->cap_buf,
534 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle
    [all...]
mm_qcamera_video.c 57 mm_camera_stream_t * mm_app_add_video_stream(mm_camera_test_obj_t *test_obj,
65 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
67 stream = mm_app_add_stream(test_obj, channel);
93 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config);
102 mm_camera_channel_t * mm_app_add_video_channel(mm_camera_test_obj_t *test_obj)
107 channel = mm_app_add_channel(test_obj,
117 stream = mm_app_add_video_stream(test_obj,
120 (void *)test_obj,
124 mm_app_del_channel(test_obj, channel);
131 int mm_app_start_record_preview(mm_camera_test_obj_t *test_obj)
    [all...]
mm_qcamera_preview.c 518 mm_camera_stream_t * mm_app_add_metadata_stream(mm_camera_test_obj_t *test_obj,
526 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
527 stream = mm_app_add_stream(test_obj, channel);
553 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config);
563 const mm_camera_test_obj_t *test_obj,
566 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
595 mm_camera_stream_t * mm_app_add_analysis_stream(mm_camera_test_obj_t *test_obj,
603 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
608 stream = mm_app_add_stream(test_obj, channel);
614 if ((test_obj->preview_resolution.user_input_display_width == 0) |
    [all...]
mm_qcamera_reprocess.c 107 mm_camera_stream_t * mm_app_add_reprocess_stream_from_source(mm_camera_test_obj_t *test_obj,
120 if ( ( NULL == test_obj ) ||
127 cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
129 stream = mm_app_add_stream(test_obj, channel);
161 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config);
170 mm_camera_channel_t * mm_app_add_reprocess_channel(mm_camera_test_obj_t *test_obj,
181 channel = mm_app_add_channel(test_obj,
195 cam_capability_t *caps = ( cam_capability_t * ) ( test_obj->cap_buf.buf.buffer );
198 pp_config.sharpness = test_obj->reproc_sharpness;
201 if (test_obj->reproc_wnr.denoise_enable)
    [all...]
mm_qcamera_snapshot.c 80 int encodeData(mm_camera_test_obj_t *test_obj, mm_camera_super_buf_t* recvd_frame,
83 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
89 test_obj->current_job_frames =
91 if (!test_obj->current_job_frames) {
95 *(test_obj->current_job_frames) = *recvd_frame;
99 job.encode_job.session_id = test_obj->current_jpeg_sess_id;
120 if (test_obj->metadata != NULL) {
121 job.encode_job.p_metadata = test_obj->metadata;
126 rc = test_obj->jpeg_ops.start_job(&job, &test_obj->current_job_id)
    [all...]
mm_qcamera_rdi.c 92 mm_camera_stream_t * mm_app_add_rdi_stream(mm_camera_test_obj_t *test_obj,
102 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
139 rc = setmetainfoCommand(test_obj, &abc);
144 stream = mm_app_add_stream(test_obj, channel);
178 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config);
193 mm_camera_stream_t * mm_app_add_rdi_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);
235 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config);
244 mm_camera_channel_t * mm_app_add_rdi_channel(mm_camera_test_obj_t *test_obj, uint8_t num_burst
    [all...]
  /hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
mm_qcamera_unit_test.c 47 mm_camera_test_obj_t test_obj; local
51 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t));
52 rc = mm_app_open(cam_app, i, &test_obj);
59 rc = mm_app_close(&test_obj);
79 mm_camera_test_obj_t test_obj; local
83 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t));
84 rc = mm_app_open(cam_app, i, &test_obj);
92 rc = mm_app_start_preview(&test_obj);
99 rc = mm_app_stop_preview(&test_obj);
107 rc |= mm_app_close(&test_obj);
127 mm_camera_test_obj_t test_obj; local
175 mm_camera_test_obj_t test_obj; local
225 mm_camera_test_obj_t test_obj; local
302 mm_camera_test_obj_t test_obj; local
403 mm_camera_test_obj_t test_obj; local
456 mm_camera_test_obj_t test_obj; local
509 mm_camera_test_obj_t test_obj; local
562 mm_camera_test_obj_t test_obj; local
613 mm_camera_test_obj_t test_obj; local
    [all...]
mm_qcamera_app.c 487 mm_camera_test_obj_t *test_obj = local
489 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) {
511 mm_camera_test_obj_t *test_obj)
518 rc = cam_app->hal_lib.mm_camera_open((uint8_t)cam_id, &(test_obj->cam));
519 if(rc || !test_obj->cam) {
520 LOGE("dev open error. rc = %d, vtbl = %p\n", rc, test_obj->cam);
524 LOGD("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle);
530 rc = mm_app_alloc_bufs(&test_obj->cap_buf,
541 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle
    [all...]
mm_qcamera_preview.c 621 mm_camera_stream_t * mm_app_add_metadata_stream(mm_camera_test_obj_t *test_obj,
629 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
630 stream = mm_app_add_stream(test_obj, channel);
658 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config);
668 const mm_camera_test_obj_t *test_obj,
671 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
700 mm_camera_stream_t * mm_app_add_analysis_stream(mm_camera_test_obj_t *test_obj,
708 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
712 if ((test_obj->preview_resolution.user_input_display_width == 0) ||
713 ( test_obj->preview_resolution.user_input_display_height == 0))
    [all...]
mm_qcamera_reprocess.c 107 mm_camera_stream_t * mm_app_add_reprocess_stream_from_source(mm_camera_test_obj_t *test_obj,
120 if ( ( NULL == test_obj ) ||
127 cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
129 stream = mm_app_add_stream(test_obj, channel);
162 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config);
171 mm_camera_channel_t * mm_app_add_reprocess_channel(mm_camera_test_obj_t *test_obj,
182 channel = mm_app_add_channel(test_obj,
196 cam_capability_t *caps = ( cam_capability_t * ) ( test_obj->cap_buf.buf.buffer );
199 pp_config.sharpness = test_obj->reproc_sharpness;
202 if (test_obj->reproc_wnr.denoise_enable)
    [all...]
mm_qcamera_video.c 335 mm_camera_stream_t * mm_app_add_video_preview_stream(mm_camera_test_obj_t *test_obj,
343 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
346 if ((test_obj->preview_resolution.user_input_display_width == 0) ||
347 ( test_obj->preview_resolution.user_input_display_height == 0)) {
351 preview_dim.width = test_obj->preview_resolution.user_input_display_width;
352 preview_dim.height = test_obj->preview_resolution.user_input_display_height;
356 stream = mm_app_add_stream(test_obj, channel);
384 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config);
394 mm_camera_stream_t * mm_app_add_video_snapshot_stream(mm_camera_test_obj_t *test_obj,
403 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer)
    [all...]
mm_qcamera_snapshot.c 80 int encodeData(mm_camera_test_obj_t *test_obj, mm_camera_super_buf_t* recvd_frame,
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;
117 test_obj->mExifParams.sensor_params.sens_type = CAM_SENSOR_RAW;
118 job.encode_job.cam_exif_params = test_obj->mExifParams;
122 if (test_obj->mExifParams.debug_params) {
124 test_obj->mExifParams.debug_params, (sizeof(mm_jpeg_debug_exif_params_t)));
129 if (test_obj->metadata != NULL)
    [all...]
mm_qcamera_rdi.c 91 mm_camera_stream_t * mm_app_add_rdi_stream(mm_camera_test_obj_t *test_obj,
101 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
138 rc = setmetainfoCommand(test_obj, &abc);
143 stream = mm_app_add_stream(test_obj, channel);
179 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config);
194 mm_camera_stream_t * mm_app_add_rdi_snapshot_stream(mm_camera_test_obj_t *test_obj,
203 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer);
205 stream = mm_app_add_stream(test_obj, channel);
238 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config);
247 mm_camera_channel_t * mm_app_add_rdi_channel(mm_camera_test_obj_t *test_obj, uint8_t num_burst
    [all...]
  /system/chre/apps/wifi_offload/test/
flatbuffersserialization_test.cc 45 TypeParam test_obj; local
46 init(test_obj, this->random_gen_);
48 size_t required_buff_size = Serialize(test_obj, nullptr, 0);
51 size_t serialized_size = Serialize(test_obj, this->buffer, this->kBufferLen);
59 TypeParam test_obj; local
60 init(test_obj, this->random_gen_);
62 size_t serialized_size = Serialize(test_obj, this->buffer, this->kBufferLen);
67 EXPECT_EQ(test_obj, deserialized_obj);
71 TypeParam test_obj; local
72 init(test_obj, this->random_gen_)
79 TypeParam test_obj; local
    [all...]
offloadtypes_test.cc 49 TestType test_obj; local
50 init(test_obj, random_gen_);
51 builder.Finish(test_obj.Serialize(&builder));
67 EXPECT_EQ(test_obj, deserialized_obj);
  /device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/
mm_qcamera_app.h 335 mm_camera_test_obj_t test_obj; member in struct:__anon2503
351 extern int setmetainfoCommand(mm_camera_test_obj_t *test_obj,
386 mm_camera_test_obj_t *test_obj);
387 extern int mm_app_close(mm_camera_test_obj_t *test_obj);
389 mm_camera_test_obj_t *test_obj,
394 extern int mm_app_del_channel(mm_camera_test_obj_t *test_obj,
396 extern mm_camera_stream_t * mm_app_add_stream(mm_camera_test_obj_t *test_obj,
398 extern int mm_app_del_stream(mm_camera_test_obj_t *test_obj,
401 extern int mm_app_config_stream(mm_camera_test_obj_t *test_obj,
405 extern int mm_app_start_channel(mm_camera_test_obj_t *test_obj,
    [all...]
  /hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/
mm_qcamera_app.h 349 mm_camera_test_obj_t test_obj; member in struct:__anon49311
365 extern int setmetainfoCommand(mm_camera_test_obj_t *test_obj,
402 mm_camera_test_obj_t *test_obj);
403 extern int mm_app_close(mm_camera_test_obj_t *test_obj);
405 mm_camera_test_obj_t *test_obj,
410 extern int mm_app_del_channel(mm_camera_test_obj_t *test_obj,
412 extern mm_camera_stream_t * mm_app_add_stream(mm_camera_test_obj_t *test_obj,
414 extern int mm_app_del_stream(mm_camera_test_obj_t *test_obj,
417 extern int mm_app_config_stream(mm_camera_test_obj_t *test_obj,
421 extern int mm_app_start_channel(mm_camera_test_obj_t *test_obj,
    [all...]
  /external/chromium-trace/catapult/devil/devil/android/
decorators_test.py 282 test_obj = self._MethodDecoratorTestObject(self)
286 test_obj.alwaysTimesOut(timeout=1, retries=0)
292 self.assertEquals(1, test_obj.function_call_counters['alwaysTimesOut'])
296 test_obj = self._MethodDecoratorTestObject(self)
299 test_obj.alwaysRaisesCommandFailedError(retries=10)
304 11, test_obj.function_call_counters['alwaysRaisesCommandFailedError'])
308 test_obj = self._MethodDecoratorTestObject(
310 self.assertEquals(42, test_obj.alwaysReturnsTimeout())
311 self.assertEquals(41, test_obj.alwaysReturnsTimeout(timeout=41))
312 self.assertEquals(31, test_obj.alwaysReturnsRetries()
    [all...]
  /external/libmojo/third_party/catapult/devil/devil/android/
decorators_test.py 282 test_obj = self._MethodDecoratorTestObject(self)
286 test_obj.alwaysTimesOut(timeout=1, retries=0)
292 self.assertEquals(1, test_obj.function_call_counters['alwaysTimesOut'])
296 test_obj = self._MethodDecoratorTestObject(self)
299 test_obj.alwaysRaisesCommandFailedError(retries=10)
304 11, test_obj.function_call_counters['alwaysRaisesCommandFailedError'])
308 test_obj = self._MethodDecoratorTestObject(
310 self.assertEquals(42, test_obj.alwaysReturnsTimeout())
311 self.assertEquals(41, test_obj.alwaysReturnsTimeout(timeout=41))
312 self.assertEquals(31, test_obj.alwaysReturnsRetries()
    [all...]
  /system/update_engine/update_manager/
generic_variables_unittest.cc 125 CopyConstructorTestClass test_obj; local
126 ASSERT_FALSE(test_obj.copied_);
127 test_obj.val_ = 5;
130 test_func, &test_obj);
135 EXPECT_EQ(6, test_obj.val_); // Check that the function was called.
  /hardware/qcom/camera/msm8998/QCamera2/HAL3/test/
QCameraHAL3RawSnapshotTest.cpp 52 configureRawSnapshotStream(&(handle->test_obj), camid, w, h);
53 constructDefaultRequest(&(handle->test_obj), 0);
59 rawProcessCaptureRequest(&(handle->test_obj), 0);
123 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj);
153 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj);
QCameraHAL3SnapshotTest.cpp 53 configureSnapshotStream(&(handle->test_obj), camid, w, h);
55 constructDefaultRequest(&(handle->test_obj), 0);
61 snapshotProcessCaptureRequest(&(handle->test_obj), 0);
122 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj);
153 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj);
  /external/autotest/client/common_lib/
powerplay_util.py 19 def __init__(self, test_obj, record_interval=0):
22 @param test_obj: test object.
25 self.test = test_obj
  /test/vts-testcase/kernel/api/selinux/
VtsKernelSelinuxFileApiTest.py 78 name_func=lambda test_obj: "test" + test_obj.__class__.__name__)

Completed in 429 milliseconds

1 2