Lines Matching refs:app_code_cache_dir
122 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()
436 app_code_cache_dir, strerror(errno)); in InitializeNativeBridge()
441 app_code_cache_dir, strerror(errno)); in InitializeNativeBridge()
445 ALOGW("Code cache is not a directory %s.", app_code_cache_dir); in InitializeNativeBridge()
452 if (callbacks->initialize(runtime_callbacks, app_code_cache_dir, instruction_set)) { in InitializeNativeBridge()