OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Fix build because of addition of new Radio API to VTS." am: 801f78cc05 am...
Sanket Padawe [Fri, 17 Feb 2017 04:38:21 +0000 (04:38 +0000)]
Merge "Fix build because of addition of new Radio API to VTS." am: 801f78cc05 am: c75e2f8d6b am: cde49bb624
am: f92167fbf4

Change-Id: Ied80223d77825eac6c18c55aafee26222eab4841

7 years agoMerge "[AWARE] Update comments on transmit followup status codes" am: 2eff5c85fe...
Etan Cohen [Fri, 17 Feb 2017 04:37:57 +0000 (04:37 +0000)]
Merge "[AWARE] Update comments on transmit followup status codes" am: 2eff5c85fe am: 6083ae3a53 am: 9d54798e4b
am: c57bab48a2

Change-Id: If1bec255643a5afdefa3a901c547c7eae07cc2c7

7 years agoMerge "Added the new RIL request to set SIM power state" am: aefd232011 am: e23876d11...
Jack Yu [Fri, 17 Feb 2017 04:34:57 +0000 (04:34 +0000)]
Merge "Added the new RIL request to set SIM power state" am: aefd232011 am: e23876d113 am: 437d7f8b30
am: 466cb0513d  -s ours

Change-Id: Ic1100ef3449b8e3bf21740697f5d5d2059ce53b5

7 years agoMerge "Fix build because of addition of new Radio API to VTS." am: 801f78cc05 am...
Sanket Padawe [Fri, 17 Feb 2017 02:41:32 +0000 (02:41 +0000)]
Merge "Fix build because of addition of new Radio API to VTS." am: 801f78cc05 am: c75e2f8d6b
am: cde49bb624

Change-Id: I35601ea85ab1afdd254ecc0ba1ac1b3c2094bba2

7 years agoMerge "Fix build because of addition of new Radio API to VTS." am: 801f78cc05
Sanket Padawe [Fri, 17 Feb 2017 02:37:01 +0000 (02:37 +0000)]
Merge "Fix build because of addition of new Radio API to VTS." am: 801f78cc05
am: c75e2f8d6b

Change-Id: I543eabe7db997a0cba87b250fbcd4566455351a7

7 years agoMerge "Fix build because of addition of new Radio API to VTS."
Sanket Padawe [Fri, 17 Feb 2017 02:32:32 +0000 (02:32 +0000)]
Merge "Fix build because of addition of new Radio API to VTS."
am: 801f78cc05

Change-Id: Ia15071f76ea9a39088029dc9610a4d9aa780e0d7

7 years agoMerge "Fix build because of addition of new Radio API to VTS."
Sanket Padawe [Fri, 17 Feb 2017 02:26:01 +0000 (02:26 +0000)]
Merge "Fix build because of addition of new Radio API to VTS."

7 years agoMerge "[AWARE] Update comments on transmit followup status codes" am: 2eff5c85fe...
Etan Cohen [Fri, 17 Feb 2017 02:15:41 +0000 (02:15 +0000)]
Merge "[AWARE] Update comments on transmit followup status codes" am: 2eff5c85fe am: 6083ae3a53
am: 9d54798e4b

Change-Id: If1785ca58a770e5554cbc6b18d744c914478225e

7 years agoFix build because of addition of new Radio API to VTS.
Sanket Padawe [Fri, 17 Feb 2017 02:11:34 +0000 (18:11 -0800)]
Fix build because of addition of new Radio API to VTS.

Test: Tested build success. mma over hardware/interfaces/radio/1.0/vts

Change-Id: Ie4258573367c7448b1689010492c34e03124384d

7 years agoMerge "[AWARE] Update comments on transmit followup status codes" am: 2eff5c85fe
Etan Cohen [Fri, 17 Feb 2017 02:11:09 +0000 (02:11 +0000)]
Merge "[AWARE] Update comments on transmit followup status codes" am: 2eff5c85fe
am: 6083ae3a53

Change-Id: Ia3e184832465c0a476307ab4dc4d2cbb37d8aa61

7 years agoMerge "[AWARE] Update comments on transmit followup status codes"
Etan Cohen [Fri, 17 Feb 2017 02:07:08 +0000 (02:07 +0000)]
Merge "[AWARE] Update comments on transmit followup status codes"
am: 2eff5c85fe

Change-Id: If40151454a51d0b41bfaa0adb74f291a98fb2770

