/development/host/windows/usb/api/ |
H A D | adb_endpoint_object.cpp | 50 ADBAPIHANDLE AdbEndpointObject::AsyncRead(void* buffer,
argument 56 buffer,
63 ADBAPIHANDLE AdbEndpointObject::AsyncWrite(void* buffer,
argument 69 buffer,
76 bool AdbEndpointObject::SyncRead(void* buffer,
argument 81 buffer,
87 bool AdbEndpointObject::SyncWrite(void* buffer,
argument 92 buffer,
|
H A D | adb_endpoint_object.h | 63 @param[in,out] buffer Pointer to the buffer for read / write.
76 void* buffer,
85 @param[in,out] buffer Pointer to the buffer for read / write.
95 void* buffer,
115 @param[out] buffer Pointer to the buffer that receives the data.
127 virtual ADBAPIHANDLE AsyncRead(void* buffer,
135 @param[in] buffer Pointe [all...] |
H A D | adb_interface.cpp | 34 bool AdbInterfaceObject::GetInterfaceName(void* buffer,
argument 42 // Lets see if buffer is big enough
44 if ((NULL == buffer) || (*buffer_char_size < name_len)) {
52 wcscpy(reinterpret_cast<wchar_t*>(buffer), interface_name().c_str());
61 reinterpret_cast<PSTR>(buffer),
|
H A D | adb_legacy_endpoint_object.cpp | 45 void* buffer,
83 buffer,
88 buffer,
97 transfer_param.SetWriteBuffer(is_read ? NULL : buffer);
102 is_read ? buffer : adb_io_completion->transferred_bytes_ptr(),
129 void* buffer,
155 ReadFile(usb_handle(), buffer, bytes_to_transfer, bytes_transferred, &overlapped) :
156 WriteFile(usb_handle(), buffer, bytes_to_transfer, bytes_transferred, &overlapped);
162 transfer_param.SetWriteBuffer(is_read ? NULL : buffer);
168 is_read ? buffer 43 CommonAsyncReadWrite( bool is_read, void* buffer, ULONG bytes_to_transfer, ULONG* bytes_transferred, HANDLE event_handle, ULONG time_out) argument 128 CommonSyncReadWrite(bool is_read, void* buffer, ULONG bytes_to_transfer, ULONG* bytes_transferred, ULONG time_out) argument [all...] |
H A D | adb_legacy_endpoint_object.h | 60 @param[in,out] buffer Pointer to the buffer for read / write.
73 void* buffer,
82 @param[in,out] buffer Pointer to the buffer for read / write.
92 void* buffer,
|
H A D | adb_api.h | 240 @param[in,out] size On the way in provides size of the memory buffer
241 addressed by info parameter. On the way out (only if buffer was not
245 ERROR_INSUFFICIENT_BUFFER indicates that buffer provided in info
296 @param[out] buffer Buffer for the name. Can be NULL in which case
300 of the buffer. On the way out, if method failed and GetLastError
309 void* buffer,
317 @param[out] buffer Buffer for the serail number string. Can be NULL in which
321 of the buffer. On the way out, if method failed and GetLastError
330 void* buffer,
499 @param[out] buffer Pointe [all...] |
/development/ndk/platforms/android-3/include/ |
H A D | libgen.h | 42 * if 'buffer' is NULL, 'bufflen' is ignored and the length of the result is returned 43 * otherwise, place result in 'buffer' 49 * ERANGE: buffer is too short 52 extern int dirname_r(const char* path, char* buffer, size_t bufflen); 53 extern int basename_r(const char* path, char* buffer, size_t bufflen);
|
H A D | sha1.h | 21 u_char buffer[64]; member in struct:__anon413
|
/development/ndk/platforms/android-L/include/ |
H A D | libgen.h | 42 * if 'buffer' is NULL, 'bufflen' is ignored and the length of the result is returned 43 * otherwise, place result in 'buffer' 49 * ERANGE: buffer is too short 52 extern int dirname_r(const char* path, char* buffer, size_t bufflen); 53 extern int basename_r(const char* path, char* buffer, size_t bufflen);
|
/development/tools/idegen/src/ |
H A D | Files.java | 29 char[] buffer = new char[0x1000]; // 4k 33 while ((read = in.read(buffer)) > -1) { 34 builder.append(buffer, 0, read);
|
/development/ndk/samples/hello-neon/jni/ |
H A D | helloneon.c | 85 char buffer[512]; local 110 strlcpy(buffer, str, sizeof buffer); 113 strlcat(buffer, "Neon version : ", sizeof buffer); 116 strlcat(buffer, "Not an ARM CPU !\n", sizeof buffer); 122 strlcat(buffer, "Not an ARMv7 CPU !\n", sizeof buffer); 129 strlcat(buffer, "CP [all...] |
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
H A D | ChatManager.java | 36 byte[] buffer = new byte[1024]; 44 bytes = iStream.read(buffer); 50 Log.d(TAG, "Rec:" + String.valueOf(buffer)); 52 bytes, -1, buffer).sendToTarget(); 68 public void write(byte[] buffer) { argument 70 oStream.write(buffer);
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
H A D | ReadAsset.java | 56 // Read the entire asset into a local byte buffer. 57 byte[] buffer = new byte[size]; 58 is.read(buffer); 61 // Convert the buffer into a string. 62 String text = new String(buffer);
|
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/ |
H A D | JsonUtils.java | 41 byte[] buffer = new byte[size]; 42 is.read(buffer); 44 String jsonString = new String(buffer);
|
/development/ndk/platforms/android-3/include/linux/ |
H A D | xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
H A D | MonkeyPowerEvent.java | 107 StringBuffer buffer = new StringBuffer(); 110 buffer.append(MonkeyUtils.toCalendarTime(event.getAsLong("date"))); 111 buffer.append(event.getAsString("tag")); 114 buffer.append(" "); 115 buffer.append(value.replace('\n', '/')); 117 buffer.append("\n"); 120 writer.write(buffer.toString());
|
/development/host/windows/usb/winusb/ |
H A D | adb_winusb_endpoint_object.cpp | 49 void* buffer,
78 reinterpret_cast<PUCHAR>(buffer),
84 reinterpret_cast<PUCHAR>(buffer),
109 void* buffer,
129 reinterpret_cast<PUCHAR>(buffer),
135 reinterpret_cast<PUCHAR>(buffer),
47 CommonAsyncReadWrite( bool is_read, void* buffer, ULONG bytes_to_transfer, ULONG* bytes_transferred, HANDLE event_handle, ULONG time_out) argument 108 CommonSyncReadWrite(bool is_read, void* buffer, ULONG bytes_to_transfer, ULONG* bytes_transferred, ULONG time_out) argument
|
H A D | adb_winusb_endpoint_object.h | 83 @param[in,out] buffer Pointer to the buffer for read / write.
96 void* buffer,
105 @param[in,out] buffer Pointer to the buffer for read / write.
115 void* buffer,
|
/development/ndk/platforms/android-3/include/linux/mtd/ |
H A D | blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
H A D | GLFace.java | 76 public void putIndices(ShortBuffer buffer) { argument 82 // push triangles into the buffer 85 buffer.put(v0.index); 86 buffer.put(v1.index); 87 buffer.put(vn.index);
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
H A D | AssetUtils.java | 34 byte[] buffer = null; 38 buffer = new byte[size]; 39 is.read(buffer); 44 return buffer;
|
/development/samples/Vault/src/com/example/android/vault/ |
H A D | Utils.java | 62 byte[] buffer = new byte[1024]; 64 while ((count = in.read(buffer)) != -1) { 65 bytes.write(buffer, 0, count);
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
H A D | MediaCodecWrapper.java | 30 * Simplifies the MediaCodec interface by wrapping around the buffer processing operations. 51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); argument 61 // to keep track of which buffer is which. 73 // Information about each output buffer, by index. Each entry in this array 174 * @param input A ByteBuffer containing the input data for one sample. The buffer must be set 179 * at which this buffer should be rendered. 196 ByteBuffer buffer = mInputBuffers[index]; 198 // we can't write our sample to a lesser capacity input buffer. 199 if (size > buffer.capacity()) { 201 "Insufficient capacity in MediaCodec buffer [all...] |
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
H A D | MediaCodecWrapper.java | 30 * Simplifies the MediaCodec interface by wrapping around the buffer processing operations. 51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); argument 61 // to keep track of which buffer is which. 73 // Information about each output buffer, by index. Each entry in this array 174 * @param input A ByteBuffer containing the input data for one sample. The buffer must be set 179 * at which this buffer should be rendered. 196 ByteBuffer buffer = mInputBuffers[index]; 198 // we can't write our sample to a lesser capacity input buffer. 199 if (size > buffer.capacity()) { 201 "Insufficient capacity in MediaCodec buffer [all...] |
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
H A D | MediaCodecWrapper.java | 30 * Simplifies the MediaCodec interface by wrapping around the buffer processing operations. 51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); argument 61 // to keep track of which buffer is which. 73 // Information about each output buffer, by index. Each entry in this array 174 * @param input A ByteBuffer containing the input data for one sample. The buffer must be set 179 * at which this buffer should be rendered. 196 ByteBuffer buffer = mInputBuffers[index]; 198 // we can't write our sample to a lesser capacity input buffer. 199 if (size > buffer.capacity()) { 201 "Insufficient capacity in MediaCodec buffer [all...] |