[SEPolicy] Configure policy for gpu service.
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
Showing
- private/adbd.te 2 additions, 0 deletionsprivate/adbd.te
- private/file_contexts 1 addition, 0 deletionsprivate/file_contexts
- private/gpuservice.te 31 additions, 0 deletionsprivate/gpuservice.te
- private/service_contexts 1 addition, 1 deletionprivate/service_contexts
- private/surfaceflinger.te 0 additions, 2 deletionsprivate/surfaceflinger.te
- private/system_server.te 4 additions, 0 deletionsprivate/system_server.te
private/gpuservice.te
0 → 100644
Please register or sign in to comment