7 years agoMerge "[AWARE] Update comments on transmit followup status codes"
Etan Cohen [Fri, 17 Feb 2017 01:58:06 +0000 (01:58 +0000)]
Merge "[AWARE] Update comments on transmit followup status codes"

7 years agoMerge "Added the new RIL request to set SIM power state" am: aefd232011 am: e23876d113
Jack Yu [Fri, 17 Feb 2017 01:41:00 +0000 (01:41 +0000)]
Merge "Added the new RIL request to set SIM power state" am: aefd232011 am: e23876d113
am: 437d7f8b30

Change-Id: Ie388f18bb77148a3e993108f46ca152b2b8e4093

7 years agoMerge "Added the new RIL request to set SIM power state" am: aefd232011
Jack Yu [Fri, 17 Feb 2017 01:31:59 +0000 (01:31 +0000)]
Merge "Added the new RIL request to set SIM power state" am: aefd232011
am: e23876d113

Change-Id: I802a63433b87d2b5e4732861dcf0afee28f64eb2

7 years agoMerge "wifi(implementation): Initialize flags before conversion" am: c00fc1ff6b am...
Roshan Pius [Fri, 17 Feb 2017 01:22:37 +0000 (01:22 +0000)]
Merge "wifi(implementation): Initialize flags before conversion" am: c00fc1ff6b am: 5298a432f6 am: 17382c1d54
am: 4a4ceca10d

Change-Id: I7dbe9edc6a46ba8db4592984f158b7dd5e85d428

7 years agoMerge "Added the new RIL request to set SIM power state"
Jack Yu [Fri, 17 Feb 2017 01:22:29 +0000 (01:22 +0000)]
Merge "Added the new RIL request to set SIM power state"
am: aefd232011

Change-Id: Ic1bb95615ad5c09110ceabce352938386356fb55

7 years agoMerge "wifi(implementation): Initialize flags before conversion" am: c00fc1ff6b am...
Roshan Pius [Fri, 17 Feb 2017 01:17:07 +0000 (01:17 +0000)]
Merge "wifi(implementation): Initialize flags before conversion" am: c00fc1ff6b am: 5298a432f6
am: 17382c1d54

Change-Id: I4e19145ca297234f9f3b9b370215f13de98801e5

7 years agoMerge "Added the new RIL request to set SIM power state"
Treehugger Robot [Fri, 17 Feb 2017 01:13:25 +0000 (01:13 +0000)]
Merge "Added the new RIL request to set SIM power state"

7 years agoMerge "wifi(implementation): Initialize flags before conversion" am: c00fc1ff6b
Roshan Pius [Fri, 17 Feb 2017 01:13:07 +0000 (01:13 +0000)]
Merge "wifi(implementation): Initialize flags before conversion" am: c00fc1ff6b
am: 5298a432f6

Change-Id: I7d738dbf72ca47ac88cb88ed1bee8f2616c2ed36

7 years agoMerge "wifi(implementation): Initialize flags before conversion"
Roshan Pius [Fri, 17 Feb 2017 01:08:38 +0000 (01:08 +0000)]
Merge "wifi(implementation): Initialize flags before conversion"
am: c00fc1ff6b

Change-Id: Ied9e61cb69e4d48d47f4d52191154fa4616ddd5d

7 years agoMerge "Review radio metadata allocations/deallocations."
Tomasz Wasilczyk [Fri, 17 Feb 2017 01:07:46 +0000 (01:07 +0000)]
Merge "Review radio metadata allocations/deallocations."

7 years agoMerge "wifi(implementation): Initialize flags before conversion"
Treehugger Robot [Fri, 17 Feb 2017 00:59:28 +0000 (00:59 +0000)]
Merge "wifi(implementation): Initialize flags before conversion"

7 years agoMerge "media: Update IGraphicBufferSource interface for the timestamp support."
Hangyu Kuang [Fri, 17 Feb 2017 00:26:04 +0000 (00:26 +0000)]
Merge "media: Update IGraphicBufferSource interface for the timestamp support."

7 years agoMerge "Seed CL for radio VTS." am: 7d86d72356 am: d7814de27c am: 83e04fd3e9
Sanket Padawe [Thu, 16 Feb 2017 23:58:51 +0000 (23:58 +0000)]
Merge "Seed CL for radio VTS." am: 7d86d72356 am: d7814de27c am: 83e04fd3e9
am: 8833640eb3

Change-Id: Iadcaed5c0e456e1c4801ce18ec65c186c72ceec9

