/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 37 bool ASessionDescription::setTo(const void *data, size_t size) { argument 38 mIsValid = parse(data, size); 48 bool ASessionDescription::parse(const void *data, size_t size) { argument 55 AString desc((const char *)data, size);
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 128 AString data; local 133 if ((err = readNextLine(offset, &data)) != OK) { 136 data.trim(); 137 } while (data.empty()); 140 if ((err = readNextLine(offset, &data)) != OK) { 146 if (sscanf(data.c_str(), "%02d:%02d:%02d,%03d --> %02d:%02d:%02d,%03d", 160 if ((err = readNextLine(offset, &data)) != OK) { 168 data.trim(); 169 if (data.empty()) { 178 status_t TimedTextSRTSource::readNextLine(off64_t *offset, AString *data) { argument 272 const void *data = text.c_str(); local [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | udptest.cpp | 193 sp<ABuffer> data; local 194 CHECK(msg->findBuffer("data", &data)); 213 sp<ABuffer> buffer = new ABuffer(data->size() + 8); 214 memcpy(buffer->data(), data->data(), data->size()); 216 uint8_t *ptr = buffer->data() + data [all...] |
/frameworks/av/services/audioflinger/ |
H A D | test-resample.cpp | 45 strncpy(data, "data", 4); 60 char data[4]; // "data" member in struct:HeaderWav
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | CameraMetadata.cpp | 103 "got type %s data instead ", 113 const int32_t *data, size_t data_count) { 118 return update(tag, (const void*)data, data_count); 122 const uint8_t *data, size_t data_count) { 127 return update(tag, (const void*)data, data_count); 131 const float *data, size_t data_count) { 136 return update(tag, (const void*)data, data_count); 140 const int64_t *data, size_t data_count) { 145 return update(tag, (const void*)data, data_count); 149 const double *data, size_ 112 update(uint32_t tag, const int32_t *data, size_t data_count) argument 121 update(uint32_t tag, const uint8_t *data, size_t data_count) argument 130 update(uint32_t tag, const float *data, size_t data_count) argument 139 update(uint32_t tag, const int64_t *data, size_t data_count) argument 148 update(uint32_t tag, const double *data, size_t data_count) argument 157 update(uint32_t tag, const camera_metadata_rational_t *data, size_t data_count) argument 175 update(uint32_t tag, const void *data, size_t data_count) argument [all...] |
H A D | StreamingProcessor.cpp | 548 uint8_t *data = (uint8_t*)heap->getBase() + offset; local 550 *((uint32_t*)data) = type; 551 *((buffer_handle_t*)(data + 4)) = imgBuffer.mGraphicBuffer->handle; 586 uint8_t *data = (uint8_t*)heap->getBase() + offset; local 587 uint32_t type = *(uint32_t*)data; 597 buffer_handle_t imgHandle = *(buffer_handle_t*)(data + 4);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 43 * application and Android's data backup infrastructure. An application that wishes 56 * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div> 60 * When the application makes changes to data that it wishes to keep backed up, 69 * there is a previously-saved data set available for the application being installed, and if so, 70 * begins an immediate restore pass to deliver the backup data as part of the installation 83 * A backup data set consists of one or more "entities," flattened binary data 84 * records that are each identified with a key string unique within the data set. Adding a 85 * record to the active data set or updating an existing record is done by simply 86 * writing new entity data unde 177 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument 211 onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument 219 onFullBackup(FullBackupDataOutput data) argument 410 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument 421 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument 479 doBackup(ParcelFileDescriptor oldState, ParcelFileDescriptor data, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument 508 doRestore(ParcelFileDescriptor data, int appVersionCode, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument 535 doFullBackup(ParcelFileDescriptor data, int token, IBackupManager callbackBinder) argument 571 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/content/ |
H A D | ContentProviderNative.java | 76 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 82 data.enforceInterface(IContentProvider.descriptor); 84 Uri url = Uri.CREATOR.createFromParcel(data); 87 int num = data.readInt(); 92 projection[i] = data.readString(); 97 String selection = data.readString(); 98 num = data.readInt(); 103 selectionArgs[i] = data.readString(); 107 String sortOrder = data.readString(); 109 data [all...] |
H A D | IntentSender.java | 49 * the system describing the original data used to retrieve it. This means 53 * same kind of IntentSender (same operation, same Intent action, data, 96 * @param resultData The final data collected by a broadcast. 117 public void performReceive(Intent intent, int resultCode, String data, argument 121 mResultData = data; 143 * @param intent Additional Intent data. See {@link Intent#fillIn 169 * @param intent Additional Intent data. See {@link Intent#fillIn
|
H A D | Loader.java | 27 * An abstract class that performs asynchronous loading of data. While Loaders are active 28 * they should monitor the source of their data and deliver new results when the contents 64 * it to the Loader to have the loader re-load its data when the observer 67 * an update when the cursor's backing data changes. 87 * loading its data. You do not normally need to implement this yourself; 98 * @param data the result of the load 100 public void onLoadComplete(Loader<D> loader, D data); argument 105 * before it finished loading its data. You do not normally need to implement 139 * @param data the result of the load 141 public void deliverResult(D data) { argument 487 dataToString(D data) argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | StringBlock.java | 30 * Conveniences for retrieving data out of a compiled string resource. 45 public StringBlock(byte[] data, boolean useSparse) { argument 46 mNative = nativeCreate(data, 0, data.length); 53 public StringBlock(byte[] data, int offset, int size, boolean useSparse) { argument 54 mNative = nativeCreate(data, offset, size); 426 private static final native int nativeCreate(byte[] data, argument
|
H A D | TypedArray.java | 55 * Return the number of indices in the array that actually have data. 62 * Return an index in the array that has data. 86 * @return CharSequence holding string data. May be styled. Returns 91 final int[] data = mData; 92 final int type = data[index+AssetManager.STYLE_TYPE]; 114 * @return String holding string data. Any styling information is 119 final int[] data = mData; 120 final int type = data[index+AssetManager.STYLE_TYPE]; 148 * @return String holding string data. Any styling information is 154 final int[] data 730 TypedArray(Resources resources, int[] data, int[] indices, int len) argument [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | IInputMethodSessionWrapper.java | 202 public void appPrivateCommand(String action, Bundle data) { argument 203 mCaller.executeOrSendMessage(mCaller.obtainMessageOO(DO_APP_PRIVATE_COMMAND, action, data));
|
/frameworks/base/core/java/android/net/http/ |
H A D | AndroidHttpClient.java | 80 // Gzip of data shorter than this probably won't be worthwhile 213 * then this will get a stream over the uncompressed data. 295 * Compress data to send to server. 296 * Creates a Http Entity holding the gzipped data. 297 * The data will not be compressed if it is too short. 298 * @param data The bytes to compress 299 * @return Entity holding the data 301 public static AbstractHttpEntity getCompressedEntity(byte data[], ContentResolver resolver) argument 304 if (data.length < getMinGzipSize(resolver)) { 305 entity = new ByteArrayEntity(data); [all...] |
/frameworks/base/core/java/android/nfc/tech/ |
H A D | MifareClassic.java | 438 * @param data 16 bytes of data to write 442 public void writeBlock(int blockIndex, byte[] data) throws IOException { argument 445 if (data.length != 16) { 449 byte[] cmd = new byte[data.length + 2]; 452 System.arraycopy(data, 0, cmd, 2, data.length); 558 * Send raw NfcA data to a tag and receive the response. 575 public byte[] transceive(byte[] data) throws IOException { argument 576 return transceive(data, tru [all...] |
/frameworks/base/core/java/android/os/ |
H A D | AsyncTask.java | 552 * of the data to be over-written by an older one, leading to obscure data 662 AsyncTaskResult(AsyncTask task, Data... data) { argument 664 mData = data;
|
H A D | Binder.java | 226 protected boolean onTransact(int code, Parcel data, Parcel reply, argument 232 ParcelFileDescriptor fd = data.readFileDescriptor(); 233 String[] args = data.readStringArray(); 304 public final boolean transact(int code, Parcel data, Parcel reply, argument 307 if (data != null) { 308 data.setDataPosition(0); 310 boolean r = onTransact(code, data, reply, flags); 344 Parcel data = Parcel.obtain(dataObj); 351 res = onTransact(code, data, reply, flags); 367 data 381 transact(int code, Parcel data, Parcel reply, int flags) argument [all...] |
H A D | CommonClock.java | 325 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 329 data.enforceInterface(DESCRIPTOR); 330 long timelineId = data.readLong(); 338 return super.onTransact(code, data, reply, flags); 351 android.os.Parcel data = android.os.Parcel.obtain(); 356 data.writeInterfaceToken(mInterfaceDesc); 357 data.writeStrongBinder(mCallbackTgt); 358 mRemote.transact(METHOD_REGISTER_LISTENER, data, reply, 0); 366 data.recycle(); 383 android.os.Parcel data [all...] |
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...] |
H A D | Message.java | 23 * Defines a message containing a description and arbitrary data object that can be 59 * implemented by the application). For other data transfer use 87 /*package*/ Bundle data; field in class:Message 132 if (orig.data != null) { 133 m.data = new Bundle(orig.data); 261 * Make this message like o. Performs a shallow copy of the data field. 273 if (o.data != null) { 274 this.data = (Bundle) o.data 351 setData(Bundle data) argument [all...] |
H A D | ParcelFileDescriptor.java | 217 * Create two ParcelFileDescriptors structured as a data pipe. The first 234 * Gets a file descriptor for a read-only copy of the given data. 236 * @param data Data to copy. 243 public static ParcelFileDescriptor fromData(byte[] data, String name) throws IOException { argument 244 if (data == null) return null; 245 MemoryFile file = new MemoryFile(name, data.length); 246 if (data.length > 0) { 247 file.writeBytes(data, 0, 0, data.length);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceFragment.java | 56 * preferences in an XML file via {@link Activity} meta-data 66 * {@link Activity} can specify meta-data in the manifest (via the key 227 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 228 super.onActivityResult(requestCode, resultCode, data); 230 mPreferenceManager.dispatchActivityResult(requestCode, resultCode, data);
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | BlockingAudioTrack.java | 13 * data has been flushed to the mixer, and is estimated to have completed 117 public int write(byte[] data) { argument 126 final int bytesWritten = writeToAudioTrack(track, data); 165 // all data from the audioTrack has been sent to the mixer, so
|
/frameworks/base/core/java/android/util/ |
H A D | EventLog.java | 76 /** @param data containing event, read from the system */ 77 /*package*/ Event(byte[] data) { argument 78 mBuffer = ByteBuffer.wrap(data);
|
/frameworks/base/core/java/android/view/ |
H A D | DragEvent.java | 27 * operation. It is a complex data structure that contains several important pieces of data about 28 * the operation and the underlying data. 42 * Most methods return valid data only for certain event actions. This is summarized in the 44 * other columns indicate which method or methods return valid data for that getAction() value: 115 * {@link android.view.DragEvent#toString()} methods always return valid data. 149 * from {@link #getClipDescription()} to determine if they can accept the data contained in 150 * this drag. For an operation that doesn't represent data transfer, these methods may 186 * The View should retrieve the data from the DragEvent by calling {@link #getClipData()}. 255 private void init(int action, float x, float y, ClipDescription description, ClipData data, argument 271 obtain(int action, float x, float y, Object localState, ClipDescription description, ClipData data, boolean result) argument [all...] |