summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "HIDL changes for IWLAN refactoring"android-wear-8.0.0_r1Treehugger Robot2018-01-252-0/+94
|\
| * HIDL changes for IWLAN refactoringJack Yu2018-01-242-0/+94
| | | | | | | | | | | | | | | | | | Added few more parameters required for IWLAN handover to the existing data call setup/deactive APIs. Test: Telephony sanity tests bug: 64132030 Change-Id: I7bb04fc5f32908fa064370d5123252022a166abc
* | Merge "Convert sensors HAL test to use VtsHalHidlTargetTestEnvBase"Zhuoyao Zhang2018-01-241-44/+49
|\ \
| * | Convert sensors HAL test to use VtsHalHidlTargetTestEnvBaseZhuoyao Zhang2018-01-241-44/+49
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 64203181 Test: make vts vts-tradefed run vts -m VtsHalSensorsV1_0Target Change-Id: I1f7e3a8adf58bbeeb0928185a61f16610dd76223
* | | Merge changes from topic "vintf_kernel_ver"Yifan Hong2018-01-242-85/+140
|\ \ \ | |_|/ |/| | | | | | | | | | | * changes: Compatibility matrices: add minor revision to kernel versions Compatibility matrices: kernel req at each FCM version
| * | Compatibility matrices: add minor revision to kernel versionsYifan Hong2018-01-232-6/+19
| | | | | | | | | | | | | | | | | | Test: builds Bug: 72388844 Change-Id: Id60cef10610f39d70eebccbeb6e625e3d93795c6
| * | Compatibility matrices: kernel req at each FCM versionYifan Hong2018-01-232-85/+127
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * devices with Shipping FCM version legacy / O / O-MR1 use 3.18, 4.4, 4.9 * devices with Shipping FCM version P use 4.4 4.9 Bug: 72389707 Test: manual inspection on $OUT/system/etc/vintf/compatibility_matrix.*.xml Change-Id: I4f37325c0210f88e9e6d3e7136a82d50da3e93fe
* | Add bandwidth to cell info.Eric Schwarzenbach2018-01-231-0/+8
| | | | | | | | | | | | Bug: 70638175 Test: make Change-Id: I1a4259542176cf44556131bb2b57107d51b2410e
* | Add physical channel configuration indication.Eric Schwarzenbach2018-01-233-0/+43
| | | | | | | | | | | | | | | | Also adds the new requisite types and an IndicationFilter for reporting. Bug: 70638175 Test: n/a Change-Id: I29f5fba4d1b21af3e7fda876c9a5c911936aeada
* | Add reporting criteria to radio interface.Eric Schwarzenbach2018-01-235-0/+160
| | | | | | | | | | | | | | | | | | | | | | Enables setting various reporting criteria for unsolicited signal strength and LCE reports. Creates a new LCE report including both up and down bandwidths. Updates documentation for various IndicationFilter bits to add clarity. Bug: 70638175 Test: n/a Change-Id: If8141fbd89baf85ed5ee65d589f111907a9bf8b4
* | Merge "Add default implementation for radio config HAL"Treehugger Robot2018-01-239-0/+377
|\ \
| * | Add default implementation for radio config HALyinxu2018-01-239-0/+377
| |/ | | | | | | | | | | Bug: 64131518 Test: Basic telephony sanity Change-Id: I6bd6c6c46f8f70fd13b6c02ddfe399e04190133a
* | Merge "Remove unnecessary group from blank_screen."Treehugger Robot2018-01-231-1/+1
|\ \ | |/ |/|
| * Remove unnecessary group from blank_screen.Steven Moreland2018-01-231-1/+1
| | | | | | | | | | | | | | | | Was accidentally copy-pasted here. Bug: N/A Test: setprop ctl.start blank_screen Change-Id: I0b100b02aecd2649f2528834f431a0bc8b164c46
* | Merge "Usb: HIDL: UsbGadget hal"Badhri Jagan Sridharan2018-01-224-0/+200
|\ \
| * | Usb: HIDL: UsbGadget halBadhri Jagan Sridharan2018-01-224-0/+200
| | | | | | | | | | | | | | | | | | | | | | | | Hal interface for runtime management of USB gadget confiuguration. Bug: 63669128 Test: Manually tested usb gadget hal for usb configurations Change-Id: I1913dd5b99fdf4d710a2b0695c616c1d27575c53
* | | Merge "camera: add support for camera removal"Treehugger Robot2018-01-225-2/+51
|\ \ \
| * | | camera: add support for camera removalGuennadi Liakhovetski2018-01-225-2/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add camera removal support to CameraProvider and CameraModule. Change-Id: I047e486d1665ba9e0b1455f77a7bbbb5e0d66653 Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
* | | | Merge "Migrate the slot related APIs"Ying Xu2018-01-2216-121/+563
|\ \ \ \ | |_|_|/ |/| | |
| * | | Migrate the slot related APIsyinxu2018-01-2216-121/+563
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SIM slot related APIs are not related to any radio/modem, so they need to be migrate to a different HAL which is not related to any radio/modem. Bug: 64131518 Test: Basic telephony sanity Change-Id: I626f13c5f6fb39091f6bddd5b6d373f09561af90
* / / Add 'blank_screen' util.Steven Moreland2018-01-193-0/+87
|/ / | | | | | | | | | | | | | | | | | | This can be transitioned to by init to shutdown the screen thereby preventing init from either depending on binder or accessing halified sysnodes directly. Bug: 70846424 Test: manual + init use Change-Id: I86893ee5d7118547cd073297c0626e474f366b82
* | Merge "Camera: Fix hotplug"Treehugger Robot2018-01-183-27/+54
|\ \
| * | Camera: Fix hotplugGuennadi Liakhovetski2018-01-043-27/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the camera_module_t::get_number_of_cameras() description in camera_common.h, it should only return the number of "fixed" cameras, i.e. cameras, facing to the front and to the back. Any cameras, with the facing value of "external," i.e. externally connected cameras, should not be reported by it, instead they should later be reported, using the camera_module_callbacks_t::camera_device_status_change() callback. However, this doesn't work. When a camera is reported this way, it is ignored as unknown. Fix this by adding a new camera, when its status change is reported. Change-Id: I18874ed005f477e32fb723c00c16b67a81cde6ce Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
* | | Merge "Update makefiles for audio."Treehugger Robot2018-01-171-0/+1
|\ \ \
| * | | Update makefiles for audio.Steven Moreland2018-01-171-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This dependency is imported but not used, so it should technically go in the Android.bp file. Bug: 71863483 Test: none Change-Id: I3ee391bdea47182689156b3243b75a3572f7d8bf
* / | Update makefiles.Steven Moreland2018-01-173-3/+8
|/ / | | | | | | | | | | | | | | Some have missed being updated. Bug: N/A Test: N/A Change-Id: I0925e85701f6e8b98f9b09bfafbed73469d1d185
* | graphics: use allocator HAL support library in default implChia-I Wu2018-01-1411-294/+390
| | | | | | | | | | | | | | | | | | Rename Gralloc0Allocator to Gralloc0Hal and make it inherit from AllocatorHal. Do the same to Gralloc1Allocator. Add GrallocLoader to load either of Gralloc[01]Hal and create a IAllocator instance. Test: boots and VTS Change-Id: I09ae680c0086ca9e73e412a34d7cd2f3665d3bc2
* | graphics: clang-format allocator default implChia-I Wu2018-01-147-67/+47
| | | | | | | | | | Test: builds Change-Id: I01cee2e7bc778f2e3e540a9856c25f1a0e390186
* | graphics: make allocator default impl a static libraryChia-I Wu2018-01-146-6/+28
| | | | | | | | | | | | | | | | Convert the default impl into a static library, android.hardware.graphics.allocator@2.0-passthrough. Test: boots and VTS Change-Id: I8ec8b30766462ecb3fb789af7c6dbb3c088ccf57
* | graphics: add allocator HAL support libraryChia-I Wu2018-01-143-0/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a header-only library android.hardware.graphics.allocator@2.0-hal that can be used by implementations. An imlpementation can class VendorHal : public AllocatorHal { ... }; auto allocator = std::make_unique<Allocator>(); allocator->init(std::make_unique<VendorHal>(...)); Or, if vendor extensions are to be added to the IAllocator, class AlocatorHalExt : public AllocatorHal { ... }; class VendorHal : public AllocatorHalExt { ... }; class AllocatorExt : public AllocatorImpl<IAllocatorExt, AllocatorHalExt> { ... }; auto allocator = std::make_unique<AllocatorExt>(); allocator->init(std::make_unique<VendorHal>(...)); Test: builds Change-Id: I7cb7a4888316b871e5c49d96524b1642fc708f2d
* | graphics: move libgralloc1-adapterChia-I Wu2018-01-147-10/+15
| | | | | | | | | | | | | | | | Move libgralloc1-adapter from 2.0/default/ to 2.0/utils/gralloc1-adapter/. Fix build issues after the move. Test: builds Change-Id: I674fe60c724a4ffc1540c796b92209a1dbf36438
* | Merge "Install all comp mat to system image"Yifan Hong2018-01-116-0/+139
|\ \
| * | Install all comp mat to system imageYifan Hong2018-01-106-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved framework_compatibility_matrix.xml module definition from target/board/Android.mk here because it depends on compatibility_matrix.*.xml. Test: m dist Bug: 69636193 Change-Id: I7480b27756992b47555f6b397925170ae9d1ac22
* | | Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal."Cassie Han2018-01-111-0/+9
|\ \ \ | |/ / |/| |
| * | Add cellInfoList_1_2 in 1.2/IRadioIndication.hal.Cassie2018-01-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | As part of the new NetworkScan API project, we need to add V1_2 cellInfoList in RadioIndication to support the V1_2 CellInfo as well. Bug: 63984327, 69058403 Test: Basic telephony sanity Change-Id: I53deb0d3b6ba58a86a8f734618841ff91d6dc6fa
* | | Merge "Add interface specification for lights hal."Treehugger Robot2018-01-101-0/+1
|\ \ \
| * | | Add interface specification for lights hal.Steven Moreland2018-01-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So that init knows how to start it and to provide an example of how to specify interfaces since there are no lazy starting services on Pixel yet. In order to make lights a lazy service, it would also have to be marked as 'oneshot'. Test: manually using Light as a lazy service Bug: 64678982 Merged-In: I846a7e2d9545b42af9b985adb74883bda1b8c355 Change-Id: I846a7e2d9545b42af9b985adb74883bda1b8c355
* | | | Rename 26.xml=>1.xml, 27.xml=>2.xmlYifan Hong2018-01-092-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FCM Version uses a different set of numbers than the SDK level. This is to decouple the connection between them; it is not required to have one FCM Version per SDK level. Test: build test Test: boots Bug: 69636193 Change-Id: I62a29b702271d8a7ca8ae80e545a6d2e3b46fdcf Merged-In: I62a29b702271d8a7ca8ae80e545a6d2e3b46fdcf
* | | | Bluetooth: Sleep instead of dying on EOFMyles Watson2018-01-092-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a device is restarted, the UART may go away before the packetizer. Print an error and sleep in case it isn't really a restart. Bug: 70855323 Test: Repeated restarts, check for Bluetooth tombstones Change-Id: I2b4e677451e826d40dcc9d063d80dc0e17fc9aca
* | | | BT Interface: fix hci cmd timeoutLianchao Song2018-01-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add mutex in function Send() and OnTimeout() to do mutual exclusive access on lpm_wake_deasserted. If lpm_wake_deasserted is out of sync with the actual wake state, then platforms which use the lpm hint will break. Bug: 64299848 Test: run affected platform for a long period of time and find that hci commands do not time out Change-Id: I9f630d6f40f84b9c047c6488632cd44d6602bb14
* | | | Disable seccomp policy for configstore hal on coverage builds.Zhuoyao Zhang2018-01-081-0/+3
|/ / / | | | | | | | | | | | | | | | | | | Test: lunch walleye_coverage-userdebug && make verify configstore@1.0.policy is not generated. Change-Id: Iad1f55fe10c2c77a3ca56418ec315e10ab71753f
* | | Merge "Add a test method to test interface in struct"Howard Chen2018-01-043-0/+14
|\ \ \
| * | | Add a test method to test interface in structHoward Chen2018-01-033-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a test method to IBaz to test struct with a composed interface Test: hidl_test_java/ internal master Bug: 70529597 Change-Id: I73eaaf3dda6a24b88207729f31c75454c005c8cf
* | | | Remove unused functionssqian2018-01-044-14/+0
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Test: Compile Bug: 63760809 Change-Id: I582c259ca0787a701d434eea9592c9e8d7351f08 Merged-In: I582c259ca0787a701d434eea9592c9e8d7351f08 (cherry picked from commit 3ba20e6b6bef8059e0c366107e85965f5a433bdf)
* | | Merge "Remove empty generates clause."Treehugger Robot2018-01-041-1/+1
|\ \ \ | |_|/ |/| |
| * | Remove empty generates clause.Steven Moreland2018-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Doesn't do anything, not part of the language. Bug: 71545356 Test: none Change-Id: I5fce87a9cf01ff546f2b7b177b60454b8bfbf106
* | | Use correct format specifier for uint32_tYi Kong2018-01-031-2/+2
| | | | | | | | | | | | | | | | | | | | | Discovered by the upcoming compiler update. Test: m checkbuild Change-Id: I03ed479a6a5c42d8dcc192e85d5268d1cd65cab8
* | | Merge "SIM slot related interface changes"Treehugger Robot2018-01-025-9/+163
|\ \ \
| * | | SIM slot related interface changesSandeep Gutta2017-12-225-9/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add below new interfaces, corresponding response interface and structures. - getSimSlotsStatus() - setSimSlotsMapping() - simSlotsStatusChanged() Bug: 68998818 Test: compliation Change-Id: Ia532c502782ef4d08d27f18ee0321a3ceaa94dcf
* | | | Modify VTS error check so that the error code can be displayedsqian2017-12-2817-725/+779
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add AssertionResult in gtest to display logs - Refactor all the error checks - Replace INTERNAL_ERR with INVALID_ARGUMENT for requestIsimAuthentication - Add missing SIM_ABSENT from ag/2582439/ - Fix incorrect indentation Bug: 63760809 Bug: 65150146 Test: run vts Change-Id: Id3d876ea515f47998e3e45be11db5edf306ffc24 Merged-In: Id3d876ea515f47998e3e45be11db5edf306ffc24 (cherry picked from commit e986b85fddeb3412606840e4cdc76051e3cc966e)