7 years agoMerge "Seed CL for radio VTS." am: 7d86d72356 am: d7814de27c
Sanket Padawe [Thu, 16 Feb 2017 23:54:50 +0000 (23:54 +0000)]
Merge "Seed CL for radio VTS." am: 7d86d72356 am: d7814de27c
am: 83e04fd3e9

Change-Id: I5719abfa0e0e9678655fded4aefa2b4d19889520

7 years agoMerge "Seed CL for radio VTS." am: 7d86d72356
Sanket Padawe [Thu, 16 Feb 2017 23:50:20 +0000 (23:50 +0000)]
Merge "Seed CL for radio VTS." am: 7d86d72356
am: d7814de27c

Change-Id: I0f4c1729a77ff67026e7ba113c516e24ae69ffe4

7 years agoMerge "Seed CL for radio VTS."
Sanket Padawe [Thu, 16 Feb 2017 23:46:20 +0000 (23:46 +0000)]
Merge "Seed CL for radio VTS."
am: 7d86d72356

Change-Id: I193bc0446842ae1addd838adcefa7a5275535654

7 years agoMerge "Seed CL for radio VTS."
Sanket Padawe [Thu, 16 Feb 2017 23:38:02 +0000 (23:38 +0000)]
Merge "Seed CL for radio VTS."

7 years agoMerge "Added the new RIL request to set SIM power state"
TreeHugger Robot [Thu, 16 Feb 2017 22:38:41 +0000 (22:38 +0000)]
Merge "Added the new RIL request to set SIM power state"

7 years agosupplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29 am...
Roshan Pius [Thu, 16 Feb 2017 22:05:30 +0000 (22:05 +0000)]
supplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29 am: bc30b55f06 am: 58844785a5
am: 021f1e758b

Change-Id: Idc40c2668e27a1367c251953b4b55da7d4062d9d

7 years agoAdded the new RIL request to set SIM power state
Jack Yu [Wed, 15 Feb 2017 23:31:34 +0000 (15:31 -0800)]
Added the new RIL request to set SIM power state

The new RIL request for powering up/down the SIM card.

Test: Telephony sanity tests
bug: 32224755
Merged-In: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe
Change-Id: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe

7 years agosupplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29 am...
Roshan Pius [Thu, 16 Feb 2017 22:01:02 +0000 (22:01 +0000)]
supplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29 am: bc30b55f06
am: 58844785a5

Change-Id: If40eb51b5175b09abad77e3c9ebae67ff5bb8eb6

7 years agosupplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29
Roshan Pius [Thu, 16 Feb 2017 21:56:58 +0000 (21:56 +0000)]
supplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29
am: bc30b55f06

Change-Id: If5e25b45fa8a4ad617eb6e398534d0290c673498

7 years agosupplicant(interface): Add new EAP phase 2 type and NFC methods
Roshan Pius [Thu, 16 Feb 2017 21:53:16 +0000 (21:53 +0000)]
supplicant(interface): Add new EAP phase 2 type and NFC methods
am: 72b5eb0f29

Change-Id: If855f86cdca0716404d33dd488ad0554ceb40825

7 years agoSeed CL for radio VTS.
Sanket Padawe [Tue, 7 Feb 2017 23:58:34 +0000 (15:58 -0800)]
Seed CL for radio VTS.

Test: VTS test succeeds
Bug: 32022332
Change-Id: I3127826cad4c97db9a8ff77bdb80ad1c848751c6

7 years agowifi(implementation): Initialize flags before conversion
Roshan Pius [Thu, 16 Feb 2017 20:43:17 +0000 (12:43 -0800)]
wifi(implementation): Initialize flags before conversion

There are a few flags which were not being reset before conversion in
hidl_struct_util.cpp. Fix those.

Bug: 35432118
Test: Compiles & tested with calling code changes.
Change-Id: If652ceed856cacf412f4dbf8eedbc351d04b6b89

7 years agoMerge "Initial submit of Vehicle HAL 2.1"
TreeHugger Robot [Thu, 16 Feb 2017 20:43:35 +0000 (20:43 +0000)]
Merge "Initial submit of Vehicle HAL 2.1"

7 years agosupplicant(interface): Add new EAP phase 2 type and NFC methods
Roshan Pius [Mon, 13 Feb 2017 21:19:38 +0000 (13:19 -0800)]
supplicant(interface): Add new EAP phase 2 type and NFC methods

These new EAP methods were recently added in b/34835771. Add HIDL
support for them.

