/frameworks/media/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorUtils.cpp | 55 const void* data; local 86 if (meta->findData(kKeyESDS, &type, &data, &size)) { 89 if (meta->findData(kKeyAVCC, &type, &data, &size)) { 90 LOG1("displayMetaData kKeyAVCC data=0x%X type=%d size=%d", 91 *((unsigned int*)data), type, size); 93 if (meta->findData(kKeyVorbisInfo, &type, &data, &size)) { 96 if (meta->findData(kKeyVorbisBooks, &type, &data, &size)) { 153 if (meta->findData(kKeyAlbumArt, &type, &data, &size)) { 205 AVCParamSet(uint16_t length, const uint8_t *data) argument 206 : mLength(length), mData(data) {} 219 parseParamSet(AVCCodecSpecificContext* pC, const uint8_t *data, size_t length, int type, size_t *paramSetLen) argument 264 buildAVCCodecSpecificData(uint8_t **pOutputData, size_t *pOutputSize, const uint8_t *data, size_t size, MetaData *param) argument [all...] |
/frameworks/base/libs/rs/ |
H A D | rsThreadIO.cpp | 74 void ThreadIO::coreData(const void *data, size_t dataLen) { argument 75 //LOGE("coreData %p %i", data, dataLen); 76 mToCoreSocket.writeAsync(data, dataLen); 106 void ThreadIO::coreSetReturn(const void *data, size_t dataLen) { argument 108 memcpy(&mToCoreRet, data, dataLen); 111 void ThreadIO::coreGetReturn(void *data, size_t dataLen) { argument 112 memcpy(data, &mToCoreRet, dataLen); 139 const void * data = mToCore.get(&cmdID, &cmdSize, delay); local 155 gPlaybackFuncs[cmdID](con, data, cmdSize << 2); 180 RsMessageToClientType ThreadIO::getClientPayload(void *data, size_ [all...] |
H A D | rsAdapter.h | 49 void subData(uint32_t xoff, uint32_t count, const void *data); 50 void data(const void *data); 84 void data(const void *data); 85 void subData(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | WallpaperBackupHelper.java | 41 private static final String WALLPAPER_IMAGE = "/data/data/com.android.settings/files/wallpaper"; 46 private static final String STAGE_FILE = "/data/data/com.android.settings/files/wallpaper-tmp"; 86 * Based on oldState, determine which of the files from the application's data directory 87 * need to be backed up, write them to the data stream, and fill in newState with the 90 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 92 performBackup_checked(oldState, data, newState, mFiles, mFiles); 100 public void restoreEntity(BackupDataInputStream data) { argument 101 final String key = data [all...] |
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...] |
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringInternal.java | 101 int[] data = mSpanData; 105 int ostart = data[i * COLUMNS + START]; 106 int oend = data[i * COLUMNS + END]; 108 data[i * COLUMNS + START] = start; 109 data[i * COLUMNS + END] = end; 110 data[i * COLUMNS + FLAGS] = flags; 142 int[] data = mSpanData; 146 int ostart = data[i * COLUMNS + START]; 147 int oend = data[i * COLUMNS + END]; 152 System.arraycopy(data, ( [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | SubActivityScreen.java | 109 Intent data) { 131 } else if (data == null) { 133 "null data returned")); 134 } else if (!("test".equals(data.getAction()))) { 136 "Incorrect action returned: " + data)); 137 } else if (!("tval".equals(data.getStringExtra("tkey")))) { 139 "Incorrect extras returned: " + data.getExtras())); 108 onActivityResult(int requestCode, int resultCode, Intent data) argument
|
/frameworks/base/drm/common/ |
H A D | ReadWriteUtils.cpp | 78 void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) { argument 85 int size = data.size(); 87 if (size != write(fd, data.string(), size)) { 88 LOGE("Failed to write the data to: %s", filePath.string()); 95 void ReadWriteUtils::appendToFile(const String8& filePath, const String8& data) { argument 102 int size = data.size(); 103 if (size != write(fd, data.string(), size)) { 104 LOGE("Failed to write the data to: %s", filePath.string());
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IccFileHandler.java | 89 /** Finished retrieving icon data; post result. */ 226 * retrive STK's icon data. 247 * @param data must be exactly as long as the record in the EF 252 public void updateEFLinearFixed(int fileid, int recordNum, byte[] data, argument 255 recordNum, READ_RECORD_MODE_ABSOLUTE, data.length, 256 IccUtils.bytesToHexString(data), pin2, onComplete); 262 * @param data must be exactly as long as the EF 264 public void updateEFTransparent(int fileid, byte[] data, Message onComplete) { argument 266 0, 0, data.length, 267 IccUtils.bytesToHexString(data), nul [all...] |
/frameworks/base/core/java/android/os/ |
H A D | DropBoxManager.java | 32 * Enqueues chunks of data (from various sources -- application crashes, kernel 33 * log records, etc.). The queue is size bounded and will drop old data if the 34 * enqueued data exceeds the maximum size. You can think of this as a 122 * The data array must not be modified after creating this entry. 124 public Entry(String tag, long millis, byte[] data, int flags) { argument 126 if (((flags & IS_EMPTY) != 0) != (data == null)) { 132 mData = data; 138 * Create a new Entry with streaming data contents. 141 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { argument 143 if (((flags & IS_EMPTY) != 0) != (data 158 Entry(String tag, long millis, File data, int flags) argument 271 addText(String tag, String data) argument 282 addData(String tag, byte[] data, int flags) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | SimpleAdapter.java | 30 * An easy adapter to map static data to views defined in an XML file. You can specify the data 32 * in the list. The Maps contain the data for each row. You also specify an XML file that 36 * Binding data to views occurs in two phases. First, if a 68 * @param data A List of Maps. Each entry in the List corresponds to one row in the list. The 69 * Maps contain the data for each row, and should include all the entries specified in 79 public SimpleAdapter(Context context, List<? extends Map<String, ?>> data, argument 81 mData = data; 160 final Object data = dataSet.get(from[i]); 161 String text = data 315 setViewValue(View view, Object data, String textRepresentation) argument [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/ |
H A D | h264bsdWriteMacroblock.s | 26 data RN 1 label 78 ; data pointer to macroblock data to be written, 256 values for 100 VLD1 {qRow0, qRow1}, [data]! 102 VLD1 {qRow2, qRow3}, [data]! 105 VLD1 {qRow4, qRow5}, [data]! 107 VLD1 {qRow6, qRow7}, [data]! 109 VLD1 {qRow8, qRow9}, [data]! 111 VLD1 {qRow10, qRow11}, [data]! 113 VLD1 {qRow12, qRow13}, [data]! [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
H A D | h264bsdWriteMacroblock.S | 28 #define data r1 define 80 data pointer to macroblock data to be written, 256 values for 102 VLD1 {qRow0, qRow1}, [data]! 104 VLD1 {qRow2, qRow3}, [data]! 107 VLD1 {qRow4, qRow5}, [data]! 109 VLD1 {qRow6, qRow7}, [data]! 111 VLD1 {qRow8, qRow9}, [data]! 113 VLD1 {qRow10, qRow11}, [data]! 115 VLD1 {qRow12, qRow13}, [data]! [all...] |
/frameworks/base/test-runner/src/junit/runner/ |
H A D | TestCaseClassLoader.java | 100 byte[] data= lookupClassData(name); 101 if (data == null) 103 c= defineClass(name, data, 0, data.length); 111 byte[] data= null; 116 data= loadJarData(path, fileName); 118 data= loadFileData(path, fileName); 120 if (data != null) 121 return data; 174 byte[] data [all...] |
/frameworks/base/cmds/stagefright/ |
H A D | WaveWriter.h | 49 void Append(const void *data, size_t size) { argument 50 fwrite(data, 1, size, mFile);
|
/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/java/android/webkit/ |
H A D | KeyStoreHandler.java | 41 * Add data to the internal collection of data. 42 * @param data A byte array containing the content. 43 * @param length The length of data. 45 public void didReceiveData(byte[] data, int length) { argument 47 mDataBuilder.append(data, 0, length); 55 // This must be synchronized so that no more data can be added
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchPeeker.cpp | 23 bool NinePatchPeeker::peek(const char tag[], const void* data, size_t length) { argument 25 Res_png_9patch* patch = (Res_png_9patch*) data; 28 // You have to copy the data because it is owned by the png reader
|
/frameworks/base/include/binder/ |
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/libs/binder/ |
H A D | Binder.cpp | 97 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 99 data.setDataPosition(0); 107 err = onTransact(code, data, reply, flags); 186 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 194 int fd = data.readFileDescriptor(); 195 int argc = data.readInt32(); 197 for (int i = 0; i < argc && data.dataAvail() > 0; i++) { 198 args.add(data.readString16()); 96 transact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument 185 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPoolThread.h | 32 SoundPoolMsg(MessageType MessageType, int data) : argument 33 mMessageType(MessageType), mData(data) {}
|
/frameworks/base/media/libstagefright/foundation/ |
H A D | ABuffer.cpp | 34 ABuffer::ABuffer(void *data, size_t capacity) argument 35 : mData(data),
|
/frameworks/base/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/media/libstagefright/include/ |
H A D | ESDS.h | 29 ESDS(const void *data, size_t size); 35 status_t getCodecSpecificInfo(const void **data, size_t *size) const;
|