Home
last modified time | relevance | path

Searched refs:readFile (Results 1 – 19 of 19) 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.cpp201 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.java266 byte[] stored = readFile(getLockPasswordFilename(userId)); in readPasswordHashIfExists()
272 stored = readFile(getLegacyLockPasswordFilename(userId)); in readPasswordHashIfExists()
281 byte[] stored = readFile(getLockPatternFilename(userId)); in readPatternHashIfExists()
287 stored = readFile(getBaseZeroLockPatternFilename(userId)); in readPatternHashIfExists()
292 stored = readFile(getLegacyLockPatternFilename(userId)); in readPatternHashIfExists()
333 return readFile(getChildProfileLockFile(userId)); in readChildProfileLock()
356 byte[] contents = readFile(name); in hasFile()
360 private byte[] readFile(String name) { in readFile() method in LockSettingsStorage
491 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/services/core/java/com/android/server/display/
DColorFade.java191 private String readFile(Context context, int resourceId) { in readFile() method in ColorFade
203 String source = readFile(context, resourceId); in loadShader()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java866 private String readFile(String file, char endChar) {
899 String cmdName = readFile(cmdlineFile, '\0');
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp498 static bool readFile(ZipFileRO* zip, const char* name, String8& outString) in readFile() function
624 if (!readFile(animation.zip, "desc.txt", desString)) { in parseAnimationDesc()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1820 bugreportFile = readFile(in); in BugreportInfo()
1824 screenshotFiles.add(readFile(in)); in BugreportInfo()
1866 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/base/services/
Dart-profile11097 PLcom/android/server/locksettings/LockSettingsStorage;->readFile(Ljava/lang/String;)[B
/frameworks/base/config/
Dboot-image-profile.txt11519 HPLcom/android/internal/util/FileRotator;->readFile(Ljava/io/File;Lcom/android/internal/util/FileRo…
37378 HSPLcom/android/internal/os/ProcessCpuTracker;->readFile(Ljava/lang/String;C)Ljava/lang/String;