Bug: 35270422
Bug: 35311730
Test: Compiles
Change-Id: I3488f5e49ff72fe1717a16c27ffbe45ac2a8ebf4

7 years agoMerge "RenderScript HIDL HAL definition and server-side implementation."
Miao Wang [Thu, 16 Feb 2017 18:55:58 +0000 (18:55 +0000)]
Merge "RenderScript HIDL HAL definition and server-side implementation."

7 years agoUpdate tests for enforcing minor version upgrade. am: 6283d249f9 am: 811652124d am...
Yifan Hong [Thu, 16 Feb 2017 18:49:07 +0000 (18:49 +0000)]
Update tests for enforcing minor version upgrade. am: 6283d249f9 am: 811652124d am: 10a766ff2c
am: a056eaeb17

Change-Id: Ie4e38bbdd3b4d824d3e1afeb0a8d7a37c9acff19

7 years agoUpdate tests for enforcing minor version upgrade. am: 6283d249f9 am: 811652124d
Yifan Hong [Thu, 16 Feb 2017 18:44:29 +0000 (18:44 +0000)]
Update tests for enforcing minor version upgrade. am: 6283d249f9 am: 811652124d
am: 10a766ff2c

Change-Id: I2368b44257ada459791a7cb3ca39a729472030bf

7 years agoUpdate tests for enforcing minor version upgrade. am: 6283d249f9
Yifan Hong [Thu, 16 Feb 2017 18:40:29 +0000 (18:40 +0000)]
Update tests for enforcing minor version upgrade. am: 6283d249f9
am: 811652124d

Change-Id: I2f9f2c3a0b3b5c57b59ab9c7753f07ec26e5928b

7 years agoAdded the new RIL request to set SIM power state
Jack Yu [Wed, 15 Feb 2017 23:31:34 +0000 (15:31 -0800)]
Added the new RIL request to set SIM power state

The new RIL request for powering up/down the SIM card.

Test: Telephony sanity tests
bug: 32224755
Change-Id: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe

7 years agoUpdate tests for enforcing minor version upgrade.
Yifan Hong [Thu, 16 Feb 2017 18:36:29 +0000 (18:36 +0000)]
Update tests for enforcing minor version upgrade.
am: 6283d249f9

Change-Id: I971c779ad54e8b7fb8f5129e4b36aa499fc0d8e9

7 years ago[AWARE] Update comments on transmit followup status codes
Etan Cohen [Thu, 16 Feb 2017 16:29:35 +0000 (08:29 -0800)]
[AWARE] Update comments on transmit followup status codes

Fix documentation of transmit followup status codes.

Bug: 34888409
Test: builds (only comment changes)
Change-Id: I8c55c627a0ecac625cb574988b2b860070254527

7 years agoUpdate tests for enforcing minor version upgrade.
Yifan Hong [Wed, 15 Feb 2017 23:18:19 +0000 (15:18 -0800)]
Update tests for enforcing minor version upgrade.

Test: ./hardware/interfaces/update-makefiles.sh
Test: mma

Bug: 28825532

Change-Id: I1ae86f597f184d75ad5476b248e03248346b0c33

7 years agoMerge "update-makefiles.sh" am: dcec84e96c am: 1eed5f2d5d am: 238c76ee22
Steven Moreland [Thu, 16 Feb 2017 06:03:19 +0000 (06:03 +0000)]
Merge "update-makefiles.sh" am: dcec84e96c am: 1eed5f2d5d am: 238c76ee22
am: 67188b98a8

Change-Id: I781587bacb5fb165d54d42bf7c8a87db7ef322f1

7 years agoMerge "update-makefiles.sh" am: dcec84e96c am: 1eed5f2d5d
Steven Moreland [Thu, 16 Feb 2017 05:59:08 +0000 (05:59 +0000)]
Merge "update-makefiles.sh" am: dcec84e96c am: 1eed5f2d5d
am: 238c76ee22

Change-Id: Ibc5871e70fb648c823623ca47990dd7c041dc987

7 years agoMerge "update-makefiles.sh" am: dcec84e96c
Steven Moreland [Thu, 16 Feb 2017 05:55:08 +0000 (05:55 +0000)]
Merge "update-makefiles.sh" am: dcec84e96c
am: 1eed5f2d5d

Change-Id: Ic745f9bd08c20c408e21459616bdf42e688f9d28

7 years agoMerge "update-makefiles.sh"
Steven Moreland [Thu, 16 Feb 2017 05:51:07 +0000 (05:51 +0000)]
Merge "update-makefiles.sh"
am: dcec84e96c

