Home
last modified time | relevance | path

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

/system/core/libnativebridge/
Dnative_bridge.cc91 static char* app_code_cache_dir = nullptr; variable
113 if (app_code_cache_dir != nullptr) { in ReleaseAppCodeCacheDir()
114 delete[] app_code_cache_dir; in ReleaseAppCodeCacheDir()
115 app_code_cache_dir = nullptr; in ReleaseAppCodeCacheDir()
273 app_code_cache_dir = new char[len]; in PreInitializeNativeBridge()
274 snprintf(app_code_cache_dir, len, "%s/%s", app_data_dir_in, kCodeCacheDir); in PreInitializeNativeBridge()
412 if (stat(app_code_cache_dir, &st) == -1) { in InitializeNativeBridge()
414 if (mkdir(app_code_cache_dir, S_IRWXU | S_IRWXG | S_IXOTH) == -1) { in InitializeNativeBridge()
415 ALOGW("Cannot create code cache directory %s: %s.", app_code_cache_dir, strerror(errno)); in InitializeNativeBridge()
419 ALOGW("Cannot stat code cache directory %s: %s.", app_code_cache_dir, strerror(errno)); in InitializeNativeBridge()
[all …]