Commit Graph

16512 Commits

Author SHA1 Message Date
Nathan Harold
797aee8331 Merge "Fix RadioHidlTest_v1_2.startNetworkScan maxSearchTime" am: 3c8f624724
am: aad649b8df

Change-Id: I44287c0d85a4c15804092321d2dd5f532757f2b9
2019-10-09 19:44:45 -07:00
Nathan Harold
aad649b8df Merge "Fix RadioHidlTest_v1_2.startNetworkScan maxSearchTime"
am: 3c8f624724

Change-Id: If856c76531d329e7beac3d0b4902ecf46a7c8b6d
2019-10-09 19:38:49 -07:00
Nathan Harold
3c8f624724 Merge "Fix RadioHidlTest_v1_2.startNetworkScan maxSearchTime" 2019-10-10 02:18:48 +00:00
jun.wang
5341e17199 Fix RadioHidlTest_v1_2.startNetworkScan maxSearchTime
Add the initialization of the incrementalResultsPeriodicity and
maxSearchTime in the networkScan request.
The incrementalResultsPeriodicity and maxSearchTime are not
initialized in the networkScan request. So the default value is 0.
But the incrementalResultsPeriodicity and maxSearchTime
are required not to be 0 in subsequent tests.

CL ported from pag/1433565

Bug:140451434
Test: make vts && vts-tradefed run commandAndExit vts -m \
      VtsHalRadioV1_2Target -t RadioHidlTest_v1_2#startNetworkScan
Change-Id: I1b4e512a37d3d85ebc905a64987a40af801bce53
(cherry picked from commit f7894eb4d8c395add7c70a20520336057ae2656f)
2019-10-09 15:41:59 -07:00
David Gross
14556dfcc6 Replace sync_enums_to_hal.py with generate_api.{py,sh} and regenerate */types.hal am: 8c0a48bceb
am: b14faf16d3

Change-Id: I1f22cc68be18e646a35928cb068d05d60d70f541
2019-10-09 12:20:33 -07:00
David Gross
b14faf16d3 Replace sync_enums_to_hal.py with generate_api.{py,sh} and regenerate */types.hal
am: 8c0a48bceb

Change-Id: Ifcdb58dbf2c71d2bd178f221770f2bf5e12a1164
2019-10-09 12:08:36 -07:00
David Gross
8c0a48bceb Replace sync_enums_to_hal.py with generate_api.{py,sh} and regenerate */types.hal
There are certain pieces of NeuralNetworks.h and of our various *.hal
files that ought to be kept in sync -- most notably the operand type
and operation type definitions and descriptions in our
NeuralNetworks.h and types.hal files.  To avoid having to do this
manually, a tool can be employed.

The old solution to this problem is sync_enums_to_hal.py, which parses
the existing NeuralNetworks.h and types.hal files, and then rewrites
the types.hal files: It identifies the operand type and operation type
portions of the files, and in the types.hal files replaces them with
transformed versions of the portions from NeuralNetworks.h.  This
approach is brittle -- it is very sensitive to the structure of the
files, as was recognized when this tool was created.  Changes to those
files since the script was last updated essentially broke the script,
as noted in http://b/140132458.

The new solution employs a new tool generate_api.py to combine a
single "specification file" with one "template file" per API file
(NeuralNetworks.h or types.hal) to produce that API file.  The script
generate_api.sh invokes generate_api.py once per API file, passing
appropriate arguments.  See frameworks/ml/nn/tools/api/README.md for
more details.

In the process of combining information from NeuralNetworks.h and
*/types.hal, some formatting, syntactic, and semantic changes have
been made to those files.  For example:
- types.hal files no longer refer to API levels or (similarly)
  to HAL versions other than earlier HAL versions

Bug: 130169064
Bug: 140132458

Test: cd neuralnetworks ; mma

