/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
RetrCommandHandler.java | 28 * customize the returned file contents by setting the <code>fileContents</code> property,
43 private byte[] fileContents = new byte[0];
52 * Create new instance using the specified fileContents
54 * @param fileContents - the file contents
56 * - if the fileContents is null
58 public RetrCommandHandler(String fileContents) {
59 setFileContents(fileContents);
63 * Create new instance using the specified fileContents
65 * @param fileContents - the file contents
67 * - if the fileContents is null [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
RetrCommandHandler.java | 29 * customize the returned file contents by setting the <code>fileContents</code> property,
46 private byte[] fileContents = new byte[0];
55 * Create new instance using the specified fileContents
56 * @param fileContents - the file contents
57 * @throws AssertFailedException - if the fileContents is null
59 public RetrCommandHandler(String fileContents) {
60 setFileContents(fileContents);
64 * Create new instance using the specified fileContents
65 * @param fileContents - the file contents
66 * @throws AssertFailedException - if the fileContents is null [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AssetManagerTest.java | 74 String fileContents; 79 fileContents = Strings.fromStream(inputStream); 80 assertEquals("assetsHome!", fileContents); 84 fileContents = Strings.fromStream(inputStream); 85 assertEquals("hello!", fileContents);
|
ContextTest.java | 157 String fileContents = "blah"; 161 fileWriter.write(fileContents); 168 byte[] bytes = new byte[fileContents.length()]; 170 assertThat(bytes, equalTo(fileContents.getBytes())); 191 String fileContents = "blah"; 195 fileOutputStream.write(fileContents.getBytes()); 203 byte[] readBuffer = new byte[fileContents.length()]; 205 assertThat(new String(readBuffer), equalTo(fileContents));
|
/cts/tests/tests/content/src/android/content/cts/ |
ReadableFileReceiverActivity.java | 117 String fileContents = new String(buffer); 118 return ReadableUriExtraToClipDataTest.TEST_INPUT.equals(fileContents);
|
ImageCaptureUriExtraToClipDataTest.java | 115 String fileContents = new String(buffer); 116 assertEquals(TEST_INPUT, fileContents);
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/ |
ParallelUniverseCreateApplicationTest.java | 111 String fileContents = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + 118 Files.write(fileContents, f, Charsets.UTF_8);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
GTestParserTestBase.java | 57 Vector<String> fileContents = new Vector<String>(); 64 fileContents.add(line); 73 return fileContents.toArray(new String[fileContents.size()]);
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
BreakIteratorPerformanceTest.java | 16 String fileContents; 44 fileContents = new String(readToEOS(reader)); 47 // // fileContents = fileContents.replaceAll("[\t\f\r\n\\-/ ]+", " "); 49 // StringTokenizer tokenizer = new StringTokenizer(fileContents, "\t\f\r\n-/ "); 52 // fileContents = res.trim(); 97 iter.setText(fileContents); 103 tokenList.add(fileContents.substring(start, end)); 111 iter.setText(fileContents); 117 tokenList.add(fileContents.substring(start, end)) [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowContextTest.java | 152 String fileContents = "blah"; 156 fileWriter.write(fileContents); 160 byte[] bytes = new byte[fileContents.length()]; 162 assertThat(bytes).isEqualTo(fileContents.getBytes(UTF_8)); 174 String fileContents = "blah"; 176 fileOutputStream.write(fileContents.getBytes(UTF_8)); 179 byte[] readBuffer = new byte[fileContents.length()]; 181 assertThat(new String(readBuffer, UTF_8)).isEqualTo(fileContents);
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/ |
VtsFuzzTestResultParserTest.java | 52 Vector<String> fileContents = new Vector<String>(); 59 fileContents.add(line); 68 return fileContents.toArray(new String[fileContents.size()]);
|
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
PhoneNumberParserServlet.java | 69 String fileContents = null; 93 fileContents = IOUtils.toString(in); 106 if (fileContents == null || fileContents.length() == 0) { 112 resp.getWriter().println(getOutputForFile(defaultCountry, fileContents)); 141 private StringBuilder getOutputForFile(String defaultCountry, String fileContents) { 152 StringTokenizer tokenizer = new StringTokenizer(fileContents, ",");
|
/external/python/cpython2/Mac/BuildScript/ |
build-installer.py | 543 def fileContents(fn): [all...] |
/external/python/cpython3/Mac/BuildScript/ |
build-installer.py | 515 def fileContents(fn): [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
NewXmlFileWizard.java | 254 String fileContents; 256 fileContents = sb.toString(); 259 fileContents = EclipseXmlPrettyPrinter.prettyPrint(sb.toString(), formatPrefs, 264 fileContents = fileContents.replace(indentToken, formatPrefs.getOneIndentUnit()); 265 int caretOffset = fileContents.indexOf(caretToken); 267 fileContents = fileContents.replace(caretToken, ""); //$NON-NLS-1$ 272 byte[] buf = fileContents.getBytes("UTF8"); //$NON-NLS-1$
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/ |
AaptParserTest.java | 183 String fileContents = AdtPlugin.readFile(file); 196 + getCaretContext(fileContents, start), rangeBegin, start); 198 + getCaretContext(fileContents, end), rangeEnd, end);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
TestDeviceStressTest.java | 64 final String fileContents = "this is the test file contents"; 67 FileUtil.writeToFile(fileContents, tmpFile);
|
TestDeviceFuncTest.java | 341 final String fileContents = "this is the test file contents"; 343 FileUtil.writeToFile(fileContents, tmpFile); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderMetamorphicTests.cpp | 75 std::string fileContents (const std::string& filename); 93 std::string ShaderMetamorphicVariant::fileContents (const std::string& filename) 174 std::string vertexSrc = fileContents(m_vertexFilename); 175 std::string recipientSrc = fileContents(m_recipientFilename); 176 std::string variantSrc = fileContents(m_variantFilename);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
SubprocessTestResultsParserTest.java | 64 Vector<String> fileContents = new Vector<String>(); 71 fileContents.add(line); 80 return fileContents.toArray(new String[fileContents.size()]);
|
/external/annotation-tools/scene-lib/test/annotations/tests/executable/ |
TestSceneLib.java | 312 String fileContents = "package p1:\n" + "annotation @A:\n" 315 IndexFileParser.parseString(fileContents, s1); 326 String fileContents 330 IndexFileParser.parseString(fileContents, s1);
|
/frameworks/base/core/java/com/android/server/ |
BootReceiver.java | 304 String fileContents = FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n"); 305 String text = headers + fileContents + footers; 307 if (tag.equals(TAG_TOMBSTONE) && fileContents.contains(">>> system_server <<<")) {
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ProcessBuilderTest.java | 151 String fileContents = new String(IoUtils.readFileAsByteArray( 153 assertEquals(processInput, fileContents); 165 String fileContents = new String(IoUtils.readFileAsByteArray(file.getAbsolutePath())); 168 assertTrue("Unexpected output: " + fileContents, 169 fileContents.contains(missingFilePath) && !fileContents.equals(missingFilePath));
|
/prebuilts/tools/common/m2/repository/com/google/auth/google-auth-library-oauth2-http/0.3.0/ |
google-auth-library-oauth2-http-0.3.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint/26.2.0-alpha16/ |
lint-26.2.0-alpha16.jar | |