Commit Graph

12655 Commits

Author SHA1 Message Date
TreeHugger Robot
3d8a394623 Merge "Initialize Sensors Test Environment" 2018-10-18 03:19:34 +00:00
TreeHugger Robot
a95adb1df2 Merge "Refactor Power Management" 2018-10-18 02:22:07 +00:00
Oscar Shu
fb0040d14f Merge "VTS: fix test LinkLayerStatsCollection" 2018-10-18 01:23:37 +00:00
Brian Stack
85c8b31945 Initialize Sensors Test Environment
Properly initialize the test environment for Sensors HAL 2.0 by
constructing and reading from FMQs.

Bug: 115969174
Test: Builds, VTS tests run (some pass) against locally modified
      sensors HAL
Change-Id: Id959e50c18b643d2693c90bac15710ed6f34b1b4
2018-10-17 16:49:46 -07:00
TreeHugger Robot
b54cc22ab1 Merge "Initial commit of public Codec2 HIDL interfaces" 2018-10-17 23:35:16 +00:00
Steve Paik
55367e6102 Refactor Power Management
- Remove Boot Reason property
- Add extra states to AP_POWER_STATE_REPORT

Bug: 112548962
Test: vhal_emulator.py

Change-Id: I96662820a02141256c53546db662d1e05e1925ae
(cherry picked from commit b863f86ff7fad325c66c9a47a3a3e18a602adab3)
2018-10-17 22:23:02 +00:00
Vinay Kalia
6eedcb5a19 Merge "power.stats: Add power.stats HIDL interface" 2018-10-17 22:06:04 +00:00
Steven Moreland
2d01a56f97 Merge "Update makefiles." am: c202d17fa6 am: 70d20a497e
am: 4e9e47f47e

Change-Id: I1cce7dda484ddf85556db4c03518463edb29604f
2018-10-17 14:18:52 -07:00
Steven Moreland
4e9e47f47e Merge "Update makefiles." am: c202d17fa6
am: 70d20a497e

Change-Id: I717a93e5b3933dd1b2f8a5e9af61cb6ac8a41423
2018-10-17 14:14:44 -07:00
Steven Moreland
70d20a497e Merge "Update makefiles."
am: c202d17fa6

Change-Id: I91e945ede9f4e46867aac20303063b309576ed9d
2018-10-17 13:58:30 -07:00
Treehugger Robot
c202d17fa6 Merge "Update makefiles." 2018-10-17 19:48:41 +00:00
Connor O'Brien
40b0b8963b Merge "Add statically linked boot HAL impl in recovery" 2018-10-17 18:48:57 +00:00
Vinay Kalia
f91dcb5bfd power.stats: Add power.stats HIDL interface
Initial commit defines APIS to collect on-device
power-related data.

BUG: 117424656
BUG: 111185513
Test: Compilation and device boot
Change-Id: I6e3153c9fcd2d67e4a566a4621d7aa4c01da7636
2018-10-17 11:32:21 -07:00
TreeHugger Robot
3f2a20daf0 Merge "Copy Sensors VTS 1.0 into 2.0" 2018-10-17 15:50:17 +00:00
Yifan Hong
722aff58c8 removed unused line. am: ab6de249ec am: 2507ba27cb
am: 64c8ab6793

Change-Id: I90ad91a874b0055c17c79813abe571315b4beac0
2018-10-16 20:06:53 -07:00
Yifan Hong
64c8ab6793 removed unused line. am: ab6de249ec
am: 2507ba27cb

Change-Id: Ie292656415fbe33a9997745edd05b158ef063074
2018-10-16 19:57:24 -07:00
Yifan Hong
2507ba27cb removed unused line.
am: ab6de249ec

Change-Id: I8ad61ab708eed3e86876e673a376ba0fa29b2f9e
2018-10-16 19:51:38 -07:00
xshu
344ab2af38 VTS: fix test LinkLayerStatsCollection
IWifiStaIface V1_3 replaced an existing API with a new one.
Skip the test for the old API if the version of IWifiStaIface is 1.3 or
higher.

Bug: 117621466
Test: mma -j64 && adb sync data && adb shell data/nativetest64/VtsHalWifiV1_0TargetTest/VtsHalWifiV1_0TargetTest
Change-Id: I2a55799792709858ba82364e393cdbedabc1a42b
2018-10-16 17:13:22 -07:00
Steven Moreland
1c15915098 Update makefiles.
Some of these were out of date.

