Commit Graph

1151 Commits

Author SHA1 Message Date
Siqi Lin
14983536bf Remove no_console_suspend=1 from kernel command line
console_suspend defaults to Y in the kernel and we want
to control it in an init script where we set
console_suspend = Y if serial console is enabled and
console_suspend = N if serial console is disabled.

Bug: 63857173
Test: boot with serial console enabled / disabled
Change-Id: I8743a2bbda0d09596d46b9376c901e854677a0e5
2017-07-20 13:05:21 -07:00
Jayachandran C
9882d1d7a6 AU293 drop rebase for IMS and radio related changes
1) Explicitly specify uid, gid and groups needed for cnd Add
CAP_BLOCK_SUSPEND
2) Move sys.ims properties to vendor.ims
3) Remove imscmservice from init as its not used on Pixel

Bug: 63850865
Bug: 63804057
Change-Id: Ie8f0eefa96a21605a63ae5a73e59270866704ed7
2017-07-19 23:49:55 -07:00
Nick Desaulniers
fd52eb310c Revert "init: restart qseecomd once /data is mounted"
This reverts commit 134f509da1.

I'm not sure if the start time of qseecomd has been moving around, but
it seems that this is no longer necessary.

Bug: 37589340
Test: enroll new fingerprints and authenticate with them. FDR should not
  have problems upon reboot.
Change-Id: I0b817143de5f3aa13ac5baabfe3c8a59f0341710
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2017-07-20 06:31:43 +00:00
TreeHugger Robot
4e102dfdcb Merge "THERMAL HAL API 1.0 impl for Wahoo" into oc-dr1-dev 2017-07-20 01:47:09 +00:00
TreeHugger Robot
9f50e56a0d Merge "usb: add idVendor value for configfs" into oc-dr1-dev 2017-07-20 01:38:53 +00:00
Wei Wang
a81f5612fe THERMAL HAL API 1.0 impl for Wahoo
Thermal HAL 1.0 implementation for wahoo

Bug: 36458508
Test: VtsHalThermalV1_0TargetTest pass
Test: Check thermalHAL log
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I88831aec5c388269cb78f8cbd966ecae55f1cff2
2017-07-19 12:44:17 -07:00
Brian Duddie
27efdfcceb Run CHRE daemon as system user instead of root
Bug: 63818298
Test: confirm CHRE starts up, and HAL can communicate with it via
monitoring logcat and running lshal debug
Change-Id: I72f74d66f98266ba1bcd417e5ec61ace4ddb780c
2017-07-18 16:24:14 -07:00
Jie Song
c088662d68 Merge "Add SELinux rules for MDS app" into oc-dr1-dev 2017-07-18 21:41:11 +00:00
Yueyao Zhu
ffb13f69f0 Move AB_OTA_PARTITION vendor to vendor makefiles
Bug: 63802619
Change-Id: Ic67a9c02f6343d0154b7f95cbe7dd5b909ebe25d
2017-07-18 11:36:55 -07:00
Jie Song
b05fb1bb1e Add SELinux rules for MDS app
Bug: 63147021
Test: Verify app can run and access diag interface
Change-Id: I6aaadd5af6508aee8229968636e4f76c8c957d5e
(cherry picked from commit a48092ad06)
2017-07-18 17:00:50 +00:00
TreeHugger Robot
ac31ae9116 Merge "add atfwd service and related policy." into oc-dr1-dev 2017-07-18 14:54:03 +00:00
TreeHugger Robot
d16dc52f4c Merge "Enable console suspend if UART is not enabled" into oc-dr1-dev 2017-07-17 23:35:42 +00:00
TreeHugger Robot
b415efa7a0 Merge "usb: disable L1 LPM" into oc-dr1-dev 2017-07-17 22:30:34 +00:00
seokjeong.hong
19bb7891bf usb: add idVendor value for configfs
From a qualcomm diag composition has idVendor 0x05c6,
the other Google USB composition change does not work properly
That's because this configfs.rc file change only idProduct.

Add Google's vendor id 0x18d1 to each composition.

Bug: 63056085

Change-Id: I2e45fe2176ad4601b23b33edeb5d6dbee5111242
Signed-off-by: seokjeong.hong <seokjeong.hong@lge.com>
2017-07-17 15:20:54 -07:00
Patrick Tjin
f594698be6 Enable console suspend if UART is not enabled
Test: walleye with console enabled -> console_suspend = N
Change-Id: Iea28573dd953408b78787ea17841a80fbdbe9657
2017-07-17 21:28:41 +00:00
Annie Chin
d11be48a17 Merge "Pre-grant READ_EXTERNAL_STORAGE for soundpicker" into oc-dr1-dev 2017-07-17 21:20:34 +00:00
Badhri Jagan Sridharan
82880d2bc2 usb: disable L1 LPM
NAK'ed OUT transfers never complete once the usb controller enters
L1 LPM. The issue was rootcaused to the usb controller not performing
remote wakeup when it enters L1 and a trasaction is queued.
Since, this is entirely controlled by controller's hardware,
disable L1 lpm to prevent transfer failure.

