/frameworks/rs/scriptc/ |
H A D | rs_io.rsh | 71 * A message ID is required. The data payload is optional. 76 * data: Application specific data. 77 * len: Length of the data, in bytes. 83 rsSendToClient(int cmdID, const void* data, uint len); 93 * A message ID is required. The data payload is optional. 98 * data: Application specific data. 99 * len: Length of the data, in bytes. 105 rsSendToClientBlocking(int cmdID, const void* data, uin [all...] |
/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/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/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 225 byte[] data = new byte[avail]; 227 int amt = stream.read(data, pos, data.length-pos); 229 // + " of avail " + data [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | AtomicFile.java | 155 byte[] data = new byte[avail]; 157 int amt = stream.read(data, pos, data.length-pos); 159 // + " of avail " + data.length); 162 // + " len=" + data.length); 163 return data; 167 if (avail > data.length-pos) { 169 System.arraycopy(data, 0, newData, 0, pos); 170 data = newData;
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmUtils.java | 47 byte[] data = null; 52 data = new byte[length]; 53 // read the entire data 54 bufferedStream.read(data); 60 return data; 63 /* package */ static void writeToFile(final String path, byte[] data) throws IOException { argument 67 if (null != path && null != data) { 70 outputStream.write(data);
|
H A D | DrmRights.java | 107 "data: " + Arrays.toString(mData); 115 * @param data A {@link ProcessedData} object containing rights information. 119 public DrmRights(ProcessedData data, String mimeType) { argument 120 if (data == null) { 121 throw new IllegalArgumentException("data is null"); 124 mData = data.getData(); 125 mAccountId = data.getAccountId(); 126 mSubscriptionId = data.getSubscriptionId(); 131 "data: " + Arrays.toString(mData); 137 * Retrieves the rights data associate [all...] |
/frameworks/native/services/sensorservice/ |
H A D | RotationVectorSensor.cpp | 53 outEvent->data[0] = q.x; 54 outEvent->data[1] = q.y; 55 outEvent->data[2] = q.z; 56 outEvent->data[3] = q.w; 139 outEvent->data[0] = b.x; 140 outEvent->data[1] = b.y; 141 outEvent->data[2] = b.z;
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
H A D | XmpDepthDecode.java | 42 private static final int M_SOS = 0xda; // Image data marker. 75 byte[] data = meta.getPropertyBase64(XMP_DEPTHMAP, "GDepth:Data"); 76 mDepthBitmap = BitmapFactory.decodeStream(new ByteArrayInputStream(data)); 84 throw new IOException("XMP data missing"); 125 // JPEG file is composed of many sections and image data. This class is used 126 // to hold the section data from image file. 130 public byte[] data; field in class:XmpDepthDecode.Section 189 * all sections. The last section with image data will have -1 length. 191 * @param is Input image data stream 220 // M_SOS indicates the image data wil 268 hasHeader(byte[] data, String header) argument 326 getXMPContentEnd(byte[] data) argument [all...] |
/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/base/core/java/android/hardware/soundtrigger/ |
H A D | SoundTrigger.java | 92 /** Returns the trigger (key phrase) capture in the binary data of the 186 * A SoundModel describes the attributes and contains the binary data used by the hardware 213 /** Opaque data. For use by vendor implementation and enrollment application */ 214 public final byte[] data; field in class:SoundTrigger.SoundModel 216 public SoundModel(UUID uuid, UUID vendorUuid, int type, byte[] data) { argument 220 this.data = data; 227 result = prime * result + Arrays.hashCode(data); 243 if (!Arrays.equals(data, other.data)) 390 KeyphraseSoundModel( UUID uuid, UUID vendorUuid, byte[] data, Keyphrase[] keyphrases) argument 485 GenericSoundModel(UUID uuid, UUID vendorUuid, byte[] data) argument 571 public final byte[] data; field in class:SoundTrigger.RecognitionEvent 573 RecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, int captureSession, int captureDelayMs, int capturePreambleMs, boolean triggerInData, AudioFormat captureFormat, byte[] data) argument 744 public final byte[] data; field in class:SoundTrigger.RecognitionConfig 746 RecognitionConfig(boolean captureRequested, boolean allowMultipleTriggers, KeyphraseRecognitionExtra keyphrases[], byte[] data) argument 978 KeyphraseRecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, int captureSession, int captureDelayMs, int capturePreambleMs, boolean triggerInData, AudioFormat captureFormat, byte[] data, KeyphraseRecognitionExtra[] keyphraseExtras) argument 1096 GenericRecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, int captureSession, int captureDelayMs, int capturePreambleMs, boolean triggerInData, AudioFormat captureFormat, byte[] data) argument 1157 public final byte[] data; field in class:SoundTrigger.SoundModelEvent 1159 SoundModelEvent(int status, int soundModelHandle, byte[] data) argument [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()); 262 uint8_t *rtp = udpPacket->data(); 288 memcpy(&rtp[12], tsPackets->data() + srcOffset, numTSPackets * 188); 321 const uint8_t *data = accessUnit->data(); local 326 &data, &size, &nalStart, &nalSize, 342 memcpy(out->data() + outBytesUsed, nalStart, nalSize); 361 uint8_t *dst = out->data() + outBytesUsed; 390 uint8_t *dst = out->data() 566 sp<ABuffer> data; local 614 const uint8_t *data = buffer->data(); local 686 parseReceiverReport( const uint8_t *data, size_t ) argument 696 parseTSFB(const uint8_t *data, size_t size) argument 765 parseAPP(const uint8_t *data, size_t size __unused) 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/services/core/java/com/android/server/hdmi/ |
H A D | HdmiUtils.java | 173 * @param data to be assembled 176 static int twoBytesToInt(byte[] data) { argument 177 return ((data[0] & 0xFF) << 8) | (data[1] & 0xFF); 183 * @param data to be assembled 184 * @param offset offset to the data to convert in the array 187 static int twoBytesToInt(byte[] data, int offset) { argument 188 return ((data[offset] & 0xFF) << 8) | (data[offset + 1] & 0xFF); 194 * @param data t 197 threeBytesToInt(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 | 47 uint8_t* data = ehframehdr_region.begin(); local 49 data[0] = 1; 51 data[1] = llvm::dwarf::DW_EH_PE_pcrel | llvm::dwarf::DW_EH_PE_sdata4; 54 uint32_t* eh_frame_ptr = reinterpret_cast<uint32_t*>(data + 4); 58 uint32_t* fde_count = reinterpret_cast<uint32_t*>(data + 8); 66 data[2] = llvm::dwarf::DW_EH_PE_omit; 68 data[3] = llvm::dwarf::DW_EH_PE_omit; 71 data[2] = llvm::dwarf::DW_EH_PE_udata4; 73 data[3] = llvm::dwarf::DW_EH_PE_datarel | llvm::dwarf::DW_EH_PE_sdata4; 101 uint32_t* bst = reinterpret_cast<uint32_t*>(data [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | GpuService.cpp | 35 status_t BnGpuService::onTransact(uint32_t code, const Parcel& data, argument 40 int in = data.readFileDescriptor(); 41 int out = data.readFileDescriptor(); 42 int err = data.readFileDescriptor(); 43 int argc = data.readInt32(); 45 for (int i = 0; i < argc && data.dataAvail() > 0; i++) { 46 args.add(data.readString16()); 52 return BBinder::onTransact(code, data, reply, flags); 130 result = vkEnumeratePhysicalDevices(instance, &ngpu, gpus.data()); 139 fwrite(json.data(), [all...] |
/frameworks/base/core/jni/ |
H A D | android_nio_utils.cpp | 36 void *data; local 49 data = _env->GetPrimitiveArrayCritical(*array, (jboolean *) 0); 51 return (void *) ((char *) data + offset); 55 void android::nio_releasePointer(JNIEnv *_env, jarray array, void *data, argument 57 _env->ReleasePrimitiveArrayCritical(array, data,
|
/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 | 29 int receiver(__unused int fd, __unused int events, void* data) argument 31 sp<SensorEventQueue> q((SensorEventQueue*)data); 50 buffer[i].data[0], buffer[i].data[1], buffer[i].data[2],
|
/frameworks/opt/telephony/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/base/packages/MtpDocumentsProvider/jni/ |
H A D | com_android_mtp_AppFuse.cpp | 46 // because it has the largest possible data payload. 60 // not access input buffer after writing data to output buffer. 67 void* data() { function in struct:__anon1105::FuseRequest 92 T* data() const { return buffer_; } function in class:__anon1105::FuseResponse 185 out->data()->nodeid = n; 186 out->data()->attr_valid = 10; 187 out->data()->entry_valid = 10; 188 out->data()->attr.ino = n; 189 out->data()->attr.mode = S_IFREG | 0777; 190 out->data() [all...] |
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/ |
H A D | SoundTriggerTest.java | 114 assertNull(unparceled.data); 139 assertTrue(Arrays.equals(ksm.data, unparceled.data)); 144 byte[] data = new byte[10]; 145 mRandom.nextBytes(data); 147 data, null); 161 assertTrue(Arrays.equals(ksm.data, unparceled.data)); 166 byte[] data = new byte[10]; 167 mRandom.nextBytes(data); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccFileHandler.java | 90 /** Finished retrieving icon data; post result. */ 315 * retrive STK's icon data. 347 * @param data must be exactly as long as the record in the EF 352 public void updateEFLinearFixed(int fileid, String path, int recordNum, byte[] data, argument 356 recordNum, READ_RECORD_MODE_ABSOLUTE, data.length, 357 IccUtils.bytesToHexString(data), pin2, mAid, onComplete); 364 * @param data must be exactly as long as the record in the EF 369 public void updateEFLinearFixed(int fileid, int recordNum, byte[] data, argument 372 recordNum, READ_RECORD_MODE_ABSOLUTE, data.length, 373 IccUtils.bytesToHexString(data), pin 381 updateEFTransparent(int fileid, byte[] data, Message onComplete) argument [all...] |