Searched refs:data_path (Results 1 – 2 of 2) sorted by relevance
/system/core/run-as/ |
D | run-as.cpp | 102 static void check_data_path(const char* package_name, const char* data_path, uid_t uid) { in check_data_path() argument 104 if (data_path[0] != '/') { in check_data_path() 105 error(1, 0, "%s data path not absolute: %s", package_name, data_path); in check_data_path() 111 for (int nn = 1; data_path[nn] != '\0'; nn++) { in check_data_path() 115 if (data_path[nn] != '/') continue; in check_data_path() 118 if (data_path[nn+1] == '\0') break; in check_data_path() 122 error(1, 0, "%s data path too long: %s", package_name, data_path); in check_data_path() 127 data_path[nn-3] == '/' && in check_data_path() 128 data_path[nn-2] == '.' && in check_data_path() 129 data_path[nn-1] == '.') { in check_data_path() [all …]
|
/system/core/fs_mgr/libfiemap/ |
D | image_manager.cpp | 151 auto data_path = GetImageHeaderPath(name); in CreateBackingImage() local 153 auto status = SplitFiemap::Create(data_path, size, 0, &fw, on_progress); in CreateBackingImage() 159 if (!FilesystemHasReliablePinning(data_path, &reliable_pinning)) { in CreateBackingImage() 162 if (!reliable_pinning && !IsUnreliablePinningAllowed(data_path)) { in CreateBackingImage() 170 SplitFiemap::RemoveSplitFiles(data_path); in CreateBackingImage() 185 SplitFiemap::RemoveSplitFiles(data_path); in CreateBackingImage() 205 auto data_path = GetImageHeaderPath(name); in ZeroFillNewImage() local 210 if (!FiemapWriter::GetBlockDeviceForFile(data_path, &block_device, &can_use_devicemapper)) { in ZeroFillNewImage() 211 LOG(ERROR) << "Could not determine block device for " << data_path; in ZeroFillNewImage()
|