Commit Graph

3263 Commits

Author SHA1 Message Date
Adam Seaton
432c98fccd Update SVN to 10 for RoW Walleye/Taimen May 2018 Build Bug: 74345861
am: c3241f81d8

Change-Id: Id30e2440ad8ca14dd5e8ec456ef94c95146e126f
2018-03-29 00:37:49 +00:00
TreeHugger Robot
7a1fb9d95a Merge "Allow thermalHAL on Wahoo to look up thermistors by name." into pi-dev 2018-03-28 23:21:56 +00:00
Adam Seaton
c3241f81d8 Update SVN to 10 for RoW Walleye/Taimen May 2018 Build
Bug: 74345861
2018-03-28 21:02:27 +00:00
Miguel de Dios
ff1557a9eb Allow thermalHAL on Wahoo to look up thermistors by name.
Instead of hardcoding thermal zone numbers, make thermalHAL look up
thermistors by name. This is a backport of the way thermalHAL keeps
track of thermal zones in b1c1.

Bug: 75972023
Test: VtsHalThermalV1_0TargetTest passes
Test: VtsHalThermalV1_1TargetTest passes
Test: manual - flash device and check logcat for thermalHAL output.
Change-Id: I24194ea6dd0372b52f525ac288108ee9da30258a
2018-03-28 20:40:40 +00:00
Thierry Strudel
8fa09289ec sepolicy: add type for persist.vendor.charge.
Bug: 73647497
Change-Id: I169195f97e2fd42c4106723023e523fd70f255e9
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2018-03-28 13:38:58 -07:00
Jorim Jaggi
f892d75d77 Merge "Taimen/Walleye: Disable sdm rotator downscaler" into pi-dev 2018-03-28 19:05:34 +00:00
TreeHugger Robot
35afecd871 Merge "Reduced GPS Debug for W/T" into pi-dev 2018-03-28 00:56:19 +00:00
TreeHugger Robot
2003abeffb Merge "Enable TCPM, pd_engine logs on user build." into pi-dev 2018-03-27 22:45:12 +00:00
Siddharth Ray
42c2ddbdfe Reduced GPS Debug for W/T
Debug level to 2 for W/T.
Level 3 is too chatty (b/74565767).

BUG:74566204
Change-Id: I1856be42bf4c93e2db3929366ddfd3c0f72890dd
2018-03-27 15:32:16 -07:00
Miguel de Dios
050d1035b4 Fix the thermal zone numbers for thermalHAL in wahoo.
There is a new thermal zone called usb. We need to increment the
thermalHAL thermal zone numbers to correspond with this change.

Bug: 76107808
Test: manual - manually check thermal zone types on walleye and taimen.
Change-Id: If4a867269870ce08fc94b9e541f6ee1a0c3069ac
2018-03-27 17:48:41 +00:00
TreeHugger Robot
ab5ad5f733 Merge changes from topic "oem_functions_for_wahoo" into pi-dev
* changes:
  set usb oem functions to diag,serial_cdev,rmnet_gsi by default
  Set VID/PID for diag functions
2018-03-27 16:48:58 +00:00
Jorim Jaggi
c3015d8fb4 Taimen/Walleye: Disable sdm rotator downscaler
Rotator down scaler is causing additional delays that are better
handled by GL composition.

Test: Open app, no jank
Bug: 73640835
Change-Id: I6ea9baa28acc222afcf365f3bf107149bc8974d9
2018-03-27 15:57:47 +02:00
Jie Song
e8a3dcb674 Add SELinux permissions for vendor usb config
Bug: 74603740
Change-Id: I72adb62f6dc8c85ce265616cb13fc638a131e253
2018-03-26 22:53:36 -07:00
Jerry Zhang
c77527e5f7 Merge "Mount ptp separately from mtp" into pi-dev 2018-03-27 02:49:02 +00:00
TreeHugger Robot
41a204ee25 Merge "DRM: specify exact interfaces used." into pi-dev 2018-03-27 00:40:28 +00:00
Badhri Jagan Sridharan
d1028fde35 Enable TCPM, pd_engine logs on user build.
Bug: 75396562
Test: User build bugreports had tcpm and pd_engine logs
Change-Id: I77fae102202aa66aa14f6a44fd5bcb3a8531790a
2018-03-26 17:08:05 -07:00
Steven Moreland
0e8c276eb3 DRM: specify exact interfaces used.
Leaving 1.0 in the old format and 1.1 in the new format
since this is agaisnt FCM 2 which requires 1.0 (this makes
sure that OTAs work).

