Searched refs:data_dir (Results 1 – 11 of 11) sorted by relevance
/system/security/identity/ |
D | main.cpp | 46 string data_dir = string(argv[1]); in main() local 47 CHECK(chdir(data_dir.c_str()) != -1) << "chdir: " << data_dir << ": " << strerror(errno); in main() 50 sp<CredentialStoreFactory> factory = new CredentialStoreFactory(data_dir); in main()
|
/system/core/run-as/ |
D | run-as.cpp | 205 free(info.data_dir); in main() 206 if (asprintf(&info.data_dir, "/data/user/%d/%s", userId, pkgname) == -1) { in main() 235 check_data_path(pkgname, info.data_dir, userAppId); in main() 254 if (TEMP_FAILURE_RETRY(chdir(info.data_dir)) == -1) { in main() 255 error(1, errno, "couldn't chdir to package's data directory '%s'", info.data_dir); in main() 257 setenv("HOME", info.data_dir, 1); in main()
|
/system/core/libpackagelistparser/ |
D | packagelistparser_test.cpp | 53 ASSERT_STREQ("/data/user/0/com.test.a0", packages[0]->data_dir); in TEST() 62 ASSERT_STREQ("/data/user/0/com.test.a1", packages[1]->data_dir); in TEST() 72 ASSERT_STREQ("/data/user/0/com.test.a2", packages[2]->data_dir); in TEST() 83 ASSERT_STREQ("/data/user/0/com.test.a3", packages[3]->data_dir); in TEST()
|
D | packagelistparser.cpp | 72 sscanf(line, "%ms %lu %d %ms %ms %ms %d %ld", &info->name, &uid, &debuggable, &info->data_dir, in parse_line() 136 free(info->data_dir); in packagelist_free()
|
/system/core/libpackagelistparser/include/packagelistparser/ |
D | packagelistparser.h | 43 char* data_dir; member
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_fuzz_utils.h | 83 const std::string& metadata_dir, const std::string& data_dir); 144 const std::string& data_dir) { in Open() argument 145 auto impl = android::fiemap::ImageManager::Open(metadata_dir, data_dir); in Open()
|
D | snapshot_fuzz_utils.cpp | 385 const std::string& metadata_dir, const std::string& data_dir) { in CheckCreateFakeImageManager() argument 387 PCHECK(Mkdir(data_dir)); in CheckCreateFakeImageManager() 388 return SnapshotFuzzImageManager::Open(metadata_dir, data_dir); in CheckCreateFakeImageManager()
|
/system/core/fs_mgr/libfiemap/ |
D | image_manager.cpp | 58 auto data_dir = "/data/gsi/" + dir_prefix; in Open() local 62 data_dir = path; in Open() 64 return Open(metadata_dir, data_dir); in Open() 68 const std::string& data_dir) { in Open() argument 69 return std::unique_ptr<ImageManager>(new ImageManager(metadata_dir, data_dir)); in Open() 72 ImageManager::ImageManager(const std::string& metadata_dir, const std::string& data_dir) in ImageManager() argument 73 : metadata_dir_(metadata_dir), data_dir_(data_dir) { in ImageManager()
|
/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | image_manager.h | 134 const std::string& data_dir); 169 ImageManager(const std::string& metadata_dir, const std::string& data_dir);
|
/system/extras/simpleperf/simpleperf_app_runner/ |
D | simpleperf_app_runner.cpp | 205 if (TEMP_FAILURE_RETRY(chdir(info->data_dir)) == -1) { in main()
|
/system/gsid/ |
D | gsi_service.cpp | 714 std::string metadata_dir, data_dir; in openImageService() local 719 if (!android::base::Realpath(in_data_dir, &data_dir)) { in openImageService() 724 !android::base::StartsWith(data_dir, kImageDataPrefix)) { in openImageService() 733 auto impl = ImageManager::Open(metadata_dir, data_dir); in openImageService()
|