Commit graph

24102 commits

Author SHA1 Message Date
Michael Bestas
ef9ccbd833 Export missing audio volume properties
The following properties are used in AudioService:

ro.config.alarm_vol_default
ro.config.alarm_vol_steps
ro.config.media_vol_default
ro.config.system_vol_default
ro.config.system_vol_steps
ro.config.vc_call_vol_default

Test: properties can be set from vendor with PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true

Change-Id: Ib90103173989fcb0723f3d8465df3cd03334cc53
2020-04-14 19:08:33 +03:00
Treehugger Robot
10f1c3bc07 Merge "Allow traced to create files within /data/misc/perfetto-traces" am: 951106b990
Change-Id: Id4afcc38e9793b754c9772eec19ef32daa005838
2020-04-14 13:55:32 +00:00
Treehugger Robot
951106b990 Merge "Allow traced to create files within /data/misc/perfetto-traces" 2020-04-14 13:34:05 +00:00
Robert Shih
c5bf73f0d8 Merge "Allow drm hals to access allocator hal" am: b60b51d352
Change-Id: I3f3b8b19543b38646dbb6524e9f4db845b5e1194
2020-04-13 22:51:19 +00:00
Robert Shih
b60b51d352 Merge "Allow drm hals to access allocator hal" 2020-04-13 22:27:18 +00:00
Nikita Ioffe
3edcd77985 Merge "Add init.userspace_reboot.started.timeoutmillis property" am: bbdf8e4d95
Change-Id: Id2693e3939ab7abc424f65459969d5da4e225614
2020-04-13 19:36:38 +00:00
Nikita Ioffe
bbdf8e4d95 Merge "Add init.userspace_reboot.started.timeoutmillis property" 2020-04-13 19:14:56 +00:00
Robert Shih
0ade37909c Allow drm hals to access allocator hal
Bug: 150468341
Test: atest VtsHalDrmV1_3TargetTest
Change-Id: Iea8934567cda343dedf17f75cb0807a68742764d
2020-04-13 17:30:18 +00:00
Ytai Ben-Tsvi
2859764ea3 Allow system_server to set audio properties am: d107a05402
Change-Id: Ibb54fa735fcd48cf221619196ca422ee430470ee
2020-04-13 04:31:05 +00:00
Victor Chang
d6f9ff992a Add shared library into i18n APEX and add the required sepolicy
Bug: 138994281
Test: device boots
Change-Id: Ief9dace8557c1d0e5a32222b2c7d1effc50f2847
2020-04-11 02:28:49 +01:00
Nikita Ioffe
7947d580e3 Add init.userspace_reboot.started.timeoutmillis property
This property controls how much userspace reboot watchdog will wait for
userspace reboot to start before falling back to hard reboot.

Test: builds
Bug: 152803929
Change-Id: I6955e8c94708e7e4161e4f334b03c052d42c0f9f
2020-04-11 02:00:01 +01:00
Ytai Ben-Tsvi
d107a05402 Allow system_server to set audio properties
Defined a new signal intended to allow the system to reboot
the audio/soundtrigger HAL process.

Fixes: 153461865
Test: See main change in topic
Change-Id: I1e4a770670bb1274fa6a23cd0641f2554d4679f7
2020-04-10 15:58:51 -07:00
Luca Stefani
ddcbbd7644 Escape '.' in com.android.permission
Change-Id: I83d7f81855b0facee3a07ad6fd2068e5e114db30
2020-04-10 19:22:50 +00:00
Xin Li
0008e99da3 DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6382244 into stag-aosp-master
Bug: 151763422
Change-Id: Ia7054b3e76b3831ce3315a45329ef48bf2399197
2020-04-09 18:41:53 -07:00
Wenjie Zhou
27d52551b1 Enable incidentd access to ro.boot.bootreason
incident report contains similar data as in a bugreport, but in proto
format.

Test: adb shell incident -p LOCAL 1000
Bug: 152173578
Change-Id: Iee53a3b8a6c95629a1d5c15b4d17f3d680b14178
2020-04-09 15:57:06 -07:00
Steven Moreland
62cd997a58 treble_sepolicy_tests.py: require recognized loc am: 000ec93900 am: e3834b6de2
Change-Id: I9579db3caf9243cd8f327e1ad94b6a7f4ac94944
2020-04-09 17:59:00 +00:00
Steven Moreland
e3834b6de2 treble_sepolicy_tests.py: require recognized loc am: 000ec93900
Change-Id: If42957f4780d41233e20af3b8307397aa82b2504
2020-04-09 17:46:44 +00:00
Steven Moreland
000ec93900 treble_sepolicy_tests.py: require recognized loc
Before, we were silently ignoring unrecognized paths.

