Searched defs:data (Results 26 - 50 of 784) sorted by relevance

1234567891011>>

/frameworks/av/drm/common/
H A DIDrmServiceListener.cpp28 Parcel data, reply; local
30 data.writeInterfaceToken(IDrmServiceListener::getInterfaceDescriptor());
31 data.writeInt32(event.getUniqueId());
32 data.writeInt32(event.getType());
33 data.writeString8(event.getMessage());
35 remote()->transact(NOTIFY, data, &reply);
42 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) {
47 CHECK_INTERFACE(IDrmServiceListener, data, reply);
48 int uniqueId = data.readInt32();
49 int type = data
41 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
[all...]
H A DReadWriteUtils.cpp78 void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) { argument
85 int size = data.size();
87 if (size != write(fd, data.string(), size)) {
88 ALOGE("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 ALOGE("Failed to write the data to: %s", filePath.string());
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DSessionLibrary.cpp67 const void* data, size_t size) {
69 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size);
66 findSession( const void* data, size_t size) argument
/frameworks/av/include/ndk/
H A DNdkMediaExtractor.h112 * Advance to the next sample. Returns false if no more sample data
129 * mapping of crypto scheme uuid to the scheme specific data for that scheme
134 void *data; member in struct:PsshEntry
138 * list of crypto schemes and their data
/frameworks/av/media/libmedia/
H A DIAudioFlingerClient.cpp44 Parcel data, reply; local
45 data.writeInterfaceToken(IAudioFlingerClient::getInterfaceDescriptor());
46 data.writeInt32(event);
47 data.writeInt32((int32_t) ioHandle);
51 data.writeInt32(stream);
55 data.writeInt32(desc->samplingRate);
56 data.writeInt32(desc->format);
57 data.writeInt32(desc->channelMask);
58 data.writeInt64(desc->frameCount);
59 data
69 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
[all...]
H A DIAudioPolicyServiceClient.cpp45 Parcel data, reply; local
46 data.writeInterfaceToken(IAudioPolicyServiceClient::getInterfaceDescriptor());
47 remote()->transact(PORT_LIST_UPDATE, data, &reply, IBinder::FLAG_ONEWAY);
52 Parcel data, reply; local
53 data.writeInterfaceToken(IAudioPolicyServiceClient::getInterfaceDescriptor());
54 remote()->transact(PATCH_LIST_UPDATE, data, &reply, IBinder::FLAG_ONEWAY);
63 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
67 CHECK_INTERFACE(IAudioPolicyServiceClient, data, reply);
72 CHECK_INTERFACE(IAudioPolicyServiceClient, data, reply);
77 return BBinder::onTransact(code, data, repl
62 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
[all...]
H A DIDrmClient.cpp45 Parcel data, reply; local
46 data.writeInterfaceToken(IDrmClient::getInterfaceDescriptor());
47 data.writeInt32((int)eventType);
48 data.writeInt32(extra);
50 data.appendFrom(const_cast<Parcel *>(obj), 0, obj->dataSize());
52 remote()->transact(NOTIFY, data, &reply, IBinder::FLAG_ONEWAY);
61 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
65 CHECK_INTERFACE(IDrmClient, data, reply);
66 int eventType = data.readInt32();
67 int extra = data
60 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
[all...]
H A DIMediaPlayerClient.cpp40 Parcel data, reply; local
41 data.writeInterfaceToken(IMediaPlayerClient::getInterfaceDescriptor());
42 data.writeInt32(msg);
43 data.writeInt32(ext1);
44 data.writeInt32(ext2);
46 data.appendFrom(const_cast<Parcel *>(obj), 0, obj->dataSize());
48 remote()->transact(NOTIFY, data, &reply, IBinder::FLAG_ONEWAY);
57 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
61 CHECK_INTERFACE(IMediaPlayerClient, data, reply);
62 int msg = data
56 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
[all...]
H A DIMediaRecorderClient.cpp40 Parcel data, reply; local
41 data.writeInterfaceToken(IMediaRecorderClient::getInterfaceDescriptor());
42 data.writeInt32(msg);
43 data.writeInt32(ext1);
44 data.writeInt32(ext2);
45 remote()->transact(NOTIFY, data, &reply, IBinder::FLAG_ONEWAY);
54 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
58 CHECK_INTERFACE(IMediaRecorderClient, data, reply);
59 int msg = data.readInt32();
60 int ext1 = data
53 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
[all...]
H A DIRemoteDisplay.cpp39 Parcel data, reply; local
40 data.writeInterfaceToken(IRemoteDisplay::getInterfaceDescriptor());
41 remote()->transact(PAUSE, data, &reply);
46 Parcel data, reply; local
47 data.writeInterfaceToken(IRemoteDisplay::getInterfaceDescriptor());
48 remote()->transact(RESUME, data, &reply);
54 Parcel data, reply; local
55 data.writeInterfaceToken(IRemoteDisplay::getInterfaceDescriptor());
56 remote()->transact(DISPOSE, data, &reply);
66 uint32_t code, const Parcel& data, Parce
65 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DActivityManager.cpp38 Parcel data, reply; local
39 data.writeInterfaceToken(String16("android.app.IActivityManager"));
40 data.writeString16(uri);
41 status_t ret = am->transact(OPEN_CONTENT_URI_TRANSACTION, data, &reply);
46 // failure by a zero int with no data following.
/frameworks/av/media/libstagefright/
H A DDataURISource.cpp27 if (strncasecmp("data:", uri, 5)) {
61 memcpy(buffer->data(), commaPos + 1, dataLen);
87 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { argument
97 memcpy(data, mBuffer->data() + offset, copy);
H A DThrottledSource.cpp34 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/mp3dec/src/
H A Dpvmp3_crc.cpp55 uint32 data, data vector
141 void calculate_crc(uint32 data, argument
152 if (!carry ^ !(data & masking))
/frameworks/av/media/libstagefright/foundation/
H A Dhexdump.cpp43 const uint8_t *data = (const uint8_t *)_data; local
63 sprintf(tmp, "%02x ", data[offset + i]);
75 if (isprint(data[offset + i])) {
76 line.append((char)data[offset + i]);
/frameworks/av/services/audioflinger/
H A DISchedulingPolicyService.cpp42 Parcel data, reply; local
43 data.writeInterfaceToken(ISchedulingPolicyService::getInterfaceDescriptor());
44 data.writeInt32(pid);
45 data.writeInt32(tid);
46 data.writeInt32(prio);
48 status_t status = remote()->transact(REQUEST_PRIORITY_TRANSACTION, data, &reply, flags);
68 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
76 return BBinder::onTransact(code, data, reply, flags);
67 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/av/soundtrigger/
H A DISoundTriggerClient.cpp45 Parcel data, reply; local
46 data.writeInterfaceToken(ISoundTriggerClient::getInterfaceDescriptor());
47 data.writeStrongBinder(eventMemory->asBinder());
49 data,
55 Parcel data, reply; local
56 data.writeInterfaceToken(ISoundTriggerClient::getInterfaceDescriptor());
57 data.writeStrongBinder(eventMemory->asBinder());
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/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/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/jni/
H A Dandroid_database_SQLiteGlobal.cpp38 static void sqliteLogCallback(void* data, int iErrCode, const char* zMsg) { argument
39 bool verboseLog = !!data;

Completed in 1190 milliseconds

1234567891011>>