/frameworks/av/media/libstagefright/omx/ |
H A D | SimpleSoftOMXComponent.cpp | 57 OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data) { 58 CHECK(data == NULL); 310 // This buffer's data was allocated by us. 56 sendCommand( OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data) argument
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TextDescriptions.cpp | 27 const uint8_t *data, ssize_t size, 33 return extract3GPPGlobalDescriptions(data, size, parcel); 35 return extract3GPPLocalDescriptions(data, size, timeMs, parcel); 39 return extractSRTLocalDescriptions(data, size, timeMs, parcel); 50 const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) { 60 parcel->write(data, size); 71 const uint8_t *data, ssize_t size, 83 ssize_t textLen = (*data) << 8 | (*(data + 1)); 93 parcel->write(data 26 getParcelOfDescriptions( const uint8_t *data, ssize_t size, uint32_t flags, int timeMs, Parcel *parcel) argument 49 extractSRTLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) argument 70 extract3GPPLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) argument 374 extract3GPPGlobalDescriptions( const uint8_t *data, ssize_t size, Parcel *parcel) argument [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaDataSource.cpp | 62 ssize_t NdkDataSource::readAt(off64_t offset, void *data, size_t size) { argument 67 return mDataSource->readAt(mDataSource->userdata, offset, data, size);
|
H A D | NdkMediaMuxer.cpp | 99 size_t trackIdx, const uint8_t *data, const AMediaCodecBufferInfo *info) { 100 sp<ABuffer> buf = new ABuffer((void*)(data + info->offset), info->size); 98 AMediaMuxer_writeSampleData(AMediaMuxer *muxer, size_t trackIdx, const uint8_t *data, const AMediaCodecBufferInfo *info) argument
|
/frameworks/av/media/utils/ |
H A D | ISchedulingPolicyService.cpp | 44 Parcel data, reply; local 45 data.writeInterfaceToken(ISchedulingPolicyService::getInterfaceDescriptor()); 46 data.writeInt32(pid); 47 data.writeInt32(tid); 48 data.writeInt32(prio); 49 data.writeBool(isForApp); 51 status_t status = remote()->transact(REQUEST_PRIORITY_TRANSACTION, data, &reply, flags); 67 Parcel data, reply; local 68 data.writeInterfaceToken(ISchedulingPolicyService::getInterfaceDescriptor()); 69 data 87 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
/frameworks/av/services/medialog/ |
H A D | MediaLogService.cpp | 32 // mMergerShared. This is the local memory FIFO containing data merged from all 34 // call NBLog::Merger::merge() to collect the data and write it to the FIFO, and call 35 // NBLog::MergeReader::getAndProcessSnapshot to process the merged data. 140 status_t MediaLogService::onTransact(uint32_t code, const Parcel& data, Parcel* reply, argument 143 return BnMediaLogService::onTransact(code, data, reply, flags);
|
/frameworks/av/soundtrigger/ |
H A D | ISoundTrigger.cpp | 48 Parcel data, reply; local 49 data.writeInterfaceToken(ISoundTrigger::getInterfaceDescriptor()); 50 remote()->transact(DETACH, data, &reply); 59 Parcel data, reply; local 60 data.writeInterfaceToken(ISoundTrigger::getInterfaceDescriptor()); 61 data.writeStrongBinder(IInterface::asBinder(modelMemory)); 62 status_t status = remote()->transact(LOAD_SOUND_MODEL, data, &reply); 75 Parcel data, reply; local 76 data.writeInterfaceToken(ISoundTrigger::getInterfaceDescriptor()); 77 data 88 Parcel data, reply; local 106 Parcel data, reply; local 122 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | ISoundTriggerHwService.cpp | 59 Parcel data, reply; local 60 data.writeInterfaceToken(ISoundTriggerHwService::getInterfaceDescriptor()); 62 data.writeInt32(numModulesReq); 63 status_t status = remote()->transact(LIST_MODULES, data, &reply); 84 Parcel data, reply; local 85 data.writeInterfaceToken(ISoundTriggerHwService::getInterfaceDescriptor()); 86 data.write(&handle, sizeof(sound_trigger_module_handle_t)); 87 data.writeStrongBinder(IInterface::asBinder(client)); 88 status_t status = remote()->transact(ATTACH, data, &reply); 101 Parcel data, repl local 117 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
H A D | ParcelArrayPerfTest.java | 41 public static Collection<Object[]> data() { method in class:ParcelArrayPerfTest
|
/frameworks/base/cmds/incidentd/src/ |
H A D | FdBuffer.cpp | 101 VLOG("Truncating data"); 138 // A circular buffer holds data read from fd and writes to parsing process 143 // This is the buffer used to store processed data 258 EncodedBuffer::iterator FdBuffer::data() const { return mBuffer.begin(); } function in class:android::os::incidentd::FdBuffer
|
/frameworks/base/cmds/statsd/src/external/ |
H A D | StatsPullerManager.h | 48 vector<std::shared_ptr<LogEvent>>* data) { 49 return mPullerManager.Pull(tagId, timesNs, data); 47 Pull(const int tagId, const int64_t timesNs, vector<std::shared_ptr<LogEvent>>* data) argument
|
/frameworks/base/cmds/statsd/tests/e2e/ |
H A D | GaugeMetric_e2e_pull_test.cpp | 140 auto data = gaugeMetrics.data(0); local 141 EXPECT_EQ(android::util::TEMPERATURE, data.dimensions_in_what().field()); 142 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); 144 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); 145 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); 146 EXPECT_EQ(6, data.bucket_info_size()); 148 EXPECT_EQ(1, data.bucket_info(0).atom_size()); 149 EXPECT_EQ(1, data.bucket_info(0).elapsed_timestamp_nanos_size()); 150 EXPECT_EQ(configAddedTimeNs + 55, data 263 auto data = gaugeMetrics.data(0); local 368 auto data = gaugeMetrics.data(0); local [all...] |
H A D | ValueMetric_pull_e2e_test.cpp | 135 auto data = valueMetrics.data(0); local 136 EXPECT_EQ(android::util::TEMPERATURE, data.dimensions_in_what().field()); 137 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); 139 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); 140 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); 141 EXPECT_EQ(5, data.bucket_info_size()); 143 EXPECT_EQ(baseTimeNs + 2 * bucketSizeNs, data.bucket_info(0).start_bucket_elapsed_nanos()); 144 EXPECT_EQ(baseTimeNs + 3 * bucketSizeNs, data.bucket_info(0).end_bucket_elapsed_nanos()); 145 EXPECT_TRUE(data 243 auto data = valueMetrics.data(0); local [all...] |
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/ |
H A D | MainActivity.java | 176 byte[] data = mStatsManager.getReports(CONFIG_ID); 177 if (data != null) { 178 displayData(data); 182 Log.e(TAG, "Failed to get data from statsd", e); 291 private void displayData(byte[] data) { argument 294 if (data != null) { 296 reports = com.android.os.StatsLog.ConfigMetricsReportList.parseFrom(data); 302 int size = data == null ? 0 : data.length;
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityGroup.java | 112 Intent data, String reason) { 118 + ", resCode=" + resultCode + ", data=" + data 122 act.onActivityResult(requestCode, resultCode, data); 126 super.dispatchActivityResult(who, requestCode, resultCode, data, reason); 111 dispatchActivityResult(String who, int requestCode, int resultCode, Intent data, String reason) argument
|
H A D | ResultInfo.java | 35 Intent data) { 39 mData = data; 44 + ", result=" + mResultCode + ", data=" + mData + "}"; 34 ResultInfo(String resultWho, int requestCode, int resultCode, Intent data) argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInput.java | 26 * information from the backup data set, via its 28 * method. The data is presented as a set of "entities," each 32 * byte array that holds the raw data saved in the remote backup. 34 * The agent must consume every entity in the data stream, otherwise the 42 * public void onRestore(BackupDataInput data, int appVersionCode, 44 * while (data.readNextHeader()) { 45 * String key = data.getKey(); 46 * int dataSize = data.getDataSize(); 51 * data.readEntityData(buffer, 0, dataSize); // reads the entire entity at once 53 * // now 'buffer' holds the raw data an 163 readEntityData(byte[] data, int offset, int size) argument 196 readEntityData_native(long mBackupReader, byte[] data, int offset, int size) argument [all...] |
H A D | BackupDataOutput.java | 27 * information to the backup data set, via its {@link 30 * as a set of "entities," key/value pairs in which each binary data record "value" is 33 * To commit a data record to the backup transport, the agent's 42 * data set. If a backup agent writes a new entity under an existing key string, its value will 43 * replace any previous value in the transport's remote data store. You can remove a record 44 * entirely from the remote data set by writing a new entity header using the 54 * public void {@link BackupAgent#onBackup(ParcelFileDescriptor, BackupDataOutput, ParcelFileDescriptor) onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState)} 58 * data.writeEntityHeader(MY_STRING_KEY, stringBytes.length); 59 * data.writeEntityData(stringBytes, stringBytes.length); 73 * Construct a BackupDataOutput purely for data 144 writeEntityData(byte[] data, int size) argument 172 writeEntityData_native(long mBackupWriter, byte[] data, int size) argument [all...] |
H A D | BackupHelperDispatcher.java | 45 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 61 doOneBackup(oldState, data, newState, header, helper); 75 doOneBackup(oldState, data, newState, header, helper); 79 private void doOneBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 91 data.setKeyPrefix(header.keyPrefix); 94 helper.performBackup(oldState, data, newState); 133 input.skipEntityData(); // In case they didn't consume the data.
|
/frameworks/base/core/java/android/database/ |
H A D | BulkCursorNative.java | 57 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 62 data.enforceInterface(IBulkCursor.descriptor); 63 int startPos = data.readInt(); 76 data.enforceInterface(IBulkCursor.descriptor); 83 data.enforceInterface(IBulkCursor.descriptor); 90 data.enforceInterface(IBulkCursor.descriptor); 92 IContentObserver.Stub.asInterface(data.readStrongBinder()); 101 data.enforceInterface(IBulkCursor.descriptor); 102 int position = data.readInt(); 109 data [all...] |
/frameworks/base/core/java/android/hardware/location/ |
H A D | ContextHubMessage.java | 61 * get message data 63 * @return byte[] - message data buffer 88 * set message data 90 * @param data - message buffer 92 public void setMsgData(byte[] data) { argument 93 mData = Arrays.copyOf(data, data.length); 101 * @param data - message buffer 103 public ContextHubMessage(int msgType, int version, byte[] data) { argument 106 mData = Arrays.copyOf(data, dat [all...] |
/frameworks/base/core/java/android/net/ |
H A D | KeepalivePacketData.java | 53 /** Packet data. A raw byte string of packet data, not including the link-layer header. */ 62 InetAddress dstAddress, int dstPort, byte[] data) throws InvalidPacketException { 67 this.mPacket = data; 61 KeepalivePacketData(InetAddress srcAddress, int srcPort, InetAddress dstAddress, int dstPort, byte[] data) argument
|
/frameworks/base/core/java/android/nfc/tech/ |
H A D | MifareUltralight.java | 40 * 4 pages are for the OTP area, manufacturer data, and locking bits. They are 42 * read/write area. For more information see the NXP data sheet MF0ICU1. 45 * are for OTP, manufacturer data, and locking bits. The next 36 pages are the 49 * NXP data sheet MF0ICU2. 180 * @param data 4 bytes to write 184 public void writePage(int pageOffset, byte[] data) throws IOException { argument 188 byte[] cmd = new byte[data.length + 2]; 191 System.arraycopy(data, 0, cmd, 2, data.length); 197 * Send raw NfcA data t 214 transceive(byte[] data) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ServiceManagerNative.java | 52 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 57 data.enforceInterface(IServiceManager.descriptor); 58 String name = data.readString(); 65 data.enforceInterface(IServiceManager.descriptor); 66 String name = data.readString(); 73 data.enforceInterface(IServiceManager.descriptor); 74 String name = data.readString(); 75 IBinder service = data.readStrongBinder(); 76 boolean allowIsolated = data.readInt() != 0; 77 int dumpPriority = data [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | SyncStateContract.java | 30 * The ContentProvider contract for associating data with ana data array account. 31 * This may be used by providers that want to store this data in a standard way. 36 * A reference to the name of the account to which this data belongs 42 * A reference to the type of the account to which this data belongs 48 * The sync data associated with this account. 51 public static final String DATA = "data"; 94 * Assigns the data array as the sync state for the given account. 99 * @param data the byte[] that contains the sync state 104 Account account, byte[] data) throw 103 set(ContentProviderClient provider, Uri uri, Account account, byte[] data) argument 112 insert(ContentProviderClient provider, Uri uri, Account account, byte[] data) argument 121 update(ContentProviderClient provider, Uri uri, byte[] data) argument 158 newSetOperation(Uri uri, Account account, byte[] data) argument 178 newUpdateOperation(Uri uri, byte[] data) argument [all...] |