Change-Id: Iceb38effc2c7e6c32344e49225b85256144c0945
Merged-In: Iceb38effc2c7e6c32344e49225b85256144c0945
(cherry picked from commit 2cae5c8b01)
2019-10-09 14:18:06 +01:00
Eric Chung
3057612183 Merge "Refine freeBuffer in Mapper 2.0" am: 9b2431d02a
am: f6e09b2ff5

Change-Id: Ieb088a21a145e1b426b144ad6d44b6c610aebd9c
2019-10-08 16:34:02 -07:00
Eric Chung
f6e09b2ff5 Merge "Refine freeBuffer in Mapper 2.0"
am: 9b2431d02a

Change-Id: Ia35e361e2b8343b3ad6205f30b1571547e7bdb3f
2019-10-08 16:26:46 -07:00
Treehugger Robot
9b2431d02a Merge "Refine freeBuffer in Mapper 2.0" 2019-10-08 23:17:06 +00:00
Amy
49e16fa881 Adding a Broadcast data flow test with a PES filter am: 058e343f8d
am: 2ce7eca42f

Change-Id: I2ce6fb8dc89111361f4c3fa130bc825ff2dbe4de
2019-10-08 15:51:46 -07:00
Amy
bd17a6843a Adding the mocking frontend tuning functionality to take specific ts file as source of a Demux. am: e258376b3c
am: 632b27421f

Change-Id: I491dde27e1083b92c7a551dc772e66e76ac459be
2019-10-08 15:51:40 -07:00
Amy
4ba8452109 Adding filter configuration and pes filter test based on PID test am: 1a26e69e98
am: 14c6c3f3f4

Change-Id: I217f8668be3e2f1c8705071d16bf1f79a65043d4
2019-10-08 15:51:35 -07:00
Amy
6e632bc6d9 Adding a TS filter functionality into the Demux default impl am: c13371c650
am: 9505fa8f8a

Change-Id: I46e2ef5089544712bf0f5a0a535ab4840206d999
2019-10-08 15:51:28 -07:00
Henry Fang
022ee1d3bf Tuner HAL : patch comments and ATSC3 am: 292d7ecceb
am: 0b8028464a

Change-Id: Ife2aa3417109f2aafb9fdf9d0d8480d98c8d83eb
2019-10-08 15:51:23 -07:00
Amy
2ce7eca42f Adding a Broadcast data flow test with a PES filter
am: 058e343f8d

Change-Id: I04ed6b154e6683ab4e03112d1ba01d7de7542780
2019-10-08 15:45:02 -07:00
Amy
632b27421f Adding the mocking frontend tuning functionality to take specific ts file as source of a Demux.
am: e258376b3c

Change-Id: Id7b2846d83e1ccbd5f44f47b07ecee8a4dd8dc52
2019-10-08 15:44:58 -07:00
Amy
14c6c3f3f4 Adding filter configuration and pes filter test based on PID test
am: 1a26e69e98

Change-Id: Ice347f7aa201ba6152d1f69f6bb66ba43feddf4f
2019-10-08 15:44:53 -07:00
Amy
9505fa8f8a Adding a TS filter functionality into the Demux default impl
am: c13371c650

Change-Id: Iaabf7b7b4e947f746a95bb0bbb45456acbbd2f33
2019-10-08 15:44:49 -07:00
Henry Fang
0b8028464a Tuner HAL : patch comments and ATSC3
am: 292d7ecceb

Change-Id: Icf2a584c3ca1f61c63b178260d7c71d9c3d181ce
2019-10-08 15:44:44 -07:00
Amy
058e343f8d Adding a Broadcast data flow test with a PES filter
Test: atest
Bug: 135708935
Change-Id: I64166ae5113a7c0bfd834a85c722a860c1d16694
(cherry picked from commit 4bad0f9840)
2019-10-08 13:45:03 -07:00
Amy
e258376b3c Adding the mocking frontend tuning functionality to take specific ts
file as source of a Demux.

