Restrict access to hwservicemanager
This adds fine-grained policy about who can register and find which HwBinder services in hwservicemanager. Test: Play movie in Netflix and Google Play Movies Test: Play video in YouTube app and YouTube web page 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: Cast screen to a Google Cast device 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 frome 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 Test: Adjust screen brightness via the slider in Quick Settings Test: adb bugreport Test: Enroll in fingerprint screen unlock, unlock screen using fingerprint Test: Apply OTA update: Make some visible change, e.g., rename Settings app. make otatools && \ make dist Ensure device has network connectivity ota_call.py -s <serial here> --file out/dist/sailfish-ota-*.zip Confirm the change is now live on the device Bug: 34454312 (cherry picked from commit 632bc494) Merged-In: Iecf74000e6c68f01299667486f3c767912c076d3 Change-Id: I7a9a487beaf6f30c52ce08e04d415624da49dd31
Showing
- private/app.te 11 additions, 3 deletionsprivate/app.te
- private/bluetooth.te 0 additions, 1 deletionprivate/bluetooth.te
- private/halclientdomain.te 3 additions, 0 deletionsprivate/halclientdomain.te
- private/hwservice_contexts 48 additions, 2 deletionsprivate/hwservice_contexts
- private/hwservicemanager.te 3 additions, 0 deletionsprivate/hwservicemanager.te
- private/keystore.te 7 additions, 0 deletionsprivate/keystore.te
- private/mediaserver.te 4 additions, 0 deletionsprivate/mediaserver.te
- private/surfaceflinger.te 2 additions, 2 deletionsprivate/surfaceflinger.te
- private/system_server.te 10 additions, 16 deletionsprivate/system_server.te
- private/vr_hwc.te 2 additions, 0 deletionsprivate/vr_hwc.te
- public/cameraserver.te 2 additions, 1 deletionpublic/cameraserver.te
- public/domain.te 16 additions, 2 deletionspublic/domain.te
- public/dumpstate.te 1 addition, 3 deletionspublic/dumpstate.te
- public/hal_allocator.te 4 additions, 0 deletionspublic/hal_allocator.te
- public/hal_audio.te 3 additions, 0 deletionspublic/hal_audio.te
- public/hal_bluetooth.te 3 additions, 0 deletionspublic/hal_bluetooth.te
- public/hal_bootctl.te 3 additions, 0 deletionspublic/hal_bootctl.te
- public/hal_camera.te 2 additions, 1 deletionpublic/hal_camera.te
- public/hal_configstore.te 5 additions, 0 deletionspublic/hal_configstore.te
- public/hal_contexthub.te 6 additions, 2 deletionspublic/hal_contexthub.te
Please register or sign in to comment