Commit graph

481 commits

Author SHA1 Message Date
Bruno Martins
7fcc708c1d wayne-common: Switch to common basic USB HAL
Change-Id: I0e0809a2338f006063c5160bb7aec36a555cebab
2018-12-08 09:37:59 +00:00
Kshitij Gupta
48cd52cfd9 wayne-common: overlay: Enable Swipe Up gesture navigation
Change-Id: I6ee5f42748cac1414e5c7f1327fe0f42bf6d863a
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>
2018-12-08 09:34:24 +00:00
Roshan Pius
fd6afc24e3 wayne-common: Add hostapd HIDL interface
Bug: 36646171
Test: Manual softap toggle
Change-Id: Ia7ef8bf3da8adc3491c4dac4096e4297cbd5bf5b
2018-12-08 05:26:09 +00:00
Isaac Chen
53a86fcdf1 wayne-common: Set TARGET_2ND_ARCH_VARIANT to armv8-a
Nile targets are armv8 devices. Setting TARGET_2ND_ARCH_VARIANT
to armv8-a, instead of armv7-a-neon, can silence the related warning
during build.

Bug: 68012286
Change-Id: I18ae3aa985fd6bff11f043a155f3685d9f6644b8
2018-12-08 05:25:45 +00:00
Mathieu Chartier
9407e427e7 wayne-common: Fix shared vdex name
The files in arm/arm64 are symlinks and pinning symlinks is not
supported. Pin the target vdex file intead.

Bug: 73990433
Test: manual
Change-Id: I313e1f53487c0a21b615f65dc64c21a1ecb4b7d5
2018-12-08 05:25:20 +00:00
LuK1337
ff7e8a2b70 wayne-common: Add vendor_ prefix for our custom AIDs
Change-Id: Ie1dd9c1f6a79d04b42e12e0fd9dabdc22b2f6927
2018-12-08 05:24:54 +00:00
Yifan Hong
ba3140167a wayne-common Remove PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE
Replace it with FCM Version = 1, specified explicitly
in device manifest.

Test: builds
Bug: 69636193

Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Merged-In: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
2018-12-08 05:24:18 +00:00
Jeff Vander Stoep
6f0c86315b wayne-common: wifi_supplicant: Deprecate entropy.bin
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.

Bug: 34980020
Test: Use wifi and wifi tethering on 8996 targets
Change-Id: Ib5caf362bc939911b357db186a274957d3fbf186
(cherry picked from commit 1f2b2f3a780bb7a6ed489bf86e18e77382f37514)
2018-12-08 05:23:02 +00:00
Roshan Pius
6defd41082 wayne-common: Don't start supplicant with interfaces
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.

Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
2018-12-08 05:21:42 +00:00
Roshan Pius
74d02acc90 wayne-common: wpa_supplicant(hidl): Add support for starting HAL lazily
Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
2018-12-08 05:19:42 +00:00
Roshan Pius
67f99c62ba wayne-common: Uprev to supplicant 1.1
Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I2e51291b30fd242edbeae2c69ef9545383895bb3
2018-12-08 05:18:57 +00:00
Jeff Vander Stoep
0bb856ea89 wayne-common: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.

Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: Test wifi on Taimen and Sailfish
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets

Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
2018-12-08 05:18:15 +00:00
Etan Cohen
9a27764b7b wayne-common: Uprev Wi-Fi HAL to 1.2
New HAL APIs are planned. This requires a HAL uprev.

Bug: 65647646
Test: builds and Wi-Fi runs
Change-Id: Ib7efd3d5263e73d1ad40e1a5a687bdb6c133c812
2018-12-08 05:16:17 +00:00
Isaac Chen
5f26bcf562 wayne-common: Apply jasmine rebrand
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-07 23:37:06 +08:00
oshmoun
c858ca4529 wayne-common: Add public.libraries.txt
Android needs this text file to know what libraries are allowed to be loaded by apps directly.
For now, add:
libOpenCL.so to the list, in order to get OpenCL to function properly.
adsprpc related libraries, since they were also declared public in stock.

Change-Id: I15ef7a7ab7d1f1a0cc6b484cd2ca9993f40de23b
2018-12-05 00:36:35 +08:00
Michael Bestas
cc472568e1 wayne-common: Adapt libinit for wayne
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
2664a20ce7 wayne-common: biometric: Run goodix script in condition 2018-12-02 11:02:30 +08:00
Isaac Chen
f89bf07b99 wayne-common: biometric: Detect fingerprint from cmdline
* Cleanup fingerprint logic
2018-12-02 11:02:30 +08:00
Isaac Chen
1f768a77be wayne-common: Remove unused partition defines
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
48f31a3614 wayne-common: init: Remove non-common model detection
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
445a16da35 wayne-common: Decommonize vendor security patch level
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
d64ff20f0d wayne-common: Support jasmine
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
dc59590a23 wayne-common: rootdir: Support A/B fstab
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
7a59c64c44 wayne-common: Convert into common tree
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
77e80990b2 wayne: proprietary-files: Add aptX DSP
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-09-16 00:00:15 +08:00
Michael Bestas
92cea1314c wayne: Build with VNDK=current
Change-Id: I4f142432924dc7b396094593e454a5162b09948e
2018-09-05 00:00:08 +00:00
Isaac Chen
f40c0a7d0f Revert "wayne: Update vndk-sp build mechanism and library set."
This reverts commit 62ca3a07ab.
2018-09-05 00:00:08 +00:00
Thierry Strudel
5776399bf3 wayne: Fix android.hardware.gnss@1.0-service-qti
Make service part of 'hal' class.
Install files in vendor partition.
Register instance as 'default' as expected by framework.

