summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZongzong Yan <zongzong.yan@vivantecorp.com>2014-03-12 02:06:17 -0700
committerZongzong Yan <zongzong.yan@vivantecorp.com>2014-03-12 02:06:17 -0700
commit8b8a1d9abca9b4b4675c8a93e4e878a65cb38f57 (patch)
tree322ea78a052b54e275a2a6df0a23442f3490daff
parent7c0db3c41cc707ce6b1ce36b0f5724548c226cf2 (diff)
downloadcts-8b8a1d9abca9b4b4675c8a93e4e878a65cb38f57.tar.gz
Add Vivante exceptions for FileSystemPermissionTest
/dev/galcore or /dev/graphics/galcore is used by all GL applications and HWC for accessing Vivante GPU and CPC engine. All 3D and 2D contexts are protected from each other with GMMU (GPU Memory Management Unit). The interface is secured by maintaining a whitelist of registers that are allowed to be accessed from usermode. Vivante had carefully reviewed /dev/galcore or /dev/graphics/galcore interfaces in terms of security concern, and we are sure the device meets Android security requirements. Change-Id: I059ffc673762678af3ad6abb04029454f879b6c7 Signed-off-by: Zongzong Yan <zongzong.yan@vivantecorp.com>
-rw-r--r--tests/tests/permission/src/android/permission/cts/FileSystemPermissionTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tests/permission/src/android/permission/cts/FileSystemPermissionTest.java b/tests/tests/permission/src/android/permission/cts/FileSystemPermissionTest.java
index f958440cac3..2163bc63bdb 100644
--- a/tests/tests/permission/src/android/permission/cts/FileSystemPermissionTest.java
+++ b/tests/tests/permission/src/android/permission/cts/FileSystemPermissionTest.java
@@ -740,7 +740,9 @@ public class FileSystemPermissionTest extends AndroidTestCase {
new File("/dev/felica_rws"),
new File("/dev/felica_uicc"),
new File("/dev/full"),
+ new File("/dev/galcore"),
new File("/dev/genlock"), // b/9035217
+ new File("/dev/graphics/galcore"),
new File("/dev/ion"),
new File("/dev/kgsl-3d0"), // b/9035217
new File("/dev/log/events"), // b/9035217