Home
last modified time | relevance | path

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

12345678910>>...14

/development/vndk/tools/vtable-dumper/tests/
Dtest1.cpp3 virtual void getData(int *src, int *dst, int data);
11 Beta(int data) : mCdata(data) {} in Beta() argument
12 virtual void getData(int *src, int *dst, int data);
20 Gamma(int data) : mGCdata(data), Beta(data) {} in Gamma() argument
21 virtual void getData(int *src, int *dst, int data);
27 void Alpha::getData(int *src, int *dst, int data) {} in getData() argument
29 void Beta::getData(int *src, int *dst, int data) {} in getData() argument
31 void Gamma::getData(int *src, int *dst, int data) {} in getData() argument
/development/tools/axl/
Daxl.py35 def write(self, data): argument
36 self.log("BaseProtocol.write()", len(data), data)
37 return self.transport.write(data)
39 def dataReceived(self, data): argument
40 self.log("BaseProtocol.dataReceived()", len(data), data)
69 def dataReceived(self, data): argument
70 BaseProtocol.dataReceived(self, data)
76 def dataReceived(self, data): argument
77 BaseProtocol.dataReceived(self, data)
83 def dataReceived(self, data): argument
[all …]
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
DTouchDisplayView.java72 TouchHistory data = sPool.acquire(); in obtain() local
73 if (data == null) { in obtain()
74 data = new TouchHistory(); in obtain()
77 data.setTouch(x, y, pressure); in obtain()
79 return data; in obtain()
154 TouchHistory data = TouchHistory.obtain(event.getX(0), event.getY(0), in onTouchEvent() local
156 data.label = "id: " + 0; in onTouchEvent()
163 mTouches.put(id, data); in onTouchEvent()
184 TouchHistory data = TouchHistory.obtain(event.getX(index), event.getY(index), in onTouchEvent() local
186 data.label = "id: " + id; in onTouchEvent()
[all …]
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameActivity.java153 State[] data = mGameView.getData(); in handleMessage() local
159 if (data[index] == State.EMPTY) { in handleMessage()
188 State[] data = mGameView.getData(); in checkGameFinished() local
197 if (data[k] != State.EMPTY && data[k] == data[k+1] && data[k] == data[k+2]) { in checkGameFinished()
200 if (full && (data[k] == State.EMPTY || in checkGameFinished()
201 data[k+1] == State.EMPTY || in checkGameFinished()
202 data[k+2] == State.EMPTY)) { in checkGameFinished()
209 if (data[i] != State.EMPTY && data[i] == data[i+3] && data[i] == data[i+6]) { in checkGameFinished()
215 if (data[0] != State.EMPTY && data[0] == data[1+3] && data[0] == data[2+6]) { in checkGameFinished()
217 } else if (data[2] != State.EMPTY && data[2] == data[1+3] && data[2] == data[0+6]) { in checkGameFinished()
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbMessage.java51 public void set(int command, int arg0, int arg1, byte[] data) { in set() argument
55 mMessageBuffer.putInt(12, (data == null ? 0 : data.length)); in set()
56 mMessageBuffer.putInt(16, (data == null ? 0 : checksum(data))); in set()
58 if (data != null) { in set()
59 mDataBuffer.put(data, 0, data.length); in set()
66 public void set(int command, int arg0, int arg1, String data) { in set() argument
68 data += "\0"; in set()
69 set(command, arg0, arg1, data.getBytes()); in set()
160 private static int checksum(byte[] data) { in checksum() argument
162 for (int i = 0; i < data.length; i++) { in checksum()
[all …]
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSynthEngine.java70 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
73 if (!MidiConstants.isAllActiveSensing(data, offset, count)) { in onSend()
74 mEventScheduler.getReceiver().send(data, offset, count, in onSend()
82 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
84 byte command = (byte) (data[0] & MidiConstants.STATUS_COMMAND_MASK); in onSend()
85 int channel = (byte) (data[0] & MidiConstants.STATUS_CHANNEL_MASK); in onSend()
88 noteOff(channel, data[1], data[2]); in onSend()
91 noteOn(channel, data[1], data[2]); in onSend()
94 int bend = (data[2] << 7) + data[1]; in onSend()
98 mProgram = data[1]; in onSend()
[all …]
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSynthEngine.java70 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
73 if (!MidiConstants.isAllActiveSensing(data, offset, count)) { in onSend()
74 mEventScheduler.getReceiver().send(data, offset, count, in onSend()
82 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
84 byte command = (byte) (data[0] & MidiConstants.STATUS_COMMAND_MASK); in onSend()
85 int channel = (byte) (data[0] & MidiConstants.STATUS_CHANNEL_MASK); in onSend()
88 noteOff(channel, data[1], data[2]); in onSend()
91 noteOn(channel, data[1], data[2]); in onSend()
94 int bend = (data[2] << 7) + data[1]; in onSend()
98 mProgram = data[1]; in onSend()
[all …]
/development/vndk/tools/definition-tool/tools/
Dupdate_dataset.py35 data = json.load(fp)
40 for name, module in data.items():
69 data = dict()
71 data[path] = [path, tag, comments]
75 data = {
77 for path, row in data.items()
82 for path, row in data.items():
89 data[path][1] = tag
91 data[path] = [path, tag, '']
107 writer.writerows(sorted(data.values()))
/development/samples/BackupRestore/src/com/example/android/backuprestore/
DMultiRecordExampleAgent.java62 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
112 writeBackupEntity(data, bufStream, FILLING_KEY); in onBackup()
118 writeBackupEntity(data, bufStream, MAYO_KEY); in onBackup()
124 writeBackupEntity(data, bufStream, TOMATO_KEY); in onBackup()
146 void writeBackupEntity(BackupDataOutput data, ByteArrayOutputStream bufStream, String key) in writeBackupEntity() argument
149 data.writeEntityHeader(key, buf.length); in writeBackupEntity()
150 data.writeEntityData(buf, buf.length); in writeBackupEntity()
160 public void onRestore(BackupDataInput data, int appVersionCode, in onRestore() argument
165 while (data.readNextHeader()) { in onRestore()
166 String key = data.getKey(); in onRestore()
[all …]
DFileHelperExampleAgent.java77 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
81 super.onBackup(oldState, data, newState); in onBackup()
90 public void onRestore(BackupDataInput data, int appVersionCode, in onRestore() argument
95 super.onRestore(data, appVersionCode, newState); in onRestore()
DExampleAgent.java86 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
130 data.writeEntityHeader(APP_DATA_KEY, len); in onBackup()
131 data.writeEntityData(buffer, len); in onBackup()
208 public void onRestore(BackupDataInput data, int appVersionCode, in onRestore() argument
212 while (data.readNextHeader()) { in onRestore()
213 String key = data.getKey(); in onRestore()
214 int dataSize = data.getDataSize(); in onRestore()
221 data.readEntityData(dataBuf, 0, dataSize); in onRestore()
241 data.skipEntityData(); in onRestore()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiEventScheduler.java51 public byte[] data; field in MidiEventScheduler.MidiEvent
55 data = new byte[count]; in MidiEvent()
60 data = new byte[count]; in MidiEvent()
61 System.arraycopy(msg, offset, data, 0, count); in MidiEvent()
69 text += data[i] + ", "; in toString()
88 System.arraycopy(msg, offset, event.data, 0, count); in createScheduledEvent()
105 if (midiEvent.data.length == POOL_EVENT_SIZE) { in addEventToPool()
DMidiFramer.java49 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
54 final byte currentByte = data[offset]; in onSend()
69 mReceiver.send(data, sysExStartOffset, in onSend()
83 mReceiver.send(data, sysExStartOffset, in onSend()
87 mReceiver.send(data, offset, 1, timestamp); in onSend()
107 mReceiver.send(data, sysExStartOffset, in onSend()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiEventScheduler.java51 public byte[] data; field in MidiEventScheduler.MidiEvent
55 data = new byte[count]; in MidiEvent()
60 data = new byte[count]; in MidiEvent()
61 System.arraycopy(msg, offset, data, 0, count); in MidiEvent()
69 text += data[i] + ", "; in toString()
88 System.arraycopy(msg, offset, event.data, 0, count); in createScheduledEvent()
105 if (midiEvent.data.length == POOL_EVENT_SIZE) { in addEventToPool()
DMidiFramer.java49 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
54 final byte currentByte = data[offset]; in onSend()
69 mReceiver.send(data, sysExStartOffset, in onSend()
83 mReceiver.send(data, sysExStartOffset, in onSend()
87 mReceiver.send(data, offset, 1, timestamp); in onSend()
107 mReceiver.send(data, sysExStartOffset, in onSend()
/development/ndk/platforms/android-24/include/camera/
DNdkCaptureRequest.h198 ACaptureRequest* request, uint32_t tag, uint32_t count, const uint8_t* data);
217 ACaptureRequest* request, uint32_t tag, uint32_t count, const int32_t* data);
236 ACaptureRequest* request, uint32_t tag, uint32_t count, const float* data);
255 ACaptureRequest* request, uint32_t tag, uint32_t count, const int64_t* data);
274 ACaptureRequest* request, uint32_t tag, uint32_t count, const double* data);
294 const ACameraMetadata_rational* data);
/development/ndk/platforms/android-24/include/android/
Dchoreographer.h44 typedef void (*AChoreographer_frameCallback)(long frameTimeNanos, void* data);
57 AChoreographer_frameCallback callback, void* data);
64 AChoreographer_frameCallback callback, void* data, long delayMillis);
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DRemotePlayer.java58 public void onItemStatusChanged(Bundle data,
74 public void onSessionStatusChanged(Bundle data,
134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, in play() argument
150 public void onError(String error, int code, Bundle data) { in play() argument
174 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, in getStatus() argument
192 public void onError(String error, int code, Bundle data) { in getStatus() argument
212 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus) { in pause()
220 public void onError(String error, int code, Bundle data) { in pause()
237 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus) { in resume()
245 public void onError(String error, int code, Bundle data) { in resume()
[all …]
/development/ndk/platforms/android-9/include/linux/
Dinterrupt.h93 void *data; member
104 unsigned long data; member
107 #define DECLARE_TASKLET(name, func, data) struct tasklet_struct name = { NULL, 0, ATOMIC_INIT(0), … argument
109 …ne DECLARE_TASKLET_DISABLED(name, func, data) struct tasklet_struct name = { NULL, 0, ATOMIC_INIT… argument
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageLoader.java72 public void loadImage(Object data, ImageView imageView) { in loadImage() argument
73 if (data == null) { in loadImage()
81 bitmap = mImageCache.getBitmapFromMemCache(String.valueOf(data)); in loadImage()
87 } else if (cancelPotentialWork(data, imageView)) { in loadImage()
92 task.execute(data); in loadImage()
132 protected abstract Bitmap processBitmap(Object data); in processBitmap() argument
142 final Object bitmapData = bitmapWorkerTask.data; in cancelWork()
154 public static boolean cancelPotentialWork(Object data, ImageView imageView) { in cancelPotentialWork() argument
158 final Object bitmapData = bitmapWorkerTask.data; in cancelPotentialWork()
159 if (bitmapData == null || !bitmapData.equals(data)) { in cancelPotentialWork()
[all …]
/development/ndk/platforms/android-9/include/android/
Dstorage_manager.h98 …def void (*AStorageManager_obbCallbackFunc)(const char* filename, const int32_t state, void* data);
104 AStorageManager_obbCallbackFunc cb, void* data);
110 AStorageManager_obbCallbackFunc cb, void* data);
/development/ndk/platforms/android-9/arch-mips/include/asm/mach-ip22/
Dds1286.h24 #define rtc_write(data, reg) do { hpc3c0->rtcregs[(reg)] = (data); } while(0) argument
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageWorker.java76 public void loadImage(Object data, ImageView imageView, OnImageLoadedListener listener) { in loadImage() argument
77 if (data == null) { in loadImage()
84 value = mImageCache.getBitmapFromMemCache(String.valueOf(data)); in loadImage()
93 } else if (cancelPotentialWork(data, imageView)) { in loadImage()
95 final BitmapWorkerTask task = new BitmapWorkerTask(data, imageView, listener); in loadImage()
119 public void loadImage(Object data, ImageView imageView) { in loadImage() argument
120 loadImage(data, imageView, null); in loadImage()
188 protected abstract Bitmap processBitmap(Object data); in processBitmap() argument
218 public static boolean cancelPotentialWork(Object data, ImageView imageView) { in cancelPotentialWork() argument
224 if (bitmapData == null || !bitmapData.equals(data)) { in cancelPotentialWork()
[all …]
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py83 data = ContactForm(data=self.request.POST)
84 if data.is_valid():
86 entity = data.save(commit=False)
91 self.send_form('Add Contact', '/add_contact', -1, None, data)
110 data = ContactForm(data=self.request.POST, instance=contact)
111 if data.is_valid():
113 entity = data.save(commit=False)
119 self.send_form('Edit Contact', '/edit_contact', id, contact.handle, data)
/development/apps/CustomLocale/src/com/android/customlocale2/
DNewLocaleDialog.java66 Intent data = new Intent(NewLocaleDialog.this, NewLocaleDialog.class); in onClick() local
67 data.putExtra(INTENT_EXTRA_LOCALE, locale); in onClick()
68 data.putExtra(INTENT_EXTRA_SELECT, select); in onClick()
69 setResult(RESULT_OK, data); in onClick()

12345678910>>...14