Change-Id: If6fcacee6314035e217d291c231c06320f4ab21e

7 years agoMerge "update-makefiles.sh"
Steven Moreland [Thu, 16 Feb 2017 05:48:01 +0000 (05:48 +0000)]
Merge "update-makefiles.sh"

7 years agoMerge changes from topic 'cfg_nsfbuf'
Jaesoo Lee [Thu, 16 Feb 2017 05:27:03 +0000 (05:27 +0000)]
Merge changes from topic 'cfg_nsfbuf'

* changes:
  configstore: add new configuration item
  configstore: add utility library functions for configstore

7 years agoMerge "Protect against null strings in hal wrapper implementation."
TreeHugger Robot [Thu, 16 Feb 2017 04:54:00 +0000 (04:54 +0000)]
Merge "Protect against null strings in hal wrapper implementation."

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc...
Hridya Valsaraju [Thu, 16 Feb 2017 02:10:31 +0000 (02:10 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc am: f869630d3b am: 02bcec2054
am: a7c7253bf3

Change-Id: I8c092e5b2d40d2a0ee0bf511c44b2587f6b6d2e6

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc...
Hridya Valsaraju [Thu, 16 Feb 2017 02:06:29 +0000 (02:06 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc am: f869630d3b
am: 02bcec2054

Change-Id: I7f19f01e1434b507af6af5fa41b58617018f8b3e

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc
Hridya Valsaraju [Thu, 16 Feb 2017 02:02:54 +0000 (02:02 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc
am: f869630d3b

Change-Id: I3f32ced1c079671db27be1e8d63af620d5bbc440

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ."
Hridya Valsaraju [Thu, 16 Feb 2017 01:58:57 +0000 (01:58 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ."
am: 02f3f834fc

Change-Id: I1ecbf5eee1c298405c3385e320a61577fafdb18e

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ."
Treehugger Robot [Thu, 16 Feb 2017 01:48:06 +0000 (01:48 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ."

7 years agoProtect against null strings in hal wrapper implementation.
Ashutosh Joshi [Thu, 16 Feb 2017 01:00:27 +0000 (17:00 -0800)]
Protect against null strings in hal wrapper implementation.

Some HALs may provide null pointers in lieu of empty strings.
Avoid simple copies of these strings.

Bug: 35384551
Test: Verify affected device (Pixel-C) boots and auto-rotate works.
Change-Id: I37ab6e781d6dfdcc1667bcc0467690f7c2c9a557

7 years agoReview radio metadata allocations/deallocations.
Tomasz Wasilczyk [Thu, 16 Feb 2017 00:57:00 +0000 (16:57 -0800)]
Review radio metadata allocations/deallocations.

Bug: b/34054813
Test: VTS, manual
Change-Id: I5533c10c34634ef35eaa436653887fa2bc409006

7 years agoMerge "Move example extensions to test folder."
TreeHugger Robot [Thu, 16 Feb 2017 00:21:12 +0000 (00:21 +0000)]
Merge "Move example extensions to test folder."

7 years agoRenderScript HIDL HAL definition and server-side implementation.
Miao Wang [Fri, 20 Jan 2017 18:30:38 +0000 (10:30 -0800)]
RenderScript HIDL HAL definition and server-side implementation.

Contains the definition and implementation of the HAL.

Bug: 34396220

Test: mm, all cts tests pass on bullhead and sailfish
Change-Id: Ic560efef34f647f441c32ba01ca29d83a3d98b69

7 years agoconfigstore: add new configuration item
Jaesoo Lee [Mon, 23 Jan 2017 10:09:02 +0000 (19:09 +0900)]
configstore: add new configuration item

This change adds to configstore@1.0 HAL a new configuration item
for surfaceflinger; useTripleFramebuffer()

In the default implementation, useTripleFramebuffer() will return true
only if the build flag NUM_FRAMEBUFFER_SURFACE_BUFFERS is defined as 3.

Bug: 34723491
Test: build & run. log message "SurfaceFlinger FrameBuffer: ?"
      should be seen.

Change-Id: Iac97e25cd69717c73a135f6b2a44538124544987

7 years agoconfigstore: add utility library functions for configstore
Jaesoo Lee [Mon, 23 Jan 2017 10:09:02 +0000 (19:09 +0900)]
configstore: add utility library functions for configstore

this change adds a set of library functions to facilitate
accessing(retrieving) configuration items.

Specifically, added template functions for accessing configuration
items for following types:

OptionalBool, OptionalInt32, OptionalUInt32, OptionalInt64,
OptionalUInt64, OptionalString

Design doc: go/design-confighal
Bug: 34724435
Test: build, run

Change-Id: Icca56d0d9e086b9d94c9b1168df041bf7d418698

7 years agowifi(vts): simplify HIDL calls am: 90f321722c am: c5aeaa22fc am: 39d8cb99a4
mukesh agrawal [Wed, 15 Feb 2017 23:03:52 +0000 (23:03 +0000)]
wifi(vts): simplify HIDL calls am: 90f321722c am: c5aeaa22fc am: 39d8cb99a4
am: 3dbc0add6a

Change-Id: I286c2a62b2050ada056abd09b83d532d30f78eb2

7 years agowifi(vts): simplify HIDL calls am: 90f321722c am: c5aeaa22fc
mukesh agrawal [Wed, 15 Feb 2017 22:42:51 +0000 (22:42 +0000)]
wifi(vts): simplify HIDL calls am: 90f321722c am: c5aeaa22fc
am: 39d8cb99a4

Change-Id: Ic9f63abc2e508f8dfef5520d3e6aec4e54e58853

7 years agowifi(vts): simplify HIDL calls am: 90f321722c
mukesh agrawal [Wed, 15 Feb 2017 22:38:38 +0000 (22:38 +0000)]
wifi(vts): simplify HIDL calls am: 90f321722c
am: c5aeaa22fc

Change-Id: I8ed6215038c2d04dcfde349f651e54d0589366c2

7 years agoMerge "Update HIDL with CompositorTiming."
Brian C. Anderson [Wed, 15 Feb 2017 22:32:45 +0000 (22:32 +0000)]
Merge "Update HIDL with CompositorTiming."

7 years agowifi(vts): simplify HIDL calls
mukesh agrawal [Wed, 15 Feb 2017 22:31:08 +0000 (22:31 +0000)]
wifi(vts): simplify HIDL calls
am: 90f321722c

Change-Id: Ideb1faa2adfc47831e5e4b94b9961c7e91702b18

7 years agoMove example extensions to test folder.
Steven Moreland [Wed, 15 Feb 2017 18:54:01 +0000 (10:54 -0800)]
Move example extensions to test folder.

Fixes: 34969978
Test: hal registers itself and works.

Change-Id: I9e4795b1acbabceed017c469b89baea7e529308a

7 years agowifi(vts): simplify HIDL calls
mukesh agrawal [Thu, 26 Jan 2017 03:43:08 +0000 (19:43 -0800)]
wifi(vts): simplify HIDL calls

Presently, the core of the Wifi test logic is
obscured by the boilerplate required to create
a callback.

This CL provides some utilities to simplify
the creation of a HIDL result callback, and
migrates existing Wifi code to use the new
utilities.

Along the way: add a .clang-format file, so
that I don't misformat code with 2-space
indents (the Google default).

Bug: 34817351
Test: vts-tradefed run commandAndExit vts --module=HalWifiHidlTargetTest
Change-Id: Id2c728f96c3369c74adc8dfce7228b0a15a0781e

7 years agoupdate-makefiles.sh
Steven Moreland [Wed, 15 Feb 2017 18:59:23 +0000 (10:59 -0800)]
update-makefiles.sh

There have been some changes to the way hidl-gen generates these and
some CLs got out of sync with hidl-gen.

Test: pass
Change-Id: I33c573499d5dd37de447902fd93929b80a5df371

7 years agoMerge "Remove coverage flags from tests."
TreeHugger Robot [Wed, 15 Feb 2017 18:47:47 +0000 (18:47 +0000)]
Merge "Remove coverage flags from tests."

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4 am: 224d83b4...
Etan Cohen [Wed, 15 Feb 2017 15:09:01 +0000 (15:09 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4 am: 224d83b432 am: a0e225ec89
am: 00536359a3

Change-Id: Ie971d01fc5b4201aad51f2943fcd4a165b2eb26a

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4 am: 224d83b432
Etan Cohen [Wed, 15 Feb 2017 15:05:07 +0000 (15:05 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4 am: 224d83b432
am: a0e225ec89

Change-Id: Ic43f3be2129e6e6da66850486123a39e48bee571

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4
Etan Cohen [Wed, 15 Feb 2017 15:01:36 +0000 (15:01 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4
am: 224d83b432

Change-Id: I59901d50215f7362f5769b4c9ae8225921e6d643

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage"
Etan Cohen [Wed, 15 Feb 2017 14:58:06 +0000 (14:58 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage"
am: 751dc694a4

Change-Id: I96a0b00713d01cb4a587a8ba44833c2a5f1a2cf0

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage"
Etan Cohen [Wed, 15 Feb 2017 14:52:51 +0000 (14:52 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage"

7 years agoMerge "Remove --coverage in Android.bp" am: 8cd0125d2e am: 6439f344ad am: b7046d211d
Dan Willemsen [Wed, 15 Feb 2017 05:20:54 +0000 (05:20 +0000)]
Merge "Remove --coverage in Android.bp" am: 8cd0125d2e am: 6439f344ad am: b7046d211d
am: bca7f2db08

Change-Id: I2d78476add5792361f6d1e786fac80a6c30f0be8

7 years agoMerge "Remove --coverage in Android.bp" am: 8cd0125d2e am: 6439f344ad
Dan Willemsen [Wed, 15 Feb 2017 05:17:30 +0000 (05:17 +0000)]
Merge "Remove --coverage in Android.bp" am: 8cd0125d2e am: 6439f344ad
am: b7046d211d

Change-Id: I29044eba5da1c72a5e8a14d97617a1d1db3b0adc

7 years agoMerge "Remove --coverage in Android.bp" am: 8cd0125d2e
Dan Willemsen [Wed, 15 Feb 2017 05:14:30 +0000 (05:14 +0000)]
Merge "Remove --coverage in Android.bp" am: 8cd0125d2e
am: 6439f344ad

Change-Id: I8a5f2071751984ff0ce400968d49781b247a5977

7 years agoMerge "Remove --coverage in Android.bp"
Dan Willemsen [Wed, 15 Feb 2017 05:11:30 +0000 (05:11 +0000)]
Merge "Remove --coverage in Android.bp"
am: 8cd0125d2e

Change-Id: I64c14bbb96b132b3b26d6d61a11e4c8cf84bd161

7 years agoMerge "Remove --coverage in Android.bp"
Treehugger Robot [Wed, 15 Feb 2017 05:08:16 +0000 (05:08 +0000)]
Merge "Remove --coverage in Android.bp"

7 years agoMerge "Fix shim layer bugs for Sensors HIDL wrapper."
Ashutosh Joshi [Wed, 15 Feb 2017 02:51:02 +0000 (02:51 +0000)]
Merge "Fix shim layer bugs for Sensors HIDL wrapper."

7 years agoRemove coverage flags from tests.
Ryan Campbell [Wed, 15 Feb 2017 00:50:34 +0000 (16:50 -0800)]
Remove coverage flags from tests.

Remove unnecessary coverage flags from HAL tests.

Bug: 32749731
Test: none
Change-Id: I7e4e3bce2d9d444bfa8475c140bce2ee7e3b0c0d

7 years agoInitial submit of Vehicle HAL 2.1
Pavel Maltsev [Wed, 8 Feb 2017 20:33:46 +0000 (12:33 -0800)]
Initial submit of Vehicle HAL 2.1

Major changes / decisions:

- created empty IVehicle@2.1 interface to distinguish HAL impls
  from client's (Car Service) perspective;
- created default 2.1 implementation that currently delegates all
  calls to existing 2.0 implementation
- had to refactor a little bit 2.0 thus components could be esily
  imported in 2.1

TOOD:
- move OBD and VMS code to 2.1
- decouple "DefaultVehicleHal.cpp"
- rename "DefaultVehicleHal" to Emulator (let's call things by their names)

b/34716856

Test: todo

Change-Id: Ib23650ca1277f0dfb24e5c789d65a19dce8b1abc

7 years agoMerge "Revert "Enable loading of treble-based plugins""
Jeff Tinker [Tue, 14 Feb 2017 21:53:14 +0000 (21:53 +0000)]
Merge "Revert "Enable loading of treble-based plugins""

7 years ago[AWARE] Correct comment on Discovery Window usage
Etan Cohen [Tue, 14 Feb 2017 21:51:11 +0000 (13:51 -0800)]
[AWARE] Correct comment on Discovery Window usage

Clarify that DW period specification on discovery session
does not override the overall system DW period specification
(if one is provided).

Bug: 35040192
Test: none - comment fix
Change-Id: Ia7c495f1cd50a4bce0ffbaf242e52bc4f110eef2

7 years agoRevert "Enable loading of treble-based plugins"
Jeff Tinker [Tue, 14 Feb 2017 21:04:31 +0000 (21:04 +0000)]
Revert "Enable loading of treble-based plugins"

bug:35329920

Tests: Verfied playback on Ryu with Play Movies in combination with
ag/1907708, ag/1909159

This reverts commit fbf365037014e81711611384aeee9469590210f6.

Change-Id: I4a35a329b24e4cd9efcff4fe84e9d8901c714d57

7 years agoFix shim layer bugs for Sensors HIDL wrapper.
Ashutosh Joshi [Mon, 13 Feb 2017 20:52:14 +0000 (12:52 -0800)]
Fix shim layer bugs for Sensors HIDL wrapper.

i) Increase the number of default threads to 2.
ii) Handle the flush complete event correctly.

Bug: 35189074
Bug: 35067266

Test: Test that sensors work in both binderized and passthrough modes.
      Ensure that camera photosphere works.

Change-Id: Ic8dadf03395b4e96092ae962cf790c93d65a1c8d

7 years agoMerge "Update .vts files on master based on the latest .hal file and hidl-gen"
Zhuoyao Zhang [Tue, 14 Feb 2017 18:51:26 +0000 (18:51 +0000)]
Merge "Update .vts files on master based on the latest .hal file and hidl-gen"

7 years agoMerge "Camera: Fix ION buffer leaks"
Yin-Chia Yeh [Tue, 14 Feb 2017 18:17:37 +0000 (18:17 +0000)]
Merge "Camera: Fix ION buffer leaks"

7 years agoMerge "update vms hal index"
Asaf Rosenfeld [Tue, 14 Feb 2017 16:45:36 +0000 (16:45 +0000)]
Merge "update vms hal index"

7 years agoMerge "Have generateKey() treat additional entropy as optional"
TreeHugger Robot [Tue, 14 Feb 2017 13:00:59 +0000 (13:00 +0000)]
Merge "Have generateKey() treat additional entropy as optional"

7 years agoHave generateKey() treat additional entropy as optional
Bartosz Fabianowski [Mon, 13 Feb 2017 15:50:24 +0000 (16:50 +0100)]
Have generateKey() treat additional entropy as optional

KeyStore.generateKey() takes an entropy parameter. This is optional
and can be null. That is how KeyStore used to work but a recent
refactor made us always feed the entropy to keymaster, even if it
is empty (null or byte[0] on the Java side). This CL makes us ignore
such empty entropy again.

We only noticed this because a recently added GTS test that happens
to set the entropy to null is failing on some hardware (other
keymaster implementations silently ignore this invalid attempt to
set entropy).

Bug: 35156555
Test: gts-tradefed run gts --module GtsGmscoreHostTestCases
      --test com.google.android.gts.security.DeviceIdAttestationHostTest

Change-Id: Iadaf40e69350c17dd18e4dc2a1dab97fa911e1bf

7 years agoCamera: Fix ION buffer leaks
Emilian Peev [Mon, 13 Feb 2017 15:26:00 +0000 (15:26 +0000)]
Camera: Fix ION buffer leaks

Native buffer handles should always get closed
and deleted during buffer release.

BUG: 35338606
Test: Manual using application
Change-Id: I5d7a4b02a28b29b872b66843d623166f04207c2e

7 years agoupdate vms hal index
asafro [Mon, 13 Feb 2017 19:30:10 +0000 (11:30 -0800)]
update vms hal index

Test: tested in VmsServiceHal tests (new test in a separate cl)
Bug: 35313387
Change-Id: I18379fed2b8e59b21cfe732e3a81f63e611cdd36

7 years agoMerge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11 am: 028ce01354 am: 4bbcb8f41e
Myles Watson [Tue, 14 Feb 2017 02:22:13 +0000 (02:22 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11 am: 028ce01354 am: 4bbcb8f41e
am: 93df786d5e

Change-Id: I74bba26880c4f30d869d6f142d4ac83820452594

7 years agoMerge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11 am: 028ce01354
Myles Watson [Tue, 14 Feb 2017 02:20:43 +0000 (02:20 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11 am: 028ce01354
am: 4bbcb8f41e

Change-Id: Id503d07ba2adeef890882df2f686635abc7749d9

7 years agoMerge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11
Myles Watson [Tue, 14 Feb 2017 02:18:43 +0000 (02:18 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11
am: 028ce01354

Change-Id: Ia432ecc1676f926a157eb6b978990c19814f2aa4