/frameworks/base/core/java/android/net/nsd/ |
H A D | DnsSdTxtRecord.java | 30 * This class handles TXT record data for DNS based service discovery as specified at 37 * The DnsSdTxtRecord object stores the entire TXT data as a single byte array, traversing it 53 public DnsSdTxtRecord(byte[] data) { argument 54 mData = (byte[]) data.clone(); 163 /* Gets the raw data in bytes */
|
/frameworks/base/core/java/android/os/ |
H A D | IBinder.java | 40 * <p>The data sent through transact() is a {@link Parcel}, a generic buffer 41 * of data that also maintains some meta-data about its contents. The meta 42 * data is used to manage IBinder object references in the buffer, so that those 113 * object. The data in the parcel is intended to be delivered to 208 * @param data Marshalled data to send to the target. Must not be null. 209 * If you are not sending any data, you must create an empty Parcel 211 * @param reply Marshalled data to be received from the target. May be 216 public boolean transact(int code, Parcel data, Parce argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | RingtonePreference.java | 234 public boolean onActivityResult(int requestCode, int resultCode, Intent data) { argument 238 if (data != null) { 239 Uri uri = data.getParcelableExtra(RingtoneManager.EXTRA_RINGTONE_PICKED_URI);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodSession.java | 163 * @param data Any data to include with the command. 165 public void appPrivateCommand(String action, Bundle data); argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AccountViewAdapter.java | 36 * @param data A list with AccountElements data type. The list contains the data of each 39 public AccountViewAdapter(Context context, final List<AccountElements> data) { argument 41 mData = data; 59 public void updateData(final List<AccountElements> data) { argument 60 mData = data;
|
H A D | EditableInputConnection.java | 167 public boolean performPrivateCommand(String action, Bundle data) { argument 168 mTextView.onPrivateIMECommand(action, data);
|
/frameworks/base/core/java/com/android/server/backup/ |
H A D | SystemBackupAgent.java | 41 * Backup agent for various system-managed data, currently just the system wallpaper 61 // Use old keys to keep legacy data compatibility and avoid writing two wallpapers 66 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 68 // We only back up the data under the current "wallpaper" schema with metadata 90 super.onBackup(oldState, data, newState); 94 public void onFullBackup(FullBackupDataOutput data) throws IOException { argument 96 fullWallpaperBackup(data); 100 // Back up the data files directly. We do them in this specific order -- 111 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument 113 // On restore, we also support a previous data schem 144 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_backup_FileBackupHelperBase.cpp | 41 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, jlong data, argument 49 BackupDataWriter* dataStream = (BackupDataWriter*)data;
|
H A D | android_nio_utils.cpp | 34 void *data; local 47 data = _env->GetPrimitiveArrayCritical(*array, (jboolean *) 0); 49 return (void *) ((char *) data + offset); 53 void android::nio_releasePointer(JNIEnv *_env, jarray array, void *data, argument 55 _env->ReleasePrimitiveArrayCritical(array, data,
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | FileUtilsTest.java | 234 private void stageFile(File file, String data) throws Exception { argument 237 writer.write(data, 0, data.length());
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapRegionDecoder.java | 46 * @param data byte array of compressed image data. 47 * @param offset offset into data for where the decoder should begin 53 * input data, and keep that. Even if sharing is allowed, 55 * copy of the input data. If an image is progressively encoded, 57 * @return BitmapRegionDecoder, or null if the image data could not be decoded. 60 public static BitmapRegionDecoder newInstance(byte[] data, argument 62 if ((offset | length) < 0 || data.length < offset + length) { 65 return nativeNewInstance(data, offset, length, isShareable); 74 * @param fd The file descriptor containing the data t 264 nativeNewInstance( byte[] data, int offset, int length, boolean isShareable) argument [all...] |
H A D | Movie.java | 60 public static native Movie decodeByteArray(byte[] data, int offset, argument
|
/frameworks/base/libs/androidfw/ |
H A D | ZipFileRO.cpp | 85 _ZipEntryRO* data = new _ZipEntryRO; local 86 const int32_t error = FindEntry(mHandle, entryName, &(data->entry)); 88 delete data; 92 data->name.name = entryName; 93 data->name.name_length = strlen(entryName); 95 return (ZipEntryRO) data; 191 * Create a new FileMap object that spans the data in "entry". 218 * This doesn't verify the data's CRC, which might be useful for 219 * uncompressed data. The caller should be able to manage it. 237 * This doesn't verify the data' [all...] |
/frameworks/base/libs/common_time/ |
H A D | common_time_server_packets.cpp | 44 *((type*)(data + offset)) = converter(field_name); \ 55 field_name = converter(*((type*)(data + offset))); \ 78 ssize_t TimeServicePacketHeader::serializeHeader(uint8_t* data, argument 90 ssize_t TimeServicePacketHeader::deserializeHeader(const uint8_t* data, argument 103 ssize_t TimeServicePacketHeader::serializePacket(uint8_t* data, argument 107 ret = serializeHeader(data, length); 111 data += ret; 116 tmp =((WhoIsMasterRequestPacket*)(this))->serializePacket(data, 120 tmp =((WhoIsMasterResponsePacket*)(this))->serializePacket(data, 124 tmp =((SyncRequestPacket*)(this))->serializePacket(data, lengt 143 deserializePacket( const uint8_t* data, uint32_t length, uint64_t expectedSyncGroupID) argument 184 serializePacket(uint8_t* data, uint32_t length) argument 194 deserializePacket(const uint8_t* data, uint32_t length) argument 206 serializePacket(uint8_t* data, uint32_t length) argument 216 deserializePacket(const uint8_t* data, uint32_t length) argument 228 serializePacket(uint8_t* data, uint32_t length) argument 237 deserializePacket(const uint8_t* data, uint32_t length) argument 246 serializePacket(uint8_t* data, uint32_t length) argument 258 deserializePacket(const uint8_t* data, uint32_t length) argument 270 serializePacket(uint8_t* data, uint32_t length) argument 280 deserializePacket(const uint8_t* data, uint32_t length) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | VertexFrame.java | 58 throw new RuntimeException("Vertex frames do not support reading data!"); 71 throw new RuntimeException("Vertex frames do not support reading data!"); 84 throw new RuntimeException("Vertex frames do not support reading data!"); 94 throw new RuntimeException("Could not set vertex frame data!"); 100 throw new RuntimeException("Vertex frames do not support reading data!"); 110 throw new RuntimeException("Vertex frames do not support reading data!"); 136 private native boolean setNativeData(byte[] data, int offset, int length); argument
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | AutoFixFilter.java | 269 private void createHistogramFrame(FilterContext context, int width, int height, int[] data) { argument 282 int energy = (data[index] & 0xFF) + ((data[index] >> 8) & 0xFF) + 283 ((data[index] >> 16) & 0xFF);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsHelper.java | 58 * some cases the data will be written by the call to the appropriate API, 214 * Sets the locale specified. Input data is the byte representation of a 219 * @param data the locale string in bytes. 221 void setLocaleData(byte[] data, int size) { argument 231 String localeCode = new String(data, 0, size).replace('_', '-');
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | Console.java | 61 public static void log(boolean condition, String key, Object data) { argument 63 log(condition, key, data, AnsiReset); 67 /** Logs a key with data in a specific color */ 68 public static void log(boolean condition, String key, Object data, String color) { argument 70 System.out.println(color + key + AnsiReset + " " + data.toString());
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Byte2.java | 379 * @param data 382 public void copyTo(byte[] data, int offset) { argument 383 data[offset] = x; 384 data[offset + 1] = y;
|
H A D | Byte3.java | 411 * @param data 414 public void copyTo(byte[] data, int offset) { argument 415 data[offset] = x; 416 data[offset + 1] = y; 417 data[offset + 2] = z;
|
H A D | Byte4.java | 442 * @param data 445 public void copyTo(byte[] data, int offset) { argument 446 data[offset] = x; 447 data[offset + 1] = y; 448 data[offset + 2] = z; 449 data[offset + 3] = w;
|
H A D | Double4.java | 32 public Double4(Double4 data) { argument 33 this.x = data.x; 34 this.y = data.y; 35 this.z = data.z; 36 this.w = data.w; 441 * @param data 444 public void copyTo(double[] data, int offset) { argument 445 data[offset] = x; 446 data[offset + 1] = y; 447 data[offse [all...] |
H A D | Float4.java | 32 public Float4(Float4 data) { argument 33 this.x = data.x; 34 this.y = data.y; 35 this.z = data.z; 36 this.w = data.w; 441 * @param data 444 public void copyTo(float[] data, int offset) { argument 445 data[offset] = x; 446 data[offset + 1] = y; 447 data[offse [all...] |
H A D | Int2.java | 433 * @param data 436 public void copyTo(int[] data, int offset) { argument 437 data[offset] = (int)(x); 438 data[offset + 1] = (int)(y);
|
H A D | Int3.java | 469 * @param data 472 public void copyTo(int[] data, int offset) { argument 473 data[offset] = (int)(x); 474 data[offset + 1] = (int)(y); 475 data[offset + 2] = (int)(z);
|