Test: atest
Bug: 135709325
Change-Id: I69849db58d68a7496f929940a74a63e7a9e6c6be
(cherry picked from commit 5094ae172d)
2019-10-08 13:43:37 -07:00
Amy
1a26e69e98 Adding filter configuration and pes filter test based on PID test
Test: atest
Bug: 135708935
Change-Id: I61d6dab9124190b05a030f0ea36dcc15c00b7ac3
(cherry picked from commit 22cd1cbf8c)
2019-10-08 13:42:25 -07:00
Amy
c13371c650 Adding a TS filter functionality into the Demux default impl
Test: atest
Bug: 135709325
Change-Id: I149104fd4c7d1ce413036b147365a49973455e72
(cherry picked from commit 42a5b4b87f)
2019-10-08 13:41:51 -07:00
Henry Fang
292d7ecceb Tuner HAL : patch comments and ATSC3
bug: 135708935
Test: Manual
Change-Id: I2ccd19cba6e9a5fa6f9c61ca9a7ef13b7ab834e3
(cherry picked from commit 859ec12b8d)
2019-10-08 13:41:05 -07:00
David Anderson
b6f7f47c11 Merge "Introduce IBootControl 1.1." am: 968c4b53f4
am: 7a5065668a

Change-Id: I8c813c87bd72b4a38b4e9afbe62d915a96b6b0a0
2019-10-08 12:35:27 -07:00
David Anderson
7a5065668a Merge "Introduce IBootControl 1.1."
am: 968c4b53f4

Change-Id: I5c5499a785c63c63eebd55d208aef520b8555c24
2019-10-08 12:28:57 -07:00
David Anderson
968c4b53f4 Merge "Introduce IBootControl 1.1." 2019-10-08 19:03:05 +00:00
Dmitry Shmidt
e7f1639dbf Merge "light: Allow blank_screen utiltiy to get color from command line" am: 57487311d5
am: d3fe96d901

Change-Id: I6400517cabb58328c23caedd915bc7cb87354ee0
2019-10-07 19:26:03 -07:00
Dmitry Shmidt
d3fe96d901 Merge "light: Allow blank_screen utiltiy to get color from command line"
am: 57487311d5

Change-Id: I9de443bf2319bf2aa8624ea8d8124ef6dd7f0076
2019-10-07 19:20:45 -07:00
Treehugger Robot
57487311d5 Merge "light: Allow blank_screen utiltiy to get color from command line" 2019-10-08 01:57:48 +00:00
Brian Duddie
04d1470332 Merge "Update contexthub OWNERS" am: 9d71718e40
am: 1ab6fd4d28

Change-Id: Ia73c48ca2801876a8f3d21a66d88df15b8fac176
2019-10-07 17:06:29 -07:00
Brian Duddie
1ab6fd4d28 Merge "Update contexthub OWNERS"
am: 9d71718e40

Change-Id: I2a125cafb0569b43d29cab49feb433edf098a5b6
2019-10-07 16:53:53 -07:00
Treehugger Robot
9d71718e40 Merge "Update contexthub OWNERS" 2019-10-07 23:38:35 +00:00
Dmitry Shmidt
34ed38743e light: Allow blank_screen utiltiy to get color from command line
Bug: 142058809
Test: blank_screen 0xFFFFFFFF

Change-Id: I4efdaaa2397b076e5699a75852bb15bfb1f6c5f8
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2019-10-07 16:33:06 -07:00
David Anderson
e8f1a7fdc8 Introduce IBootControl 1.1.
libsnapshot needs to communicate to the bootloader that a merge is in
progress. This can be used to prevent factory data resets, prevent
flashing or wiping userdata/metadata, and warning when the active slot
changes.