Bug: N/A
Test: N/A
Change-Id: I25a2706b95e199f5728cda5a5e4e2b23c60a8d40
2018-10-16 16:36:45 -07:00
TreeHugger Robot
4b5ff67c52 Merge "Camera: update camera HAL owners" 2018-10-16 22:15:16 +00:00
TreeHugger Robot
49015f7f45 Merge "Adds TENSOR_FLOAT16 operand type." 2018-10-16 22:12:09 +00:00
Yifan Hong
ab6de249ec removed unused line.
Test: builds
Change-Id: I6df9338de150e35147c191a551b1e5eb538db32e
2018-10-16 12:00:25 -07:00
Yifan Hong
11fc61f764 Merge "compatibility matrices: move to soong" am: 9cfddb6282 am: 9f897faa8b
am: 183ef4fba9

Change-Id: I0845142a5f723dcb35fbeadca846e9a63e63e2d2
2018-10-16 11:30:41 -07:00
chenhg
81ed94e40e Merge "Avoid segfaults if disconnect USB camera while preview." am: 4dce57e459 am: 86ec58ff52
am: a169023679

Change-Id: I6f1b820f87297564c54b3ee656e201ec79838d78
2018-10-16 11:30:03 -07:00
Yifan Hong
183ef4fba9 Merge "compatibility matrices: move to soong" am: 9cfddb6282
am: 9f897faa8b

Change-Id: I3341942ce2dc8db558efa84b38e60313bc8e54b2
2018-10-16 10:51:18 -07:00
chenhg
a169023679 Merge "Avoid segfaults if disconnect USB camera while preview." am: 4dce57e459
am: 86ec58ff52

Change-Id: I748a644556eb2dd2e68a2e4e965d3b57e8ed4895
2018-10-16 10:50:39 -07:00
Yifan Hong
9f897faa8b Merge "compatibility matrices: move to soong"
am: 9cfddb6282

Change-Id: I3e88b69a9ed6f57c1b5d011349473b3c568bc74f
2018-10-16 10:29:18 -07:00
chenhg
86ec58ff52 Merge "Avoid segfaults if disconnect USB camera while preview."
am: 4dce57e459

Change-Id: I08b09d87cbaf4ed3c18ccbd5cd28b3de8fa4c8e4
2018-10-16 10:23:06 -07:00
Yifan Hong
9cfddb6282 Merge "compatibility matrices: move to soong" 2018-10-16 17:20:50 +00:00
Treehugger Robot
4dce57e459 Merge "Avoid segfaults if disconnect USB camera while preview." 2018-10-16 17:05:08 +00:00
Yin-Chia Yeh
ccc05ec9b7 Camera: update camera HAL owners
Add OWNER file to device 3.5 default implementation and
add new owners to existing owner file.

Test: N/A
Bug: N/A
Change-Id: I09bae8a6bbdf48bd27cba8675d979c65b51a3e6b
2018-10-16 08:47:03 -07:00
TreeHugger Robot
0836578d61 Merge "Camera: implement configureStreams@3.5" 2018-10-16 15:44:09 +00:00
TreeHugger Robot
0870062c57 Merge "Add TENSOR_QUANT16_ASYMM to operand types" 2018-10-16 12:37:00 +00:00
Pawin Vongmasa
c80bf21356 Initial commit of public Codec2 HIDL interfaces
Test: Builds

Bug: 112362730
Bug: 115717053
Change-Id: I8ad7fe965a90d56b5bbfd23998d4585f6e634bd6
2018-10-16 05:16:39 -07:00
Michael K. Sanders
19d63453d4 Adds TENSOR_FLOAT16 operand type.
Bug: 113563458
Test: VtsHalNeuralnetworksV1_2TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Change-Id: If12ceff428e1b1a90ef99b7353f0df60d4ef8010
2018-10-16 12:59:42 +01:00
Lev Proleev
5d7c99527e Add TENSOR_QUANT16_ASYMM to operand types
Add new OperandType::TENSOR_QUANT16_ASYMM.
Add VTS validation for the new type.

Bug: 113561892
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_0TargetTest
Test: VtsHalNeuralnetworksV1_1TargetTest
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: I4f9ed6a33d5d3ec227e9f335df71954c73edf344
2018-10-16 10:15:44 +01:00
Jack Yu
3001824bca Merge "Restored 'maxConnsTime' and 'maxConns' in data profile" am: bcb0c1b49a am: 777d7abef3
am: aa7c36789d

