/frameworks/av/media/libstagefright/foundation/ |
H A D | hexdump.cpp | 43 const uint8_t *data = (const uint8_t *)_data; local 63 snprintf(tmp, sizeof(tmp), "%02x ", data[offset + i]); 75 if (isprint(data[offset + i])) { 76 line.append((char)data[offset + i]);
|
/frameworks/av/media/mtp/ |
H A D | MtpDevHandle.cpp | 43 int MtpDevHandle::read(void *data, size_t len) { argument 44 return ::read(mFd, data, len); 47 int MtpDevHandle::write(const void *data, size_t len) { argument 48 return ::write(mFd, data, len);
|
/frameworks/av/media/ndk/include/media/ |
H A D | NdkMediaExtractor.h | 71 * Set the custom data source implementation from which the extractor will read. 124 * Advance to the next sample. Returns false if no more sample data 141 * mapping of crypto scheme uuid to the scheme specific data for that scheme 146 void *data; member in struct:PsshEntry 150 * list of crypto schemes and their data 194 * Returns the duration of cached media samples downloaded from a network data source 200 * Returns -1 when the extractor is not reading from a network data source, or when the 208 * SEI (supplemental enhancement information) and MPEG user data, both of which can embed 209 * closed-caption data.
|
/frameworks/av/soundtrigger/ |
H A D | ISoundTriggerClient.cpp | 45 Parcel data, reply; local 46 data.writeInterfaceToken(ISoundTriggerClient::getInterfaceDescriptor()); 47 data.writeStrongBinder(IInterface::asBinder(eventMemory)); 49 data, 55 Parcel data, reply; local 56 data.writeInterfaceToken(ISoundTriggerClient::getInterfaceDescriptor()); 57 data.writeStrongBinder(IInterface::asBinder(eventMemory)); 59 data, 64 Parcel data, reply; local 65 data 78 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
/frameworks/base/cmds/statsd/src/external/ |
H A D | ResourceHealthManagerPuller.cpp | 58 bool ResourceHealthManagerPuller::PullInternal(vector<shared_ptr<LogEvent>>* data) { argument 67 data->clear(); 80 data->push_back(ptr); 86 data->push_back(ptr);
|
H A D | SubsystemSleepStatePuller.cpp | 80 bool SubsystemSleepStatePuller::PullInternal(vector<shared_ptr<LogEvent>>* data) { argument 91 data->clear(); 95 [&data, wallClockTimestampNs, elapsedTimestampNs](hidl_vec<PowerStatePlatformSleepState> states, Status status) { 109 data->push_back(statePtr); 123 data->push_back(voterPtr); 142 [&data, wallClockTimestampNs, elapsedTimestampNs](hidl_vec<PowerStateSubsystem> subsystems, Status status) { 159 data->push_back(subsystemStatePtr);
|
/frameworks/base/cmds/statsd/src/ |
H A D | main.cpp | 44 * Thread function data. 54 log_reader_thread_data* data = static_cast<log_reader_thread_data*>(cookie); local 55 sp<LogReader> reader = new LogReader(data->service); 62 delete data; 74 // Thread data. 75 log_reader_thread_data* data = new log_reader_thread_data(); local 76 data->service = service; 89 err = pthread_create(&thread, &attr, log_reader_thread_func, static_cast<void*>(data));
|
/frameworks/base/core/java/android/app/backup/ |
H A D | AbsoluteFileBackupHelper.java | 53 * Based on oldState, determine which of the files from the application's data directory 54 * need to be backed up, write them to the data stream, and fill in newState with the 57 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 60 performBackup_checked(oldState, data, newState, mFiles, mFiles); 66 public void restoreEntity(BackupDataInputStream data) { argument 67 if (DEBUG) Log.d(TAG, "got entity '" + data.getKey() + "' size=" + data.size()); 68 String key = data.getKey(); 71 writeFile(f, data);
|
H A D | BackupAgentHelper.java | 25 * heterogeneous data sets within the backup data, each identified by a unique 28 * of which is responsible for a defined subset of the data being processed. 33 * install the handlers for each kind of data it wishes to manage within its backups. 37 * within an application's data directory hierarchy.</li> 39 * application's {@link android.content.SharedPreferences} data.</li></ul> 48 * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p> 64 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 66 mDispatcher.performBackup(oldState, data, newState); 73 public void onRestore(BackupDataInput data, in argument [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...] |
H A D | FileBackupHelper.java | 32 * During restore, if the helper encounters data for a file that was not 33 * specified when the FileBackupHelper object was constructed, that data 48 * application's data directory hierarchy. 63 * application's data directory need to be backed up, write them to the data 73 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 85 performBackup_checked(oldState, data, newState, fullPaths, files); 94 public void restoreEntity(BackupDataInputStream data) { argument 95 if (DEBUG) Log.d(TAG, "got entity '" + data.getKey() + "' size=" + data [all...] |
H A D | SharedPreferencesBackupHelper.java | 39 * data might look something like this: 51 * // identify the SharedPreferenceBackupHelper's data. 94 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 111 performBackup_checked(oldState, data, newState, files, prefGroups); 115 * Restores one entity from the restore data stream to its proper shared 118 public void restoreEntity(BackupDataInputStream data) { argument 121 String key = data.getKey(); 122 if (DEBUG) Log.d(TAG, "got entity '" + key + "' size=" + data.size()); 126 writeFile(f, data);
|
/frameworks/base/core/java/android/net/ |
H A D | ConnectivityMetricsEvent.java | 39 /** Opaque event-specific data. */ 40 public Parcelable data; field in class:ConnectivityMetricsEvent 50 data = in.readParcelable(null); 76 dest.writeParcelable(data, 0); 92 buffer.append("): ").append(data.toString());
|
/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/os/ |
H A D | ProxyFileDescriptorCallback.java | 60 * @param data Byte array to store read bytes. 64 public int onRead(long offset, int size, byte[] data) throws ErrnoException { argument 74 * @param data Byte array to be written to somewhere. 78 public int onWrite(long offset, int size, byte[] data) throws ErrnoException { argument 83 * Ensures all the written data are stored in permanent storage device. 84 * For example, if it has data stored in on memory cache, it needs to flush data to storage
|
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteGlobal.cpp | 38 static void sqliteLogCallback(void* data, int err, const char* msg) { argument 39 bool verboseLog = !!data;
|
/frameworks/base/drm/java/android/drm/ |
H A D | ProcessedData.java | 35 * @param data Rights data. 38 /* package */ ProcessedData(byte[] data, String accountId) { argument 39 mData = data; 46 * @param data Rights data. 50 /* package */ ProcessedData(byte[] data, String accountId, String subscriptionId) { argument 51 mData = data; 57 * Retrieves the processed data. 59 * @return The rights data [all...] |
/frameworks/base/libs/androidfw/ |
H A D | TypeWrappers.cpp | 23 TypeVariant::TypeVariant(const ResTable_type* data) : data(data), mLength(dtohl(data->entryCount)) { argument 24 if (data->flags & ResTable_type::FLAG_SPARSE) { 25 const uint32_t entryCount = dtohl(data->entryCount); 26 const uintptr_t containerEnd = reinterpret_cast<uintptr_t>(data) + dtohl(data->header.size); 28 reinterpret_cast<uintptr_t>(data) + dtohs(data [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | TypeWrappers_test.cpp | 61 uint8_t* data = (uint8_t*)malloc(t.header.size); local 62 uint8_t* p = data; 75 return data; 79 ResTable_type* data = (ResTable_type*) createTypeData(); local 81 TypeVariant v(data); 106 free(data);
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | FontRendererTests.cpp | 24 static bool isZero(uint8_t* data, int size) { argument 26 if (data[i]) return false; 47 auto result = fontRenderer.renderDropShadow(&paint, glyphs.data(), glyphs.size(), radius, 48 positions.data());
|
H A D | PathInterpolatorTests.cpp | 73 static std::vector<float> getX(const TestData& data) { argument 74 return data.x; 77 static std::vector<float> getY(const TestData& data) { argument 78 return data.y; 82 for (const TestData& data : sTestDataSet) { 83 PathInterpolator interpolator(getX(data), getY(data)); 84 for (size_t i = 0; i < data.inFraction.size(); i++) { 85 EXPECT_FLOAT_EQ(data.outFraction[i], interpolator.interpolate(data [all...] |
/frameworks/base/libs/storage/ |
H A D | IMountServiceListener.cpp | 42 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 46 CHECK_INTERFACE(IMountServiceListener, data, reply); 47 bool connected = (data.readInt32() != 0); 53 CHECK_INTERFACE(IMountServiceListener, data, reply); 54 String16 path = data.readString16(); 55 String16 oldState = data.readString16(); 56 String16 newState = data.readString16(); 62 return BBinder::onTransact(code, data, reply, flags); 41 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
H A D | IMountShutdownObserver.cpp | 37 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 41 CHECK_INTERFACE(IMountShutdownObserver, data, reply); 42 int32_t statusCode = data.readInt32(); 48 return BBinder::onTransact(code, data, reply, flags); 36 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
H A D | IObbActionListener.cpp | 42 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 46 CHECK_INTERFACE(IObbActionListener, data, reply); 47 String16 filename = data.readString16(); 48 int32_t nonce = data.readInt32(); 49 int32_t state = data.readInt32(); 55 return BBinder::onTransact(code, data, reply, flags); 41 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|