summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-16Fix accidental implicit fallthroughsandroid-8.0.0_r51android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43security-oc-releaseColin Cross
-Wimplicit-fallthrough was printing warnings for these, they look like real errors. Fix them and re-enable the error. Bug: 144040966 Test: treehugger Merged-In: I818e18a995760f17b85b4c72ee577e531fa2a601 Change-Id: I818e18a995760f17b85b4c72ee577e531fa2a601 (cherry picked from commit fbeb4fc1397c0a193615c30c4ffc1c029b7ad69a)
2017-06-20release-request-8a29fe1b-a466-48e3-824a-9b3737e5c08a-for-git_oc-release-4115 ↵android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r26android-cts-8.0_r25android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-8.0.0_r9android-8.0.0_r7android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1oreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-cts-releaseandroid-build-team Robot
999 snap-temp-L30600000075741665 Change-Id: If5c34a1e85d03fdb69f3322101ad522198888b7e
2017-06-19Add Skip Validate capability to hwc2 interfaceandroid-vts-8.0_r2android-vts-8.0_r1oreo-devFabien Sanglard
Change-Id: I716100780f820574440abc5a247ea7071b630113
2017-06-01release-request-18270495-77c6-4d95-8968-eb22e3d2fe8b-for-git_oc-release-4057 ↵android-build-team Robot
656 snap-temp-L93200000069424216 Change-Id: Ia550b92ea7680c3616a4e634832b0cc267eda6be
2017-05-28release-request-fca2b5ac-03eb-4055-a549-b4fc2b292b64-for-git_oc-release-4049 ↵android-build-team Robot
993 snap-temp-L04900000068539456 Change-Id: Id59ba43e9e7334e7db518533ce8ecdadcb3d1f82
2017-05-26libhardware: load with dlopen if the library is in system.Justin Yun
Originally, it is not allowed to open non-sphal libraries if the device has sphal namespace. However, some system processes are still using libhardware to load non-sphal libraries. Since it has no harm to allow system libraries to be loaded by libhardware, this patch loads the library from the default namespace if the library is located in system partition. Bug: 38435840 Test: sailfish builds and boots Change-Id: I206da11a2656559fcd0995d32dbd73621a79a683 Merged-In: I206da11a2656559fcd0995d32dbd73621a79a683 (cherry picked from commit c571709b287469bea052b4618d3b119ff1794883)
2017-05-24MCAP: Add test interface ID (1/2)Jack He
* Some PTS tests requires protocols and profiles to be accessed at stack API level * This CL creates an ID for the MCAP protocol * An application must be able to reference stack headers in order to use such an interface Bug: 37867299 Test: make, no user visible effect Change-Id: Ice654321cdeb11f93b1c8fc4a0753fe86bd82a56 (cherry picked from commit 9213f5b0430b329461b8f52f06b0ea98b1ff737c)
2017-05-17release-request-6c498b17-9310-412b-ad36-3dcf25ffef73-for-git_oc-release-4017 ↵android-build-team Robot
086 snap-temp-L16500000064871237 Change-Id: I7106713158ba0782aecd92a49f29340e2f5af319
2017-05-17Merge "Load legacy HAL modules from the sphal namespace" into oc-devTreeHugger Robot
2017-05-16Discover primary service by UUID for PTS tests (2/4)Jakub Pawlowski
Bug: 38123054 Test: manual Change-Id: Idaeac24005ff4521096b4849f976c69e530d800d (cherry picked from commit 560f2d97cd47e49659aa422df393157385ac9aa9)
2017-05-15Load legacy HAL modules from the sphal namespaceJiyong Park
'vndk' namespace should not have /vendor/lib/* in its search paths. However, /vendor/lib/* has been included due to libhardware; it should be able to load HAL libs in /vendor/lib and /vendor/lib/hw. Since the HAL libs are not vndk but part of SP-HAL, they are loaded explicitly from the 'sphal' namespace. Bug: 37731053 Bug: 37323945 Test: sailfish builds and boots successfuly Test: BOARD_VNDK_VERSION=current m libhardware.vendor successful Merged-In: I1e1619de7deaa0e6610180e585bd7775887bc562 Change-Id: I1e1619de7deaa0e6610180e585bd7775887bc562 (cherry picked from commit 4d67d2e13a8591a02c63e6f89c3dbdbf94b0c629)
2017-05-07merge in oc-release history after reset to oc-devgitbuildkicker
2017-05-05merge in oc-release history after reset to oc-devgitbuildkicker
2017-05-05merge in oc-release history after reset to oc-devgitbuildkicker
2017-05-05merge in oc-release history after reset to oc-devgitbuildkicker
2017-05-05merge in oc-release history after reset to oc-devgitbuildkicker
2017-05-05merge in oc-release history after reset to oc-devgitbuildkicker
2017-05-05merge in oc-release history after reset to oc-devgitbuildkicker
2017-05-04Merge "Limit btsnoop file size (1/9)" into oc-devAjay Panicker
2017-05-04Merge "usb audio: check proxy_prepare() errors in opne_input_stream()" into ↵TreeHugger Robot
oc-dev
2017-05-04merge in oc-release history after reset to oc-devgitbuildkicker
2017-05-04Merge "Move default multihal configuration file to /vendor/..." into oc-devTreeHugger Robot
2017-05-03Move default multihal configuration file to /vendor/...Peng Xu
Move default multihal configuration file path to /vendor/etc/sensors/hals.conf. Retained old definition but changed varible name to mark it deprecated. get_so_paths() is modified to search both new and old path for configuration file. MULTI_HAL_CONFIG_FILE_PATH is only used by hidl default implementation at this moment outside multihal module. Bug: 35947802 Test: build ok, sensor works on 2017 devices Change-Id: I443ff71fa194383646108c8eb0c5438d150a5886
2017-05-03usb audio: check proxy_prepare() errors in opne_input_stream()Eric Laurent
Make sure that open_input_stream() reflects audio parameters modifications done by proxy_prepare() and returns an error with proposed parameters if needed. Alos do not overwrite adev->device_sample_rate when opening an input stream as this is driven by the output stream. Bug: 37949012 Test: audio capture, playback and calls over USB headset. Change-Id: I45fcd895b9a95e7673f2232b4a98c74be0548d0d
2017-04-30merge in oc-release history after reset to oc-devgitbuildkicker
2017-04-27Limit btsnoop file size (1/9)Ajay Panicker
Limit btsnoop file size by rotating between snoop files. The rotation occurrs when a fixed number of packets have been logged and will start overwriting the older file. Bug: 35998031 Test: Enable snoop logs from developer options and let logs get large Merged-In: Ic43600b10435d34a0528e28bd523187a6c311f61 Change-Id: Ic43600b10435d34a0528e28bd523187a6c311f61
2017-04-27Expose LE advertiser address for easier PTS tests (3/6)Jakub Pawlowski
This patchset adds a hidden method getOwnAddress, that lets app with BLUETOOTH_PRIVILEGED permission to lear their own addreess. This is done exclusively for PTS tests. Bug: 35147497 Test: manual Change-Id: I39a6395d589d0ea801fd771bf3313ed6212a6349 (cherry picked from commit 788847a61ac6281212714e831e3aeb217f024973)
2017-04-27Read by UUID for PTS tests (3/5)Jakub Pawlowski
Add a hidden api for reading characteristic by UUID for PTS. Bug: 35150313 Test: sl4a GattReadTest.byUuid Change-Id: Ia429895abf38b504975af5d53ec4c5adf5a01a9d (cherry picked from commit f6833f45c39e1ffd41b2183bfcfcceaf1e6bacdc)
2017-04-27Correct inotify usage and fix strong count accounting errorPeng Xu
Fix an error in polling of inotify fd to avoid 100% CPU usage. Refactored code to use android Looper. Fix a string count accounting error that causes unpaired decStrong crashing sensor hidl service. Bug: 37719320 Bug: 37714835 Test: no longer have 100% CPU usage. Test: tested connection of a few mouse/keyboard/usb disk/gnubby no crash observed. Test: cts still working properly after fix. Change-Id: Ibaa026151e5e4919d8dd134c16f5865d5e30ef8a (cherry picked from commit 172c4014f30c6d77586b1c8617682110b2b74f95)
2017-04-27Merge "Correct inotify usage and fix strong count accounting error" into oc-devPeng Xu
2017-04-27Camera: Remove Camera2 native testsEmilian Peev
The native camera tests will no longer be supported by 'CameraService' and will fail during compilation. VTS already has most of these covered except for the burst test cases, which need to be rewritten. Merged-In: I28dc3dd6e922fc7f4b21108de227d4d42695e2e0 Bug: 34392075 Test: Succesful build of hardware library Change-Id: I28dc3dd6e922fc7f4b21108de227d4d42695e2e0
2017-04-27Correct inotify usage and fix strong count accounting errorPeng Xu
Fix an error in polling of inotify fd to avoid 100% CPU usage. Refactored code to use android Looper. Fix a string count accounting error that causes unpaired decStrong crashing sensor hidl service. Bug: 37719320 Bug: 37714835 Test: no longer have 100% CPU usage. Test: tested connection of a few mouse/keyboard/usb disk/gnubby no crash observed. Test: cts still working properly after fix. Change-Id: Ibaa026151e5e4919d8dd134c16f5865d5e30ef8a
2017-04-23merge in oc-release history after reset to oc-devgitbuildkicker
2017-04-21Build dynamic sensor host test only for linux hostPeng Xu
This fix a build breakage for mac. Bug: 37482951 Test: m checkbuild sdk_repo -j32 works Change-Id: I9d7f35abbaef6c830ba0f7e804451f98a128d887
2017-04-21DO NOT MERGE ANYWHERE Provide HFP API to set AG SCO policy am: bf47a8ec52 ↵Zach Johnson
-s ours am: c739a0dd03 -s ours Change-Id: Ia24d927036e43f48831651e91415752a1ae319ab
2017-04-21DO NOT MERGE ANYWHERE Provide HFP API to set AG SCO policyZach Johnson
am: bf47a8ec52 -s ours Change-Id: I7ad104de5138a8b18e59aa37f2659ec94eacd1f6
2017-04-21DO NOT MERGE ANYWHERE Provide HFP API to set AG SCO policyZach Johnson
Bug: 32958838 Test: manual Change-Id: I744c964e85dc78347a5d9bd69c1acc970774ecb6
2017-04-20HID dynamic sensor: add support to three types of sensorPeng Xu
Implemented HID dynamic sensor using linux hidraw driver and HidUtils. Support the following cases: 1) HID Sensor spec defined accelerometer, gyroscope, magnetometer and orientation (quaternion). 2) Android defined type sensors (HID sensor custom type): ambient temperature, barometer, light and heart rate sensor. 3) Android custom type sensor (based on HID sensor custom type). Test: run tests/examples in test/ Test: test with a USB HID hardware (launchpad sensor) and marlin Bug: 37482951 Bug: 31026607 Change-Id: I9d679fb34d15324a9df1cf19647ea638fd1a0e68
2017-04-20merge in oc-release history after reset to oc-devgitbuildkicker
2017-04-20Merge "Ensure that LLOB sensor is names similr to other android sensors." ↵Ashutosh Joshi
into oc-dev
2017-04-19Merge "Hid Utilities for HID based dynamic sensor" into oc-devTreeHugger Robot
2017-04-18Hid Utilities for HID based dynamic sensorPeng Xu
An HID utility library for constructing HID based dynamic sensor. Primary functionality is in HidParser.h, which parses HID descriptor into useful data structures. Supporting classes and structures can be used individually as well. Test: run tests in HidUtils/test Bug: 37482274 Change-Id: Icfb59414bb6a1e7b6cdd1078a1a83820e70bbef8
2017-04-18merge in oc-release history after reset to oc-devgitbuildkicker
2017-04-18Merge "libhardware: add libaudio_system_headers" into oc-devTreeHugger Robot
2017-04-17libhardware: add libaudio_system_headersSteven Moreland
hardware/audio.h uses libaudio_system_headers Test: works with BOARD_VNDK_VERSION := current Bug: 33241851 Change-Id: I6042c9903b2bc580ec519b713f0f19d94e1daa2d
2017-04-17gralloc: fix dependenciesSteven Moreland
Test: works with BOARD_VNDK_VERSION := current Bug: 33241851 Change-Id: I145488dbf9b6e5257bee47920643c03c31eafbf4
2017-04-16merge in oc-release history after reset to oc-devgitbuildkicker
2017-04-15Ensure that LLOB sensor is names similr to other android sensors.Ashutosh Joshi
Ensuring that the LLOB sensos naming style is consistent with other sensor naming styles. Bug: 36554362 Test: Verify that the sensor shows up with the appropriate name string. Change-Id: Ic91d13e7c1c6652179d3259509682f3c19cd89dc
2017-04-14multihal: move to vendorSteven Moreland
Test: works Bug: 33241851 Change-Id: I752d2a67c0dde2c635970f6aa24f58f5da85e785
2017-04-14Merge "libhardware: export system headers" into oc-devTreeHugger Robot