/frameworks/base/cmds/statsd/src/external/ |
H A D | StatsPuller.cpp | 42 bool StatsPuller::Pull(const int64_t elapsedTimeNs, std::vector<std::shared_ptr<LogEvent>>* data) { argument 47 (*data) = mCachedData; 59 for (const shared_ptr<LogEvent>& data : mCachedData) { 60 data->setElapsedTimestampNs(elapsedTimeNs); 61 data->setLogdWallClockTimestampNs(wallClockTimeNs); 65 (*data) = mCachedData;
|
/frameworks/base/cmds/statsd/src/ |
H A D | hash.cpp | 45 uint32_t Hash32(const char *data, size_t n, uint32_t seed) { argument 56 uint32_t k = DecodeFixed32(data); 62 data += 4; 69 h ^= ByteAs32(data[2]) << 16; 71 h ^= ByteAs32(data[1]) << 8; 73 h ^= ByteAs32(data[0]); 85 uint64_t Hash64(const char* data, size_t n, uint64_t seed) { argument 92 uint64_t k = DecodeFixed64(data); 93 data += 8; 106 h ^= ByteAs64(data[ [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerInternal.java | 80 * @return The backup data. 86 * @param data The restore data. 89 public abstract void restoreAccountAccessPermissions(byte[] data, int userId); argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | WallpaperBackupHelper.java | 43 "/data/data/com.android.settings/files/wallpaper"; 44 public static final String WALLPAPER_INFO_KEY = "/data/system/wallpaper_info.xml"; 72 * Based on oldState, determine which of the files from the application's data directory 73 * need to be backed up, write them to the data stream, and fill in newState with the 77 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 87 public void restoreEntity(BackupDataInputStream data) { argument 88 final String key = data.getKey(); 94 if (writeFile(stage, data)) {
|
/frameworks/base/core/java/android/net/metrics/ |
H A D | IpConnectivityLog.java | 92 * @param data is a Parcelable instance representing the event. 95 public boolean log(long timestamp, Parcelable data) { argument 96 ConnectivityMetricsEvent ev = makeEv(data); 104 * @param data is a Parcelable instance representing the event. 107 public boolean log(String ifname, Parcelable data) { argument 108 ConnectivityMetricsEvent ev = makeEv(data); 118 * @param data is a Parcelable instance representing the event. 121 public boolean log(int netid, int[] transports, Parcelable data) { argument 122 ConnectivityMetricsEvent ev = makeEv(data); 130 * @param data i 133 log(Parcelable data) argument 137 makeEv(Parcelable data) argument [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | NdefMessage.java | 30 * used to encapsulate typed data. It is specified by the NFC Forum, 34 * typed data, such as MIME-type media, a URI, or a custom 46 * binary data, or {@link #NdefMessage(NdefRecord[])} to 69 * the length of the input data.<p> 72 * Once the input data has been parsed to one or more logical 88 * It is safe to re-use the data byte array after construction: 91 * @param data raw bytes to parse 92 * @throws FormatException if the data cannot be parsed 94 public NdefMessage(byte[] data) throws FormatException { argument 95 if (data [all...] |
H A D | TransceiveResult.java | 38 public TransceiveResult(final int result, final byte[] data) { argument 40 mResponseData = data;
|
/frameworks/base/core/java/android/nfc/tech/ |
H A D | BasicTagTechnology.java | 142 byte[] transceive(byte[] data, boolean raw) throws IOException { argument 147 data, raw);
|
H A D | IsoDep.java | 150 * Send raw ISO-DEP data to the tag and receive the response. 166 * @param data command bytes to send, must not be null 171 public byte[] transceive(byte[] data) throws IOException { argument 172 return transceive(data, true);
|
H A D | NfcA.java | 114 * @param data bytes to send 119 public byte[] transceive(byte[] data) throws IOException { argument 120 return transceive(data, true);
|
H A D | NfcF.java | 118 * @param data bytes to send 123 public byte[] transceive(byte[] data) throws IOException { argument 124 return transceive(data, true);
|
/frameworks/base/core/java/com/android/internal/midi/ |
H A D | MidiFramer.java | 48 public static String formatMidiData(byte[] data, int offset, int count) { argument 51 text += String.format("0x%02X, ", data[offset + i]); 60 public void onSend(byte[] data, int offset, int count, long timestamp) argument 65 final byte currentByte = data[offset]; 80 mReceiver.send(data, sysExStartOffset, 92 // Single byte message interleaved with other data. 94 mReceiver.send(data, sysExStartOffset, 98 mReceiver.send(data, offset, 1, timestamp); 100 } else { // data byte 116 // send any accumulatedSysEx data [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | BitwiseOutputStream.java | 59 * Return byte array containing accumulated data, sized to just fit. 84 * Write some data and increment the current position. 89 * @param bits the amount of data to write (gte 0, lte 8) 90 * @param data to write, will be masked to expose only bits param from lsb 92 public void write(int bits, int data) throws AccessException { argument 97 data &= (-1 >>> (32 - bits)); 100 data <<= offset; 102 mBuf[index] |= data >>> 8; 103 if (offset < 8) mBuf[index + 1] |= data & 0xFF; 107 * Write data i [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | MovieImpl.cpp | 86 Movie* Movie::DecodeMemory(const void* data, size_t length) { argument 87 SkMemoryStream stream(data, length, false);
|
H A D | NinePatchPeeker.cpp | 24 bool NinePatchPeeker::readChunk(const char tag[], const void* data, size_t length) { argument 26 Res_png_9patch* patch = (Res_png_9patch*) data; 31 // You have to copy the data because it is owned by the png reader 41 memcpy(&mOpticalInsets, data, sizeof(int32_t) * 4); 44 memcpy(&mOutlineInsets, data, sizeof(int32_t) * 4); 45 mOutlineRadius = ((const float*)data)[4]; 46 mOutlineAlpha = ((const int32_t*)data)[5] & 0xff;
|
/frameworks/base/drm/java/android/drm/ |
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/base/libs/androidfw/include/androidfw/ |
H A D | TypeWrappers.h | 26 TypeVariant(const ResTable_type* data); 77 const ResTable_type* data; member in struct:android::TypeVariant
|
/frameworks/base/media/jni/ |
H A D | android_media_Media2DataSource.cpp | 68 ssize_t JMedia2DataSource::readAt(off64_t offset, void *data, size_t size) { argument 105 env->GetByteArrayRegion(mByteArrayObj, 0, numread, (jbyte*)data);
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPoolThread.h | 32 SoundPoolMsg(MessageType MessageType, int data) : argument 33 mMessageType(MessageType), mData(data) {}
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_buffer.cpp | 28 char* data = reinterpret_cast<char*>(env->GetLongField(buffer, ptr_field)); local 36 return data; 39 bool AttachDataToJBuffer(JNIEnv* env, jobject buffer, char* data, int size) { argument 47 env->SetLongField(buffer, ptr_field, reinterpret_cast<jlong>(data)); 54 char* data = new char[size]; local 55 return ToJBool(AttachDataToJBuffer(env, thiz, data, size)); 62 char* data = GetJBufferData(env, thiz, NULL); local 63 delete[] data;
|
H A D | jni_vertex_frame.cpp | 72 jbyteArray data, 76 if (frame && data) { 77 jbyte* bytes = env->GetByteArrayElements(data, NULL); 81 env->ReleaseByteArrayElements(data, bytes, JNI_ABORT); 70 Java_android_filterfw_core_VertexFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
H A D | SharedStorageAgent.java | 67 public void onRestoreFile(ParcelFileDescriptor data, long size, argument 83 Slog.w(TAG, "Cannot restore data for unavailable volume " + i); 92 Slog.e(TAG, "Skipping data with malformed path " + relpath); 95 FullBackup.restoreFile(data, size, type, -1, mtime, outFile);
|
/frameworks/base/services/core/java/com/android/server/oemlock/ |
H A D | VendorLock.java | 157 private ArrayList toByteArrayList(byte[] data) { argument 158 if (data == null) { 161 ArrayList<Byte> result = new ArrayList<Byte>(data.length); 162 for (final byte b : data) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
H A D | FileCollectorTest.java | 136 private void writeDataToFile(File f, String data) throws Exception{ argument 138 out.print(data);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmSmsAddress.java | 42 public GsmSmsAddress(byte[] data, int offset, int length) throws ParseException { argument 44 System.arraycopy(data, offset, origBytes, 0, length);
|