Bug: 152813275
Test: m (runs this test)
Test: reproduce every error I've added
Change-Id: I4a0b8fb9fff070d16126caa1499590693a6d2895
2020-04-08 23:17:16 +00:00
Primiano Tucci
386d95b15f Allow traced to create files within /data/misc/perfetto-traces
Together with aosp/1282157 this change allows the service to
create trace files in the /data/misc/perfetto-traces folder.
Before this change they needed to be created by the perfetto
cmdline client and pass the FD.
This doesn't work for host tools like Android GPU Inspector
(https://gpuinspector.dev/) which talk to the UNIX socket
over adb forward and cannot pass a FD from the host.

Bug: 153519149
Test: manual: adb shell perfetto --txt -c -
  buffers { size_kb: 65536 }
  data_sources {
    config {
      name: "linux.ftrace"
      ftrace_config { ftrace_events: "sched_switch" }
    }
  }
  duration_ms: 5000
  write_into_file: true
  output_path: "/data/misc/perfetto-traces/ttt"

Change-Id: I184329805741654983843e6a29c1fac19a836f59
2020-04-08 19:44:53 +00:00
Inseob Kim
7aab78440c Rename exported and exported2 vold prop am: 3f5a7d247a am: ea1deefaf2
Change-Id: I4d79641c342b7855a94603b843f207d3ce8d7824
2020-04-07 15:21:45 +00:00
Inseob Kim
ea1deefaf2 Rename exported and exported2 vold prop am: 3f5a7d247a
Change-Id: I235c1078d9c8ac8c76950174c73c8994a443a746
2020-04-07 15:00:25 +00:00
Paul Crowley
2604335b22 Merge "Vendors may choose dm-default-key options format" am: b9021fcd80 am: 0a46388b57
Change-Id: Id165a0d4ab3f5edfd47ee417eac51dcce619ea9b
2020-04-07 04:08:32 +00:00
Inseob Kim
3f5a7d247a Rename exported and exported2 vold prop
This is a subtask to clean up bad context names "exported*_prop".

Bug: 152469526
Test: m
Change-Id: Ie2d4046732e9d6562294fa664dcd7f019aa7c229
2020-04-07 12:56:23 +09:00
Paul Crowley
0a46388b57 Merge "Vendors may choose dm-default-key options format" am: b9021fcd80
Change-Id: If70f1b00373c3a556b28cefca7f9e3935634f998
2020-04-07 03:48:07 +00:00
Paul Crowley
b9021fcd80 Merge "Vendors may choose dm-default-key options format" 2020-04-07 03:23:57 +00:00
Florian Mayer
13f0893908 Merge "Refactor sepolicy to support central mode on user." am: 6549757914 am: 44e02f6f90
Change-Id: Id5c40b72a26a40ed4852ab0223a45db2554c7cc5
2020-04-06 19:20:12 +00:00
Florian Mayer
44e02f6f90 Merge "Refactor sepolicy to support central mode on user." am: 6549757914
Change-Id: I95dd6b7e28240afe0f0f3449eee703f329f38ea5
2020-04-06 18:59:59 +00:00
Florian Mayer
6549757914 Merge "Refactor sepolicy to support central mode on user." 2020-04-06 18:39:31 +00:00
Paul Crowley
c115da5968 Vendors may choose dm-default-key options format
Bug: 150761030
Test: setting to 1 in device/google/cuttlefish/shared/device.mk
    causes "default-key: Not enough arguments" as expected.
Change-Id: I73262efff0be15f0295d23168049ed9e3721a7f7
2020-04-06 08:46:08 -07:00
Florian Mayer
356b98d552 Refactor sepolicy to support central mode on user.
Functionally this is a no-op change.

Bug: 152976928
Change-Id: If4c0c6c74e60cc84f4adedfd430b385795cd15eb
2020-04-06 12:33:43 +00:00
Treehugger Robot
5651218ab9 Merge "build/file_utils: Newline for mapping files" am: bb693183a0 am: 7d677fcc57
Change-Id: I3ef6cf6ddd8cd9d5e9e46bf0cbd516861e67963f
2020-04-03 20:20:10 +00:00
Treehugger Robot
7d677fcc57 Merge "build/file_utils: Newline for mapping files" am: bb693183a0
Change-Id: I939835fc13f93d42fe1db43263f02ae817afec0d
2020-04-03 20:02:51 +00:00
Treehugger Robot
bb693183a0 Merge "build/file_utils: Newline for mapping files" 2020-04-03 19:39:47 +00:00
Steven Moreland
84da5fed59 Merge "Remove treble coredomain whitelist." am: a531789459 am: f60d2bf5db
Change-Id: Ie233cface1b2c5e99f0b8d4daa8ca6be007d7d14
2020-04-03 18:20:24 +00:00
Steven Moreland
f60d2bf5db Merge "Remove treble coredomain whitelist." am: a531789459
Change-Id: Ie4ec70b6e91747b8a353c7d987dc9f492cc5e051
2020-04-03 17:58:35 +00:00
Steven Moreland
a531789459 Merge "Remove treble coredomain whitelist." 2020-04-03 17:41:20 +00:00
Treehugger Robot
03c332b9c4 Merge "Create surfaceflinger_prop and migrate props" am: 15ac2abfd7 am: 895a086ff7
Change-Id: I7e347d052d810af641bf69b21dc9aba0263df60d
2020-04-02 23:17:27 +00:00
Steven Moreland
a00530b07c Remove treble coredomain whitelist.
Seems that this is no longer needed, except for vendor_init.

Bug: 152813275
Test: m (runs this test)
Change-Id: I773053cbe1a84911684cc2ff15904ee7ddf7a73e
2020-04-02 16:02:54 -07:00
Treehugger Robot
895a086ff7 Merge "Create surfaceflinger_prop and migrate props" am: 15ac2abfd7
Change-Id: I280bd438a5efbc6524dfc603e3691d4ae68555f3
2020-04-02 22:57:34 +00:00
Treehugger Robot
15ac2abfd7 Merge "Create surfaceflinger_prop and migrate props" 2020-04-02 22:38:42 +00:00
Robin Lee
1706096a5e Allow blank_screen to make binder calls to the servicemanager am: e58b2d4cae am: 8b5a2cf3b0
Change-Id: Ieb67fa8ee5734af6a8a903a5f4754a39c7350ba5
2020-04-02 19:59:21 +00:00
Robin Lee
8b5a2cf3b0 Allow blank_screen to make binder calls to the servicemanager am: e58b2d4cae
Change-Id: Ibfe2ac37b8396be169819d0d99380db1a7f51999
2020-04-02 19:32:48 +00:00
Robin Lee
e58b2d4cae Allow blank_screen to make binder calls to the servicemanager
blank_screen can not find and use the lights HAL if it cannot use the servicemanager. This
broke turning off the display during shutdown.

Change-Id: I6aff1cb71f805637abc79493ba2574143c5cf7cf
Test: adb root; adb shell setenforce 1; adb shell setprop ctl.start blank_screen
Test: adb logcat -b all | grep 'denied'
Bug: 151363454
2020-04-02 18:40:11 +02:00
Treehugger Robot
d519e482e4 Merge "Reduce graphics logspam" am: fcdb7145c1 am: 886eca4f1f
Change-Id: Ida45ddb951df167f9bef66ea303422b896e7db77
2020-04-02 13:47:04 +00:00
Treehugger Robot
886eca4f1f Merge "Reduce graphics logspam" am: fcdb7145c1
Change-Id: I311400bf765518759d190522f8503515ef82ad11
2020-04-02 13:23:39 +00:00
Treehugger Robot
fcdb7145c1 Merge "Reduce graphics logspam" 2020-04-02 13:06:35 +00:00
Jeff Vander Stoep
67896eef07 Reduce graphics logspam
There is no change in behavior. These denials were already
being blocked.

Bug: 79617173
Test: build
Change-Id: Iffd1e5ba42854615eeea9490fe9150678ac98796
2020-04-02 13:43:26 +02:00
Inseob Kim
94bae860a9 Create surfaceflinger_prop and migrate props
This is a subtask of removing exported*_prop.

Bug: 152468529
Test: m && boot crosshatch
Change-Id: I9d6ec7ade96a3a53288f23d155cc829c2107bb6f
2020-04-02 11:21:14 +00:00
Jeff Vander Stoep
8b2b6ab02e Track another instance of b/77870037 am: 8c9826ec21 am: f047f015a3
Change-Id: Iaf1473268c95beac6091f3e8e4a0b7c1711a7179
2020-04-02 10:23:27 +00:00
Jeff Vander Stoep
f047f015a3 Track another instance of b/77870037 am: 8c9826ec21
Change-Id: I3049478006595df7bef5a4a2f1b1034ad96d5ae3
2020-04-02 10:04:22 +00:00