Commit Graph

193 Commits

Author SHA1 Message Date
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
David Lin
13c1c216b2 Merge "audio: enable adsp subsys restart" into oc-dr1-dev 2017-07-11 01:44:03 +00:00
David Lin
a55866365b audio: enable adsp subsys restart
This patch enables subsys restart feature for adsp.

Bug: 63314860
Test: QXDM send_data 75 37 03 48
Change-Id: I4e0e337238ee765294b591270165d8d707d349e0
Signed-off-by: David Lin <dtwlin@google.com>
2017-07-11 01:43:01 +00:00
Sooraj Sasindran
09e618ae3a Merge "Do not drop packets" into oc-dr1-dev 2017-07-07 23:05:55 +00:00
Sooraj Sasindran
d0e8fe363c Do not drop packets
Do not drop packets based upon enqueue sequence
to avoid freeze.

Bug=63274801

Change-Id: I064dfc2775be104096566dff0c1638ac04cd7fc4
2017-07-07 10:12:23 -07:00
Patrick Tjin
4402ccfb27 Add copy from /persist/elabel to /data/misc/elabel
Bug: 62837579
Test: place test files in /persist/elabel, check that they are copied to /data/misc/elabel on boot
Change-Id: Id29e7c7c01ed54bf4d2f488cfa6dba51046bc5bf
Merged-In: Id29e7c7c01ed54bf4d2f488cfa6dba51046bc5bf
2017-07-07 03:04:46 +00:00
TreeHugger Robot
4e86a6c446 Merge "vndk: add ro.vendor.vndk.version" into oc-dr1-dev 2017-07-05 23:21:19 +00:00
TreeHugger Robot
555d3c7910 Merge "Disable snapshat timer" into oc-dr1-dev 2017-07-05 20:12:36 +00:00
Jiyong Park
e332929400 vndk: add ro.vendor.vndk.version
The version of VNDK that the vendor is built against is recorded in the
vendor partition. The version will be used by the dynamic linker to load
the correct version of ld.config.txt to use.

Bug: 63130475
Test: taimen build and boots
Change-Id: Iee9a87340b90bf618c2d241820820f45f114b9f7
2017-07-04 10:02:25 +09:00
Wei Wang
454fc3e786 wahoo: time_daemon: use /persist to store offset to RTC
Also cleanup sepolicy files that was using /data/vendor as they are not
needed and /data is not ready by the time we start time_daemon

Bug: 62184939
Test: walleye boot with correct time in airplane mode
Change-Id: Ic7b025a8c795092a1dd4b1ab1d7497d1440c0a4b
2017-06-30 23:15:48 +00:00
Jayachandran C
7765618ee4 Disable snapshat timer
Test: Changed the mode using hidden menu multiple times and verified
      the device doesn't report roaming.

Bug: 62622461
Change-Id: I51aefef9d574faf3c46e19e07f8c4fe187bf29d2
2017-06-30 21:27:41 +00:00
Mikhail Naganov
4f3f9535d4 Remove Broadcast Radio HAL impl library
There is no support for FM radio on this line of devices.
Having this HAL impl in place was confusing VTS tests runner
as broadcast radio HAL was present in the output of 'lshal'.

Bug: 33050893
Test: audio works, no impl lib in /vendor/lib[64]/hw,
      no broadcastradio in lshal output

Change-Id: I35b4d6329de8b04032b456fb048b0b8728024a64
2017-06-30 10:36:21 -07:00
Glenn Kasten
a8bfec5987 Reduce USB audio latency on Walleye only
No change in latency for Taimen

Bug: 62375603
Test: Loopback shows reduction and no glitches on Walleye, no change on Taimen
Change-Id: I6a071ed588a69dacb5be11a5154bd2976444df4f
2017-06-27 16:00:24 -07:00
Glenn Kasten
614e203677 Merge "Report feature android.software.midi to enable testing" into oc-dr1-dev 2017-06-27 15:05:26 +00:00
Glenn Kasten
a949a88da4 Report feature android.software.midi to enable testing
Test: MIDI Scope and similar tests can be launched
Bug: 37993866
Change-Id: I27b134f4709b5c49a99c2525a871d2121c842dee
2017-06-26 12:21:23 -07:00
Jean-Michel Trivi
2ced533126 Media volume: from 15 to 25 steps
Test: play media, use all 25 vol steps and observe varying attenuation
Bug: 32195657
Change-Id: I7ac87df0b2b15de3a7bb87e739bd88ef7b185236
2017-06-22 19:20:26 -07:00
Andreas Gampe
fa31a67e1d Wahoo: Add minidebug-info to system server
Add minidebug-info to the system server jars, in an effort to help
diagnose native crashes.

