Files
device_google_wahoo/sepolicy/rild.te
Alex Klyubin e8a357824a Grant device-specific hwservicemanager access
Test: In Google Camera app, take photo (HDR+ and conventional),
      record video (slow motion and normal), and check that photos
      look fine and videos play back with sound.
Test: Get location fix in Google Maps
Test: Make and receive a phone call, check that sound works both ways
      and that disconnecting the call from either end works fine.
Test: Run RsHelloCompute RenderScript demo app
Test: Run fast subset of media CTS tests:
      make and install CtsMediaTestCases.apk
      adb shell am instrument -e size small \
          -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner'
Test: Play music using Google Play music
Bug: 34454312

Change-Id: I7d70a240188e1f4eea1a57ed3ae33a1d7ee79559
2017-04-21 13:06:23 -07:00

31 lines
971 B
Plaintext

# TODO(b/36443535): Remove this once rild stops using Binder
typeattribute rild binder_in_vendor_violators;
binder_use(rild)
binder_call(rild, per_mgr)
binder_call(rild, audioserver)
allow rild qmuxd_socket:dir w_dir_perms;
allow rild qmuxd_socket:sock_file create_file_perms;
allow rild netmgrd_socket:dir search;
unix_socket_connect(rild, netmgrd, netmgrd)
allow rild vendor_file:file { execute_no_trans lock };
allow rild per_mgr_service:service_manager find;
allow rild audioserver_service:service_manager find;
add_hwservice(rild, vnd_ims_radio_hwservice)
add_hwservice(rild, vnd_qcrilhook_hwservice)
allow rild self:socket ioctl;
allowxperm rild self:socket ioctl msm_sock_ipc_ioctls;
# TODO(b/36613472): Remove this once system_server, mediaserver, radio, and bluetooth no longer
# communicate with rild over sockets.
typeattribute rild socket_between_core_and_vendor_violators;
userdebug_or_eng(`
domain_auto_trans(rild, smlog_dump_exec, smlog_dump)
')