OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f36d1a
)
update struct-offset.cpp test for camera API 2.3
author
Greg Hackmann
<ghackmann@google.com>
Fri, 13 Jun 2014 20:52:48 +0000
(13:52 -0700)
committer
Greg Hackmann
<ghackmann@google.com>
Fri, 13 Jun 2014 20:52:48 +0000
(13:52 -0700)
Change-Id: I2f63f9f5e567099ea9d0005317f7a745c5a63ca6
Signed-off-by: Greg Hackmann <ghackmann@google.com>
tests/hardware/struct-offset.cpp
patch
|
blob
|
history
diff --git
a/tests/hardware/struct-offset.cpp
b/tests/hardware/struct-offset.cpp
index
6abe360
..
8e5aa40
100644
(file)
--- a/
tests/hardware/struct-offset.cpp
+++ b/
tests/hardware/struct-offset.cpp
@@
-208,7
+208,8
@@
void CheckOffsets(void) {
CHECK_MEMBER_AT(camera_module_t, get_camera_info, 132, 256);
CHECK_MEMBER_AT(camera_module_t, set_callbacks, 136, 264);
CHECK_MEMBER_AT(camera_module_t, get_vendor_tag_ops, 140, 272);
- CHECK_MEMBER_AT(camera_module_t, reserved, 144, 280);
+ CHECK_MEMBER_AT(camera_module_t, open_legacy, 144, 280);
+ CHECK_MEMBER_AT(camera_module_t, reserved, 148, 288);
//Types defined in camera3.h
CHECK_MEMBER_AT(camera3_device_ops_t, initialize, 0, 0);