Bug: 138861550
Test: builds
Change-Id: I577877696b5ec6920b9520d518374931ce9ddfaa
Merged-In: I577877696b5ec6920b9520d518374931ce9ddfaa
2019-10-07 12:41:46 -07:00
Yi Kong
363f166f2d strtoul result shouldn't be narrowed to uint32_t before checking for ULONG_MAX am: 69e8325e5d
am: 0d5b2cf54c

Change-Id: Ifd02485ac4f2e73addf39f4ba0b6e2b32ca9e9c8
2019-10-04 14:45:33 -07:00
Yi Kong
0d5b2cf54c strtoul result shouldn't be narrowed to uint32_t before checking for ULONG_MAX
am: 69e8325e5d

Change-Id: Id68341a6b3b8c8f6c470581a6fe67db5ceea2cec
2019-10-04 14:38:30 -07:00
Yi Kong
69e8325e5d strtoul result shouldn't be narrowed to uint32_t before checking for ULONG_MAX
... otherwise this is always false.

Test: presubmit
Bug: 72331526
Change-Id: Ie1262ebf2eff4143bbef7b9d473c8ac5b7c9ffe4
2019-10-04 12:29:28 -07:00
Steven Moreland
8a27154f79 Merge "dumpstate example: use new lazy hal mechanism" am: 60d9b98423
am: 045e3f99fc

Change-Id: I467f52b78090dc98e01ada782188bbd45b887339
2019-10-03 13:43:20 -07:00
Steven Moreland
045e3f99fc Merge "dumpstate example: use new lazy hal mechanism"
am: 60d9b98423

Change-Id: I5652f0bf8cdac693158c9932b0b5942d7bd9d0fb
2019-10-03 13:29:49 -07:00
Mikhail Naganov
ad3bf06a89 Merge "Fix the name of the constant for device [dis]connect parameter" am: 998c4cd02f
am: a8770db02d

Change-Id: Icde1704bd46642567050f4704d4d65ac9ad96845
2019-10-03 13:10:16 -07:00
Treehugger Robot
60d9b98423 Merge "dumpstate example: use new lazy hal mechanism" 2019-10-03 20:00:34 +00:00
Mikhail Naganov
a8770db02d Merge "Fix the name of the constant for device [dis]connect parameter"
am: 998c4cd02f

Change-Id: I66092fdf4e02c2631116d1c1b670ec169fd4a0ab
2019-10-03 12:57:08 -07:00
Treehugger Robot
998c4cd02f Merge "Fix the name of the constant for device [dis]connect parameter" 2019-10-03 19:44:44 +00:00
Mikhail Naganov
36678b2b16 Fix the name of the constant for device [dis]connect parameter
During the transition to Treble, "device connect" / "disconnect"
parameter was erroneously attributed to audio streams. This
issue got fixed in Audio HAL V4.0, but AudioParameter file
was still using incorrect name for the constant.

Test: make
Change-Id: I18e1e3fccad3d41372f3c5c046af4f6ffd83328b
Merged-In: I18e1e3fccad3d41372f3c5c046af4f6ffd83328b
2019-10-03 09:46:13 -07:00
Alistair Delva
6c3213c940 Merge "Make gralloc0 pass-through mapper handle layers" am: b756e23e5c
am: 6982d1aec5

Change-Id: Ie5bafe1ae8851aa8a79a76024f652b575380c170
2019-10-03 06:35:37 -07:00
Alistair Delva
6982d1aec5 Merge "Make gralloc0 pass-through mapper handle layers"
am: b756e23e5c

Change-Id: I9f5948a862ead71ed745cf1cfca8df2088b3ab59
2019-10-03 06:29:36 -07:00
Alistair Delva
b756e23e5c Merge "Make gralloc0 pass-through mapper handle layers" 2019-10-03 13:02:13 +00:00
Brian Duddie
02de647c06 Update contexthub OWNERS
Test: n/a
Change-Id: I2d23999f1dccf91cfcb21e612740f67f7beb7e58
2019-10-03 01:26:00 +00:00