Change-Id: I487fad4df872397ab76cea377e5304c956a756da
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2018-09-05 00:00:08 +00:00
Vishwath Mohan
d9152046fa wayne: Remove hardcoded LOCAL_MODULE_PATHS from vendor components
This CL replaces all LOCAL_MODULE_PATH_* definitions for vendor shared
libraries with LOCAL_VENDOR_MODULE := true instead. This appropriately
generates sanitized versions of these libraries to /data/asan/* while
generating the stock versions in /vendor/lib* as desired.

Needed for ASAN builds to work correctly.

Bug: 37740897
Test: m -j40 && SANITIZE_TARGET="address" m -j40 # shared libs in
$ANDROID_PRODUCT_OUT/vendor/lib* do not contain asan symbols, while
the ones in $ANDROID_PRODUCT_OUT/data/asan/vendor/lib* do.

Change-Id: If6a495dd153c47f929de047fd48039b990348720
(cherry picked from commit e872612127cfbf55ceba01e9860e0acc47d64447)
2018-09-05 00:00:08 +00:00
Jiyong Park
5a86a2763f wayne: Don't rely on transitively included headers
One must explicitly include what it need.
time.h for struct tm.
sys/time.h for gettimeofday, etc.

Bug: 37629934
Test: build

Merged-In: Iacd5317d958f61df062fca40fbf2e8992c7fbb44
Change-Id: I19e1043f23dbe85836b73714a4f1440159ebe419
2018-09-05 00:00:08 +00:00
Steven Moreland
465ccf7608 wayne: Build libgps.utils with VNDK.
Test: m -j BOARD_VNDK_VERSION=current libgps.utils
Bug: 37342627
Change-Id: Ifcd9344245cf689d4075d34b89faa689647b8b0b
2018-09-05 00:00:08 +00:00
Isaac Chen
560062e76a wayne: proprietary-files: Remove non-exist blob
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-08-22 00:00:10 +00:00
Isaac Chen
0c4b315565 wayne: Update vendor security patch level from miui 8.8.16
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-08-20 00:00:20 +00:00
Demon Singur
c30c5bec75 wayne: proprietary-files: Add power off alarm blobs
Change-Id: Id1d0be0e6dca7faddd591580fa0b928b13859ede
2018-08-20 00:00:20 +00:00
Danny Baumann
6abb5912df wayne: overlay-lineage: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2018-08-20 00:00:19 +00:00
Isaac Chen
d6ed30131a wayne: sepolicy: Address IR denials
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-08-05 00:00:16 +00:00
Isaac Chen
3eebbc8ec1 wayne: sepolicy: Address btnvtool denial
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
Isaac Chen
29136ba5ed wayne: light: Support ramp step notification control
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
Isaac Chen
8f63059aea wayne: sepolicy: Address camera denials
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
TheScarastic
80a669c55a wayne: sepolicy: Add sepolicy for goodix script
Change-Id: Ic8b7dba6a5660c17f5db1c743e5d22f31ae1b1b3
2018-07-31 00:00:10 +00:00
Isaac Chen
cff97f0832 wayne: Cleanup properties
* Remove unused properties
 * Rearrange props
 * Use fluence audio

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
Isaac Chen
7b8535343b wayne: Switch to enforcing
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-27 00:00:11 +00:00
Isaac Chen
a59e765afb wayne: sepolicy: Initial denials
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-27 00:00:11 +00:00
Isaac Chen
39445a3026 wayne: Decleare dt2w node
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-19 00:01:07 +00:00
Isaac Chen
d7d8aaeacc wayne: Set vendor security patch level
+ Package: miui_MI6X_8.7.16_36c868a278_8.1.zip

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-19 00:01:07 +00:00
Paul Keith
1ee644d212 wayne: overlay: Reorder tetherable connection types
* In O, the default setting for mobile data always active was
  changed from off to on, meaning that when non-WiFi tethering
  is being attempted, more than one connection can be active
* Since the first active connection type in this overlay is used,
  reorder the values to get WiFi connections first, and then
  any type of mobile data connection, instead of vice versa

Change-Id: I41f31ba1a2793e209ff439c9ba28a390fecdeecb
2018-07-19 00:01:07 +00:00
LuK1337
0618942b01 wayne: overlay: Remove config_no_sim_display_network_modes overlay
* This overlay does not exist since we are no longer
  based on CAF.

Change-Id: Ibbc522f9ab1597d7e039eb7458cf4bb3924b7176
2018-07-19 00:01:07 +00:00
LuK1337
cb5b4f507b wayne: overlay: Remove send_mic_mute_to_AudioManager overlay
* send_mic_mute_to_AudioManager hasn't been doing anything
  since Android 4.4, therefore there's no reason to keep it.

Change-Id: I74ed33265fccd59def5c2f9e67a9e8a28ce4dbc9
2018-07-19 00:01:07 +00:00
Antoine Giraudmaillet
f2aa710e36 wayne: ipacm: Fix memory leaks
* Errors reported by CppCheck.

Change-Id: I700e4c8ef6a4cb7f551e1d9c69f72d218b124dde
2018-07-19 00:01:07 +00:00
SzuWei Lin
2fdf20b62c wayne: Move android.hardware.gnss@1.0-service-qti.rc to vendor
The .rc file should be on the vendor image, or can not boot
with generic system image.

Bug: 63051055
Test: Boot with GSI to home screen
Change-Id: I1e2ebe5d23a6cf5a4176ee33613ef621b4b558cf
2018-07-19 00:01:07 +00:00