Home
last modified time | relevance | path

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

/cts/hostsidetests/security/src/android/cts/security/
DFileSystemPermissionTest.java3 import static android.security.cts.SELinuxHostTest.copyResourceToTempFile;
153 libsepolwrap = copyResourceToTempFile("/libsepolwrap.dylib"); in execSearchPolicy()
158 File libcpp = copyResourceToTempFile("/libc++.dylib"); in execSearchPolicy()
162 libsepolwrap = copyResourceToTempFile("/libsepolwrap.so"); in execSearchPolicy()
167 File libcpp = copyResourceToTempFile("/libc++.so"); in execSearchPolicy()
171 File searchpolicy = copyResourceToTempFile("/searchpolicy"); in execSearchPolicy()
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxHostTest.java118 public static File copyResourceToTempFile(String resName) throws IOException { in copyResourceToTempFile() method in SELinuxHostTest
216 File secilc = copyResourceToTempFile("/secilc"); in buildSystemPolicy()
539 checkSeapp = copyResourceToTempFile("/checkseapp"); in testValidSeappContexts()
543 seappNeverAllowFile = copyResourceToTempFile("/plat_seapp_neverallows"); in testValidSeappContexts()
601 aospSeappFile = copyResourceToTempFile("/plat_seapp_contexts"); in testAospSeappContexts()
616 checkFc = copyResourceToTempFile("/checkfc"); in testAospFileContexts()
620 aospFcFile = copyResourceToTempFile("/plat_file_contexts"); in testAospFileContexts()
657 aospPcFile = copyResourceToTempFile("/plat_property_contexts"); in testAospPropertyContexts()
679 aospSvcFile = copyResourceToTempFile("/plat_service_contexts"); in testAospServiceContexts()
693 checkFc = copyResourceToTempFile("/checkfc"); in testValidFileContexts()
[all …]