Home
last modified time | relevance | path

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

/art/libnativebridge/
Dnative_bridge.cc122 static char* app_code_cache_dir = nullptr; variable
142 if (app_code_cache_dir != nullptr) { in ReleaseAppCodeCacheDir()
143 delete[] app_code_cache_dir; in ReleaseAppCodeCacheDir()
144 app_code_cache_dir = nullptr; in ReleaseAppCodeCacheDir()
277 app_code_cache_dir = new char[len]; in PreInitializeNativeBridge()
278 snprintf(app_code_cache_dir, len, "%s/%s", app_data_dir_in, kCodeCacheDir); in PreInitializeNativeBridge()
281 app_code_cache_dir = nullptr; in PreInitializeNativeBridge()
429 if (app_code_cache_dir != nullptr) { in InitializeNativeBridge()
432 if (stat(app_code_cache_dir, &st) == -1) { in InitializeNativeBridge()
434 if (mkdir(app_code_cache_dir, S_IRWXU | S_IRWXG | S_IXOTH) == -1) { in InitializeNativeBridge()
[all …]
/art/test/115-native-bridge/
Dnativebridge.cc421 const char* app_code_cache_dir, in native_bridge_initialize() argument
424 if (app_code_cache_dir != nullptr) { in native_bridge_initialize()
425 if (stat(app_code_cache_dir, &st) == 0) { in native_bridge_initialize()