Also, init already has the required sepolicy to write to sysfs nodes.

Bug: 62038982
Test: Transfers happen with Broadwell chromebooks
Change-Id: Ibb13b5b79e1aa6a5d35ddcaffece4ef4942920b7
2017-07-17 20:17:11 +00:00
TreeHugger Robot
cd3b139506 Merge "manifest.xml(wahoo): Add wifi 1.1 package" into oc-dr1-dev 2017-07-17 20:10:45 +00:00
TreeHugger Robot
096c529776 Merge "Restore Camera to perfd communication" into oc-dr1-dev 2017-07-17 19:21:30 +00:00
Roshan Pius
af15698f96 manifest.xml(wahoo): Add wifi 1.1 package
Bug: 63129484
Test: Devices boots up and connects to wifi networks.
Change-Id: I53fc4c52d8c7faff8c9f80c6bf0ba29501597ef6
2017-07-17 11:14:39 -07:00
Annie Chin
06e79629d6 Pre-grant READ_EXTERNAL_STORAGE for soundpicker
Bug: 63355851
Test: N/A
Change-Id: I50b4a41186b5d9cc5e0509b0f968029233392514
2017-07-14 15:29:00 -07:00
Wei Wang
6871dd4a7d Restore Camera to perfd communication
Bug: 63633407
Test: Build
Change-Id: I395e487d1fe0463cfa6034cf7194ffdeb4ad31ca
2017-07-14 13:41:09 -07:00
Philip Cuadra
8d99d9fce3 Merge "Add powerHintAsync functionality" into oc-dr1-dev 2017-07-14 17:02:21 +00:00
Sunny Kapdi
0c2b5e803d Bluetooth: Allow wakelock access to wcnss_filter
Bluetooth driver needs to hold a wakelock while receiving
packets from the UART to make sure that no bytes are lost.

Test: Bluetooth on/off
Bug: 63628397
Change-Id: I8cd6a13921cdc2777c64b0624f544a9548292522
2017-07-13 15:53:04 -07:00
TreeHugger Robot
2e5de1e053 Merge "init.hardware.rc: boost UFS during boot" into oc-dr1-dev 2017-07-13 22:30:03 +00:00
Wei Wang
26b8c377a6 init.hardware.rc: boost UFS during boot
Before:
SystemServer_start            : 4.963   0.14877
SystemUi_start                : 6.4789  0.17614
system_server_ready           : 6.8311  0.17777

After:
SystemServer_start            : 4.8848  0.13089
SystemUi_start                : 6.2907  0.14558
system_server_ready           : 6.6286  0.14705

Bug: 63644084
Test: 50 boot with packages/services/Car/tools/bootanalyze/bootanalyze.py
Change-Id: Icebc7a2e5b223c4749adb6575c52a99ef6c5faa0
2017-07-13 10:19:20 -07:00
Thierry Strudel
c09b928dd2 add atfwd service and related policy.
Bug: 37168913
Test: No more atfwd errors at boot
Change-Id: I8b05bbc33c8d393a9dcaabf4fd554fdfab126989
Signed-off-by: Thierry Strudel <tstrudel@google.com>
(cherry picked from commit a75d65362c8baef5c66e97c79d2840b00ce21bfe)
2017-07-13 15:39:30 +02:00
Adrian Roos
8b6d1c00f3 Merge "wahoo: Enable long-press on AOD to launch Assistant" into oc-dr1-dev 2017-07-13 12:01:45 +00:00
TreeHugger Robot
c0de0213de Merge "suppress denial logspam" into oc-dr1-dev 2017-07-13 07:16:19 +00:00
Jeff Vander Stoep
7fcf5a1a62 suppress denial logspam
These denials are not causing app bugs but the underlying code needs
to be fixed. In the meantime, remove them from the logs.

avc: denied { read } for name="/" dev="tmpfs" ino=19039
scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:device:s0
tclass=dir
avc: denied { read } for name="interrupts" dev="proc" ino=4026532104
scontext=u:r:priv_app:s0:c512,c768
tcontext=u:object_r:proc_interrupts:s0 tclass=file
avc: denied { read } for name="modules" dev="proc" ino=4026532153
scontext=u:r:priv_app:s0:c512,c768
tcontext=u:object_r:proc_modules:s0 tclass=filea

avc: denied { search } for name="zram0" dev="sysfs" ino=37069
scontext=u:r:untrusted_app:s0:c512,c768
tcontext=u:object_r:sysfs_zram:s0 tclass=dir

