OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:byteStream
(Results
1 - 25
of
35
) sorted by null
1
2
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
InputStreamSource.java
69
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
73
byteStream
.write(buffer, 0, bytesRead);
76
byteBuffer = ByteBuffer.wrap(
byteStream
.toByteArray());
/packages/apps/Nfc/src/com/android/nfc/handover/
HandoverClient.java
110
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
131
byteStream
.write(partial, 0, size);
133
handoverSelectMsg = new NdefMessage(
byteStream
.toByteArray());
153
byteStream
.close();
HandoverServer.java
169
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
185
byteStream
.write(partial, 0, size);
188
handoverRequestMsg = new NdefMessage(
byteStream
.toByteArray());
214
byteStream
= new ByteArrayOutputStream();
232
byteStream
.close();
/external/replicaisland/src/com/replica/replicaisland/
TiledWorld.java
75
AssetManager.AssetInputStream
byteStream
= (AssetManager.AssetInputStream) stream;
78
signature = (byte)
byteStream
.read();
80
byteStream
.read(mWorkspaceBytes, 0, 4);
82
byteStream
.read(mWorkspaceBytes, 0, 4);
86
final int bytesRemaining =
byteStream
.available();
94
mTilesArray[x][y] = (byte)
byteStream
.read();
LevelSystem.java
102
AssetManager.AssetInputStream
byteStream
= (AssetManager.AssetInputStream) stream;
105
signature = (byte)
byteStream
.read();
107
final int layerCount = (byte)
byteStream
.read();
108
final int backgroundIndex = (byte)
byteStream
.read();
117
final int type = (byte)
byteStream
.read();
118
final int tileIndex = (byte)
byteStream
.read();
119
byteStream
.read(mWorkspaceBytes, 0, 4);
123
TiledWorld world = new TiledWorld(
byteStream
);
CollisionSystem.java
527
AssetManager.AssetInputStream
byteStream
= (AssetManager.AssetInputStream) stream;
535
signature = (byte)
byteStream
.read();
544
final int tileCount =
byteStream
.read();
546
if (
byteStream
.available() >= size) {
548
final int tileIndex =
byteStream
.read();
549
final int segmentCount =
byteStream
.read();
556
byteStream
.read(mWorkspaceBytes, 0, 4);
558
byteStream
.read(mWorkspaceBytes, 0, 4);
560
byteStream
.read(mWorkspaceBytes, 0, 4);
562
byteStream
.read(mWorkspaceBytes, 0, 4)
[
all
...]
/art/test/093-serialization/src/
Main.java
45
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
46
ObjectOutputStream objStream = new ObjectOutputStream(
byteStream
);
52
byte[] bytes =
byteStream
.toByteArray();
55
byteStream
.close();
60
ByteArrayInputStream
byteStream
= new ByteArrayInputStream(input);
61
ObjectInputStream objStream = new ObjectInputStream(
byteStream
);
73
byteStream
.close();
/dalvik/tests/093-serialization/src/
Main.java
45
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
46
ObjectOutputStream objStream = new ObjectOutputStream(
byteStream
);
50
byte[] bytes =
byteStream
.toByteArray();
53
byteStream
.close();
58
ByteArrayInputStream
byteStream
= new ByteArrayInputStream(input);
59
ObjectInputStream objStream = new ObjectInputStream(
byteStream
);
69
byteStream
.close();
/development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDownloadRunnable.java
148
InputStream
byteStream
= null;
167
byteStream
= httpConn.getInputStream();
214
readResult =
byteStream
.read(tempBuffer, bufferOffset,
304
int readResult =
byteStream
.read(
346
if (null !=
byteStream
) {
348
byteStream
.close();
/libcore/luni/src/main/java/org/xml/sax/
InputSource.java
107
* @param
byteStream
The raw byte stream containing the document.
114
public InputSource (InputStream
byteStream
)
116
setByteStream(
byteStream
);
228
* @param
byteStream
A byte stream containing an XML document or
235
public void setByteStream (InputStream
byteStream
)
237
this.
byteStream
=
byteStream
;
253
return
byteStream
;
332
private InputStream
byteStream
;
/external/chromium_org/third_party/WebKit/Source/core/svg/
SVGAnimatedPath.cpp
37
OwnPtr<SVGPathByteStream>
byteStream
= SVGPathByteStream::create();
38
buildSVGPathByteStreamFromString(string,
byteStream
.get(), UnalteredParsing);
39
return SVGAnimatedType::createPath(
byteStream
.release());
49
OwnPtr<SVGPathByteStream>
byteStream
= SVGPathByteStream::create();
50
buildSVGPathByteStreamFromSVGPathSegList(baseValue,
byteStream
.get(), UnalteredParsing);
62
result[i]->animationStarted(
byteStream
.get(), &baseValue);
64
return SVGAnimatedType::createPath(
byteStream
.release());
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Dispatcher.java
79
@Override public InputStream
byteStream
() throws IOException {
/frameworks/base/core/java/android/gesture/
Gesture.java
315
final ByteArrayOutputStream
byteStream
=
317
final DataOutputStream outStream = new DataOutputStream(
byteStream
);
326
GestureUtils.closeStream(
byteStream
);
330
out.writeByteArray(
byteStream
.toByteArray());
/packages/apps/Launcher3/util/com/android/launcher3/
DecoderRing.java
154
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
177
byteStream
.write(buffer, offset, n);
186
byte[] payload =
byteStream
.toByteArray();
/external/okhttp/src/main/java/com/squareup/okhttp/
Response.java
123
public abstract InputStream
byteStream
() throws IOException;
133
InputStream in =
byteStream
();
140
Util.copy(
byteStream
(), out);
151
return new InputStreamReader(
byteStream
(), "UTF-8");
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
Learning_StochasticLinearRanker.java
110
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
111
ObjectOutputStream objStream = new ObjectOutputStream(
byteStream
);
113
//return
byteStream
.toByteArray();
114
byte[] bytes =
byteStream
.toByteArray();
/external/smack/src/org/jivesoftware/smack/packet/
Packet.java
426
ByteArrayOutputStream
byteStream
= null;
429
byteStream
= new ByteArrayOutputStream();
430
out = new ObjectOutputStream(
byteStream
);
433
String encodedVal = StringUtils.encodeBase64(
byteStream
.toByteArray());
448
if (
byteStream
!= null) {
450
byteStream
.close();
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
Rfc822OutputTests.java
225
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
226
Rfc822Output.writeTo(mMockContext, msg,
byteStream
, true, false, null);
231
new ByteArrayInputStream(
byteStream
.toByteArray());
259
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
260
Rfc822Output.writeTo(mMockContext, msg,
byteStream
, true, false, null);
265
new ByteArrayInputStream(
byteStream
.toByteArray());
303
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
304
Rfc822Output.writeTo(mMockContext, msg,
byteStream
, true, false, null);
309
new ByteArrayInputStream(
byteStream
.toByteArray());
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
HistogramPredictor.java
148
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
149
ObjectOutputStream objStream = new ObjectOutputStream(
byteStream
);
153
byte[] bytes =
byteStream
.toByteArray();
313
ByteArrayOutputStream
byteStream
= new ByteArrayOutputStream();
314
ObjectOutputStream objStream = new ObjectOutputStream(
byteStream
);
316
byte[] bytes =
byteStream
.toByteArray();
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar
org.eclipse.equinox.p2.publisher_1.1.2.v20100824-2220.jar
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar
/prebuilts/tools/common/m2/internal/xerces/xmlParserAPIs/2.6.2/
xmlParserAPIs-2.6.2.jar
/prebuilts/tools/common/m2/internal/xml-apis/xml-apis/1.0.b2/
xml-apis-1.0.b2.jar
Completed in 569 milliseconds
1
2