Change-Id: I98aa9a0d06af910fe3032351b2d96e79b8e9c0a1
2018-10-15 21:13:01 -07:00
Jack Yu
aa7c36789d Merge "Restored 'maxConnsTime' and 'maxConns' in data profile" am: bcb0c1b49a
am: 777d7abef3

Change-Id: Ie9f5fd2909773c9c066ab763f19e17d34f6f1e03
2018-10-15 18:55:19 -07:00
Jack Yu
777d7abef3 Merge "Restored 'maxConnsTime' and 'maxConns' in data profile"
am: bcb0c1b49a

Change-Id: I376197118faadef4175ed97be87ed50b4573e919
2018-10-15 18:20:47 -07:00
Treehugger Robot
bcb0c1b49a Merge "Restored 'maxConnsTime' and 'maxConns' in data profile" 2018-10-16 00:54:19 +00:00
Yifan Hong
0cd10dd03e compatibility matrices: move to soong
* Kernel config requirements are built as
separate rules in kernel/configs. All kernel requirements
(including minlts and configs) are represented there.

* device framework compatibility matrix and final
framework compatibility matrix need special environment
variables, so they are not generic enough to be written
in the soong rule.

See compatibility_matrices/Android.bp for sample usages.

Test: builds and compare output before change
Change-Id: I53bf88362314f96487ca243c9292570b7931f24b
2018-10-15 15:42:11 -07:00
Brian Stack
b6962f6e7d Copy Sensors VTS 1.0 into 2.0
Copy the VTS tests for Sensors 1.0 into the 2.0 directory to provide a
starting point for 2.0 tests. Updates references to 2.0 from 1.0 where
necessary.

Bug: 115969174
Test: Builds
Change-Id: Ia385552c208087175272627c65b9096cdb8f4afa
2018-10-15 15:19:03 -07:00
Chih-Hung Hsieh
091b18f8b0 Fix implicit fallthrough warnings. am: 40b77ef6b5 am: 80c5b8fc76
am: c7e0dce629

Change-Id: I10fdd68099d63ec360757e5ee7637a84e9892e76
2018-10-15 14:57:50 -07:00
Chih-Hung Hsieh
c7e0dce629 Fix implicit fallthrough warnings. am: 40b77ef6b5
am: 80c5b8fc76

Change-Id: I52755c761e883d3c3f30d81bda5002cb9be29bcf
2018-10-15 14:34:51 -07:00
Yin-Chia Yeh
86a7d9610d Camera: implement configureStreams@3.5
So camera continue to work when camera service switch to use
the @3.5 session.

Test: manually check configureStream works
Bug: 109829698
Change-Id: I4c7edcf59e68a2b4f04fee8229ed5d3c9b261c9f
2018-10-15 14:23:15 -07:00
Chih-Hung Hsieh
80c5b8fc76 Fix implicit fallthrough warnings.
am: 40b77ef6b5

Change-Id: I0eee7ff35ef8943847d6966720a2c5477fc21fd0
2018-10-15 14:21:11 -07:00
Connor O'Brien
ee6a0b5a8b Add statically linked boot HAL impl in recovery
The default Treble boot HAL implementation currently can only work in
recovery on devices that specifically build their libhardware
implementation as a shared library for recovery.

This CL adds the option to statically link the libhardware
implementation in recovery instead of finding it using
hw_get_module(). This new approach allows devices that define
PRODUCT_STATIC_BOOT_CONTROL_HAL to begin using the Treble HAL in
recovery without requiring device-specific changes.

Test: adb sideload succeeds
Bug: 78598708
Change-Id: I7e1651fad64c2e55da256a164d2875956f68fb67
Signed-off-by: Connor O'Brien <connoro@google.com>
2018-10-15 14:15:14 -07:00
Chih-Hung Hsieh
40b77ef6b5 Fix implicit fallthrough warnings.
Test: make checkbuild
Bug: 112564944
Change-Id: Iaaa0e2c325e860572d058ae27a7ad7dc00134564
2018-10-15 10:30:38 -07:00
Jack Yu
4b5371de99 Restored 'maxConnsTime' and 'maxConns' in data profile
These two fields are still needed for some carriers. Should
not be removed in 1.3. Reverted back to what we have in 1.0.

Test: Telephony sanity tests
Bug: 73659459
Change-Id: I33e7b9b0cb26b56fc3c0e011557657136cb38a6c
2018-10-15 09:55:12 -07:00
TreeHugger Robot
b132d0c2ef Merge "wifi hostapd: add to current.xml" 2018-10-12 21:51:16 +00:00