Skip to content
Snippets Groups Projects
  1. Dec 28, 2018
    • Dario Freni's avatar
      Revert "Add StagingManager service." · ca861694
      Dario Freni authored
      This reverts commit 9eb3b8ff.
      
      Reason for revert: We are deciding for now not to make StagingManager a fully-fledged binder service, as it will only be accessed by PackageInstaller. We might re-evaluate this decision later if needed.
      
      Bug: 122072686
      Change-Id: Ic2a53fc92ddd7d7eeccc6a4a0117f28724346ec7
      ca861694
  2. Dec 27, 2018
    • Dario Freni's avatar
      Add StagingManager service. · 9eb3b8ff
      Dario Freni authored
      Adding a new high-level service which will handle staged installs, i.e.
      installs that require a reboot.
      
      Bug: 118865310
      Test: An initial implementation of StagingManager can be reached
      successfully by PackageManagerService and PackageInstallerService.
      Change-Id: I8859b463575f8ee85caae43570958347b82f967e
      9eb3b8ff
    • Michael Groover's avatar
      Merge "Add selinux policy for new SensorPrivacyService" · 09c86730
      Michael Groover authored
      Test: manually verified SensorPrivacyService is accessible
      Bug: 110842805
      Merged-In: Idd215f338f2da0dab4898ea06fa08d9b4a1bcb5f
      Change-Id: Idd215f338f2da0dab4898ea06fa08d9b4a1bcb5f
      (cherry picked from commit 0ac3dea7)
      09c86730
  3. Dec 21, 2018
    • Remi NGUYEN VAN's avatar
      Add selinux policies for network stack service · 47c2dee5
      Remi NGUYEN VAN authored
      The policies allow the system server to register a network_stack_service
      used to communicate with the network stack process.
      
      Test: atest FrameworksNetTests
      Bug: b/112869080
      Change-Id: Ib9b7d9150fe4afcce03c8b3dbb36b81c67e39366
      47c2dee5
  4. Dec 18, 2018
  5. Dec 17, 2018
    • Todd Kennedy's avatar
      Create new permissionmgr_service · 784c2b8d
      Todd Kennedy authored
      We're creating a new PermissionManagerService that will handle
      all of the permission related APIs. These are currently being
      routed through PackageManagerService.
      
      Test: Device boots
      Change-Id: I7d08561dd33b692209c30d413cdca0ff567358f1
      784c2b8d
  6. Dec 14, 2018
  7. Dec 12, 2018
    • Sunny Goyal's avatar
      New system service: app_prediction_service · 2a2d638e
      Sunny Goyal authored
      - Update policy for new system service, used for SystemUI/Apps to
        present predicted apps in their UI.
      
      Bug: 111701043
      Test: manual verification
      Change-Id: Ia3b5db987097d2d71bf774ca550041e03214471d
      2a2d638e
  8. Dec 10, 2018
    • Fan Xu's avatar
      Remove unused bufferhub sepolicy · ffffed28
      Fan Xu authored
      These selinux policy rules were added for bufferhub to run a binder
      service. But later we decided to use a hwbinder service instead, and the
      original binder service was removed in git/master. Now we can safely
      remove these rules.
      
      Test: Build passed. Device boot successfully without selinux denial.
      Bug: 118891412
      Change-Id: I349b5f0f2fa8fb6a7cfe7869d936791355c20753
      ffffed28
  9. Dec 07, 2018
    • Matt Pape's avatar
      SEPolicy updates for DeviceConfig Service. · 6aa44527
      Matt Pape authored
      Add a DeviceConfig service in system_server to edit configuration flags.
      This is intended to be a command line tool for local overrides and/or
      tool for tests that adopt shell permissions.
      
      Test: None
      Bug:109919982
      Bug:113101834
      Change-Id: Ib7bed752849b1ed102747e3202dd7aed48d2c6d5
      6aa44527
  10. Dec 03, 2018
  11. Nov 16, 2018
    • Yiwei Zhang's avatar
      [SEPolicy] Name GPU service back to "gpu" · 174a025d
      Yiwei Zhang authored
      Changed the GPU service name back to be compatible with external
      engines/tools' usage of vkjson cmd.
      
      Bug: 118347356
      Test: adb shell cmd gpu vkjson
      Change-Id: Ie432fd8be63d33070ad037c509467c8367b42d39
      174a025d
  12. Nov 15, 2018
    • Mårten Kongstad's avatar
      Add idmap2 and idmap2d · f62362da
      Mårten Kongstad authored
      Bug: 78815803
      Test: builds, boots
      Test: manual: adb shell idmap2 create ...
      Test: manual: adb shell ps | grep -e idmap2d
      Change-Id: I60852e15d99329896ff9de6559d1e7cd1c67e33d
      f62362da
  13. Nov 12, 2018
  14. Nov 08, 2018
    • Peiyong Lin's avatar
      [SEPolicy] Configure policy for gpu service. · 7924dc60
      Peiyong Lin authored
      Historically GPU service lives in SurfaceFlinger as a convenient hack.
      Howerver, SurfaceFlinger doesn't need to know about anything specific about GPU
      capability, and shouldn't know about anything about GPU. This patch moves GPU
      service out of SurfaceFlinger.
      
      GPU service is a service that accesses to GPU driver, queries GPU capabilities
      and reports back. Currently we use this information in CTS and some benchmarks.
      
      BUG: 118347356
      Test: Build, flash and boot, use `adb shell cmd gpu vkjson` to verify
      Change-Id: I007989e0f3f73b5caf80277979986820dd127c32
      7924dc60
  15. Nov 07, 2018
  16. Nov 05, 2018
  17. Oct 15, 2018
    • Chong Zhang's avatar
      add media.codec.update service · 52fb3edb
      Chong Zhang authored
      Add a service in mediaswcodec to load updated codecs,
      and restrict it to userdebug/eng. Reuse existing
      mediaextractor_update_service since the codec update
      service is identical, this avoids adding a new one
      for now as we may not need the service anymore
      after switching to APEX.
      
      Bug: 111407413
      Bug: 117290290
      
      Change-Id: Ia75256f47433bd13ed819c70c1fb34ecd5d507b4
      52fb3edb
  18. Oct 10, 2018
    • Sooraj Sasindran's avatar
      Add ians service contexts · ffaf66d4
      Sooraj Sasindran authored
      Add ians service contexts
      
      Bug: 113106744
      Test: verified from service list that ianas is
            registered
      Change-Id: Iea653416ffa45cba07a544826e0a2395d31cedca
      Merged-In: Iea653416ffa45cba07a544826e0a2395d31cedca
      ffaf66d4
  19. Oct 08, 2018
  20. Oct 04, 2018
    • Martijn Coenen's avatar
      Add policy for apexd. · ac097ac4
      Martijn Coenen authored
      apexd is a new daemon for managing APEX packages installed
      on the device. It hosts a single binder service, "apexservice".
      
      Bug: 112455435
      Test: builds, binder service can be registered,
            apexes can be accessed, verified and mounted
      Change-Id: I634ad100f10b2edcd9a9c0df0d33896fa5d4ed97
      ac097ac4
  21. Sep 24, 2018
    • Fan Xu's avatar
      Update SELinux Policy for bufferhubd · 26fa914c
      Fan Xu authored
      Create a new service type buffer_hub_binder_service for
      BufferHubBinderService and allow bufferhubd to publish the service.
      
      Add the service to 26.0, 27.0 and 28.0 compat ignore files since the
      service is not available in past versions.
      
      Fixes: 116022258
      Test: build passed
      
      Change-Id: I5a21f00329ed474433d96c8d1ce32377f20cada3
      26fa914c
  22. Sep 21, 2018
  23. Sep 06, 2018
  24. Sep 05, 2018
    • Makoto Onuki's avatar
      Add app_binding system service · 6af11813
      Makoto Onuki authored
      Bug: 109809543
      Test: Build and boot with the new service in the internal branch.
      
      Change-Id: Iaee365771c3e8e5b8f5f3b6112bbf902c6bb02bd
      6af11813
  25. Aug 30, 2018
  26. Aug 22, 2018
  27. Jul 23, 2018
  28. Jul 14, 2018
    • Steven Thomas's avatar
      Selinux changes for vr flinger vsync service · 7bec9674
      Steven Thomas authored
      Add selinux policy for the new Binder-based vr flinger vsync service.
      
      Bug: 72890037
      
      Test: - Manually confirmed that I can't bind to the new vsync service
      from a normal Android application, and system processes (other than
      vr_hwc) are prevented from connecting by selinux.
      
      - Confirmed the CTS test
        android.security.cts.SELinuxHostTest#testAospServiceContexts, when
        built from the local source tree with this CL applied, passes.
      
      - Confirmed the CTS test
        android.cts.security.SELinuxNeverallowRulesTest#testNeverallowRules521,
        when built from the local source tree with this CL applied, passes.
      
      Change-Id: Ib7a6bfcb1c2ebe1051f3accc18b481be1b188b06
      7bec9674
  29. Jun 19, 2018
    • Neil Fuller's avatar
      sepolicy entries for time zone detector service · 1662495a
      Neil Fuller authored
      Add sepolicy entries for the new time zone detector service.
      
      The timezonedetector_service will be called from the
      telephony process.
      
      Bug: 78217059
      Test: make / booted device
      Change-Id: Ib719a4bb444b2af7dd71910fb0bd12992df9d88c
      1662495a
  30. Jun 06, 2018
    • Neil Fuller's avatar
      Remove references to common_time / commontime · c9fa040d
      Neil Fuller authored
      This change removes references to the common time management
      service.
      
      Bug: 80462439
      Test: build / boot
      Merged-In: I2c8fca44fe05e3a35f5580d23e23a4c033075613
      Change-Id: I2c8fca44fe05e3a35f5580d23e23a4c033075613
      c9fa040d
  31. Jun 05, 2018
  32. Jun 04, 2018
    • Neil Fuller's avatar
      selinux changes to add time detector service · e1dd6d07
      Neil Fuller authored
      This commit contains the changes needed to add the new
      time detector system server service.
      
      Bug: 78217059
      Test: make / booted device
      Change-Id: I7cfaac6cac876e4aa73e8af1aa5f837117bb9ad7
      e1dd6d07
  33. May 17, 2018
    • Jin Qian's avatar
      storaged: add storaged_pri service · e11d4994
      Jin Qian authored
      "storaged" service will be used by external clients, e.g. vold, dumpsys
      "storaged_pri" service will only be used by storaged cmdline.
      
      Bug: 63740245
      Change-Id: I7a60eb4ce321aced9589bbb8474d2d9e75ab7042
      (cherry picked from commit 37ab7c09)
      e11d4994
  34. Mar 21, 2018
  35. Mar 20, 2018
  36. Mar 07, 2018
    • Kenny Root's avatar
      Add ADB system service · 0b79a179
      Kenny Root authored
      ADB is being separated from USB service since it's not tied to the USB
      transport. This duplicates the usb_service's settings to adb_service for
      this purpose.
      
      Bug: 63820489
      Test: make
      Change-Id: Idbcfbe470d7568f9cba51f0c8d4a8ee9503db93d
      0b79a179
  37. Jan 29, 2018
  38. Jan 23, 2018
  39. Jan 19, 2018
    • Tao Bao's avatar
      Add rules for system_update service. · d7d9cfca
      Tao Bao authored
      system_update service manages system update information: system updater
      (priv_app) publishes the pending system update info through the service,
      while other apps can read the info accordingly (design doc in
      go/pi-ota-platform-api).
      
      This CL adds the service type, and grants priv_app to access the service.
      
      Bug: 67437079
      Test: Build and flash marlin image. The system_update service works.
      Change-Id: I7a3eaee3ecd3e2e16b410413e917ec603566b375
      d7d9cfca
Loading