Home
last modified time | relevance | path

Searched refs:ReadFileToString (Results 1 – 22 of 22) sorted by relevance

/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp333 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F()
335 ASSERT_FALSE(android::base::ReadFileToString( in TEST_F()
353 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F()
355 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F()
370 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F()
372 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F()
418 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F()
420 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F()
422 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F()
424 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F()
[all …]
/frameworks/av/services/minijail/
Dminijail.cpp66 if (!base::ReadFileToString(base_policy_path, &base_policy_content, in SetUpMinijail()
72 !base::ReadFileToString(additional_policy_path, &additional_policy_content, in SetUpMinijail()
/frameworks/base/tools/aapt2/util/
DFiles.cpp42 using ::android::base::ReadFileToString;
247 if (!ReadFileToString(path.to_string(), &contents, true /*follow_symlinks*/)) { in AppendArgsFromFile()
266 if(!ReadFileToString(path.to_string(), &contents, true /*follow_symlinks*/)) { in AppendSetArgsFromFile()
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp55 using ::android::base::ReadFileToString;
300 if (!ReadFileToString(path, &contents, true)) { in ExtractObfuscationWhitelistFromConfig()
315 if (!android::base::ReadFileToString(path, &content, true /*follow_symlinks*/)) { in ExtractConfig()
DLink.cpp680 if (!android::base::ReadFileToString(path, &content, true /*follow_symlinks*/)) { in LoadStableIdMap()
/frameworks/native/libs/dumputils/
Ddump_utils.cpp162 if (!android::base::ReadFileToString(android::base::StringPrintf("/proc/%d/cmdline", pid), in IsZygote()
/frameworks/native/cmds/lshal/libprocpartition/
Dprocpartition.cpp49 if (!android::base::ReadFileToString("/proc/" + std::to_string(pid) + "/cmdline", &content, in getCmdline()
/frameworks/base/cmds/incidentd/tests/
DReporter_test.cpp129 ReadFileToString(filename, &content); in InspectFiles()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp126 void ReadFileToString(const std::string& path, std::string* content) { in ReadFileToString() function in android::os::dumpstate::DumpstateBaseTest
127 ASSERT_TRUE(android::base::ReadFileToString(path, content)) in ReadFileToString()
138 ReadFileToString(from, &content); in CopyTextFile()
1118 ReadFileToString(path, &actual_content); in AssertStats()
1329 ReadFileToString(path_, &out); in CaptureFdOut()
/frameworks/ml/nn/runtime/
DTypeManager.cpp85 if (!android::base::ReadFileToString(kAppAllowlistPath, &data)) { in getVendorExtensionAllowlistedApps()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp80 using ::android::base::ReadFileToString;
435 if (!ReadFileToString(path, &contents, true)) { in ForPath()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_service.cpp216 if (!base::ReadFileToString(file_path, &data)) { in OnGetConfigurationData()
/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp35 using ::android::base::ReadFileToString;
/frameworks/native/libs/graphicsenv/
DGraphicsEnv.cpp103 if (!base::ReadFileToString(configFile, &fileContent)) { in readConfig()
/frameworks/native/libs/adbd_auth/
Dadbd_auth.cpp391 if (!android::base::ReadFileToString(path, &content)) { in IteratePublicKeys()
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp66 if (!android::base::ReadFileToString(path, &data)) return {}; in readNumbersFromFile()
/frameworks/base/libs/protoutil/tests/
DProtoOutputStream_test.cpp35 EXPECT_TRUE(ReadFileToString(tf.path, &content)); in flushToString()
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp65 if (!android::base::ReadFileToString(filename, &input, true)) { in Replayer()
/frameworks/native/cmds/atrace/
Datrace.cpp653 if (!android::base::ReadFileToString(g_traceFolder + k_ftraceFilterPath, &buf)) { in verifyKernelTraceFuncs()
/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_benchmarks.cpp94 base::ReadFileToString(base::FilePath{stats_path}, &line); in Update()
/frameworks/native/cmds/installd/
Dutils.cpp1069 if (!android::base::ReadFileToString(kProcFilesystems, &supported)) { in supports_sdcardfs()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp3026 if (!android::base::ReadFileToString(path_, &content)) { in Load()