Commit Graph

3272 Commits

Author SHA1 Message Date
Wei Wang
caf274c10e dumpstate: add vendor property dump and fix tzlog timeout
Bug: 77489941
Bug: 77277669
Test: take BR
Change-Id: I037c17ec6ce4f80f86e157ac9b9e0602fa8ecd68
2018-04-02 16:33:44 -07:00
Wei Wang
b67512ba68 ThermalHAL: add dump into bugreport
lshal-debug/android.hardware.thermal@1.1::IThermal_default.txt:
getTemperatures:
Name: usb_port_temp Type: UNKNOWN CurrentValue: 30.7 ThrottlingThreshold: nan ShutdownThreshold: nan VrThrottlingThreshold: nan
Name: back_therm Type: SKIN CurrentValue: 30 ThrottlingThreshold: 40 ShutdownThreshold: 56 VrThrottlingThreshold: 52
Name: tsens_tz_sensor4 Type: CPU CurrentValue: 42.7 ThrottlingThreshold: 95 ShutdownThreshold: 115 VrThrottlingThreshold: 95
Name: tsens_tz_sensor2 Type: CPU CurrentValue: 43 ThrottlingThreshold: 95 ShutdownThreshold: 115 VrThrottlingThreshold: 95
Name: battery Type: BATTERY CurrentValue: 28 ThrottlingThreshold: nan ShutdownThreshold: 60 VrThrottlingThreshold: nan
Name: tsens_tz_sensor13 Type: GPU CurrentValue: 40.8 ThrottlingThreshold: nan ShutdownThreshold: nan VrThrottlingThreshold: nan
Name: tsens_tz_sensor10 Type: CPU CurrentValue: 42.1 ThrottlingThreshold: 95 ShutdownThreshold: 115 VrThrottlingThreshold: 95
Name: tsens_tz_sensor9 Type: CPU CurrentValue: 42.4 ThrottlingThreshold: 95 ShutdownThreshold: 115 VrThrottlingThreshold: 95
Name: tsens_tz_sensor3 Type: CPU CurrentValue: 42.4 ThrottlingThreshold: 95 ShutdownThreshold: 115 VrThrottlingThreshold: 95
Name: tsens_tz_sensor8 Type: CPU CurrentValue: 41.7 ThrottlingThreshold: 95 ShutdownThreshold: 115 VrThrottlingThreshold: 95
Name: tsens_tz_sensor7 Type: CPU CurrentValue: 42.1 ThrottlingThreshold: 95 ShutdownThreshold: 115 VrThrottlingThreshold: 95
Name: tsens_tz_sensor1 Type: CPU CurrentValue: 43.3 ThrottlingThreshold: 95 ShutdownThreshold: 115 VrThrottlingThreshold: 95
getCpuUsages:
Name: CPU0 Active: 3144 Total: 6725 IsOnline: 1
Name: CPU1 Active: 3128 Total: 6943 IsOnline: 1
Name: CPU2 Active: 2128 Total: 6692 IsOnline: 1
Name: CPU3 Active: 1936 Total: 6893 IsOnline: 1
Name: CPU4 Active: 2165 Total: 7027 IsOnline: 1
Name: CPU5 Active: 2356 Total: 7046 IsOnline: 1
Name: CPU6 Active: 3757 Total: 7022 IsOnline: 1
Name: CPU7 Active: 3748 Total: 7049 IsOnline: 1

Test: take BR
Bug: 77301612
Bug: 72071908
Change-Id: Ib10ab86731df4cee3c7523c54c5dce51f2038156
2018-04-02 09:57:50 -07:00
Edwin Wong
436d59a04d Merge "Rename Widevine HIDL service to v1.1." into pi-dev 2018-03-31 00:43:02 +00:00
Edwin Wong
e3894648fe Rename Widevine HIDL service to v1.1.
Widevine HIDL service added new v1.1 media APIs,
the service version is updated to 1.1.

Test: Netflix and Play Movies & TV (streaming and offline playback)

Test: GTS WidevineH264PlaybackTests test
  e.g. ANDROID_BUILD_TOP= ./android-gts/toolsefed run gts -m GtsMediaTestCases
  --test com.google.android.media.gts.WidevineH264PlaybackTests#testL1With480P30

bug: 69674645
Change-Id: I287d48bf7cef5b3bb30e21b3794cc7422701ca6c
2018-03-31 00:19:54 +00:00
Jan Althaus
7d957045ac Allowing GmsCore to register DnD rules
This is necessary because the driving DnD rules will be migrated from
Pixel Ambient Services to GmsCore. Pre-granting this permission is
necessary to avoid a feature regression when compared to Pixel 2.

Bug: 74115747
Test: Manually confirmed config change in Pixel 2 build
Change-Id: Icb595b6a31787c18eef38da50f5a256ada5c05f2
(cherry picked from commit e30688631f)
2018-03-30 08:15:55 +00:00
Daniel Nishi
07178945cc Merge "Add default permission grant for Settings Intelligence." into pi-dev 2018-03-29 21:38:21 +00:00
TreeHugger Robot
9543c9913e Merge "Specify DEVICE_FRAMEWORK_COMPAT_MATRIX" into pi-dev 2018-03-29 03:21:33 +00:00
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
Daniel Nishi
9eefc3d002 Add default permission grant for Settings Intelligence.
As a result of adding an alternative permission UI flow into the
prebuilt upon interaction with the notification, we are allowed to be
pre-granted this permission.

Bug: 72946884
Test: App doesn't break/crash upon using permission.

Change-Id: I4a4ca1b78f059e67dff3b91368710e0b0f23ca02
(cherry picked from commit 09854c4f88)
2018-03-28 23:01:02 +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
Yifan Hong
0569fc6852 Specify DEVICE_FRAMEWORK_COMPAT_MATRIX
Test: builds (check vintf metadata)
Bug: 65028233

Change-Id: I6a0b6b7377a511be5a35a013712fd28795861b93
2018-03-23 17:00:27 -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