HomeSort by relevance Sort by last modified time
    Searched refs:fromStream (Results 1 - 9 of 9) sorted by null

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
StringsTest.java 14 assertEquals("some random string", Strings.fromStream(stream));
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
Strings.java 8 public static String fromStream(InputStream inputStream) throws IOException {
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DefaultRequestDirectorTest.java 70 assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body"));
84 assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body"));
96 assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a cheery response body"));
118 assertThat(Strings.fromStream(getResponse.getEntity().getContent()), equalTo("a cheery response body"));
123 assertThat(Strings.fromStream(postResponse.getEntity().getContent()), equalTo("a cheery response body"));
135 assertThat(Strings.fromStream(getResponseStream), equalTo("a cheery response body"));
140 assertThat(Strings.fromStream(postResponseStream), equalTo("a cheery response body"));
158 assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a cheery response body"));
171 assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a gloomy response body"));
184 assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("later"))
    [all...]
AssetManagerTest.java 79 fileContents = Strings.fromStream(inputStream);
84 fileContents = Strings.fromStream(inputStream);
AndroidHttpClientTest.java 40 assertThat(Strings.fromStream(resp.getEntity().getContent()), equalTo("foo"));
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGPathUtilities.cpp 240 bool buildAnimatedSVGPathByteStream(SVGPathByteStream* fromStream, SVGPathByteStream* toStream, SVGPathByteStream* result, float progress)
242 ASSERT(fromStream);
253 OwnPtr<SVGPathByteStreamSource> fromSource = SVGPathByteStreamSource::create(fromStream);
261 bool addToSVGPathByteStream(SVGPathByteStream* fromStream, SVGPathByteStream* byStream, unsigned repeatCount)
263 ASSERT(fromStream);
265 if (fromStream->isEmpty() || byStream->isEmpty())
268 SVGPathByteStreamBuilder* builder = globalSVGPathByteStreamBuilder(fromStream);
270 OwnPtr<SVGPathByteStream> fromStreamCopy = fromStream->copy();
271 fromStream->clear();
  /frameworks/base/graphics/java/android/graphics/
Picture.java 171 private Picture(int nativePicture, boolean fromStream) {
176 createdFromStream = fromStream;
  /frameworks/base/services/java/com/android/server/
RandomBlock.java 46 return fromStream(stream);
52 private static RandomBlock fromStream(InputStream in) throws IOException {
  /external/smack/src/com/kenai/jbosh/
StaticBody.java 83 public static StaticBody fromStream(

Completed in 439 milliseconds