Searched defs:data (Results 51 - 75 of 1246) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/foundation/
H A Dhexdump.cpp43 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 DMtpDevHandle.cpp43 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 DNdkMediaExtractor.h71 * 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 DISoundTriggerClient.cpp45 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 DResourceHealthManagerPuller.cpp58 bool ResourceHealthManagerPuller::PullInternal(vector<shared_ptr<LogEvent>>* data) { argument
67 data->clear();
80 data->push_back(ptr);
86 data->push_back(ptr);
H A DSubsystemSleepStatePuller.cpp80 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 Dmain.cpp44 * 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 DAbsoluteFileBackupHelper.java53 * 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 DBackupAgentHelper.java25 * 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 DBackupDataInputStream.java24 * 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 DFileBackupHelper.java32 * 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 DSharedPreferencesBackupHelper.java39 * 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 DConnectivityMetricsEvent.java39 /** 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 DNfcB.java109 * @param data bytes to send
114 public byte[] transceive(byte[] data) throws IOException { argument
115 return transceive(data, true);
H A DNfcV.java109 * @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 DProxyFileDescriptorCallback.java60 * @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 Dandroid_database_SQLiteGlobal.cpp38 static void sqliteLogCallback(void* data, int err, const char* msg) { argument
39 bool verboseLog = !!data;
/frameworks/base/drm/java/android/drm/
H A DProcessedData.java35 * @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 DTypeWrappers.cpp23 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 DTypeWrappers_test.cpp61 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 DFontRendererTests.cpp24 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 DPathInterpolatorTests.cpp73 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 DIMountServiceListener.cpp42 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 DIMountShutdownObserver.cpp37 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 DIObbActionListener.cpp42 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

Completed in 158 milliseconds

1234567891011>>