Commit Graph

3243 Commits

Author SHA1 Message Date
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
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
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
Andrew LeCain
8e42ca9426 Add qsee_log to dumpstate
Updating dumpstate to cat /d/tzdbg/qsee_log
Added debugfs_tzdbg selinux security context
Give hal_dumpstate_impl debugfs_tzdbg read permissions

Fixes: 74536221
Test: taimen: adb bugreport, qsee_log in dumpstate_device.txt

Change-Id: If80e665b789125d11a55d2812380aa4b906f10ab
2018-03-19 12:35:37 -07:00
Jaegeuk Kim
d494591123 Remove hibern8 tweak
We disabled auto_hibern8 in kernel, so there's no sysfs entry for that.

Bug: 75004568
Bug: 66697973
Bug: 65535484
Change-Id: Iaa95c60435b74ffb97c103701515e9aa55946a91
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2018-03-17 18:07:19 +00:00
Yifan Hong
e848273f3d wahoo: target FCM version = 2
because it serves radio.deprecated.
Fixes: 75321688
Test: vts_treble_vintf_test

Change-Id: I79b03129414140fdc773797adca57135a048397c
2018-03-16 16:43:31 -07:00
TreeHugger Robot
2d0c3af8fc Merge "Remove audio V2 from manifest." into pi-dev 2018-03-16 23:25:17 +00:00
Yifan Hong
f276b19001 Remove audio V2 from manifest.
Test: build VINTF metadata
Test: change target-level to 2, build VINTF metadata
Test: vts_treble_vintf_test does not complain on
      audio V2.

Bug: 74341777
Change-Id: Id93c53914bbdaa02098e90912a38c3ba1c341a20
2018-03-16 14:02:44 -07:00
Wei Wang
11cb44a54d wahoo: power: change CPU min freq to 0 in config
cpufreq driver will pick up lowest freq if 0 is written.

Bug: 75018682
Test: Boot
Change-Id: I458fdc199908b334023c30617b77cc558827424e
2018-03-15 15:54:42 -07:00
Adam Seaton
5dfde03b2c Update SVN to 9 for May Release bug: 74345861
am: 294cd6b8d8

Change-Id: Ifc79b06c1d3a2943e4abc3da8e897d3913a94954
2018-03-14 01:24:46 +00:00
Adam Seaton
294cd6b8d8 Update SVN to 9 for May Release
bug: 74345861
2018-03-13 15:31:06 -07:00
Michael Butler
b22d5be33e Merge "Match NN manifest version with current HVX version" into pi-dev 2018-03-13 20:10:30 +00:00
TreeHugger Robot
d51fa2359f Merge "Enable BLE Hearing Aid on wahoo" into pi-dev 2018-03-13 18:21:58 +00:00
Michael Butler
fcdd5dd588 Match NN manifest version with current HVX version
Currently, HIDL manifests files only support a single version of a HIDL
interface. Even though the Neural Networks API has defined and
implemented a 1.1 HAL, the only real driver (HVX service driver) is
currently only 1.0.

This problem is similar to that in b/73556059. Soon, HIDL will be able
to support multiple interface versions in the device manifest. Until
then, or until the HVX service driver is upgraded to 1.1, the manifest
will be changed to 1.0.

Bug: 74443090
Test: mma
Change-Id: I46811231dff92e136dfccb88e85b8ce70b89ac1d
2018-03-12 14:07:37 -07:00
TreeHugger Robot
9309dd42af Merge changes from topic "bugreport-zero-denials-pi-dev" into pi-dev
* changes:
  Remove regex and label the whole directory.
  Remove unnecessary permissions.
  Grant hal_bootctl permissions for new type.
  Ensure taking a bugreport generates no denials.
2018-03-12 20:19:01 +00:00
Eric Laurent
a6bb5dd866 Enable BLE Hearing Aid on wahoo
Bug: 69623109
Change-Id: Id138c157dd508a4c42167095f30d68fad1013ac5
2018-03-12 16:42:12 +00:00
Amruth Ramachandran
1e824c7904 Merge "ConnectivityMonitor sepolicy update: Add audio_server permission" into pi-dev 2018-03-10 03:18:14 +00:00
Sooraj Sasindran
9361747cc9 Make sure network scan results get SPN name
Make sure network scan results get SPN name
so that it is same as OPERATOR NAME

Bug: 72360640
Change-Id: I3e7bdfcef5f1c402faa137f211ed2f59f61d0b48
2018-03-09 22:30:12 +00:00
Ruchi Kandoi
a4a5db5772 Remove system and vendor image dependency
libnfc-nci.conf shouldn't be a part of vendor image, since it is
accessed by libnfc-nci and Nfc application, both are part of system
image.

Test: Nfc enable/disable
Bug: 72080121
Change-Id: I686ba234c7d2aa923070c3fa980c56b73b18e574
(cherry picked from commit 3197b56882ed9997043d87e6582f6ebaa0fdbace)
2018-03-09 22:05:48 +00:00
Petri Gynther
e176b1e9d1 Walleye/Taimen: switch to QCOM BT HAL
The flag definition:
BOARD_USES_SDM845_BLUETOOTH_HAL := true

adds SDM845 Bluetooth components to the build:
vendor/qcom/sdm845/proprietary/bluetooth/hidl_transport/Android.mk
vendor/qcom/sdm845/proprietary/bt/hci_qcomm_init/Android.mk

and removes MSM8998 Bluetooth components from the build:
vendor/qcom/msm8998/prebuilts/grease/target/product/msm8998/Android.mk
vendor/qcom/msm8998/proprietary/proprietary/bt/hci_qcomm_init/Android.mk

Effectively, Walleye/Taimen switch to the same QCOM BT HAL as B1/C1.

Bug: 73968979
Test: Manual build and test with BT A2DP headphones

(cherry picked from commit 7c2dc1679d)

Change-Id: I4d6444932a807e573f6e8d88c6ad4ba4de8f277a
2018-03-09 13:07:02 -08:00
TreeHugger Robot
07d6b294fa Merge "Disable modules that can't be built in PDK" into pi-dev 2018-03-09 19:48:30 +00:00
Amruth Ramachandran
43e4bf7ab7 ConnectivityMonitor sepolicy update: Add audio_server permission
ConnectivityMonitor requires the current audio route for voice calls.
  Error fixed:
  auditd  : avc:  denied  { find } for service=media.audio_policy pid=4056
  uid=1001 scontext=u:r:con_monitor_app:s0:c233,c259,c512,c768
  tcontext=u:object_r:audioserver_service:s0 tclass=service_manager
  permissive=0

Bug: 3619416

Change-Id: I6f5c1512a554b2db21768aa36277ada7e57fdf8a
2018-03-09 15:33:39 +00:00