/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 334 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 336 ASSERT_FALSE(android::base::ReadFileToString( in TEST_F() 354 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 356 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 371 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 373 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 419 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 421 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 423 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 425 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/testing/ |
D | file.h | 53 static bool ReadFileToString(const string& name, string* output); 85 return ReadFileToString(name, output); in GetContents()
|
D | file.cc | 65 bool File::ReadFileToString(const string& name, string* output) { in ReadFileToString() function in google::protobuf::File 82 GOOGLE_CHECK(ReadFileToString(name, output)) << "Could not read: " << name; in ReadFileToStringOrDie()
|
/frameworks/av/services/minijail/ |
D | minijail.cpp | 66 if (!base::ReadFileToString(base_policy_path, &base_policy_content, in SetUpMinijail() 72 !base::ReadFileToString(additional_policy_path, &additional_policy_content, in SetUpMinijail()
|
/frameworks/base/cmds/bootanimation/iot/ |
D | BootParameters.cpp | 28 using android::base::ReadFileToString; 85 if (!ReadFileToString(nextBootFile, contents)) { in swapAndLoadBootConfigContents()
|
D | BootParameters_test.cpp | 257 ASSERT_TRUE(base::ReadFileToString(lastFile.path, &contents)); in TEST()
|
/frameworks/native/libs/dumputils/ |
D | dump_utils.cpp | 115 if (!android::base::ReadFileToString(android::base::StringPrintf("/proc/%d/cmdline", pid), in IsZygote()
|
/frameworks/base/tools/aapt2/util/ |
D | Files.cpp | 42 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/ |
D | Optimize.cpp | 55 using ::android::base::ReadFileToString; 300 if (!ReadFileToString(path, &contents, true)) { in ExtractObfuscationWhitelistFromConfig() 315 if (!android::base::ReadFileToString(path, &content, true /*follow_symlinks*/)) { in ExtractConfig()
|
D | Link.cpp | 680 if (!android::base::ReadFileToString(path, &content, true /*follow_symlinks*/)) { in LoadStableIdMap()
|
/frameworks/native/cmds/lshal/libprocpartition/ |
D | procpartition.cpp | 49 if (!android::base::ReadFileToString("/proc/" + std::to_string(pid) + "/cmdline", &content, in getCmdline()
|
/frameworks/base/cmds/incidentd/tests/ |
D | Reporter_test.cpp | 129 ReadFileToString(filename, &content); in InspectFiles()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 131 void ReadFileToString(const std::string& path, std::string* content) { in ReadFileToString() function in android::os::dumpstate::DumpstateBaseTest 132 ASSERT_TRUE(android::base::ReadFileToString(path, content)) in ReadFileToString() 143 ReadFileToString(from, &content); in CopyTextFile() 1160 ReadFileToString(path, &actual_content); in AssertStats() 1371 ReadFileToString(path_, &out); in CaptureFdOut()
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.cpp | 68 if (!android::base::ReadFileToString(path, &data)) return false; in readNumbersFromFile()
|
/frameworks/ml/nn/runtime/ |
D | TypeManager.cpp | 77 if (!android::base::ReadFileToString(kAppAllowlistPath, &data)) { in getVendorExtensionAllowlistedApps()
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateUtil.cpp | 396 android::base::ReadFileToString("/proc/" + std::string(ps->d_name) + "/cmdline", &cmdline); in GetPidByName()
|
D | utils.cpp | 144 if (!android::base::ReadFileToString(path_, &content)) { in Load() 919 if (!android::base::ReadFileToString(ext_csd_path, &buffer)) { in dump_emmc_ecsd()
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.cpp | 80 using ::android::base::ReadFileToString; 435 if (!ReadFileToString(path, &contents, true)) { in ForPath()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | display_service.cpp | 216 if (!base::ReadFileToString(file_path, &data)) { in OnGetConfigurationData()
|
/frameworks/base/libs/androidfw/tests/ |
D | LoadedArsc_test.cpp | 35 using ::android::base::ReadFileToString;
|
/frameworks/native/libs/graphicsenv/ |
D | GraphicsEnv.cpp | 104 if (!base::ReadFileToString(configFile, &fileContent)) { in readConfig()
|
/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 35 EXPECT_TRUE(ReadFileToString(tf.path, &content)); in flushToString()
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | Replayer.cpp | 65 if (!android::base::ReadFileToString(filename, &input, true)) { in Replayer()
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 719 if (!android::base::ReadFileToString(g_traceFolder + k_ftraceFilterPath, &buf)) { in verifyKernelTraceFuncs()
|
/frameworks/native/libs/vr/libpdx_default_transport/ |
D | pdx_benchmarks.cpp | 94 base::ReadFileToString(base::FilePath{stats_path}, &line); in Update()
|