Searched refs:android_dir (Results 1 - 2 of 2) sorted by relevance

/system/core/adb/
H A Dadb_auth_host.cpp294 const std::string android_dir = local
299 if (stat(android_dir.c_str(), &buf)) {
300 if (adb_mkdir(android_dir.c_str(), 0750) < 0) {
301 D("Cannot mkdir '%s'", android_dir.c_str());
307 android_dir.c_str(), OS_PATH_SEPARATOR, ADB_KEY_FILE);
/system/core/init/
H A Dinit.cpp440 static const char android_dir[] = "/proc/device-tree/firmware/android"; local
442 std::string file_name = android::base::StringPrintf("%s/compatible", android_dir);
451 std::unique_ptr<DIR, int(*)(DIR*)>dir(opendir(android_dir), closedir);
460 file_name = android::base::StringPrintf("%s/%s", android_dir, dp->d_name);

Completed in 116 milliseconds