Bug: 62823069
Test: m
Test: readelf -e $OUT/system/framework/oat/arm64/services.odex | grep gnu_debugdata
Change-Id: I3c5ac5791bd869ab596809aa177a1c903617bef8
2017-06-20 09:01:49 -07:00
Meng Wang
a3f7b11d87 Add spn-conf.xml for wahoo
Bug: 62646036
Test: make - spn-conf.xml appears in /system/etc
Test: manual - see the bug
Change-Id: I842c312319c8e1329c38f83ac0ecd214f9080578
2017-06-15 12:13:35 -07:00
Niranjan Pendharkar
f24953f875 add missing cfg to product packages
IPACM_cfg.xml is needed for ipacm configuration and needs to be installed.

CP from Partner.

Bug: 34361337
Test: manual
Change-Id: Ib7c4855ab758221feb7d5eb179ebe664c57f341b
2017-06-14 18:58:59 +00:00
Zhijun He
c066dd944a mm-camera: enable gravity sensor
For lens sag correction

Bug: 62205237
Change-Id: I16e7620c34dd2fd2d1f1ea7ea684a6c5504eaf5f
2017-06-12 21:05:51 +00:00
Polina Bondarenko
6f7dab1ce3 Enable carrierlock feature for pixel 2017 devices.
Bug: 62401470
Test: add/remove simlock.
Change-Id: I5f2e56c8cb5267f4563c5f2a2331b63563c6a77d
(cherry picked from commit a733dc60d4)
2017-06-12 10:58:16 +00:00
Yifan Hong
ce65f856a3 Add PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE
Test: m system_compatibility_matrix.xml -j; \
    grep -e"gatekeeper" -B1 $OUT/system/compatibility_matrix.xml; \
    grep -e"oemlock" -B1 $OUT/system/compatibility_matrix.xml
    (both exists)

Bug: 62136051
Change-Id: Iffcbac536f7768e4d3b8d4c04604132b29e81d56
2017-06-08 09:58:32 -07:00
Thierry Strudel
c707124156 PRODUCT_SHIPPING_API_LEVEL := 26
Bug: 62434384
Change-Id: I3e254413356460df77d5d9c5da2f13b4e9bda243
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-06-07 23:56:52 -07:00
TreeHugger Robot
3a22f72d37 Merge "Set default saturation boost to 10%" 2017-06-07 02:36:19 +00:00
Gabriel Taubman
1a7bb91754 Merge "[Default permission exception] Google - Pixel Ambient Services (com.google.intelligence.sense)" 2017-06-06 20:16:57 +00:00
Ahmed ElArabawy
e758626c5d Merge "Re-introduce of POWER HAL API 1.1 impl for Wahoo" 2017-06-06 16:01:55 +00:00
Romain Guy
ff0ce689c4 Set default saturation boost to 10%
Bug: 62238038
Test: Manual
Change-Id: I8a87dd4903e66a48c6e1e58b9664c3e66717183c
2017-06-05 19:35:04 -07:00
David Lin
e2ac78d27f haptics: implements vibrator 1.1 HAL
Obtain tick/click effect duration from system property and implement the
new perform 1.1 function for supporting tick effect.

Bug: 62176703
Test: VtsHalVibratorV1_1TargetTest
Change-Id: Icbd50c2e7d05fd520aeda4511ba95151dde2a5ed
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-05 16:21:17 -07:00
Ahmed ElArabawy
f3e845ce21 Re-introduce of POWER HAL API 1.1 impl for Wahoo
Power HAL 1.1 support for wahoo based devices was initially introduced in CL
ag/2098359
However, this caused a regression in application startup times due
to a bug in passing parameters for power hints on application launch
Hence, that CL was reverted in CL ag/2270791

This commit brings back the support of the Power Hal 1.1
to wahoo based devices. This includes the changes of the original CL
as will as a fix for the app startup time regression

The fix is similar to that in ag/1767023 (done for power HAL 1.0 default
implementation)
where a NULL is passed to the powerHint function when the passed data is
Zero
(instead of passing a pointer to the data). This enable the App Launch
power hints to work properly

The commit has been tested not to cause that regression

Bug: 62040325
Test: Performance Tests along with other tests

