Home
last modified time | relevance | path

Searched refs:readFile (Results 1 – 21 of 21) sorted by relevance

/frameworks/rs/rsov/compiler/spirit/
Dfile_utils.h28 template <typename T> std::vector<T> readFile(const char *filename) { in readFile() function
51 template <typename T> std::vector<T> readFile(const std::string &filename) { in readFile() function
52 return readFile<T>(filename.c_str()); in readFile()
Dword_stream.cpp42 return InputWordStream::Create(readFile<uint32_t>(filePath)); in Create()
Dtransformer_test.cpp74 return readFile<uint32_t>(fullPath); in readWords()
Dmodule_test.cpp49 return readFile<uint32_t>(fullPath); in readWords()
Dbuilder_test.cpp199 Module *m = Deserialize<Module>(readFile<uint32_t>(fullPath.c_str())); in TEST()
Dpass_queue_test.cpp89 return readFile<uint32_t>(fullPath); in readWords()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DToastTest.java57 private static String readFile(String fn) { in readFile() method in ToastTest
87 String text = "freq=" + readFile("/sys/class/leds/red/device/grpfreq")
88 + "\npwm=" + readFile("/sys/class/leds/red/device/grppwm");
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java268 byte[] stored = readFile(getLockPasswordFilename(userId)); in readPasswordHashIfExists()
274 stored = readFile(getLegacyLockPasswordFilename(userId)); in readPasswordHashIfExists()
283 byte[] stored = readFile(getLockPatternFilename(userId)); in readPatternHashIfExists()
289 stored = readFile(getBaseZeroLockPatternFilename(userId)); in readPatternHashIfExists()
294 stored = readFile(getLegacyLockPatternFilename(userId)); in readPatternHashIfExists()
335 return readFile(getChildProfileLockFile(userId)); in readChildProfileLock()
358 byte[] contents = readFile(name); in hasFile()
362 private byte[] readFile(String name) { in readFile() method in LockSettingsStorage
494 return readFile(getSynthenticPasswordStateFilePathForUser(userId, handle, name)); in readSyntheticPasswordState()
/frameworks/rs/rsov/compiler/
DBuiltin_test.cpp33 auto words = readFile<uint32_t>(fullPath); in TEST()
DWrapper_test.cpp46 return readFile<uint32_t>(fullPath); in readWords()
Drs2spirv.cpp101 std::vector<char> bitcode = android::spirit::readFile<char>(InputFile); in convertLLVMToSPIRV()
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java242 readFile(file, rewriter); in rewriteSingle()
296 readFile(file, reader); in readMatching()
368 private static void readFile(File file, Reader reader) throws IOException { in readFile() method in FileRotator
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java144 actual = readFile(dest); in testCopy_FileToFile()
183 actual = readFile(dest); in testCopy_PipeToFile()
221 actual = readFile(dest); in testCopy_ShortPipeToFile()
592 private byte[] readFile(File file) throws Exception { in readFile() method in FileUtilsTest
/frameworks/opt/gamesdk/src/device_info/
Ddevice_info.cpp57 T readFile(const std::string& fileName, const T& error) { in readFile() function
68 return readFile("/sys/devices/system/cpu/present", ERROR); in readCpuPresent()
72 return readFile("/sys/devices/system/cpu/possible", ERROR); in readCpuPossible()
76 return readFile("/sys/devices/system/cpu/kernel_max", ERROR); in readCpuIndexMax()
84 return readFile(fileName, ERROR); in readCpuFreqMax()
/frameworks/base/services/core/java/com/android/server/role/
DRoleUserState.java116 readFile(); in RoleUserState()
448 private void readFile() { in readFile() method in RoleUserState
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp544 static bool readFile(ZipFileRO* zip, const char* name, String8& outString) in readFile() function
670 if (!readFile(animation.zip, "desc.txt", desString)) { in parseAnimationDesc()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1842 bugreportFile = readFile(in); in BugreportInfo()
1846 screenshotFiles.add(readFile(in)); in BugreportInfo()
1888 private File readFile(Parcel in) { in readFile() method in BugreportProgressService.BugreportInfo
/frameworks/rs/rsov/driver/
DrsovScript.cpp136 modifiedBitcode = android::spirit::readFile<uint8_t>(modifiedBCFileName); in compileBitcode()
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
/frameworks/base/services/
Dart-profile6635 PLcom/android/server/display/ColorFade;->readFile(Landroid/content/Context;I)Ljava/lang/String;
8357 HSPLcom/android/server/locksettings/LockSettingsStorage;->readFile(Ljava/lang/String;)[B
12820 HSPLcom/android/server/role/RoleUserState;->readFile()V