/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
H A D | NativeNfcTag.java | 330 private native boolean doWrite(byte[] buf); argument 332 public synchronized boolean writeNdef(byte[] buf) { argument 336 boolean result = doWrite(buf);
|
/packages/apps/Nfc/nxp/jni/ |
H A D | com_android_nfc_NativeNfcTag.cpp | 182 jbyteArray buf = NULL; local 224 buf = e->NewByteArray(nfc_jni_ndef_rw.length); 225 e->SetByteArrayRegion(buf, 0, nfc_jni_ndef_rw.length, 232 return buf; 237 jobject o, jbyteArray buf) 253 nfc_jni_ndef_rw.length = (uint32_t)e->GetArrayLength(buf); 254 nfc_jni_ndef_rw.buffer = (uint8_t *)e->GetByteArrayElements(buf, NULL); 284 e->ReleaseByteArrayElements(buf, (jbyte *)nfc_jni_ndef_rw.buffer, JNI_ABORT); 699 // buf is the pointer to the JNI array and never overwritten, 702 uint8_t *buf local 236 com_android_nfc_NativeNfcTag_doWrite(JNIEnv *e, jobject o, jbyteArray buf) argument [all...] |
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
H A D | NativeNfcTag.java | 320 private native boolean doWrite(byte[] buf); argument 322 public synchronized boolean writeNdef(byte[] buf) { argument 326 boolean result = doWrite(buf);
|
/packages/inputmethods/PinyinIME/jni/share/ |
H A D | dictbuilder.cpp | 640 void DictBuilder::id_to_charbuf(unsigned char *buf, LemmaIdType id) { argument 641 if (NULL == buf) return; 643 (buf)[pos] = (unsigned char)(id >> (pos * 8)); 1062 printf(".. son buf allocation number with only 1 son: %d\n", sonbufs_num1_); 1063 printf(".. son buf allocation number with more than 1 son: %d\n",
|
/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_btservice_AdapterService.cpp | 435 static void dut_mode_recv_callback (uint16_t opcode, uint8_t *buf, uint8_t len) { argument
|
/packages/apps/Nfc/nci/jni/ |
H A D | NativeNfcManager.cpp | 53 extern void nativeNfcTag_doTransceiveStatus (uint8_t * buf, uint32_t buflen); 767 uint8_t* buf = const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(&bytes[0])); local 769 tNFA_STATUS status = NFA_SendRawFrame (buf, bufLen, 0); 788 uint8_t* buf = const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(&bytes[0])); local 790 bool result = RoutingManager::getInstance().addAidRouting(buf, bufLen, route); 808 uint8_t* buf = const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(&bytes[0])); local 810 bool result = RoutingManager::getInstance().removeAidRouting(buf, bufLen);
|
H A D | NativeNfcTag.cpp | 257 jbyteArray buf = NULL; local 279 buf = e->NewByteArray (sReadDataLen); 280 e->SetByteArrayRegion (buf, 0, sReadDataLen, (jbyte*) sReadData); 288 buf = e->NewByteArray (sReadDataLen); 289 e->SetByteArrayRegion (buf, 0, sReadDataLen, (jbyte*) sReadData); 300 return buf; 351 ** buf: Contains a NDEF message. 356 static jboolean nativeNfcTag_doWrite (JNIEnv* e, jobject, jbyteArray buf) argument 364 ScopedByteArrayRO bytes(e, buf); 781 ** buf 787 nativeNfcTag_doTransceiveStatus(uint8_t* buf, uint32_t bufLen) argument 861 uint8_t* buf = const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(&bytes[0])); // TODO: API bug; NFA_SendRawFrame should take const*! local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | GLES11Canvas.java | 964 public int uploadBuffer(FloatBuffer buf) { argument 965 return uploadBuffer(buf, Float.SIZE / Byte.SIZE); 969 public int uploadBuffer(ByteBuffer buf) { argument 970 return uploadBuffer(buf, 1); 973 private int uploadBuffer(Buffer buf, int elementSize) { argument 978 mGL.glBufferData(GL11.GL_ARRAY_BUFFER, buf.capacity() * elementSize, buf,
|
H A D | GLES20Canvas.java | 942 public int uploadBuffer(FloatBuffer buf) { argument 943 return uploadBuffer(buf, FLOAT_SIZE); 947 public int uploadBuffer(ByteBuffer buf) { argument 948 return uploadBuffer(buf, 1);
|
/packages/apps/Launcher3/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 942 public int uploadBuffer(FloatBuffer buf) { argument 943 return uploadBuffer(buf, FLOAT_SIZE); 947 public int uploadBuffer(ByteBuffer buf) { argument 948 return uploadBuffer(buf, 1);
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifInterface.java | 1040 ByteBuffer buf = file.getChannel().map(MapMode.READ_WRITE, 0, exifSize); 1044 ret = rewriteExif(buf, tags); 1060 * @param buf a ByteBuffer containing a jpeg file with existing exif tags to 1068 public boolean rewriteExif(ByteBuffer buf, Collection<ExifTag> tags) throws IOException { argument 1071 mod = new ExifModifier(buf, this); 2044 byte[] buf = new byte[1024]; 2045 int ret = is.read(buf, 0, 1024); 2047 os.write(buf, 0, ret); 2048 ret = is.read(buf, 0, 1024);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1040 ByteBuffer buf = file.getChannel().map(MapMode.READ_WRITE, 0, exifSize); 1044 ret = rewriteExif(buf, tags); 1060 * @param buf a ByteBuffer containing a jpeg file with existing exif tags to 1068 public boolean rewriteExif(ByteBuffer buf, Collection<ExifTag> tags) throws IOException { argument 1071 mod = new ExifModifier(buf, this); 2044 byte[] buf = new byte[1024]; 2045 int ret = is.read(buf, 0, 1024); 2047 os.write(buf, 0, ret); 2048 ret = is.read(buf, 0, 1024);
|
/packages/apps/Launcher3/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1040 ByteBuffer buf = file.getChannel().map(MapMode.READ_WRITE, 0, exifSize); 1044 ret = rewriteExif(buf, tags); 1060 * @param buf a ByteBuffer containing a jpeg file with existing exif tags to 1068 public boolean rewriteExif(ByteBuffer buf, Collection<ExifTag> tags) throws IOException { argument 1071 mod = new ExifModifier(buf, this); 2044 byte[] buf = new byte[1024]; 2045 int ret = is.read(buf, 0, 1024); 2047 os.write(buf, 0, ret); 2048 ret = is.read(buf, 0, 1024);
|
/packages/apps/Mms/src/com/android/mms/exif/ |
H A D | ExifInterface.java | 1040 ByteBuffer buf = file.getChannel().map(MapMode.READ_WRITE, 0, exifSize); 1044 ret = rewriteExif(buf, tags); 1060 * @param buf a ByteBuffer containing a jpeg file with existing exif tags to 1068 public boolean rewriteExif(ByteBuffer buf, Collection<ExifTag> tags) throws IOException { argument 1071 mod = new ExifModifier(buf, this); 2044 byte[] buf = new byte[1024]; 2045 int ret = is.read(buf, 0, 1024); 2047 os.write(buf, 0, ret); 2048 ret = is.read(buf, 0, 1024);
|