HomeSort by relevance Sort by last modified time
    Searched refs:fileContents (Results 1 - 25 of 179) sorted by null

1 2 3 4 5 6 7 8

  /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));
  /external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
BreakIteratorPerformanceTest.java 14 String fileContents;
42 fileContents = new String(readToEOS(reader));
45 // // fileContents = fileContents.replaceAll("[\t\f\r\n\\-/ ]+", " ");
47 // StringTokenizer tokenizer = new StringTokenizer(fileContents, "\t\f\r\n-/ ");
50 // fileContents = res.trim();
95 iter.setText(fileContents);
101 tokenList.add(fileContents.substring(start, end));
109 iter.setText(fileContents);
115 tokenList.add(fileContents.substring(start, end))
    [all...]
  /cts/hostsidetests/aadb/src/android/aadb/cts/
TestDeviceStressTest.java 57 final String fileContents = "this is the test file contents";
60 FileUtil.writeToFile(fileContents, tmpFile);
TestDeviceFuncTest.java 193 final String fileContents = "this is the test file contents";
195 FileUtil.writeToFile(fileContents, tmpFile);
  /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);
  /external/libphonenumber/demo/src/com/google/phonenumbers/
PhoneNumberParserServlet.java 61 String fileContents = null;
85 fileContents = IOUtils.toString(in);
96 if (fileContents.length() == 0) {
111 output = getOutputForFile(defaultCountry, fileContents);
118 private StringBuilder getOutputForFile(String defaultCountry, String fileContents) {
129 StringTokenizer tokenizer = new StringTokenizer(fileContents, ",");
  /cts/tests/tests/content/src/android/content/cts/
ImageCaptureUriExtraToClipDataTest.java 115 String fileContents = new String(buffer);
116 assertEquals(TEST_INPUT, fileContents);
ReadableFileReceiverActivity.java 117 String fileContents = new String(buffer);
118 return ReadableUriExtraToClipDataTest.TEST_INPUT.equals(fileContents);
  /external/doclava/res/assets/templates/
sample.cs 23 <pre><?cs var:fileContents ?></pre>
  /cts/tests/tests/keystore/src/android/keystore/cts/
AESCipherNistCavpKatTest.java 166 private void runTestsForKatFile(String blockMode, byte[] fileContents) throws Exception {
171 new ByteArrayInputStream(fileContents), "ISO-8859-1"));
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/
TestResultsGenerator.java 256 String fileContents = readFile(log);
258 int errorCount = countCompileErrors(fileContents);
259 int warningCount = countCompileWarnings(fileContents);
260 int forbiddenWarningCount = countForbiddenWarnings(fileContents);
261 int discouragedWarningCount = countDiscouragedWarnings(fileContents);
    [all...]
  /prebuilts/misc/common/android-support-test/rules/
rules-0.5-release-no-dep.jar 
  /build/tools/droiddoc/templates-ndk/
sample.cs 78 <pre id="codesample-block"><?cs var:fileContents ?></pre>
  /build/tools/droiddoc/templates-sdk/
sample.cs 78 <pre id="codesample-block"><?cs var:fileContents ?></pre>
  /build/tools/droiddoc/templates-sdk-dev/
sample.cs 73 <pre id="codesample-block"><?cs var:fileContents ?></pre>
  /build/tools/droiddoc/templates-sdk-refonly/
sample.cs 78 <pre id="codesample-block"><?cs var:fileContents ?></pre>
  /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 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/
buildTools.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint/22.2.0/
lint-22.2.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint/22.4.0/
lint-22.4.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint/22.4.2/
lint-22.4.2.jar 

Completed in 1758 milliseconds

1 2 3 4 5 6 7 8