Bug: 73556059
Test: vts_treble_vintf_test (DRM served in 'HalsAreServed')
Test: ota 3/15/2018 build -> ToT + this
Change-Id: I82e6f9fe0b29b15c2e79e92eb9b2abdbab615a71
2018-03-26 16:01:29 -07:00
Ecco Park
296546cdc7 wifi: create the sys property for wlan driver/firmware
Bug: 76220544
Test:
No denial error found for selinux
Signed-off-by: Ecco Park <eccopark@google.com>

Change-Id: If379812a7c8df7fd84beec6734313459938d540e
2018-03-26 15:01:24 -07:00
TreeHugger Robot
f4a1fb284e Merge "Revert "Remove drm@1.1::I*/default and widevine from the manifest."" into pi-dev 2018-03-26 20:00:15 +00:00
Steven Moreland
21dbcfd27d Revert "Remove drm@1.1::I*/default and widevine from the manifest."
This reverts commit d1fc766d4d.

1.1 clearkey was kept in the old format, but because this manifest is
target-level 2, it should have been 1.0 default to be kept in the old
format.

Bug: b/73556059
Reason for revert: b/76227590
Test: boot
Test: vts_treble_vintf_test
Test: update from PPR1.180315.002 -> (ToT + this) succeeds

Change-Id: I6a437bd77c66a4be679da9cb9b44c5a80cb7a9b4
2018-03-26 19:59:49 +00:00
Badhri Jagan Sridharan
8c94182918 set usb oem functions to diag,serial_cdev,rmnet_gsi by default
Bug: 74603740
Test: Did a clean flash and checked to see if persist.vendor.usb.config
was set to diag,serial_cdev,rmnet_gsi.
Change-Id: Ie5e4a723b2fe810fd8e365bc768a25d96379f807
2018-03-23 17:07:52 -07:00
Badhri Jagan Sridharan
c5ec9e09d1 Set VID/PID for diag functions
persist.vendor.usb.config stores the vendor specific functions that are
enabled in the target when ro.bootmode is set to usbradio through
the adb command. Since its a persistent property, the oem functions
are persisted once enabled. Alternatively, store the oem functions
in vendor.usb.config. vendor.usb.config is not persisted though.
vendor.usb.config will also reflect the enabled oem functions.

Configurations supported in this CL:
1. diag
2. diag,serial_cdev,rmnet_gsi

This would work irrespective of when ADB is not or not.

Bug: 74603740
Test: Made sure the QXDM recognized wahoo when adb is enabled/
disabled for diag and diag,serial_cdev,rmnet_gsi
Change-Id: Icbbe177e3f8958efc36f67692b9ec935b718fb03
2018-03-23 17:07:46 -07:00
Roshan Pius
d554979f59 Merge "wpa_supplicant(overlay): Increase max bss count" into pi-dev 2018-03-23 17:41:55 +00:00
Roshan Pius
d433e0ea14 wpa_supplicant(overlay): Increase max bss count
Qcom's driver can support a max of 512 scan results. Ensure that
wpa_supplicant is in sync with that number.

Bug: 74724482
Test: Device boots up and connects to wifi networks.
Change-Id: I62dbd2bd3789c454e9683320d3a58f67019ea7ee
2018-03-22 08:33:17 -07:00
Jaekyun Seok
274196bca4 Namespace ramdump_prop with vendor prefix (2/7)
debug.ramdump.* and persist.sys.crash_rcu should be renamed to
vendor.debug.ramdump.* and persist.vendor.sys.crash_rcu repectively
because they are vendor-specific properties.

