/frameworks/av/cmds/stagefright/ |
H A D | WaveWriter.h | 49 void Append(const void *data, size_t size) { argument 50 fwrite(data, 1, size, mFile);
|
/frameworks/av/include/media/ |
H A D | ICrypto.h | 37 const uint8_t uuid[16], const void *data, size_t size) = 0; 60 uint32_t code, const Parcel &data, Parcel *reply,
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ParsedMessage.h | 28 const char *data, size_t size, bool noMoreData, size_t *length); 55 ssize_t parse(const char *data, size_t size, bool noMoreData);
|
/frameworks/av/media/libmedia/ |
H A D | SoundPoolThread.h | 32 SoundPoolMsg(MessageType MessageType, int data) : argument 33 mMessageType(MessageType), mData(data) {}
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG2TSWriter.cpp | 156 const void *data; local 158 if (!meta->findData(kKeyESDS, &type, &data, &size)) { 159 // Codec specific data better be in the first data buffer. 163 ESDS esds((const char *)data, size); 175 memcpy(mAACCodecSpecificData->data(), codec_specific_data, 186 const void *data; local 188 if (!meta->findData(kKeyAVCC, &type, &data, &size)) { 189 // Codec specific data better be part of the data strea 496 MPEG2TSWriter( void *cookie, ssize_t (*write)(void *cookie, const void *data, size_t size)) argument 1023 internalWrite(const void *data, size_t size) argument [all...] |
H A D | ThrottledSource.cpp | 34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument 37 ssize_t n = mSource->readAt(offset, data, size);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
H A D | SoftAVC.h | 76 void drainOneOutputBuffer(int32_t picId, uint8_t *data); 77 void saveFirstOutputBuffer(int32_t pidId, uint8_t *data);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ABuffer.cpp | 34 ABuffer::ABuffer(void *data, size_t capacity) argument 35 : mData(data),
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveDataSource.cpp | 35 mBackupFile = fopen("/data/misc/backup.ts", "wb"); 58 off64_t offset, void *data, size_t size) { 82 return readAt_l(offset, data, size); 85 ssize_t LiveDataSource::readAt(off64_t offset, void *data, size_t size) { argument 87 return readAt_l(offset, data, size); 90 ssize_t LiveDataSource::readAt_l(off64_t offset, void *data, size_t size) { argument 120 memcpy((uint8_t *)data + sizeDone, buffer->data(), copy); 145 CHECK_EQ(fwrite(buffer->data(), 1, buffer->size(), mBackupFile), 167 // we'll mix old and new data 57 readAtNonBlocking( off64_t offset, void *data, size_t size) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInputStream.java | 24 * entity's data during a restore operation. Used by {@link BackupHelper} classes within the {@link 29 * {@link BackupDataInput}. The entity's key string and total data size are available 32 * <strong>Note:</strong> The caller should take care not to seek or close the underlying data 47 BackupDataInputStream(BackupDataInput data) { argument 48 mData = data; 52 * Read one byte of entity data from the stream, returning it as 53 * an integer value. If more than {@link #size()} bytes of data 68 * Read up to {@code size} bytes of data into a byte array, beginning at position 71 * @param b Byte array into which the data will be read 72 * @param offset The data wil [all...] |
H A D | BackupAgent.java | 48 * application and Android's data backup infrastructure. An application that wishes 61 * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div> 65 * When the application makes changes to data that it wishes to keep backed up, 74 * there is a previously-saved data set available for the application being installed, and if so, 75 * begins an immediate restore pass to deliver the backup data as part of the installation 88 * A backup data set consists of one or more "entities," flattened binary data 89 * records that are each identified with a key string unique within the data set. Adding a 90 * record to the active data set or updating an existing record is done by simply 91 * writing new entity data unde 208 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument 242 onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument 250 onFullBackup(FullBackupDataOutput data) argument 468 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument 479 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument 556 doBackup(ParcelFileDescriptor oldState, ParcelFileDescriptor data, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument 590 doRestore(ParcelFileDescriptor data, int appVersionCode, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument 620 doFullBackup(ParcelFileDescriptor data, int token, IBackupManager callbackBinder) argument 663 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument [all...] |
/frameworks/base/core/java/android/nfc/tech/ |
H A D | NfcB.java | 109 * @param data bytes to send 114 public byte[] transceive(byte[] data) throws IOException { argument 115 return transceive(data, true);
|
H A D | NfcV.java | 109 * @param data bytes to send 114 public byte[] transceive(byte[] data) throws IOException { argument 115 return transceive(data, true);
|
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteGlobal.cpp | 38 static void sqliteLogCallback(void* data, int iErrCode, const char* zMsg) { argument 39 bool verboseLog = !!data;
|
/frameworks/base/include/androidfw/ |
H A D | CursorWindow.h | 46 * FieldSlot per column, which has the size, offset, and type of the data for that field. 47 * Note that the data types come from sqlite3.h. 53 void* data, size_t size, bool readOnly); 76 } data; member in struct:android::CursorWindow::FieldSlot 121 return fieldSlot->data.l; 125 return fieldSlot->data.d; 130 *outSizeIncludingNull = fieldSlot->data.buffer.size; 131 return static_cast<char*>(offsetToPtr(fieldSlot->data.buffer.offset)); 135 *outSize = fieldSlot->data.buffer.size; 136 return offsetToPtr(fieldSlot->data [all...] |
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | StreamSource.cpp | 38 ssize_t StreamSource::readAt(off64_t offset, void *data, size_t size) { argument 43 ssize_t result = mStream->read(data, size);
|
/frameworks/base/services/java/com/android/server/ |
H A D | SystemBackupAgent.java | 38 * Backup agent for various system-managed data, currently just the system wallpaper 58 // Use old keys to keep legacy data compatibility and avoid writing two wallpapers 63 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 65 // We only back up the data under the current "wallpaper" schema with metadata 78 super.onBackup(oldState, data, newState); 82 public void onFullBackup(FullBackupDataOutput data) throws IOException { argument 84 fullWallpaperBackup(data); 88 // Back up the data files directly. We do them in this specific order -- 99 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument 101 // On restore, we also support a previous data schem 125 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument [all...] |
/frameworks/native/include/android/ |
H A D | looper.h | 31 * listening for an event. An "event" here is simply data available on 34 * descriptors until one or more of them have data available. 53 * discover when data is available on such fds and process it. 154 * and the data pointer that was originally supplied. 159 typedef int (*ALooper_callbackFunc)(int fd, int events, void* data); 174 * Returns ALOOPER_POLL_TIMEOUT if there was no data before the given 179 * Returns a value >= 0 containing an identifier if its file descriptor has data 182 * events and data associated with the fd, otherwise they will be set to NULL. 191 * data has been consumed or a file descriptor is available with no callback. 213 * "data" i [all...] |
/frameworks/native/libs/binder/ |
H A D | Binder.cpp | 98 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 100 data.setDataPosition(0); 108 err = onTransact(code, data, reply, flags); 187 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 195 int fd = data.readFileDescriptor(); 196 int argc = data.readInt32(); 198 for (int i = 0; i < argc && data.dataAvail() > 0; i++) { 199 args.add(data.readString16()); 97 transact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument 186 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
/frameworks/rs/ |
H A D | rs.spec | 8 param void *data 23 param const uint8_t *data 59 param const void *data 68 param const void *data 129 param void * data 138 param const void *data 145 param const void *data 157 param const void *data 170 param const void *data 180 param void * data [all...] |
H A D | rsAdapter.cpp | 40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { argument 41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes, 0); 111 void Adapter2D::data(Context *rsc, uint32_t x, uint32_t y, uint32_t w, uint32_t h, argument 112 const void *data, size_t sizeBytes) { 113 mAllocation->data(rsc, x, y, mLOD, mFace, w, h, data, sizeBytes, 0);
|
H A D | rsAllocation.cpp | 97 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, argument 98 uint32_t count, const void *data, size_t sizeBytes) { 108 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 112 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument 113 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { 114 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); 118 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument 120 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) { 121 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 126 uint32_t count, void *data, size_ 125 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 139 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument 156 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument 168 elementData(Context *rsc, uint32_t x, const void *data, uint32_t cIdx, size_t sizeBytes) argument 196 elementData(Context *rsc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, size_t sizeBytes) argument 312 unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) argument 534 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument 541 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 547 rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, const void *data, size_t sizeBytes, size_t eoff) argument 553 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument 559 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument 565 rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument 572 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument 605 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument 627 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument 719 rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 725 rsi_Allocation2DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument [all...] |
/frameworks/volley/tests/src/com/android/volley/mock/ |
H A D | MockNetwork.java | 39 public void setDataToReturn(byte[] data) { argument 40 mDataToReturn = data;
|
/frameworks/base/tools/aidl/ |
H A D | aidl_language_l.l | 25 yylval.buffer.data = strdup(yytext); \ 103 yylval.buffer.data = strdup(yytext); 119 text->data = NULL; 132 if (g_nextExtraText->data == NULL) { 133 g_nextExtraText->data = strdup(text); 136 char* orig = g_nextExtraText->data; 140 g_nextExtraText->data = (char*)malloc(g_nextExtraText->len+1); 141 memcpy(g_nextExtraText->data, orig, oldLen); 142 memcpy(g_nextExtraText->data+oldLen, text, len); 143 g_nextExtraText->data[g_nextExtraTex [all...] |
/frameworks/av/services/audioflinger/ |
H A D | ISchedulingPolicyService.h | 38 const Parcel& data,
|