Home
last modified time | relevance | path

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

/frameworks/base/services/incremental/
DIncrementalService.cpp425 for (auto&& [id, ifs] : mMounts) { in onDump()
426 std::unique_lock ll(ifs->lock); in onDump()
427 const IncFsMount& mnt = *ifs; in onDump()
434 const auto& metricsInstanceName = ifs->metricsKey; in onDump()
486 const auto lastReadError = mIncFs->getLastReadError(ifs->control); in onDump()
519 bool IncrementalService::needStartDataLoaderLocked(IncFsMount& ifs) { in needStartDataLoaderLocked() argument
520 if (!ifs.dataLoaderStub) { in needStartDataLoaderLocked()
523 if (ifs.dataLoaderStub->isSystemDataLoader()) { in needStartDataLoaderLocked()
527 return mIncFs->isEverythingFullyLoaded(ifs.control) == incfs::LoadingState::MissingBlocks; in needStartDataLoaderLocked()
539 for (auto&& [id, ifs] : mMounts) { in onSystemReady()
[all …]
DIncrementalService.h416 int addBindMount(IncFsMount& ifs, StorageId storage, std::string_view storageRoot,
420 int addBindMountWithMd(IncFsMount& ifs, StorageId storage, std::string&& metadataName,
424 void addBindMountRecordLocked(IncFsMount& ifs, StorageId storage, std::string&& metadataName,
427 bool needStartDataLoaderLocked(IncFsMount& ifs);
429 void prepareDataLoaderLocked(IncFsMount& ifs, content::pm::DataLoaderParamsParcel&& params,
437 void deleteStorage(IncFsMount& ifs);
438 void deleteStorageLocked(IncFsMount& ifs, std::unique_lock<std::mutex>&& ifsLock);
445 int makeDirs(const IncFsMount& ifs, StorageId storageId, std::string_view path, int mode);
447 int disableReadLogsLocked(IncFsMount& ifs);
448 int applyStorageParamsLocked(IncFsMount& ifs);
[all …]
/frameworks/native/libs/binderdebug/
DBinderDebug.cpp43 std::ifstream ifs("/dev/binderfs/binder_logs/proc/" + std::to_string(pid)); in scanBinderContext() local
44 if (!ifs.is_open()) { in scanBinderContext()
45 ifs.open("/d/binder/proc/" + std::to_string(pid)); in scanBinderContext()
46 if (!ifs.is_open()) { in scanBinderContext()
55 while (getline(ifs, line)) { in scanBinderContext()
/frameworks/native/cmds/installd/
Dfile_parsing.h55 std::ifstream ifs(str_file); in ParseFile()
56 if (!ifs.is_open()) { in ParseFile()
59 return ParseFile(ifs, parse); in ParseFile()
Dotapreopt.cpp253 std::ifstream ifs(memfd_file); in ReadEnvironment() local
254 parse_results(ifs); in ReadEnvironment()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp114 std::ifstream ifs(tmp_binary.path, std::ifstream::in); in ParseSections() local
118 while (std::getline(ifs, line)) { in ParseSections()
436 std::ifstream ifs(tmp_binary.path, std::ifstream::in); in TEST_F() local
439 while (std::getline(ifs, line)) { in TEST_F()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp382 android::dataloader::FilesystemConnectorPtr ifs, in onCreate() argument
386 CHECK(ifs) << "ifs can't be null"; in onCreate()
389 mIfs = ifs; in onCreate()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp1449 std::ifstream ifs("/proc/buddyinfo"); in DumpExternalFragmentationInfo() local
1451 for (std::string line; std::getline(ifs, line);) { in DumpExternalFragmentationInfo()