Bug: 74266614
Test: succeeded building and tested with taimen
Change-Id: I4d277207b68000160e101456e110656aa483eb83
2018-03-22 18:27:50 +09:00
TreeHugger Robot
d315a83f14 Merge "wahoo: power: add dumpstate support in Power HAL" into pi-dev 2018-03-22 00:40:16 +00:00
TreeHugger Robot
00fc28a718 Merge "wahoo: disable mem_latency governor" into pi-dev 2018-03-21 20:29:41 +00:00
TreeHugger Robot
c642580a27 Merge "dumpstate: dump SRAM & power supply properties" into pi-dev 2018-03-21 19:58:42 +00:00
Mehdi Alizadeh
cf65303db1 Removes wifi offload HAL service from Wahoo
Removes wifi offload HAL service from Wahoo devices by removing related
entries from wahoo/device.mk and wahoo/manifest.xml

Bug: 74549432
Test: Check logs and verify offload HAL service is not running
Change-Id: I45799d07e49c03bac73037867fd0b1db95da495a
2018-03-21 19:10:18 +00:00
Tim Murray
9b95b34ea8 wahoo: disable mem_latency governor
Unclear if advantages are worth cumulative power draw.

bug 73364974
Test: boot taimen, memlat is powersave

Change-Id: I7b5eb176d0f22281e687b9577f5eedf311fb4a11
2018-03-21 11:14:46 -07:00
Lucas Dupin
ff80b99f14 Merge "Renamed config_dozeAfterScreenOff" into pi-dev 2018-03-21 18:04:50 +00:00
Wei Wang
e671f7473c wahoo: power: add dumpstate support in Power HAL
Test: Capture bugreport and check:
      lshal-debug/android.hardware.power@1.2::IPower_default.txt
Bug: 72071908
Change-Id: I0220ce80e69636381d0901c69896b7ce96fde323
2018-03-21 10:36:57 -07:00
Thierry Strudel
ab8d91f947 dumpstate: dump SRAM & power supply properties
Bug: 74954924
Change-Id: I4e2ba0efaf453d0f713d8859945e61e5f5d9ed8d
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2018-03-21 10:05:14 -07:00
Michael Dooley
30afe05ce3 Merge "Allow RecogntionConfig data to be accessed on the DSP" into pi-dev 2018-03-21 10:22:56 +00:00
Lucas Dupin
bc68f7f6e0 Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Icf2123d45b2b4727092103632d1bd6f024161c8a
2018-03-20 16:19:12 -07:00
Ye Wen
f970f5cc71 Merge "Remove runtime permission exception for AiAi." into pi-dev 2018-03-20 21:09:26 +00:00
TreeHugger Robot
c8280badd7 Merge "Add alanstokes as an owner." into pi-dev 2018-03-20 19:56:40 +00:00
Yifan Hong
a9f00221e7 Merge "Remove drm@1.1::I*/default and widevine from the manifest." into pi-dev 2018-03-20 17:44:16 +00:00
TreeHugger Robot
fecb262b05 Merge "wahoo: dumpstate: dump cpuidle for all cores" into pi-dev 2018-03-20 17:41:33 +00:00
Alan Stokes
4533ba3a0d Add alanstokes as an owner.
Test: n/a
Bug: 72643420
Change-Id: Ib329b002231068ce0222530e656167806570c37b
2018-03-20 16:21:08 +00:00
mike dooley
73a5380968 Allow RecogntionConfig data to be accessed on the DSP
Test: manual test with SoundTriggerTestApp on crosshatch
Bug: 75496083
Change-Id: Ibbd6ff0a401abab9704280ccef381bf8a6752973
2018-03-20 17:09:46 +01:00
Ye Wen
c1ba4bc4fa Remove runtime permission exception for AiAi.
Given default permission granting as TextClassifier service role, this
exception is not needed any more.

Test: Manually tested to confirm permissions were not granted by default
without TC service role.

Bug: 72222560

Change-Id: I99c8d929b247cda40f4418997be83830d512aea4
2018-03-20 08:57:28 -07:00
Petri Gynther
792da138c3 Walleye/Taimen: fix "Bluetooth keeps stopping" on GSI image
Generic System Image does not set any of:
- ro.bt.bdaddr_path
- persist.service.bdroid.bdaddr
- ro.boot.btmacaddr

