Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 200) sorted by relevance

12345678

/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/log/
DEventContainer.java183 EventContainer(LogEntry entry, int tag, Object data) { in EventContainer() argument
184 getType(data); in EventContainer()
186 mData = data; in EventContainer()
197 EventContainer(int tag, int pid, int tid, int sec, int nsec, Object data) { in EventContainer() argument
198 getType(data); in EventContainer()
200 mData = data; in EventContainer()
291 public final EventValueType getType(Object data) { in getType() argument
292 if (data instanceof Integer) { in getType()
294 } else if (data instanceof Long) { in getType()
296 } else if (data instanceof String) { in getType()
[all …]
DLogReceiver.java49 public byte[] data; field in LogReceiver.LogEntry
76 public void newData(byte[] data, int offset, int length); in newData() argument
112 public void parseNewData(byte[] data, int offset, int length) { in parseNewData() argument
115 mListener.newData(data, offset, length); in parseNewData()
125 System.arraycopy(data, offset, mEntryHeaderBuffer, mEntryHeaderOffset, length); in parseNewData()
134 System.arraycopy(data, offset, mEntryHeaderBuffer, mEntryHeaderOffset, in parseNewData()
149 mCurrentEntry = createEntry(data, offset); in parseNewData()
169 System.arraycopy(data, offset, mCurrentEntry.data, mEntryDataOffset, dataSize); in parseNewData()
188 System.arraycopy(data, offset, mCurrentEntry.data, mEntryDataOffset, length); in parseNewData()
218 private LogEntry createEntry(byte[] data, int offset) { in createEntry() argument
[all …]
DGcEventContainer.java51 GcEventContainer(LogEntry entry, int tag, Object data) { in GcEventContainer() argument
52 super(entry, tag, data); in GcEventContainer()
53 init(data); in GcEventContainer()
56 GcEventContainer(int tag, int pid, int tid, int sec, int nsec, Object data) { in GcEventContainer() argument
57 super(tag, pid, tid, sec, nsec, data); in GcEventContainer()
58 init(data); in GcEventContainer()
64 private void init(Object data) { in init() argument
65 if (data instanceof Object[]) { in init()
66 Object[] values = (Object[])data; in init()
205 private void parseDvmHeapInfo(long data, int index) { in parseDvmHeapInfo() argument
[all …]
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DHandleHeap.java93 public void handleChunk(Client client, int type, ByteBuffer data, boolean isReply, int msgId) { in handleChunk() argument
97 handleHPIF(client, data); in handleChunk()
99 handleHPST(client, data); in handleChunk()
101 handleHPEN(client, data); in handleChunk()
103 handleHPSG(client, data); in handleChunk()
105 handleHPDU(client, data); in handleChunk()
107 handleHPDS(client, data); in handleChunk()
109 handleREAQ(client, data); in handleChunk()
111 handleREAL(client, data); in handleChunk()
113 handleUnknownChunk(client, type, data, isReply, msgId); in handleChunk()
[all …]
DHandleThread.java74 public void handleChunk(Client client, int type, ByteBuffer data, boolean isReply, int msgId) { in handleChunk() argument
79 handleTHCR(client, data); in handleChunk()
81 handleTHDE(client, data); in handleChunk()
83 handleTHST(client, data); in handleChunk()
85 handleTHNM(client, data); in handleChunk()
87 handleSTKL(client, data); in handleChunk()
89 handleUnknownChunk(client, type, data, isReply, msgId); in handleChunk()
99 private void handleTHCR(Client client, ByteBuffer data) { in handleTHCR() argument
103 threadId = data.getInt(); in handleTHCR()
104 nameLen = data.getInt(); in handleTHCR()
[all …]
DHandleHello.java74 public void handleChunk(Client client, int type, ByteBuffer data, boolean isReply, int msgId) { in handleChunk() argument
80 handleHELO(client, data); in handleChunk()
82 handleFEAT(client, data); in handleChunk()
84 handleUnknownChunk(client, type, data, isReply, msgId); in handleChunk()
91 private static void handleHELO(Client client, ByteBuffer data) { in handleHELO() argument
95 version = data.getInt(); in handleHELO()
96 pid = data.getInt(); in handleHELO()
97 vmIdentLen = data.getInt(); in handleHELO()
98 appNameLen = data.getInt(); in handleHELO()
100 vmIdent = getString(data, vmIdentLen); in handleHELO()
[all …]
DHandleTest.java59 public void handleChunk(Client client, int type, ByteBuffer data, boolean isReply, int msgId) { in handleChunk() argument
64 handleTEST(client, data); in handleChunk()
66 handleUnknownChunk(client, type, data, isReply, msgId); in handleChunk()
73 private void handleTEST(Client client, ByteBuffer data) in handleTEST() argument
79 byte[] copy = new byte[data.limit()]; in handleTEST()
80 data.get(copy); in handleTEST()
DHandleProfiling.java66 public void handleChunk(Client client, int type, ByteBuffer data, in handleChunk() argument
72 handleMPRE(client, data); in handleChunk()
74 handleMPSE(client, data); in handleChunk()
76 handleMPRQ(client, data); in handleChunk()
78 handleFAIL(client, data); in handleChunk()
80 handleUnknownChunk(client, type, data, isReply, msgId); in handleChunk()
140 private void handleMPRE(Client client, ByteBuffer data) { in handleMPRE() argument
147 result = data.get(); in handleMPRE()
215 private void handleMPSE(Client client, ByteBuffer data) { in handleMPSE() argument
218 byte[] stuff = new byte[data.capacity()]; in handleMPSE()
[all …]
DHandleNativeHeap.java68 public void handleChunk(Client client, int type, ByteBuffer data, boolean isReply, int msgId) { in handleChunk() argument
73 handleNHGT(client, data); in handleChunk()
81 handleNHSG(client, data); in handleChunk()
83 handleUnknownChunk(client, type, data, isReply, msgId); in handleChunk()
119 private void handleNHGT(Client client, ByteBuffer data) { in handleNHGT() argument
122 Log.d("ddm-nativeheap", "NHGT: " + data.limit() + " bytes"); in handleNHGT()
125 byte[] copy = new byte[data.limit()]; in handleNHGT()
126 data.get(copy); in handleNHGT()
188 private void handleNHSG(Client client, ByteBuffer data) { in handleNHSG() argument
189 byte dataCopy[] = new byte[data.limit()]; in handleNHSG()
[all …]
DRawImage.java39 public byte[] data; field in RawImage
151 int count = this.data.length; in getRotated()
152 rotated.data = new byte[count]; in getRotated()
160 this.data, (y * w + x) * byteCount, in getRotated()
161 rotated.data, ((w-x-1) * h + y) * byteCount, in getRotated()
175 value = data[index] & 0x00FF; in getARGB()
176 value |= (data[index+1] << 8) & 0x0FF00; in getARGB()
178 value = data[index] & 0x00FF; in getARGB()
179 value |= (data[index+1] & 0x00FF) << 8; in getARGB()
180 value |= (data[index+2] & 0x00FF) << 16; in getARGB()
[all …]
DHandleAppName.java57 public void handleChunk(Client client, int type, ByteBuffer data, in handleChunk() argument
64 handleAPNM(client, data); in handleChunk()
66 handleUnknownChunk(client, type, data, isReply, msgId); in handleChunk()
73 private static void handleAPNM(Client client, ByteBuffer data) { in handleAPNM() argument
77 appNameLen = data.getInt(); in handleAPNM()
78 appName = getString(data, appNameLen); in handleAPNM()
DHandleWait.java60 public void handleChunk(Client client, int type, ByteBuffer data, boolean isReply, int msgId) { in handleChunk() argument
66 handleWAIT(client, data); in handleChunk()
68 handleUnknownChunk(client, type, data, isReply, msgId); in handleChunk()
75 private static void handleWAIT(Client client, ByteBuffer data) { in handleWAIT() argument
78 reason = data.get(); in handleWAIT()
DChunkHandler.java66 ByteBuffer data, boolean isReply, int msgId); in handleChunk() argument
73 ByteBuffer data, boolean isReply, int msgId) { in handleUnknownChunk() argument
78 errorCode = data.getInt(); in handleUnknownChunk()
79 msgLen = data.getInt(); in handleUnknownChunk()
80 msg = getString(data, msgLen); in handleUnknownChunk()
84 + ": len=" + data.limit() + ", reply=" + isReply in handleUnknownChunk()
98 char[] data = new char[len]; in getString() local
100 data[i] = buf.getChar(); in getString()
101 return new String(data); in getString()
/sdk/emulator/sensors/
Dsensors_qemu.c146 handle->data[0] = dup(ctl->fd); in control__open_data_source()
231 SensorPoll* data = (void*)dev; in data__data_open() local
233 D("%s: dev=%p fd=%d", __FUNCTION__, dev, handle->data[0]); in data__data_open()
234 memset(&data->sensors, 0, sizeof(data->sensors)); in data__data_open()
237 data->sensors[i].acceleration.status = SENSOR_STATUS_ACCURACY_HIGH; in data__data_open()
239 data->pendingSensors = 0; in data__data_open()
240 data->timeStart = 0; in data__data_open()
241 data->timeOffset = 0; in data__data_open()
243 data->events_fd = dup(handle->data[0]); in data__data_open()
244 D("%s: dev=%p fd=%d (was %d)", __FUNCTION__, dev, data->events_fd, handle->data[0]); in data__data_open()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dnavigation1-expected-navigate4.txt3 data/res/values-en-rGB/strings.xml
5 data/res/values/strings.xml
7 data/res/values-ar/strings.xml
9 data/res/values-bg/strings.xml
11 data/res/values-ca/strings.xml
13 data/res/values-cs/strings.xml
15 data/res/values-da/strings.xml
17 data/res/values-de/strings.xml
19 data/res/values-el/strings.xml
21 data/res/values-es/strings.xml
[all …]
/sdk/eclipse/scripts/
Dgen_icon.py25 data = process_args(args)
26 if data:
27 createImage(data)
38 def createImage(data): argument
46 sz = int(data.size)
53 fill=data.circle_color, outline=None)
56 fill=None, outline=data.border_color)
59 tsx, tsy = draw.textsize(data.letter, font=font)
64 draw.text((ptx + i, pty), data.letter, font=font, fill=data.letter_color)
67 img.save(data.dest_name, "PNG")
[all …]
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/ui/
DAuthenticationDialog.java65 GridData data = new GridData(SWT.FILL, SWT.FILL, true, true); in createDialogContent() local
66 parent.setLayoutData(data); in createDialogContent()
73 data = new GridData(SWT.FILL, SWT.CENTER, true, true); in createDialogContent()
74 upperComposite.setLayoutData(data); in createDialogContent()
79 data = new GridData(SWT.FILL, SWT.CENTER, true, true, 2, 1); in createDialogContent()
80 data.widthHint = 500; in createDialogContent()
81 lblMessage.setLayoutData(data); in createDialogContent()
86 data = new GridData(SWT.LEFT, SWT.CENTER, false, false); in createDialogContent()
87 lblUserName.setLayoutData(data); in createDialogContent()
90 data = new GridData(SWT.FILL, SWT.CENTER, true, false); in createDialogContent()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAndroidJarLoader.java174 byte[] data = readZipData(zis, (int)entrySize); in preLoadClasses()
175 mEntryCache.put(className, data); in preLoadClasses()
234 byte[] data = mEntryCache.get(className); in findClassesDerivingFrom()
235 if (data == null) { in findClassesDerivingFrom()
241 data = readZipData(zis, (int)entrySize); in findClassesDerivingFrom()
243 loaded_class = defineAndCacheClass(className, data); in findClassesDerivingFrom()
287 byte[] data = loadClassData(name); in findClass()
288 if (data != null) { in findClass()
289 return defineAndCacheClass(name, data); in findClass()
311 private Class<?> defineAndCacheClass(String name, byte[] data) throws ClassFormatError { in defineAndCacheClass() argument
[all …]
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
DScreenShotDialog.java108 GridData data; in createContents() local
117 data = new GridData(GridData.HORIZONTAL_ALIGN_CENTER); in createContents()
118 data.widthHint = 80; in createContents()
119 refresh.setLayoutData(data); in createContents()
138 data = new GridData(GridData.HORIZONTAL_ALIGN_CENTER); in createContents()
139 data.widthHint = 80; in createContents()
140 rotate.setLayoutData(data); in createContents()
155 data = new GridData(GridData.HORIZONTAL_ALIGN_CENTER); in createContents()
156 data.widthHint = 80; in createContents()
157 mSave.setLayoutData(data); in createContents()
[all …]
/sdk/emulator/qtools/
Ddecoder.cpp234 uint64_t data = *(reinterpret_cast<uint64_t*>(next_)); in Decode() local
235 uint8_t byte0 = data; in Decode()
236 data = bswap64(data); in Decode()
256 val64 = (val64 << 8) | ((data >> 48) & 0xffull); in Decode()
259 val64 = (val64 << 16) | ((data >> 40) & 0xffffull); in Decode()
262 val64 = (val64 << 24) | ((data >> 32) & 0xffffffull); in Decode()
265 val64 = (val64 << 32) | ((data >> 24) & 0xffffffffull); in Decode()
268 val64 = (val64 << 40) | ((data >> 16) & 0xffffffffffull); in Decode()
271 data = *(reinterpret_cast<uint64_t*>(&next_[1])); in Decode()
272 val64 = bswap64(data); in Decode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/
DLibraryProperties.java104 for (ItemData data : mItemDataList) {
105 if (data.project == project) {
188 ItemData data = (ItemData) selection.getData(); in LibraryProperties()
189 mItemDataList.remove(data); in LibraryProperties()
206 ItemData data = mItemDataList.remove(index); in LibraryProperties()
210 addItem(data.relativePath, data.project, index - 1); in LibraryProperties()
226 ItemData data = mItemDataList.remove(index); in LibraryProperties()
230 addItem(data.relativePath, data.project, index + 1); in LibraryProperties()
291 for (ItemData data : mItemDataList) { in save()
293 data.relativePath); in save()
[all …]
/sdk/ide_common/src/com/android/ide/common/resources/
DIntArrayWrapper.java29 public IntArrayWrapper(int[] data) { in IntArrayWrapper() argument
30 mData = data; in IntArrayWrapper()
33 public void set(int[] data) { in set() argument
34 mData = data; in set()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DCopyCutAction.java127 String data = getXmlTextFromEditor(xml_node); in run() local
132 if (data == null) { in run()
133 data = getXmlTextFromSerialization(xml_node); in run()
136 if (data != null) { in run()
137 allText.append(data); in run()
164 String data = null; in getXmlTextFromEditor() local
170 data = ((NodeContainer) xml_node).getSource(); in getXmlTextFromEditor()
178 data = sse_doc.get(start, end - start); in getXmlTextFromEditor()
186 return data; in getXmlTextFromEditor()
197 String data; in getXmlTextFromSerialization() local
[all …]
/sdk/layoutlib_api/sample/src/com/example/android/render/
DStdOutLogger.java34 public void error(String tag, String message, Object data) { in error() argument
43 public void error(String tag, String message, Throwable throwable, Object data) { in error() argument
44 error(tag, message, data); in error()
49 public void fidelityWarning(String tag, String message, Throwable throwable, Object data) { in fidelityWarning() argument
61 public void warning(String tag, String message, Object data) { in warning() argument
62 fidelityWarning(tag, message, null /*throwable*/, data); in warning()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/
DAndroidJarLoaderTest.java59 HashMap<String,byte[]> data = getPrivateEntryCache(); in testPreLoadClasses() local
60 assertTrue(data.containsKey("jar.example.Class1")); //$NON-NLS-1$ in testPreLoadClasses()
61 assertTrue(data.containsKey("jar.example.Class2")); //$NON-NLS-1$ in testPreLoadClasses()
62 assertTrue(data.containsKey("jar.example.Class1$InnerStaticClass1")); //$NON-NLS-1$ in testPreLoadClasses()
63 assertTrue(data.containsKey("jar.example.Class1$InnerClass2")); //$NON-NLS-1$ in testPreLoadClasses()
64 assertEquals(4, data.size()); in testPreLoadClasses()
72 HashMap<String,byte[]> data = getPrivateEntryCache(); in testPreLoadClasses_classNotFound() local
73 assertEquals(0, data.size()); in testPreLoadClasses_classNotFound()

12345678