Home
last modified time | relevance | path

Searched refs:file2 (Results 1 – 15 of 15) sorted by relevance

/packages/modules/ExtServices/java/tests/src/android/ext/services/common/
DAdServicesFilesCleanupBootCompleteReceiverTest.java181 File file2 = createFile(root, dataRoot, "adservices_level_1.txt"); // Deleted in testReceiverDeletesAdServicesDirectories() local
202 expectFilesDoNotExist(file2, file4, file5, file6, file7, file8, file9, file10); in testReceiverDeletesAdServicesDirectories()
215 File file2 = mock(File.class); in testReceiverHandlesSecurityException() local
216 doReturn(ADSERVICES_FILE_NAME_MIXED_CASE).when(file2).getName(); in testReceiverHandlesSecurityException()
223 doReturn(new File[] { file1, file2, file3 }).when(dir).listFiles(); in testReceiverHandlesSecurityException()
230 verify(file2).delete(); in testReceiverHandlesSecurityException()
245 File file2 = mock(File.class); in testDeleteAdServicesFiles_invalidInput() local
246 doThrow(SecurityException.class).when(file2).isDirectory(); in testDeleteAdServicesFiles_invalidInput()
247 assertThat(mReceiver.deleteAdServicesFiles(file2)).isFalse(); in testDeleteAdServicesFiles_invalidInput()
248 verify(file2, never()).listFiles(); in testDeleteAdServicesFiles_invalidInput()
/packages/modules/StatsD/statsd/tests/storage/
DStorageManager_test.cpp109 const string file2 = testDir + "2557169349_1066_1"; variable
111 const string file2_history = file2 + "_history";
123 open(file2.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR))); in prepareLocalHistoryTestFiles()
134 TEMP_FAILURE_RETRY(remove(file2.c_str())); in clearLocalHistoryTestFiles()
154 EXPECT_FALSE(fileExist(file2)); in TEST()
169 EXPECT_FALSE(fileExist(file2)); in TEST()
184 EXPECT_TRUE(fileExist(file2)); in TEST()
199 EXPECT_FALSE(fileExist(file2)); in TEST()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/async/
DFakeOsAccess.java312 File file2 = new File(FileType.PAIR, mReadQueueSize, mWriteQueueSize); in socketpair() local
314 return registerFilePair(fdNumber1, file1, fdNumber2, file2); in socketpair()
323 File file2 = new File(FileType.PIPE, 0, mWriteQueueSize); in pipe() local
325 return registerFilePair(fdNumber1, file1, fdNumber2, file2); in pipe()
329 int fdNumber1, File file1, int fdNumber2, File file2) { in registerFilePair() argument
330 file1.sink = file2; in registerFilePair()
331 file1.source = file2; in registerFilePair()
332 file2.sink = file1; in registerFilePair()
333 file2.source = file1; in registerFilePair()
336 mFiles.put(fdNumber2, file2); in registerFilePair()
/packages/modules/Virtualization/zipfuse/testdata/
DREADME5 $ base64 /dev/urandom | head -c 100000 > dir/file2
13 -rw------- 2.0 unx 100000 bl defN 08-Jan-01 00:00 dir/file2
/packages/modules/NeuralNetworks/tools/test_generator/tests/
Dtest.py117 def ReportIfDifferFromExpected(tests, name, file1, file2): argument
119 if not CompareFiles(file1, file2):
126 DOTTED_LINE, ReadFileToStr(file2), DOTTED_LINE)
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/util/
DIoUtilsTest.java113 File file2 = new File(mTestDir, "file2"); in testDeleteAll() local
114 file2.createNewFile(); in testDeleteAll()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java652 final File file2 = new File(getContext().getExternalFilesDir(null), in prepareData() local
654 cursor.addRow(new Object[]{++counter, uid, destination, file2.getPath()}); in prepareData()
670 final File file2 = new File(getContext().getExternalFilesDir(null), in prepareData() local
672 cursor.addRow(new Object[]{++counter, uid, destination, file2.getPath()}); in prepareData()
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java2528 File file2 = getVmFile(vmName2, fileName); in assertFileContentsAreEqualInTwoVms() local
2530 FileInputStream input2 = new FileInputStream(file2)) { in assertFileContentsAreEqualInTwoVms()
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile1330 # TAGFILES = file1 file2 ...
1332 # TAGFILES = file1=loc1 "file2 = loc2" ...
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile1330 # TAGFILES = file1 file2 ...
1332 # TAGFILES = file1=loc1 "file2 = loc2" ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...