Set ro.bt.bdaddr_path property on the vendor partition, so that it is
available when GSI image is installed and booted on the system side.

Bug: 71814221
Change-Id: Id9a84e9995f94cc02cb97fedbd4fe289348e73c6
2018-03-19 23:49:15 -07:00
Wei Wang
f3002a2656 wahoo: dumpstate: dump cpuidle for all cores
Bug: 75974794
Test: take BR
Change-Id: Iefb52e369db72621554926e59725b5fa4dc74cd7
2018-03-19 23:14:01 -07:00
Miguel de Dios
5a2137fd80 Fix the thermal zone offsets for thermalHAL in wahoo.
We added four new thermal zones in wahoo.  First 4 thermal_zone (0-3)
now are:
    mnh_ipu1, mnh_ipu2, mnh_cpu, mnh_lpddr

so we need to shift all our thermal zone offsets by 4. This is also
causing an IO error whenever we call getTemperatures() since the battery
sensor tries to read mnh_ipu1:

taimen:/ # cat /sys/class/thermal/thermal_zone0/type
mnh_ipu1
taimen:/ # cat /sys/class/thermal/thermal_zone0/temp
cat: /sys/class/thermal/thermal_zone0/temp: I/O error
taimen:/ # cat /sys/class/thermal/thermal_zone4/type
battery
taimen:/ # cat /sys/class/thermal/thermal_zone4/temp
19800

Bug: 75842171
Test: VtsHalThermalV1_0TargetTest pass
Change-Id: Iaa54bd69caaa3b9a16324709d6b858a7dec6200e
2018-03-19 19:25:28 -07:00
Yifan Hong
d1fc766d4d Remove drm@1.1::I*/default and widevine from the manifest.
1.1 clearkey is kept using the old format so that OTA
still works (otherwise, the old libvintf on the device
won't be able to see that 1.1 clearkey is on the device,
and will fail OTA.)

Use the latest <fqname> syntax.

Test: build device
Test: lshal
Test: play Google Play videos
Test: vts_treble_vintf_test DRM passes
Bug: 73556059

Change-Id: I7ef58838dbff0e28e55de2a9e9404571d2006af6
2018-03-20 01:22:21 +00:00
Andrew LeCain
3cea60ef4b Merge "Add qsee_log to dumpstate" into pi-dev 2018-03-20 00:04:01 +00:00
TreeHugger Robot
3455183d2e Merge "Expose USB-C thermistor in ThermalHAL for Wahoo." into pi-dev 2018-03-19 23:09:39 +00:00
Miguel de Dios
be2ed11266 Expose USB-C thermistor in ThermalHAL for Wahoo.
Expose USB-C to calls to getTemperatures() in ThermalHAL for wahoo.

Bug: 67749183
Test: VtsHalThermalV1_0TargetTest pass
Change-Id: Ic45dea1c990e0c71a6ac621145b93cb0f7aa9519
(cherry picked from commit 51872d4950)
2018-03-19 20:48:37 +00:00
Andrew Lehmer
5d2db97dd9 folio_daemon: start and stop with other services
If sensorservice goes down while folio_daemon is running, folio_daemon
will gracefully exit and restart. If sensorservice remains down while
folio_daemon is starting, it will eventually crash due to the way the
ASensorManager_getInstanceForPackage() API behaves (i.e., it will exit
with a SIGABRT after five minutes of waiting). We can reduce the
chance of this happening by ensuring folio_daemon is only started when
its dependent services are explicitly started as well.

Note that this cannot guarantee that folio_daemon will *never* crash due
to SIGABRT, since there is no variant of
ASensorManager_getInstanceForPackage() that allows for graceful handling
of the service timeout. Events that negatively affect the availability
of sensors are outside the control of folio_daemon.

Bug: 73555660
Test: loaded on walleye and tested with `stop` and `start` commands
Change-Id: I65e1b72745719f2540bff7cab8e556725486bcad
(cherry picked from commit 9ebb33ed13)
2018-03-19 20:43:54 +00:00