Nicolas Geoffray
83ccfcb7ab
Add a new list of pinned file for the JIT in zygote experiment.
...
Bug: 119800099
Test: adb shell dumpsys pinner
Change-Id: I474a006b9f0c410d711dc883ce327b2ae269c039
2019-02-20 15:34:22 +00:00
Nicolas Geoffray
5788ad69d4
Adjust pinned files following runtime module work.
...
Test: adb shell dumpsys pinner
Bug: 119868597
(cherry picked from commit 6eb9bf8763 )
Change-Id: Icd73b75ed7dbbc2851a280a237dcce36f846ec2b
2019-02-20 15:20:23 +00:00
Treehugger Robot
6751b23bd2
Merge "Support for Bluetooth Audio HAL V2 on Pixel 2"
2019-02-19 04:26:19 +00:00
Jeff Vander Stoep
6e99fbed32
hal_bluetooth: track flaky selinux denial
...
avc: denied { read } for comm="bluetooth@1.0-s" name="ssrdump"
dev="dm-2" ino=3276848 scontext=u:r:hal_bluetooth_default:s0
tcontext=u:object_r:ramdump_vendor_data_file:s0 tclass=dir
Bug: 124682886
Test: build
Change-Id: I45022b149b5a99c3fd601db60fed0f1e791c4eb0
2019-02-18 13:46:56 -08:00
Cheney Ni
892d1243c3
Support for Bluetooth Audio HAL V2 on Pixel 2
...
Remove primary flags from hearing aid also.
Bug: 111519504
Bug: 124278829
Bug: 124014853
Test: manual with BluetoothAudioHAL enabled / disabled
Change-Id: I57e521422ae37b359e08836429a4c8e1a99dd66b
Merged-In: I57e521422ae37b359e08836429a4c8e1a99dd66b
2019-02-18 18:41:35 +08:00
Treehugger Robot
68ffdec493
Merge "Hide denial seen in tests."
2019-02-14 15:23:18 +00:00
Joel Galenson
d6771fb99b
Hide denial seen in tests.
...
This should help fix presubmit tests.
Test: Build.
Change-Id: Icf93d79c533243b79367e633fa4b3dda3577e791
2019-02-13 17:18:34 -08:00
Benjamin Schwartz
81b6f12e13
power.stats: Add AidlStateResidencyDataProvider
...
Some drivers that we want to collect power stats from are pass-through
and would require significant changes in order to provide a sysfs node
that the current power stats framework can pull stats from.
These pass-through drivers typically have a userspace daemon that is
capable of keeping track of the power stats and providing them to the
power.stats HAL service, but currently have no way to do that.
The AidlStateResidencyDataProvider will provide a vendor binder service
that will allow the userspace daemon to push updates or the power
statistics to power.stats HAL.
Bug: 117585786
Test: Created a PTS test to update some mock power entities that were
created using the AidlStateResidencyDataProvider. Further testing is
planned when real power entities start using this.
Change-Id: I73e02cb65da9c22850f65b96c12554a28f1fbb60
2019-02-13 10:42:54 -08:00
Benjamin Schwartz
8a9a191958
power.stats: Port power.stats HAL to Pixel 2
...
Bug: 120301393
Test: run vts -m VtsHalPowerStatsV1_0Target
Test: adb shell "lshal debug android.hardware.power.stats@1.0::IPowerStats/default"
Change-Id: Ib46e205651e0972dd4008976209aaf7dbff4d5f8
(cherry picked from commit 61d2125575 )
Merged-In: Ib46e205651e0972dd4008976209aaf7dbff4d5f8
2019-02-13 10:32:36 -08:00
Joel Galenson
aef21de27f
Merge "Track SELinux denial."
2019-02-13 15:40:24 +00:00
Joel Galenson
c2a8515884
Track SELinux denial.
...
This shoud fix presubmit tests.
Bug: 124364409
Test: Build.
Change-Id: I07db68aaefe37f72ac407ed4731c7ac1f23d4aed
2019-02-13 07:29:36 -08:00
Treehugger Robot
3f810d570a
Merge "Fix denials seen during user bugreports."
2019-02-11 20:27:39 +00:00
Treehugger Robot
78de5d62ec
Merge "Game Driver: allow Camera app access GpuService"
2019-02-11 18:03:50 +00:00
Joel Galenson
9fb184dd39
Fix denials seen during user bugreports.
...
Bug: 116711254
Bug: 123540375
Test: Build
Change-Id: I118d74f1590669ab535faeb84a0f44592055050a
2019-02-11 09:25:15 -08:00
Tom Cherry
5434bb60e8
Move to config.fs
...
TARGET_ANDROID_FILESYSTEM_CONFIG_H is soon to be deprecated, so move
to config.fs
Test: build
Change-Id: Ie987da844a8d6747eebc0886d70731eb1d0e4125
2019-02-08 17:58:38 -08:00
Yiwei Zhang
b98f6a9f57
Game Driver: allow Camera app access GpuService
...
Bug: 123529932
Test: Build, flash and boot. No selinux denials.
Change-Id: Ic8597f28162b4caa2075dfc8c8bc27321c0750da
2019-02-08 13:28:41 -08:00
Treehugger Robot
7558e65ead
Merge "Revert "Treble-ize tmpfs access""
2019-02-07 19:40:32 +00:00
Jeff Vander Stoep
84304df642
usb HAL: remove all DAC capabilities
...
We can verify via selinux policy that no capabilies are allowed,
so there's no reason to grant them in DAC. Currently this is
resulting in an selinux denial.
avc: denied { dac_override } for comm="usb@1.1-service" capability=1
scontext=u:r:hal_usb_impl:s0 tcontext=u:r:hal_usb_impl:s0
tclass=capability permissive=0
Test: build
Change-Id: Iddea654be7c8f374a2c5f3c4fbebf066deca1796
2019-02-06 15:02:11 -08:00
Jeffrey Vander Stoep
a1503a9d93
Revert "Treble-ize tmpfs access"
...
This reverts commit f8b962729f .
Reason for revert:
This change is no longer necessary due to aosp/889855 which moves all
apps to a shared tmpfs type. It's simpler, and significantly less
likely to cause build breakages in downstream trees.
Bug: 122854450
Change-Id: I5226ff72c3fbae46822e40d7fbbacee9bc49c6db
2019-02-01 21:39:50 +00:00
Treehugger Robot
c1e9cab52d
Merge "Treble-ize tmpfs access"
2019-01-27 07:46:14 +00:00
Jeff Vander Stoep
f8b962729f
Treble-ize tmpfs access
...
Declare *_tmpfs types for all vendor domains which need it.
Bug: 122854450
Test: Sepolicy-build tests
Test: build taimen-userdebug
Change-Id: Ifd18eea5cac0a21f5fe1e27212e35d71762a9905
(cherry picked from commit 4a137c011f )
2019-01-25 15:23:55 -08:00
Xin Li
ca33faead8
DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into master
...
Bug: 122685541
Change-Id: I3c1e2724118c704c5be38382dc8e9265cd0a5152
2019-01-15 10:17:08 -08:00
android-build-team Robot
c4e47fd6eb
Snap for 5230900 from 4b98d04b97 to pi-platform-release
...
Change-Id: I2c5a745d5f36f872915659853b2c070c2075229a
2019-01-14 22:11:50 +00:00
Justin Yun
749615f25a
Add option to increase inode count for test build
...
To build with VNDK snapshot libs we need more inode count for the
devices without product partition.
Define PRODUCT_INCREASE_INODE_COUNT=true to double the INODE_COUNT.
This is available only for test builds, since it will consume some
space for system image.
Bug: 122706619
Test: PRODUCT_EXTRA_VNDK_VERSIONS=28 \
PRODUCT_INCREASE_INODE_COUNT=true m -j
Change-Id: I7e57cf3d4896dbe38e6a112ef983894320026b42
2019-01-14 09:58:00 +09:00
Adam Seaton
4b98d04b97
January Pi-platform-release merges
...
Change-Id: If1b1c150ea1767e19ecdd88e0de22abdd3bc4f3b
2019-01-11 22:54:20 +00:00
Treehugger Robot
afeabbb7c9
Merge "Add Adam to OWNERS."
2019-01-08 04:41:12 +00:00
Tri Vo
a3a67a6bb9
ueventd.rc: Move device-specific entries to /vendor/ueventd.rc.
...
Bug: 110962171
Test: boot taimen
Change-Id: I8b70913f6d128f7a53eb786d1e02e61423abe472
2019-01-06 16:25:40 -08:00
SalmaxChang
fe77ce7472
rfs_access: Limit and specify tombstone_rfs_vendor_data_file label for rfs_access
...
Bug: 121294677
Not impact existing tombstone_wifi_data_file label
Change-Id: Ifbeef88ee2de824b788ea971a2c893526c590d0a
Signed-off-by: SalmaxChang <salmaxchang@google.com >
2018-12-22 07:42:17 +00:00
SalmaxChang
a82169492c
selinux: rfs_access: fix tftp_server denials when operating on tombstones file
...
Bug: 121294677
Sync and cherry-pick ag/4706915 to ASOP
Label and add sepolicy for tftp_server to operation on tombstones file
avc: denied { create } for name="modem" scontext=u:r:rfs_access:s0 tcontext=u:object_r:tombstone_vendor_data_file:s0 tclass=dir permissive=0
Change-Id: Ib01dc4fb3b6268817cc7d8d49430a47dd6993b50
Merged-In: I8cdaab1252ff934df92b7f4e52ba361f894f3227
Signed-off-by: SalmaxChang <salmaxchang@google.com >
2018-12-22 05:46:16 +00:00
Chungjui Fan
e73d5d568d
Modify ramoops sepolicy due to some ramoops file paths are changed to vendor partition
...
Bug: 121294677
Sync and cherry-pick ag/4966918 to AOSP
Change-Id: I82d564bfa8ae3c7c9dce6d9e87cfa014e1c04ad3
Merged-In: Id7ea3c744b5af06db299f60f1ac038d49d5b7ffb
Signed-off-by: SalmaxChang <salmaxchang@google.com >
2018-12-22 02:00:35 +00:00
Joel Galenson
f8cde604fb
Add Adam to OWNERS.
...
Test: None.
Change-Id: Idda7529e3c074e1ba07b28a0bff9b552367bd3d7
2018-12-20 15:43:07 -08:00
chenpaul
4eb18c9485
Modified property name to follow the naming rule
...
According to go/treble-sysprop-compatibility, vendor relative property
should have prefix "vendor". This patch changes the property name to
follow the naming rule.
Bug: 110327460
Test: WLAN driver and FW version are saved to a new property.
Change-Id: I8d9d70399c3af67b38d82b9c38cf0281a4ad1c35
Merged-In: I8d9d70399c3af67b38d82b9c38cf0281a4ad1c35
2018-12-17 07:48:30 +00:00
Treehugger Robot
f79d38f578
Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master"
2018-12-13 05:45:20 +00:00
Chih-Hung Hsieh
1dcb87eee2
Fix performance-for-range-copy warnings
...
Bug: 30413223
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance*
Change-Id: Ia47cc330399e3d524da90109deb2d736e6fe056b
2018-12-12 13:46:20 -08:00
Xin Li
75fb11e5e1
DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master
...
Bug: 120502534
Change-Id: If069a02620d2ffe169f92ac348536b5f155de52b
2018-12-11 13:58:57 -08:00
Bill Rassieur
752ec152bb
Merge PQ1A.181205.006 from Pi-QPR1-Release into ToT for Pi-Platform release.\n\nBUG: 120448245
...
Change-Id: Ib66e29981876e7d5f313c9f887ea6eed422063ae
2018-12-04 16:58:39 +00:00
Anton Hansson
a50e104cca
Merge "Remove gps_debug.conf"
2018-11-29 15:53:07 +00:00
Anton Hansson
2fa616991a
Remove gps_debug.conf
...
Moved to frameworks/base, where it can be shared with
other devices.
Bug: 112879252
Test: make
Change-Id: Ie4c8f6776fa82044a81cad251d7517b75c03a00b
Merged-In: Ic406c4ff35951cb4f5bff72d8dcf9f36064ccbb4
2018-11-29 09:44:30 +00:00
Bill Yi
863c063fc7
Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release
...
Change-Id: I7123f90134234c55435fb7904cd2188da40dd533
2018-11-28 18:45:55 -08:00
Treehugger Robot
f3893a0112
Merge "Convert IMediaCasService to use vintf_fragments"
2018-11-26 17:54:46 +00:00
Peter Kalauskas
6f93c1d12e
Convert IMediaCasService to use vintf_fragments
...
Bug: 119669996
Test: Run cts CtsMediaTestCases
Change-Id: I43366fd9e95b30948aaa97f1cd5ff8b189de6c52
2018-11-20 16:49:04 -08:00
Joel Galenson
373912b313
Remove fixed bugs from bug_map.
...
Test: Build
Change-Id: I2b119dabf8f5924cd2352f426be0f2fe91893858
2018-11-20 08:38:28 -08:00
Joel Galenson
10a98f44ee
Update bug_map to be the same as internal.
...
Test: none
Change-Id: I316959165fab43c3cda56361d1cd04dea44eb081
Merged-In: I707ffac915531a17b196ea9e507c6b216676f138
2018-11-16 10:58:01 -08:00
android-build-team Robot
0dc3f9ac0e
Merge cherrypicks of [5499800, 5500052, 5499801] into pi-qpr1-release
...
Change-Id: Idc9bb56a73f6f8da142c733700de793aadf99cff
2018-11-12 19:22:51 +00:00
Adam Seaton
afc89394ec
Update SVN for Wahoo to 22 for Jan 2019 Release
...
Bug: 118903919
(cherry picked from commit bea4a8ba2abb2a6970c272c91743542adb76ad20)
Change-Id: Ibe0b0636f54c157df761f9a7e627a5ce7b80b5bc
2018-11-12 19:22:45 +00:00
Michael Moreno
26930702eb
Cleanup wahoo sepolicy for easel.
...
Change-Id: I755fd46508d596745ce502f08756505542945afb
Test: aosp with 3P camera app
2018-11-07 13:15:17 -08:00
Tom Cherry
7aa2e5a0d8
Merge "Remove starting servicemanagers"
2018-10-25 21:20:26 +00:00
Treehugger Robot
37bca07141
Merge "Track another vendor_default_prop denial."
2018-10-24 23:18:41 +00:00
Joel Galenson
03f9fc947b
Track another vendor_default_prop denial.
...
This should help fix presubmit tests.
Bug: 79617173
Test: Built policy.
Change-Id: I9c45e914c727988b12e35993ef475aea1564293b
Merged-In: Iaea8790b847066915b9a7436e529def193a4f169
2018-10-24 14:57:02 -07:00
Bill Yi
fa8e89c4e7
Merge pie-platform-release to aosp-master - DO NOT MERGE
...
Change-Id: Ic57c0ef75569112c08f1c9b4158358bb061bbbfb
2018-10-24 14:45:24 -07:00