Searched defs:data (Results 1 - 25 of 79) sorted by relevance

1234

/libcore/luni/src/main/java/java/util/
H A DObserver.java36 * @param data
37 * the data passed to {@link Observable#notifyObservers(Object)}.
39 void update(Observable observable, Object data); argument
H A DObservable.java121 * @param data
125 public void notifyObservers(Object data) { argument
138 observer.update(this, data);
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DAsciiHprofWriter.java34 private final HprofData data; field in class:AsciiHprofWriter
38 * Writes the provided data to the specified stream.
40 public static void write(HprofData data, OutputStream outputStream) throws IOException { argument
41 new AsciiHprofWriter(data, outputStream).write();
44 private AsciiHprofWriter(HprofData data, OutputStream outputStream) { argument
45 this.data = data;
50 for (HprofData.ThreadEvent e : data.getThreadHistory()) {
55 = new ArrayList<HprofData.Sample>(data.getSamples());
69 Date now = new Date(data
[all...]
/libcore/luni/src/main/java/libcore/net/http/
H A DAbstractHttpOutputStream.java31 @Override public final void write(int data) throws IOException { argument
32 write(new byte[] { (byte) data });
/libcore/luni/src/main/java/org/w3c/dom/
H A DProcessingInstruction.java48 public void setData(String data) argument
H A DCharacterData.java17 * attributes and methods for accessing character data in the DOM. For
31 * The character data of the node that implements this interface. The DOM
32 * implementation may not put arbitrary limits on the amount of data
34 * implementation limits may mean that the entirety of a node's data may
36 * may call <code>substringData</code> to retrieve the data in
46 * The character data of the node that implements this interface. The DOM
47 * implementation may not put arbitrary limits on the amount of data
49 * implementation limits may mean that the entirety of a node's data may
51 * may call <code>substringData</code> to retrieve the data in
56 public void setData(String data) argument
[all...]
H A DUserDataHandler.java20 * implement various behaviors regarding the data it associates to the DOM
60 * @param data Specifies the data for which this handler is being called.
68 Object data,
66 handle(short operation, String key, Object data, Node src, Node dst) argument
/libcore/luni/src/test/java/libcore/io/
H A DBase64Test.java40 int[] data = new int[61];
41 Arrays.fill(data, 0xff);
44 assertEncoded(expected, data);
47 public void assertEncoded(String expected , int... data) { argument
48 byte[] dataBytes = new byte[data.length];
49 for (int i = 0; i < data.length; i++) {
50 dataBytes[i] = (byte) data[i];
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
H A DChunk.java22 * A chunk of DDM data. This is really just meant to hold a few pieces
23 * of data together.
34 public byte[] data; // chunk data field in class:Chunk
35 public int offset, length; // position within "data"
45 public Chunk(int type, byte[] data, int offset, int length) { argument
47 this.data = data;
59 this.data = buf.array();
H A DDdmServer.java90 * Send a chunk of data to the DDM server. This takes the form of a
96 nativeSendChunk(chunk.type, chunk.data, chunk.offset, chunk.length);
100 native private static void nativeSendChunk(int type, byte[] data, argument
139 private static Chunk dispatch(int type, byte[] data, int offset, int length) argument
170 Chunk chunk = new Chunk(type, data, offset, length);
/libcore/dom/src/test/java/org/w3c/domts/
H A DUserDataMonitor.java43 * @param data
53 Object data,
57 new UserDataNotification(operation, key, data, src, dst));
50 handle( short operation, String key, Object data, Node src, Node dst) argument
H A DUserDataNotification.java24 private final Object data; field in class:UserDataNotification
34 Object data,
39 this.data = data;
63 * Gets value of data parameter
65 * @return value of data parameter
68 return data;
32 UserDataNotification(short operation, String key, Object data, Node src, Node dst) argument
/libcore/luni/src/main/java/libcore/io/
H A DDropBox.java47 public void addData(String tag, byte[] data, int flags); argument
48 public void addText(String tag, String data); argument
56 public void addData(String tag, byte[] data, int flags) { argument
57 System.out.println(tag + ": " + Base64.encode(data));
60 public void addText(String tag, String data) { argument
61 System.out.println(tag + ": " + data);
65 public static void addData(String tag, byte[] data, int flags) { argument
66 getReporter().addData(tag, data, flags);
69 public static void addText(String tag, String data) { argument
70 getReporter().addText(tag, data);
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/utils/
H A DArray.java36 public static String getBytesAsString(byte[] data) { argument
37 StringBuilder result = new StringBuilder(data.length * 3);
38 for (int i = 0; i < data.length; ++i) {
39 result.append(Byte.toHexString(data[i], false));
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DCDATASectionImpl.java34 public CDATASectionImpl(DocumentImpl document, String data) { argument
35 super(document, data);
H A DCommentImpl.java34 CommentImpl(DocumentImpl document, String data) { argument
35 super(document, data);
H A DProcessingInstructionImpl.java38 private String data; field in class:ProcessingInstructionImpl
40 ProcessingInstructionImpl(DocumentImpl document, String target, String data) { argument
43 this.data = data;
47 return data;
62 return data;
69 public void setData(String data) throws DOMException { argument
70 this.data = data;
H A DTextImpl.java35 public TextImpl(DocumentImpl document, String data) { argument
36 super(document, data);
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DFinished.java31 // verify data
32 private byte[] data; field in class:Finished
39 data = bytes;
40 length = data.length;
52 data = in.read(length);
53 this.length = data.length;
61 out.write(data);
74 * Returns verify data
78 return data;
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestUtils.java39 * Prints byte array <code>data</code> as hex to the
45 * @param data data to be printed
50 byte[] data) {
51 for (int i=0; i<data.length; i++) {
52 String tail = Integer.toHexString(0x000000ff & data[i]);
47 printAsHex(int perLine, String prefix, String delimiter, byte[] data) argument
/libcore/luni/src/main/java/java/lang/
H A DVMClassLoader.java78 native static Class defineClass(ClassLoader cl, String name, byte[] data, int offset, int len) argument
81 native static Class defineClass(ClassLoader cl, byte[] data, int offset, int len) argument
/libcore/luni/src/main/java/java/security/cert/
H A DCertPath.java191 // cert path data
192 private final byte[] data; field in class:CertPath.CertPathRep
195 // for cert path data
198 new ObjectStreamField("data", byte[].class, true),
203 * and encoded data.
207 * @param data
208 * the encoded data.
210 protected CertPathRep(String type, byte[] data) { argument
212 this.data = data;
[all...]
H A DCertificate.java212 // The certificate data
213 private final byte[] data; field in class:Certificate.CertificateRep
216 // for the certificate data
219 new ObjectStreamField("data", byte[].class, true)
224 * certificate type and encoded data.
228 * @param data
229 * the encoded data.
231 protected CertificateRep(String type, byte[] data) { argument
233 this.data = data;
[all...]
/libcore/luni/src/main/java/org/xml/sax/
H A DDocumentHandler.java26 * example, all of an element's content (character data, processing
155 * Receive notification of character data.
158 * character data. SAX parsers may return all contiguous character
159 * data in a single chunk, or they may split it into several
223 * @param data The processing instruction data, or null if
228 public abstract void processingInstruction (String target, String data) argument
/libcore/luni/src/main/java/java/net/
H A DDatagramPacket.java21 * This class represents a datagram packet which contains data either to be sent
29 private byte[] data; field in class:DatagramPacket
32 * Length of the data to be sent or size of data that was received via
40 * It's used to limit the amount of data that will be taken from future packets.
51 * Constructs a new {@code DatagramPacket} object to receive data up to
54 * @param data
57 * the length of the data buffer.
59 public DatagramPacket(byte[] data, int length) { argument
60 this(data,
74 DatagramPacket(byte[] data, int offset, int length) argument
95 DatagramPacket(byte[] data, int offset, int length, InetAddress host, int aPort) argument
116 DatagramPacket(byte[] data, int length, InetAddress host, int port) argument
180 setData(byte[] data, int offset, int byteCount) argument
264 DatagramPacket(byte[] data, int length, SocketAddress sockAddr) argument
286 DatagramPacket(byte[] data, int offset, int length, SocketAddress sockAddr) argument
[all...]

Completed in 233 milliseconds

1234