/frameworks/av/media/libaudioclient/tests/ |
D | test_create_utils.cpp | 26 int readLine(FILE *inputFile, char *line, int size) { in readLine() argument 29 char *str = fgets(line, size, inputFile); in readLine() 34 if (feof(inputFile) != 0 || ferror(inputFile) != 0) { in readLine() 45 bool checkVersion(FILE *inputFile, const char *version) in checkVersion() argument 51 if (readLine(inputFile, line, MAX_INPUT_FILE_LINE_LENGTH) != 0) { in checkVersion() 77 FILE *inputFile = nullptr; in main() local 92 inputFile = fopen(*argv, "r"); in main() 93 if (inputFile == nullptr) { in main() 121 ret = testFunc(inputFile, outputFileFd); in main() 123 if (inputFile) { in main() [all …]
|
D | test_create_utils.h | 30 int readLine(FILE *inputFile, char *line, int size); 32 bool checkVersion(FILE *inputFile, const char *version); 36 typedef int (*test_func_t)(FILE *inputFile, int outputFileFd);
|
D | test_create_audiorecord.cpp | 35 int testRecord(FILE *inputFile, int outputFileFd) in testRecord() argument 42 if (inputFile == nullptr) { in testRecord() 58 if (!checkVersion(inputFile, VERSION_VALUE)) { in testRecord() 62 while (readLine(inputFile, line, MAX_INPUT_FILE_LINE_LENGTH) == 0) { in testRecord()
|
D | test_create_audiotrack.cpp | 34 int testTrack(FILE *inputFile, int outputFileFd) in testTrack() argument 41 if (inputFile == nullptr) { in testTrack() 56 if (!checkVersion(inputFile, VERSION_VALUE)) { in testTrack() 60 while (readLine(inputFile, line, MAX_INPUT_FILE_LINE_LENGTH) == 0) { in testTrack()
|
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/bytecode/ |
D | ClassFilesMoveTest.kt | 83 val inputFile = File(javaClass.getResource(inputZipPath).file) in fileMove_forwardRewrite_shouldMoveFilesProperly() constant 88 val resultFiles = processor.transform(setOf(FileMapping(inputFile, expectedFile))) in fileMove_forwardRewrite_shouldMoveFilesProperly() 105 val inputFile = File(javaClass.getResource(inputZipPath).file) in fileMove_forwardRewrite_nestedArchive_shouldMoveFilesProperly() constant 110 val resultFiles = processor.transform(setOf(FileMapping(inputFile, expectedFile))) in fileMove_forwardRewrite_nestedArchive_shouldMoveFilesProperly() 127 val inputFile = File(javaClass.getResource(inputZipPath).file) in fileMove_forwardRewrite_backwardsRewrite_shouldKeepFilesProperly() constant 132 val resultFiles = processor.transform(setOf(FileMapping(inputFile, expectedFile))) in fileMove_forwardRewrite_backwardsRewrite_shouldKeepFilesProperly()
|
/frameworks/support/webkit-codegen/src/test/java/androidx/webkit/internal/codegen/ |
D | BoundaryInterfaceTest.java | 77 PsiFile inputFile = in testFilterMethods() local 79 PsiClass psiClass = TestUtils.getSingleClassFromFile(inputFile); in testFilterMethods() 95 PsiFile inputFile = TestUtils.getTestFile(mProjectEnv.getProject(), className); in testBoundaryInterfaceGeneration() local 96 ClassRepr classRepr = ClassRepr.fromPsiClass(TestUtils.getSingleClassFromFile(inputFile)); in testBoundaryInterfaceGeneration()
|
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/pom/ |
D | PomRewriteInZipTest.kt | 61 val inputFile = File(javaClass.getResource(inputZipPath).file) in rewritePomInZip_rewritingSL_shouldRewrite() constant 66 val resultFiles = processor.transform(setOf(FileMapping(inputFile, expectedFile))) in rewritePomInZip_rewritingSL_shouldRewrite() 95 val inputFile = File(javaClass.getResource(inputZipPath).file) in rewritePomInZip_notRewritingSL_shouldStillRewrite() constant 100 val resultFiles = processor.transform(setOf(FileMapping(inputFile, expectedFile))) in rewritePomInZip_notRewritingSL_shouldStillRewrite()
|
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/ |
D | ChangeDetectionTest.kt | 160 val inputFile = File(javaClass.getResource(inputClassPath).file) in javaClass_archiveChanged() constant 164 file = ArchiveFile(Paths.get("/", "preference.class"), inputFile.readBytes()), in javaClass_archiveChanged() 172 val inputFile = File(javaClass.getResource(inputClassPath).file) in javaClass_archiveNotChanged() constant 176 file = ArchiveFile(Paths.get("/", "preference.class"), inputFile.readBytes()), in javaClass_archiveNotChanged()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | AutomaticActivity.java | 153 File inputFile = new File(Environment.getExternalStorageDirectory(), in beginTest() local 155 if (inputFile.exists() && inputFile.canRead() && inputFile.length() > 0) { in beginTest() 157 FileInputStream inputStream = new FileInputStream(inputFile); in beginTest() 159 StringBuffer content = new StringBuffer((int)inputFile.length()); in beginTest()
|
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/ |
D | TextMappingWorker.java | 50 public static OneTimeWorkRequest.Builder create(String inputFile) { in create() argument 52 .putString(INPUT_FILE, inputFile) in create()
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerBaseTest.java | 104 DataInputStream inputFile = openFileOnMountedObb(mOfficialObbFilePath, in run() local 106 assertTrue("Failed to open file!", inputFile != null); in run() 121 inputFile.close(); in run()
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
D | LayoutFileParser.java | 71 public ResourceBundle.LayoutFileBundle parseXml(final File inputFile, final File outputFile, in parseXml() argument 75 File originalFileFor = originalFileLookup.getOriginalFileFor(inputFile); in parseXml() 84 final String encoding = findEncoding(inputFile); in parseXml() 85 stripFile(inputFile, outputFile, encoding, originalFileLookup); in parseXml()
|
/frameworks/data-binding/ |
D | supportBundle.gradle | 122 def getSha1(File inputFile) { 124 … HashCode hashCode = hashFunction.hashString(inputFile.getAbsolutePath(), Charset.forName("UTF-8"))
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 530 final AtomicFile inputFile = new AtomicFile(file); in readLegacyNetwork() local 534 in = new DataInputStream(new BufferedInputStream(inputFile.openRead())); in readLegacyNetwork() 569 final AtomicFile inputFile = new AtomicFile(file); in readLegacyUid() local 573 in = new DataInputStream(new BufferedInputStream(inputFile.openRead())); in readLegacyUid()
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 2845 std::string inputFile, outputFile; in runInDaemonMode() local 2846 std::getline(std::cin, inputFile); in runInDaemonMode() 2848 bundle->setSingleCrunchInputFile(inputFile.c_str()); in runInDaemonMode() 2850 std::cout << "Crunching " << inputFile << std::endl; in runInDaemonMode()
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
D | databinding-studio-bundle.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/databinding/
android/ ... |