/frameworks/base/tools/aapt2/cmd/ |
D | Dump_test.cpp | 58 ::android::base::ReadFileToString(expected_path, &expected); in TEST_F() 74 ::android::base::ReadFileToString(expected_path, &expected); in TEST_F() 90 ::android::base::ReadFileToString(expected_path, &expected); in TEST_F() 107 ::android::base::ReadFileToString(expected_path, &expected); in TEST_F() 124 ::android::base::ReadFileToString(expected_path, &expected); in TEST_F()
|
D | ApkInfo_test.cpp | 41 ::android::base::ReadFileToString(expected_path, &expected); in AssertProducedAndExpectedInfo()
|
D | Optimize.cpp | 58 using ::android::base::ReadFileToString; 321 if (!android::base::ReadFileToString(path, &content, true /*follow_symlinks*/)) { in ExtractConfig()
|
D | Convert.cpp | 361 if (!android::base::ReadFileToString(path, &content, true /*follow_symlinks*/)) { in ExtractResourceConfig()
|
/frameworks/av/media/module/minijail/ |
D | minijail.cpp | 69 if (!base::ReadFileToString(base_policy_path, &base_policy_content, in SetUpMinijailList() 77 !base::ReadFileToString(one_policy_path, &one_policy_content, in SetUpMinijailList()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_KernelAllocationStats.cpp | 26 using android::base::ReadFileToString; 83 if (!ReadFileToString(StringPrintf("/proc/%d/cmdline", pid), &cmdline)) { in KernelAllocationStats_getDmabufAllocations() 102 if (!ReadFileToString(StringPrintf("/proc/%d/oom_score_adj", pid), &oomScoreAdjStr)) { in KernelAllocationStats_getDmabufAllocations()
|
D | filesystem_utils.h | 31 if (!android::base::ReadFileToString("/proc/filesystems", &supported)) { in IsFilesystemSupported()
|
/frameworks/native/libs/dumputils/ |
D | dump_utils.cpp | 214 if (!android::base::ReadFileToString(android::base::StringPrintf("/proc/%d/cmdline", pid), in IsZygote() 228 if (!android::base::ReadFileToString(android::base::StringPrintf("/proc/%d/oom_score_adj", in IsCached()
|
/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | file.h | 31 using android::base::ReadFileToString;
|
/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 737 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 739 ASSERT_FALSE(android::base::ReadFileToString( in TEST_F() 757 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 759 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 774 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 776 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 822 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 824 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 826 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() 828 ASSERT_TRUE(android::base::ReadFileToString( in TEST_F() [all …]
|
D | installd_file_test.cpp | 96 bool r = android::base::ReadFileToString(path, &content); in ReadTestFile()
|
/frameworks/base/tools/aapt2/util/ |
D | Files.cpp | 42 using ::android::base::ReadFileToString; 247 if (!ReadFileToString(std::string(path), &contents, true /*follow_symlinks*/)) { in AppendArgsFromFile() 269 if (!ReadFileToString(std::string(path), &contents, true /*follow_symlinks*/)) { in AppendSetArgsFromFile()
|
/frameworks/av/media/utils/ |
D | Process.cpp | 53 (void)android::base::ReadFileToString(path.c_str(), &sched); in getThreadSchedAsString()
|
/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 | 143 void ReadFileToString(const std::string& path, std::string* content) { in ReadFileToString() function in android::os::dumpstate::DumpstateBaseTest 144 ASSERT_TRUE(android::base::ReadFileToString(path, content)) in ReadFileToString() 155 ReadFileToString(from, &content); in CopyTextFile() 1095 ReadFileToString(path, &actual_content); in AssertStats() 1306 ReadFileToString(path_, &out); in CaptureFdOut() 1764 ReadFileToString(out_path_, &result); in TEST_F() 1779 ReadFileToString(out_path_, &result); in TEST_F()
|
/frameworks/base/tools/aapt2/optimize/ |
D | Obfuscator_test.cpp | 395 ASSERT_TRUE(android::base::ReadFileToString(map_path, &pbOut, false /* follow_symlinks */)); in TEST() 424 ASSERT_TRUE(android::base::ReadFileToString(map_path, &pbOut, false /* follow_symlinks */)); in TEST()
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 325 if (!base::ReadFileToString(path, &indexStr)) { in getColorIndexArray() 356 if (base::ReadFileToString(sysfsRootPath / "country", &str)) { in readLayoutConfiguration() 448 if (base::ReadFileToString(file, &str)) { in readLightsConfiguration() 1350 if (!base::ReadFileToString(it->second.path / LIGHT_NODES.at(InputLightClass::BRIGHTNESS), in getLightBrightness() 1376 if (!base::ReadFileToString(lightIt->second.path / in getLightIntensities() 1793 if (base::ReadFileToString(batteryPath / BATTERY_NODES.at(InputBatteryClass::CAPACITY), in getBatteryCapacity() 1800 if (base::ReadFileToString(batteryPath / BATTERY_NODES.at(InputBatteryClass::CAPACITY_LEVEL), in getBatteryCapacity() 1833 if (!base::ReadFileToString(batteryPath / BATTERY_NODES.at(InputBatteryClass::STATUS), in getBatteryStatus()
|
/frameworks/base/libs/androidfw/tests/ |
D | Idmap_test.cpp | 210 ASSERT_TRUE(base::ReadFileToString("overlay/overlay.idmap", &idmap_contents)); in TEST_F()
|
D | LoadedArsc_test.cpp | 36 using ::android::base::ReadFileToString;
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.cpp | 78 using ::android::base::ReadFileToString; 431 if (!ReadFileToString(path, &contents, true)) { in ForPath()
|
/frameworks/native/libs/graphicsenv/ |
D | GraphicsEnv.cpp | 106 if (!base::ReadFileToString(configFile, &fileContent)) { in readConfig()
|
/frameworks/native/libs/adbd_auth/ |
D | adbd_auth.cpp | 399 if (!android::base::ReadFileToString(path, &content)) { in IteratePublicKeys()
|
/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 35 EXPECT_TRUE(ReadFileToString(tf.path, &content)); in flushToString()
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.cpp | 69 if (!android::base::ReadFileToString(path, &data)) return {}; in readNumbersFromFile()
|