Home
last modified time | relevance | path

Searched refs:kCodeCache (Results 1 – 12 of 12) sorted by relevance

/system/core/libnativebridge/tests/
DCodeCacheExists_test.cpp30 ASSERT_EQ(-1, stat(kCodeCache, &st)); in TEST_F()
34 ASSERT_EQ(0, mkdir(kCodeCache, S_IRWXU | S_IRWXG | S_IXOTH)); in TEST_F()
44 ASSERT_EQ(0, stat(kCodeCache, &st)); in TEST_F()
49 ASSERT_EQ(0, rmdir(kCodeCache)); in TEST_F()
DCodeCacheCreate_test.cpp30 ASSERT_EQ(-1, stat(kCodeCache, &st)); in TEST_F()
41 ASSERT_EQ(0, stat(kCodeCache, &st)); in TEST_F()
46 ASSERT_EQ(0, rmdir(kCodeCache)); in TEST_F()
DCodeCacheStatFail_test.cpp29 int fd = creat(kCodeCache, O_RDWR); in TEST_F()
48 unlink(kCodeCache); in TEST_F()
DNativeBridgeTest.h26 constexpr const char* kCodeCache = "./code_cache"; variable
DNativeBridge3UnloadLibrary_test.cpp36 ASSERT_EQ(0, rmdir(kCodeCache)); in TEST_F()
DNativeBridge3GetError_test.cpp36 ASSERT_EQ(0, rmdir(kCodeCache)); in TEST_F()
DNativeBridge3IsPathSupported_test.cpp36 ASSERT_EQ(0, rmdir(kCodeCache)); in TEST_F()
DNativeBridge3InitAnonymousNamespace_test.cpp36 ASSERT_EQ(0, rmdir(kCodeCache)); in TEST_F()
DNativeBridge2Signal_test.cpp39 ASSERT_EQ(0, rmdir(kCodeCache)); in TEST_F()
DNativeBridge3LoadLibraryExt_test.cpp36 ASSERT_EQ(0, rmdir(kCodeCache)); in TEST_F()
DNativeBridge3CreateNamespace_test.cpp37 ASSERT_EQ(0, rmdir(kCodeCache)); in TEST_F()
DCompleteFlow_test.cpp44 ASSERT_EQ(0, rmdir(kCodeCache)); in TEST_F()