/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic.h | 50 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength); 51 virtual void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, 53 virtual void setGlobalBind(uint32_t slot, Allocation *data); 54 virtual void setGlobalObj(uint32_t slot, ObjectBase *data);
|
/frameworks/wilhelm/src/android/include/ |
H A D | AacBqToPcmCbRenderer.h | 27 // Class to receive AAC ADTS data through an Android Buffer Queue, decode it and output 30 // of the data source creation, but all other behavior remains the same (e.g. PCM format metadata) 41 // This is for instance used whenever ADTS data is being enqueued through an 42 // SL / XA AndroidBufferQueue interface so only parseable ADTS data goes in 44 static SLresult validateBufferStartEndOnFrameBoundaries(void* data, size_t size);
|
/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 176 "got type %s data instead ", 186 const int32_t *data, size_t data_count) { 195 return updateImpl(tag, (const void*)data, data_count); 199 const uint8_t *data, size_t data_count) { 208 return updateImpl(tag, (const void*)data, data_count); 212 const float *data, size_t data_count) { 221 return updateImpl(tag, (const void*)data, data_count); 225 const int64_t *data, size_t data_count) { 234 return updateImpl(tag, (const void*)data, data_count); 238 const double *data, size_ 185 update(uint32_t tag, const int32_t *data, size_t data_count) argument 198 update(uint32_t tag, const uint8_t *data, size_t data_count) argument 211 update(uint32_t tag, const float *data, size_t data_count) argument 224 update(uint32_t tag, const int64_t *data, size_t data_count) argument 237 update(uint32_t tag, const double *data, size_t data_count) argument 250 update(uint32_t tag, const camera_metadata_rational_t *data, size_t data_count) argument 276 updateImpl(uint32_t tag, const void *data, size_t data_count) argument 423 readFromParcel(const Parcel& data, camera_metadata_t** out) argument 484 writeToParcel(Parcel& data, const camera_metadata_t* metadata) argument [all...] |
/frameworks/av/media/libstagefright/id3/ |
H A D | testid3.cpp | 33 const uint8_t *data = (const uint8_t *)_data; local 49 printf("%02x ", data[offset + i]); 58 if (isprint(data[offset + i])) { 59 printf("%c", data[offset + i]); 101 const void *data = tag.getAlbumArt(&dataSize, &mime); local 103 if (data) { 107 hexdump(data, dataSize > 128 ? 128 : dataSize);
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedText3GPPSource.cpp | 67 const void *data; local 75 data = textBuffer->data(); 82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); 91 const void *data; local 103 kKeyTextFormatData, &type, &data, &size)) { 110 (const uint8_t *)data, size, flag, 0, parcel);
|
H A D | TextDescriptions.cpp | 27 const uint8_t *data, ssize_t size, 33 return extract3GPPGlobalDescriptions(data, size, parcel, 0); 35 return extract3GPPLocalDescriptions(data, size, timeMs, parcel, 0); 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, 80 ssize_t textLen = (*data) << 8 | (*(data + 1)); 86 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, int depth) argument 287 extract3GPPGlobalDescriptions( const uint8_t *data, ssize_t size, Parcel *parcel, int depth) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | AtomicFile.java | 60 * as the data at that path may not be valid. 76 * to which you can write the new file data. The existing file is replaced 77 * with the new data. You <em>must not</em> directly close the given 124 * commit the new data. The next attempt to read the atomic file 184 * incomplete write, this will roll back to the last good data before 190 * write and roll back, causing the new data currently being written to 211 byte[] data = new byte[avail]; 213 int amt = stream.read(data, pos, data.length-pos); 215 // + " of avail " + data [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | AtomicFile.java | 146 byte[] data = new byte[avail]; 148 int amt = stream.read(data, pos, data.length-pos); 150 // + " of avail " + data.length); 153 // + " len=" + data.length); 154 return data; 158 if (avail > data.length-pos) { 160 System.arraycopy(data, 0, newData, 0, pos); 161 data = newData;
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmUtils.java | 48 byte[] data = null; 53 data = new byte[length]; 54 // read the entire data 55 bufferedStream.read(data); 61 return data; 64 /* package */ static void writeToFile(final String path, byte[] data) throws IOException { argument 68 if (null != path && null != data) { 71 outputStream.write(data);
|
H A D | DrmRights.java | 106 "data: " + mData; 114 * @param data A {@link ProcessedData} object containing rights information. 118 public DrmRights(ProcessedData data, String mimeType) { argument 119 if (data == null) { 120 throw new IllegalArgumentException("data is null"); 123 mData = data.getData(); 124 mAccountId = data.getAccountId(); 125 mSubscriptionId = data.getSubscriptionId(); 130 "data: " + mData; 136 * Retrieves the rights data associate [all...] |
/frameworks/native/services/sensorservice/ |
H A D | RotationVectorSensor.cpp | 43 outEvent->data[0] = q.x; 44 outEvent->data[1] = q.y; 45 outEvent->data[2] = q.z; 46 outEvent->data[3] = q.w; 93 outEvent->data[0] = b.x; 94 outEvent->data[1] = b.y; 95 outEvent->data[2] = b.z;
|
H A D | BatteryService.cpp | 42 Parcel data, reply; local 43 data.writeInterfaceToken(DESCRIPTOR); 44 data.writeInt32(uid); 45 data.writeInt32(handle); 47 TRANSACTION_noteStartSensor, data, &reply, 0); 53 Parcel data, reply; local 54 data.writeInterfaceToken(DESCRIPTOR); 55 data.writeInt32(uid); 56 data.writeInt32(handle); 58 TRANSACTION_noteStopSensor, data, [all...] |
/frameworks/rs/driver/ |
H A D | rsdBcc.h | 55 uint32_t slot, void *data, size_t dataLen); 58 uint32_t slot, void *data, size_t dataLen); 61 uint32_t slot, void *data, 68 uint32_t slot, android::renderscript::Allocation *data); 71 uint32_t slot, android::renderscript::ObjectBase *data); 76 void *data, 81 void *data,
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | AtomicFile.java | 58 * as the data at that path may not be valid. 74 * to which you can write the new file data. The existing file is replaced 75 * with the new data. You <em>must not</em> directly close the given 118 * commit the new data. The next attempt to read the atomic file 153 * incomplete write, this will roll back to the last good data before 159 * write and roll back, causing the new data currently being written to 180 byte[] data = new byte[avail]; 182 int amt = stream.read(data, pos, data.length-pos); 184 // + " of avail " + data [all...] |
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
H A D | RTPSender.cpp | 219 uint8_t *rtp = udpPacket->data(); 239 memcpy(&rtp[12], packet->data(), packet->size()); 264 uint8_t *rtp = udpPacket->data(); 290 memcpy(&rtp[12], tsPackets->data() + srcOffset, numTSPackets * 188); 323 const uint8_t *data = accessUnit->data(); local 328 &data, &size, &nalStart, &nalSize, 344 memcpy(out->data() + outBytesUsed, nalStart, nalSize); 363 uint8_t *dst = out->data() + outBytesUsed; 392 uint8_t *dst = out->data() 568 sp<ABuffer> data; local 616 const uint8_t *data = buffer->data(); local 688 parseReceiverReport(const uint8_t *data, size_t size) argument 699 parseTSFB(const uint8_t *data, size_t size) argument 768 parseAPP(const uint8_t *data, size_t size) argument [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...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pDnsSdServiceResponse.java | 120 * Return TXT record data. 121 * @return TXT record data. 149 * @param data RDATA. 153 int tranId, WifiP2pDevice dev, byte[] data) { 155 status, tranId, dev, data); 168 * The data format from Wi-Fi Direct spec is as follows. 219 * @param dis data input stream. 245 byte[] data = new byte[i]; 246 dis.readFully(data); 247 sb.append(new String(data)); 152 WifiP2pDnsSdServiceResponse(int status, int tranId, WifiP2pDevice dev, byte[] data) argument 295 newInstance(int status, int transId, WifiP2pDevice dev, byte[] data) argument [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | EhFrameHdr.cpp | 51 uint8_t* data = (uint8_t*)ehframehdr_region->start(); local 53 data[0] = 1; 55 data[1] = DW_EH_PE_pcrel | DW_EH_PE_sdata4; 58 uint32_t* eh_frame_ptr = (uint32_t*)(data + 4); 62 uint32_t* fde_count = (uint32_t*)(data + 8); 70 data[2] = DW_EH_PE_omit; 72 data[3] = DW_EH_PE_omit; 76 data[2] = DW_EH_PE_udata4; 78 data[3] = DW_EH_PE_datarel | DW_EH_PE_sdata4; 98 uint32_t* bst = (uint32_t*)(data [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LocalReceiver.java | 68 Parcel data = Parcel.obtain(); 69 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); 70 data.writeString(resultString); 71 caller.transact(LaunchpadActivity.GOT_RECEIVE_TRANSACTION, data, null, 0); 72 data.recycle();
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DurableUtils.java | 38 public static <D extends Durable> D readFromArray(byte[] data, D d) throws IOException { argument 39 if (data == null) throw new IOException("Missing data"); 40 final ByteArrayInputStream in = new ByteArrayInputStream(data); 60 public static <D extends Durable> D readFromArrayOrNull(byte[] data, D d) { argument 62 return readFromArray(data, d);
|
/frameworks/native/services/sensorservice/tests/ |
H A D | sensorservicetest.cpp | 28 int receiver(int fd, int events, void* data) argument 30 sp<SensorEventQueue> q((SensorEventQueue*)data); 49 buffer[i].data[0], buffer[i].data[1], buffer[i].data[2],
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | Base64.java | 59 * Decodes Base64 data into octects 61 * @param base64Data Byte array containing Base64 data 62 * @return Array containing decoded data. 146 * encoded data." 148 * @param data The base-64 encoded data to groom 149 * @return The data, less non-base64 characters (see RFC 2045). 151 static byte[] discardNonBase64(byte[] data) { argument 152 byte groomedData[] = new byte[data.length]; 155 for (int i = 0; i < data [all...] |
/frameworks/av/media/libstagefright/mp4/ |
H A D | TrackFragment.cpp | 113 uint32_t defaultSampleSize = U32_AT(mSampleSizes->data() + 4); 117 mSampleInfo.mSize= U32_AT(mSampleSizes->data() + 12 + 4 * mSampleIndex); 122 uint32_t fieldSize = U32_AT(mCompactSampleSizes->data() + 4); 127 unsigned byte = mCompactSampleSizes->data()[12 + mSampleIndex / 2]; 134 mSampleInfo.mSize = mCompactSampleSizes->data()[12 + mSampleIndex]; 142 U16_AT(mCompactSampleSizes->data() + 12 + mSampleIndex * 2); 152 U32_AT(mSampleToChunk->data() + 8 + 12 * mSampleToChunkIndex + 8); 158 uint32_t entryCount = U32_AT(mChunkOffsets->data() + 4); 166 U32_AT(mChunkOffsets->data() + 8 + 4 * mChunkIndex); 170 uint32_t entryCount = U32_AT(mChunkOffsets64->data() [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_deblocking.c | 173 static void FilterLuma(u8 *data, bS_t *bS, edgeThreshold_t *thresholds, 179 static void FilterVerLumaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, 181 static void FilterHorLumaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, 183 static void FilterHorLuma( u8 *data, u32 bS, edgeThreshold_t *thresholds, 186 static void FilterVerChromaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, 188 static void FilterHorChromaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, 190 static void FilterHorChroma( u8 *data, u32 bS, edgeThreshold_t *thresholds, 563 mb pointer to macroblock data structure of the top-left 584 u8 *data; local 593 ASSERT(image->data); 649 FilterVerLumaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, u32 imageWidth) argument 760 FilterHorLumaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 imageWidth) argument 829 FilterHorLuma( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 imageWidth) argument 942 FilterVerChromaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, u32 width) argument 1017 FilterHorChromaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 width) argument 1065 FilterHorChroma( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 width) argument 1542 FilterLuma( u8 *data, bS_t *bS, edgeThreshold_t *thresholds, u32 width) argument 1776 u8 *data; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | RuimRecords.java | 251 // convert csim efli data to iso 639 format 278 byte[] data = (byte[]) ar.result; 280 IccUtils.bytesToHexString(data)); 283 mCsimSpnDisplayCondition = ((0x01 & data[0]) != 0); 285 int encoding = data[1]; 286 int language = data[2]; 288 int len = ((data.length - 3) < 32) ? (data.length - 3) : 32; 289 System.arraycopy(data, 3, spnData, 0, len); 334 byte[] data [all...] |