Bug: 63631799
Test: Build and flash, verify denials are gone.
Change-Id: I6ddc91aa792b771e2c4190b211588347cc4119ea
2017-07-13 05:19:54 +00:00
TreeHugger Robot
121ad8516c Merge "Remove USE_SENSOR_MULTI_HAL for wahoo." into oc-dr1-dev 2017-07-13 04:34:40 +00:00
Ecco Park
08407f9b8e Merge "wifi: change the tcp tune parameters for max Tx/Rx tputs" into oc-dr1-dev 2017-07-13 02:44:44 +00:00
Vineeta Srivastava
abe32c07d6 Remove USE_SENSOR_MULTI_HAL for wahoo.
Bug: 62973052
Test: verified on a device
Change-Id: Ib0780be3916b97e11278118f6231dc1aa9323495
2017-07-12 18:13:30 -07:00
TreeHugger Robot
e209cf7c30 Merge "haptics: add customized haptic boot patterns" into oc-dr1-dev 2017-07-13 01:02:25 +00:00
TreeHugger Robot
74d7e77ea5 Merge "Allow collection of Bluetooth firmware dumps in bugreports (1/3)" into oc-dr1-dev 2017-07-13 00:15:21 +00:00
Ecco Park
a9ff1cc53d wifi: change the tcp tune parameters for max Tx/Rx tputs
Increase the tcp socket write buffer size.
Bug: 63351644

Change-Id: I1429f8aa49d55b3253401e6131349c55eb72da8a
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-12 22:12:09 +00:00
TreeHugger Robot
fb037a5a96 Merge "tango_core.te: Allow audioserver and mediaserver find" into oc-dr1-dev 2017-07-12 21:55:30 +00:00
TreeHugger Robot
7a7af08804 Merge "remove cameraHAL to perfd interface" into oc-dr1-dev 2017-07-12 21:13:54 +00:00
Philip Cuadra
3a91edbc6c Add powerHintAsync functionality
Add an async version of powerHint called powerHintAsync.

Bug: 62377008
Test:  Take systrace, confirm powerHint is an async HIDL transaction

Change-Id: I481d74e02c51756306400cc19000db644fce6559
2017-07-12 12:14:26 -07:00
David Lin
d1efba3884 haptics: add customized haptic boot patterns
Add customized "two times of heart beat" haptic patterns for
bootanimation.

Bug: 62207090
Test: boot and verify the patterns
Change-Id: If88d45b482b3f927165efc9e28ecb6734694c336
Signed-off-by: David Lin <dtwlin@google.com>
2017-07-12 12:02:03 -07:00
Wei Wang
5e53c868af remove cameraHAL to perfd interface
This CL removed cameraHAL to perfd interface
Also changed some powerHAL logging level

Bug: 63589458
Test: Build
Change-Id: I4725f45b22bf3a3787dc5d77fc9c6b22a66a21aa
2017-07-12 12:01:19 -07:00
Ajay Panicker
a89c11643c Allow collection of Bluetooth firmware dumps in bugreports (1/3)
This patch is temporary and should be removed once the bug is resolved

Bug: 63390057
Test: Force a hci_timeout and collect a bugreport
Change-Id: I29d3f19462c152e785eec0291f06ed4c004b623f
2017-07-12 11:18:23 -07:00
Adrian Roos
5d81c9963f wahoo: Enable long-press on AOD to launch Assistant
Bug: 37684244
Test: adb shell settings put secure doze_pulse_on_long_press 1, then Long-press while device is on AOD or off, observe that assistant is launched.
Change-Id: I0cf101331c042e9b59e811b59e209d5476019b23
2017-07-12 13:52:01 +00:00
Lorenzo Colitti
4293069bf3 Merge "Device SELinux policy for secure persistent netd storage" into oc-dr1-dev 2017-07-12 07:57:42 +00:00
TreeHugger Robot
6544bd52b8 Merge "ueventd: remove redundant rules" into oc-dr1-dev 2017-07-12 05:33:36 +00:00
Jayachandran Chinnakkannu
338e14671f Merge "Set persist.radio.always_send_plmn to true" into oc-dr1-dev 2017-07-12 05:14:48 +00:00
TreeHugger Robot
e9ae784048 Merge "Revert "configstore: applied uprev of configstore"" into oc-dr1-dev 2017-07-12 02:18:15 +00:00
Jayachandran C
2be5177493 Set persist.radio.always_send_plmn to true
Set persist.radio.always_send_plmn to true to force read PLMN
name instead of standard EONS(SPN) for manual network search.

This change is needed to avoid duplicate entries shown in
manual network selection result.

Side effect:
If a MVNO SIM card is inserted, manual network search will list
actual network name instead of virtual operator name.

Test: Verified manual selection doesn't display duplicate entries

Bug: 62925374
Change-Id: Id1d308c74e5bc878169911068743afce61ad3d10
2017-07-11 18:40:44 -07:00
TreeHugger Robot
3283943836 Merge "Power: Fix interaction boost calculation" into oc-dr1-dev 2017-07-11 23:43:49 +00:00
TreeHugger Robot
2bcf425fd5 Merge "audio: Change deep buffer output profile bit width to 24 bit packed." into oc-dr1-dev 2017-07-11 21:08:56 +00:00