Home
last modified time | relevance | path

Searched refs:getFileContext (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/security/src/android/security/cts/
DSELinuxTest.java92 String found = getFileContext(appDataDir.getAbsolutePath()); in testCTSAppDataContext()
100 assertEquals(getFileContext("/"), "u:object_r:rootfs:s0"); in testFileContexts()
101 assertEquals(getFileContext("/dev"), "u:object_r:device:s0"); in testFileContexts()
102 assertEquals(getFileContext("/dev/socket"), "u:object_r:socket_device:s0"); in testFileContexts()
103 assertEquals(getFileContext("/dev/binder"), "u:object_r:binder_device:s0"); in testFileContexts()
104 assertEquals(getFileContext("/system"), "u:object_r:system_file:s0"); in testFileContexts()
105 assertEquals(getFileContext("/system/bin/app_process"), "u:object_r:zygote_exec:s0"); in testFileContexts()
106 assertEquals(getFileContext("/data"), "u:object_r:system_data_file:s0"); in testFileContexts()
107 assertEquals(getFileContext("/data/app"), "u:object_r:apk_data_file:s0"); in testFileContexts()
108 assertEquals(getFileContext("/data/local/tmp"), "u:object_r:shell_data_file:s0"); in testFileContexts()
[all …]
/cts/tests/tests/security/jni/
Dandroid_security_cts_SELinuxTest.cpp85 static jstring getFileContext(JNIEnv *env, jobject, jstring pathStr) { in getFileContext() function
109 (void*) getFileContext },