Change-Id: I29ce38b2de92c2b9ad878b0076288b689695b8a0
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2017-06-05 15:44:43 -07:00
Chia-Kai Liang
60d978ef51 Diable gzoom to fix the power regression at various video modes.
Change-Id: I321ca5427087faef3e3cc01d7b2659a8188d02b6
2017-06-03 19:58:52 -07:00
Grace Chen
7689816258 Set default cdma subscription to RUIM
Bug: 62155937
Test: Confirmed property
Change-Id: I4f5f286c8b19c8b24151b8ef8d815fd01ccc5c87
2017-06-02 15:30:19 -07:00
Jesse Hall
925fc47943 Merge "Move gfx driver property to vendor makefile" 2017-06-02 17:15:44 +00:00
TreeHugger Robot
f95d9ae8c3 Merge "Move lowi.conf to vendor" 2017-06-02 11:15:25 +00:00
SzuWei Lin
8333cc4fb8 Move lowi.conf to vendor
Bug: 62283103
Bug: 37927875
Test: check the files in folder vendor/etc
Test: test gps by test app
Change-Id: I57c08e4257ba650293e9731431933b355953c214
2017-06-02 08:30:37 +00:00
Jesse Hall
b48d6040ff Move gfx driver property to vendor makefile
See vendor/google_devices/wahoo/proprietary/device-vendor.mk

Bug: 37323602
Test: Maps, vulkanGears
Change-Id: Ib9fdd15cec7c053731b72847f0c11081aab29bc2
2017-06-01 18:03:04 -07:00
Etan Cohen
7f30c4c172 Merge "[AWARE] Enable Wi-Fi Aware feature support" 2017-06-01 23:45:26 +00:00
Sen Jiang
216fcd9947 Add libz to PRODUCT_STATIC_BOOT_CONTROL_HAL.
libgptutils should include its own dependencies.
Also removed libsparse since it's not needed anymore.

Test: mma in update_engine
Change-Id: I2c2c77bf7409590a3d5f622225d2ed794004311f
2017-06-01 14:40:33 -07:00
Gabe Taubman
8fb1488b76 [Default permission exception]
Google - Pixel Ambient Services (com.google.intelligence.sense)

Pre-grant record audio for the sense apk.

Bug: 38375510
Bug: 62096243
Test: Flashed to a device and confirmed the permissions was already
granted.
Change-Id: I8e7b78ad073cb473caa8e6a17daaf5d545e0832b
2017-06-01 16:14:54 -04:00
Etan Cohen
2a30014ecc [AWARE] Enable Wi-Fi Aware feature support
Enable Wi-Fi Aware feature support and system service.

Bug: 37674519
Test: unit tests, integration test suite
This reverts commit 7cef570f79.

Change-Id: I045ad95fac178cbdda3c0343fde7c6c76bcd1ffc
2017-05-31 08:56:33 -07:00
Jaesoo Lee
9127ae4ff6 Revert "vndk: remove vndk/Android.mk"
This reverts commit 1362a69046.

Test: Built sailfish and boots
Change-Id: I3a92adcd40e5dc1354744903000baea69868fe3d
2017-05-31 17:23:42 +09:00
Jaesoo Lee
8aca4bd37f Merge "vndk: remove vndk/Android.mk" 2017-05-31 05:34:29 +00:00
Thierry Strudel
21bbdefcac device: build ipacm
Change-Id: Id5e082afde375a62fbb07a5bf96699a0bdbb5c77
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-30 18:19:44 +00:00
Siddharth Ray
736d22fe40 Merge "Adding gps_debug.conf for W/T" 2017-05-25 21:15:10 +00:00
Siddharth Ray
56d3fbd889 Adding gps_debug.conf for W/T
Change-Id: Ia1a6534fdb08749eb07a45c4a266c79b03c2ab38
2017-05-25 11:40:24 -07:00
David Lin
1710cc93b8 audio: clean up unused audio config tables
Bug: 62039625
Change-Id: I092e2a0a812e8ea9583090e2b3fab6fb4023fb09
Signed-off-by: David Lin <dtwlin@google.com>
2017-05-24 09:55:30 -07:00
TreeHugger Robot
e5daf23c7d Merge "Add dtbo partition information" 2017-05-24 07:46:51 +00:00
Jiyong Park
1362a69046 vndk: remove vndk/Android.mk
It is moved to development/vndk. VNDK-related modules are all behind a
phony module vndk-<version>.

Bug: 38356823
Bug: 37522144
Bug: 38210782
Test: muskie builds and boots
Change-Id: I5f37f1bdbda92f3eb606a271dbcd84b5e5b1a353
2017-05-24 16:33:20 +09:00
Thierry Strudel
924945e6a9 Merge "Move AB_OTA_PARTITION vbmeta and vendor to wahoo/device.mk" 2017-05-24 04:55:45 +00:00
Logan Chien
ab0afe6eea Merge "Copy libz.so to vndk-sp" 2017-05-24 02:19:41 +00:00
Yueyao Zhu
2ca922e51b Add dtbo partition information
- M/W/T have the same dtbo partition size of 8MB.
 - register dtbo.img as being part of the A/B OTA

Bug: 32969430
Change-Id: I1c8fef131f96d7c842e231560a9be59f86cd444f
Signed-off-by: Yueyao Zhu <yueyao@google.com>
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-23 14:09:13 -07:00