/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/ |
UnixFileTest.java | 42 private File testFile; 108 assertFalse(testFile.canExecute()); 109 assertTrue(testFile.setExecutable(true, false)); 110 assertTrue(testFile.canExecute()); 111 assertTrue(testFile.setExecutable(true, true)); 112 assertTrue(testFile.canExecute()); 114 assertTrue(testFile.setExecutable(false, false)); 115 assertFalse(testFile.canExecute()); 116 assertTrue(testFile.setExecutable(false, true)); 117 assertFalse(testFile.canExecute()) [all...] |
/external/clang/utils/analyzer/ |
update_plist_test.pl | 7 my $testFile = shift @ARGV; 8 die "error: cannot read file $testFile\n" if (! -r $testFile); 18 open (IN, $testFile) or die "cannot open $testFile\n"; 50 `cp $filename $testFile`; 51 print "updated $testFile\n";
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidFileTest.java | 27 public void testFile() throws Exception {
|
/external/icu/icu4c/source/test/intltest/ |
ucaconf.cpp | 27 testFile(NULL), 53 if (testFile) { 54 fclose(testFile); 110 if(testFile) { 111 fclose(testFile); 126 testFile = fopen(buffer, "rb"); 128 if(testFile == 0) { 131 testFile = fopen(buffer, "rb"); 133 if(testFile == 0) { 136 testFile = fopen(buffer, "rb") [all...] |
ucaconf.h | 45 FILE *testFile;
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/ |
AbstractCopyJobTest.java | 51 Uri testFile = mDocs.createVirtualFile( 55 createJob(newArrayList(testFile)).run(); 65 Uri testFile = mDocs.createVirtualFile( 69 createJob(newArrayList(testFile)).run(); 140 Uri testFile = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); 141 mDocs.writeDocument(testFile, HAM_BYTES); 143 String testId = DocumentsContract.getDocumentId(testFile); 146 createJob(newArrayList(testFile)).run();
|
MoveJobTest.java | 42 Uri testFile = mDocs.createVirtualFile( 45 createJob(newArrayList(testFile)).run(); 63 Uri testFile = mDocs.createDocumentWithFlags( 68 createJob(newArrayList(testFile)).run();
|
CopyJobTest.java | 48 Uri testFile = mDocs.createDocumentWithFlags( 53 createJob(newArrayList(testFile)).run();
|
/cts/tests/tests/content/src/android/content/cts/ |
ReadableUriExtraToClipDataTest.java | 63 File testFile = new File(getContext().getFilesDir() + File.separator + fileName); 64 writeTestInputToFile(testFile); 65 mTestFiles.add(testFile); 66 mTestFileUris.add(Uri.fromFile(testFile)); 72 for (File testFile : mTestFiles) { 73 if (testFile.exists()) { 74 assertTrue(testFile.delete());
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/ |
FindUsagesTest.java | 62 private class TestFile { 67 public TestFile(@NotNull String fileName, @NotNull String fileText) throws Exception { 95 private List<TestFile> testFiles; 104 testFiles.add(new TestFile(fileName, fileText)); 112 for (TestFile testFile: testFiles) { 113 int refIndex = testFile.getRefIndex(); 115 PsiElement element = testFile.psiFile.findElementAt(refIndex); 128 reference = testFile.psiFile.findReferenceAt(refIndex); 133 testFile.psiFile.findElementAt(refIndex), 0) [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
TestSuite.java | 41 protected TestSuite(String gname, File testFile) { 43 testSuiteFile = testFile;
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/ |
testharness-runner.js | 20 function defineTestharnessTest(shouldPass, testFile) { 21 var name = shouldPass ? testFile : 'Expected Failure: ' + testFile; 41 iframe.src = testFile;
|
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/configuration/ |
ConfigParser.py | 41 with open(confFileName, "r") as testFile: 42 self.__conf = json.load(testFile)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsCollectionTest.java | 69 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); 70 stageFile(R.raw.netstats_v1, testFile); 73 collection.readLegacyNetwork(testFile); 95 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); 96 stageFile(R.raw.netstats_uid_v4, testFile); 99 collection.readLegacyUid(testFile, false); 121 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); 122 stageFile(R.raw.netstats_uid_v4, testFile); 125 collection.readLegacyUid(testFile, true);
|
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/ |
FetchDownloadsLoaderTest.java | 64 File testFile = File.createTempFile("test", null, tempDir); 65 testFile.setLastModified(0); 66 testFile.deleteOnExit();
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
SmaliFileTest.java | 40 public void testFile() {
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
FileUtil.java | 45 File testFile = new File(directory, newName); 46 if (!testFile.exists()) { 47 testFile.createNewFile(); 48 return testFile;
|
/prebuilts/go/darwin-x86/src/mime/multipart/ |
formdata_test.go | 31 fd := testFile(t, f.File["filea"][0], "filea.txt", fileaContents) 36 fd = testFile(t, f.File["fileb"][0], "fileb.txt", filebContents) 43 func testFile(t *testing.T, fh *FileHeader, efn, econtent string) File {
|
/prebuilts/go/linux-x86/src/mime/multipart/ |
formdata_test.go | 31 fd := testFile(t, f.File["filea"][0], "filea.txt", fileaContents) 36 fd = testFile(t, f.File["fileb"][0], "fileb.txt", filebContents) 43 func testFile(t *testing.T, fh *FileHeader, efn, econtent string) File {
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
SampleHostResultTest.java | 113 final File testFile = new File(mBuildHelper.getTestsDir(), FILE_NAME); 125 assertTrue("Could not push file", device.pushFile(testFile, devicePath)); 129 assertFilesAreEqual(testFile, tmpFile);
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
SharedLibraryLoader.java | 209 File testFile;
213 testFile = new File(parent, UUID.randomUUID().toString());
217 testFile = file;
220 new FileOutputStream(testFile).close();
221 if (!canExecute(testFile)) return false;
226 testFile.delete();
|
/external/toybox/tests/ |
mount.test | 57 echo "abcdefghijklmnopqrstuvwxyz" > testDir1/testDir2/testFile 60 cat testDir/testDir2/testFile && sleep 1 && umount testDir' \ 64 cat testDir/testDir2/testFile && sleep 1 && umount testDir' \
|
tar.test | 27 dd if=/dev/zero of=testFile ibs=4096 obs=4096 count=1000 2>/dev/null 28 testing "tar - compession and extraction of a file" "tar -czf testFile.tgz testFile && [ -e testFile.tgz ] && echo 'yes'; rm -rf testFile; tar -xf testFile.tgz && [ -f testFile ] && echo 'yes'; rm -rf testFile.tgz" "yes\nyes\n" "" "" 31 touch testFile 32 testing "tar - compession and extraction of a empty file" "tar -czf testFile.tgz testFile && [ -e testFile.tgz ] && echo 'yes'; rm -rf testFile; tar -xf testFile.tgz && [ -f t (…) [all...] |
/prebuilts/go/darwin-x86/src/compress/lzw/ |
writer_test.go | 20 // testFile tests that compressing and then decompressing the given file with 22 func testFile(t *testing.T, fn string, order Order, litWidth int) { 93 testFile(t, filename, order, litWidth)
|
/prebuilts/go/linux-x86/src/compress/lzw/ |
writer_test.go | 20 // testFile tests that compressing and then decompressing the given file with 22 func testFile(t *testing.T, fn string, order Order, litWidth int) { 93 testFile(t, filename, order, litWidth)
|