Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 62) sorted by relevance

123

/sdk/apigenerator/src/com/android/apigenerator/
DApiClass.java112 public void print(PrintStream stream) { in print() argument
113 stream.print("\t<class name=\""); in print()
114 stream.print(mName); in print()
115 stream.print("\" since=\""); in print()
116 stream.print(mSince); in print()
117 stream.println("\">"); in print()
119 print(mSuperClasses, "extends", stream); in print()
120 print(mInterfaces, "implements", stream); in print()
121 print(mMethods, "method", stream); in print()
122 print(mFields, "field", stream); in print()
[all …]
/sdk/emulator/opengl/host/libs/libOpenglRender/
DRenderServer.cpp84 SocketStream *stream = m_listenSock->accept(); in Main() local
85 if (!stream) { in Main()
91 if (!stream->readFully(&clientFlags, sizeof(unsigned int))) { in Main()
93 delete stream; in Main()
105 RenderThread *rt = RenderThread::create(stream); in Main()
108 delete stream; in Main()
113 delete stream; in Main()
Drender_api.cpp331 SocketStream* stream = NULL; in createRenderThread() local
334 stream = new TcpStream(p_stream_buffer_size); in createRenderThread()
337 stream = new Win32PipeStream(p_stream_buffer_size); in createRenderThread()
339 stream = new UnixStream(p_stream_buffer_size); in createRenderThread()
343 if (!stream) { in createRenderThread()
347 if (stream->connect(s_renderAddr) < 0) { in createRenderThread()
349 delete stream; in createRenderThread()
357 (unsigned int *)stream->allocBuffer(sizeof(unsigned int)); in createRenderThread()
359 stream->commitBuffer(sizeof(unsigned int)); in createRenderThread()
361 return stream; in createRenderThread()
DReadBuffer.cpp22 ReadBuffer::ReadBuffer(IOStream *stream, size_t bufsize) in ReadBuffer() argument
25 m_stream = stream; in ReadBuffer()
DReadBuffer.h23 ReadBuffer(IOStream *stream, size_t bufSize);
/sdk/common/tests/src/com/android/utils/
DPositionXmlParserTest.java217 BufferedOutputStream stream = new BufferedOutputStream(new FileOutputStream(file)); in checkEncoding() local
218 OutputStreamWriter writer = new OutputStreamWriter(stream, encoding); in checkEncoding()
223 stream.write(0xef); in checkEncoding()
224 stream.write(0xbb); in checkEncoding()
225 stream.write(0xbf); in checkEncoding()
227 stream.write(0xfe); in checkEncoding()
228 stream.write(0xff); in checkEncoding()
230 stream.write(0xff); in checkEncoding()
231 stream.write(0xfe); in checkEncoding()
233 stream.write(0x0); in checkEncoding()
[all …]
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/devices/
DDeviceWriterTest.java52 InputStream stream = DeviceSchemaTest.getReplacedStream(replacements); in testApiLowerBound() local
53 List<Device> devices = DeviceParser.parse(stream); in testApiLowerBound()
68 InputStream stream = DeviceSchemaTest.getReplacedStream(replacements); in testApiUpperBound() local
69 List<Device> devices = DeviceParser.parse(stream); in testApiUpperBound()
84 InputStream stream = DeviceSchemaTest.getReplacedStream(replacements); in testApiNeitherBound() local
85 List<Device> devices = DeviceParser.parse(stream); in testApiNeitherBound()
100 InputStream stream = DeviceSchemaTest.getReplacedStream(replacements); in testApiBothBound() local
101 List<Device> devices = DeviceParser.parse(stream); in testApiBothBound()
115 InputStream stream = DeviceSchemaTest.getReplacedStream(replacements); in testApiSingle() local
116 List<Device> devices = DeviceParser.parse(stream); in testApiSingle()
DDeviceParserTest.java144 InputStream stream = DeviceSchemaTest.getReplacedStream(replacements); in testApiRange() local
145 List<Device> devices = DeviceParser.parse(stream); in testApiRange()
152 stream = DeviceSchemaTest.getReplacedStream(replacements); in testApiRange()
153 device = DeviceParser.parse(stream).get(0); in testApiRange()
157 stream = DeviceSchemaTest.getReplacedStream(replacements); in testApiRange()
158 device = DeviceParser.parse(stream).get(0); in testApiRange()
164 stream = DeviceSchemaTest.getReplacedStream(replacements); in testApiRange()
165 device = DeviceParser.parse(stream).get(0); in testApiRange()
173 InputStream stream = DeviceSchemaTest.getReplacedStream(replacements); in testBadNetworking() local
175 List<Device> devices = DeviceParser.parse(stream); in testBadNetworking()
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/detector/api/
DLintUtilsTest.java219 BufferedOutputStream stream = new BufferedOutputStream(new FileOutputStream(file)); in checkEncoding() local
220 OutputStreamWriter writer = new OutputStreamWriter(stream, encoding); in checkEncoding()
225 stream.write(0xef); in checkEncoding()
226 stream.write(0xbb); in checkEncoding()
227 stream.write(0xbf); in checkEncoding()
229 stream.write(0xfe); in checkEncoding()
230 stream.write(0xff); in checkEncoding()
232 stream.write(0xff); in checkEncoding()
233 stream.write(0xfe); in checkEncoding()
235 stream.write(0x0); in checkEncoding()
[all …]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/repository/
DRepoConstants.java153 InputStream stream = null; in getXsdStream() local
155 stream = RepoConstants.class.getResourceAsStream(filename); in getXsdStream()
160 if (stream == null) { in getXsdStream()
166 stream = RepoConstants.class.getResourceAsStream(filename); in getXsdStream()
173 return stream; in getXsdStream()
/sdk/monkeyrunner/test/resources/com/android/monkeyrunner/adb/
Dmultiline_instrument_result.txt4 INSTRUMENTATION_STATUS: stream=.
8 INSTRUMENTATION_RESULT: stream=
Dinstrument_result.txt4 INSTRUMENTATION_STATUS: stream=.
/sdk/chimpchat/test/resources/com/android/monkeyrunner/adb/
Dmultiline_instrument_result.txt4 INSTRUMENTATION_STATUS: stream=.
8 INSTRUMENTATION_RESULT: stream=
Dinstrument_result.txt4 INSTRUMENTATION_STATUS: stream=.
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
DFileStorage.java60 InputStream stream = null; in getContents() local
62 stream = new FileInputStream(mFile); in getContents()
67 return stream; in getContents()
/sdk/ninepatch/tests/src/com/android/ninepatch/
DNinePatchTest.java29 InputStream stream = this.getClass().getResourceAsStream("button.9.png"); in setUp() local
31 mPatch = NinePatch.load(stream, true /* is9Patch*/, false /* convert */); in setUp()
/sdk/emulator/opengl/tests/ut_renderer/
DReadBuffer.cpp20 ReadBuffer::ReadBuffer(SocketStream *stream, size_t bufsize) in ReadBuffer() argument
23 m_stream = stream; in ReadBuffer()
DReadBuffer.h23 ReadBuffer(SocketStream *stream, size_t bufSize);
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DTraceFileWriter.java129 private void writeTraceData(byte[] buffer, DataOutputStream stream) throws IOException { in writeTraceData() argument
130 stream.writeInt(buffer.length); in writeTraceData()
131 stream.write(buffer); in writeTraceData()
/sdk/common/src/com/android/utils/
DStdLogger.java162 private void printMessage(String msg, PrintStream stream) { in printMessage() argument
170 stream.print(msg); in printMessage()
173 stream.println(); in printMessage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAndroidPrintStream.java44 public AndroidPrintStream(IProject project, String prefix, OutputStream stream) { in AndroidPrintStream() argument
45 super(stream); in AndroidPrintStream()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/icons/
DImageFactory.java66 InputStream stream = getClass().getResourceAsStream(imageName); in getImageByName() local
67 if (stream != null) { in getImageByName()
69 image = new Image(mDisplay, stream); in getImageByName()
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/
DHierarchyViewerPlugin.java177 private static synchronized void printToStream(MessageConsoleStream stream, String tag, in printToStream() argument
181 stream.print(dateTag); in printToStream()
182 stream.println(message); in printToStream()
/sdk/ninepatch/src/com/android/ninepatch/
DGraphicsUtilities.java36 public static BufferedImage loadCompatibleImage(InputStream stream) throws IOException { in loadCompatibleImage() argument
37 BufferedImage image = ImageIO.read(stream); in loadCompatibleImage()
/sdk/emulator/opengl/
DREADME9 EGL/GLES command stream used between the guest and the host during emulation.
16 - sources to encode commands into a byte stream.
17 - sources to decode the byte stream into commands.
21 guest, and implement the marshalling of EGL/GLES commands into a stream of
33 host, and implement the decoding of the command stream, translation of

123