Searched refs:data (Results 176 - 200 of 1228) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/net/http/
H A DEventHandler.java23 * then multiple data() then endData(). handleSslErrorRequest(), if
93 * @param data A byte array containing the content
94 * @param len The length of valid content in data
97 * android.net.http. Decoded data is passed through this
100 public void data(byte[] data, int len); argument
103 * Called when the document is completely read. No more data()
/frameworks/base/core/java/android/os/
H A DFileUtils.java187 * Copy data from a source stream to destFile.
245 byte[] data = new byte[max + 1];
246 int length = bis.read(data);
248 if (length <= max) return new String(data, 0, length);
249 if (ellipsis == null) return new String(data, 0, max);
250 return new String(data, 0, max) + ellipsis;
255 byte[] data = null;
258 byte[] tmp = last; last = data; data = tmp;
259 if (data
[all...]
H A DMessage.java23 * Defines a message containing a description and arbitrary data object that can be
59 * implemented by the application). For other data transfer use
87 /*package*/ Bundle data; field in class:Message
132 if (orig.data != null) {
133 m.data = new Bundle(orig.data);
261 * Make this message like o. Performs a shallow copy of the data field.
273 if (o.data != null) {
274 this.data = (Bundle) o.data
351 setData(Bundle data) argument
[all...]
/frameworks/base/core/java/android/os/storage/
H A DIMountServiceListener.java61 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
69 data.enforceInterface(DESCRIPTOR);
71 connected = (0 != data.readInt());
77 data.enforceInterface(DESCRIPTOR);
79 path = data.readString();
81 oldState = data.readString();
83 newState = data.readString();
89 return super.onTransact(code, data, reply, flags);
H A DIMountService.java857 public boolean onTransact(int code, Parcel data, Parcel reply, argument
865 data.enforceInterface(DESCRIPTOR);
867 listener = IMountServiceListener.Stub.asInterface(data.readStrongBinder());
873 data.enforceInterface(DESCRIPTOR);
875 listener = IMountServiceListener.Stub.asInterface(data.readStrongBinder());
881 data.enforceInterface(DESCRIPTOR);
888 data.enforceInterface(DESCRIPTOR);
890 enable = 0 != data.readInt();
896 data.enforceInterface(DESCRIPTOR);
903 data
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.h25 // A NativeFrame stores data in a memory buffer (on the heap). It is used for
26 // data processing on the CPU.
34 // Set the frame data and size in bytes. The NativeFrame object takes ownership of the data.
35 // To copy data into an existing frame, use WriteData().
36 bool SetData(uint8_t* data, int size);
38 // Write the specified data of the given size to the frame at the specified offset. The
39 // receiver must be large enough to hold the data.
40 bool WriteData(const uint8_t* data, int offset, int size);
42 // Returns a pointer to the data, o
[all...]
H A Dvalue.h57 Value MakeBufferValue(const char* data, int size);
58 Value MakeBufferValueNoCopy(const char* data, int size);
59 Value MakeMutableBufferValue(const char* data, int size);
60 Value MakeMutableBufferValueNoCopy(char* data, int size);
64 // Note: These only alloc if value is Null! Otherwise they overwrite, so data must fit!
/frameworks/webview/chromium/tools/
H A Dwebview_command_line17 CMD_LINE_FILE=/data/local/tmp/webview-command-line
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java31 * <p> This class provides the primary method through which data is passed to
150 * not contain mipmaps. On upload, the allocation data will contain a
454 * @param d the source data array
471 * @param d the source data array
488 * @param d the source data array
505 * @param d the source data array
523 * @param d the source data array
541 * @param d the source data array
559 * @param d the source data array
577 * @param d the source data arra
831 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
855 copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, byte[] data) argument
862 copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, short[] data) argument
869 copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, int[] data) argument
876 copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, float[] data) argument
894 copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) argument
909 copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) argument
924 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument
939 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument
956 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument
975 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument
1010 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, byte[] data) argument
1021 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, short[] data) argument
1032 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, int[] data) argument
1043 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, float[] data) argument
1064 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, byte[] data) argument
1073 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, short[] data) argument
1082 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, int[] data) argument
1091 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, float[] data) argument
1112 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Allocation data, int dataXoff, int dataYoff, int dataZoff) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp40 static uint16_t u16at(const uint8_t *data) { argument
41 return data[0] << 8 | data[1];
44 static uint32_t u32at(const uint8_t *data) { argument
45 return u16at(data) << 16 | u16at(&data[2]);
48 static uint64_t u64at(const uint8_t *data) { argument
49 return (uint64_t)(u32at(data)) << 32 | u32at(&data[4]);
346 s->mRTCPSocket, buffer->data(), buffe
427 const uint8_t *data = buffer->data(); local
506 const uint8_t *data = buffer->data(); local
579 parseBYE( StreamInfo *s, const uint8_t *data, size_t size) argument
597 parseSR( StreamInfo *s, const uint8_t *data, size_t size) argument
[all...]
/frameworks/base/libs/hwui/
H A DMatrix.h41 float data[16]; member in class:android::uirenderer::Matrix4
89 return data[index];
94 return data[index];
103 return !memcmp(&a.data[0], &b.data[0], 16 * sizeof(float));
139 data[kTranslateX] += x;
140 data[kTranslateY] += y;
152 if (data[kTranslateX] != 0.0f || data[kTranslateY] != 0.0f) {
209 return data[
[all...]
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
H A DHugeAgent.java43 * to change what data we back up and how we store the state blob.
49 * data is backed up. This key identifies different data records
50 * within this one application's data set. Since we only maintain
51 * one piece of data we don't need to distinguish, so we just pick
57 /** The app's current data, read from the live disk file */
62 /** The location of the application's persistent data file */
65 /** For convenience, we set up the File object for the app's data on creation */
72 * The set of data backed up by this application is very small: just
74 * easiest to simply store a copy of the backed-up data a
87 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
220 onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
[all...]
/frameworks/native/cmds/service/
H A Dservice.cpp47 Parcel data, reply; local
48 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply);
133 Parcel data, reply; local
136 data.writeInterfaceToken(ifName);
148 data.writeInt32(atoi(argv[optind++]));
157 data.writeString16(String16(argv[optind++]));
160 data.writeStrongBinder(NULL);
187 else if (strcmp(key, "data") == 0)
219 writeString16(data, action);
220 writeString16(data, dataAr
[all...]
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp34 if (mSize && surface.data)
35 free(surface.data);
74 if (!surface.data)
96 if (mMipmaps[i].data) {
97 free(mMipmaps[i].data);
122 if (mSize && surface.data) {
123 free(surface.data);
154 sur.data = 0;
167 if (size!=mSize || !surface.data) {
168 if (mSize && surface.data) {
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DABuffer.h33 ABuffer(void *data, size_t capacity);
38 uint8_t *data() { return (uint8_t *)mData + mRangeOffset; } function in struct:android::ABuffer
45 void setInt32Data(int32_t data) { mInt32Data = data; } argument
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_crc.h90 void calculate_crc(uint32 data,
/frameworks/av/media/libstagefright/foundation/
H A Dhexdump.cpp43 const uint8_t *data = (const uint8_t *)_data; local
63 sprintf(tmp, "%02x ", data[offset + i]);
75 if (isprint(data[offset + i])) {
76 line.append((char)data[offset + i]);
/frameworks/av/media/libstagefright/timedtext/
H A DTextDescriptions.h37 const uint8_t *data, ssize_t size,
71 const uint8_t *data, ssize_t size,
74 const uint8_t *data, ssize_t size,
77 const uint8_t *data, ssize_t size,
/frameworks/base/core/java/com/android/internal/backup/
H A DIObbBackupService.aidl36 void backupObbs(in String packageName, in ParcelFileDescriptor data,
42 void restoreObbFile(in String pkgName, in ParcelFileDescriptor data,
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DIfdData.java135 IfdData data = (IfdData) obj;
136 if (data.getId() == mIfdId && data.getTagCount() == getTagCount()) {
137 ExifTag[] tags = data.getAllTags();
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.h20 void SHA1Update(SHA1_CTX* context, const unsigned char* data,
/frameworks/compile/mclinker/lib/MC/
H A DMCLDInput.cpp21 m_Name(pName.data()),
32 m_Name(pName.data()),
46 m_Name(pName.data()),
61 m_Name(pName.data()),
/frameworks/ml/bordeaux/learning/multiclass_pa/native/
H A Dmulticlass_pa.cpp171 float MulticlassPA::Train(const vector<pair<vector<float>, int> >& data, argument
173 int num_examples = data.size();
177 float loss_t = TrainOneExample(data[index].first, data[index].second);
184 const vector<pair<vector<pair<int, float> >, int> >& data,
186 int num_examples = data.size();
190 float loss_t = SparseTrainOneExample(data[index].first, data[index].second);
224 float MulticlassPA::Test(const vector<pair<vector<float>, int> >& data) { argument
225 int num_examples = data
183 SparseTrain( const vector<pair<vector<pair<int, float> >, int> >& data, int num_iterations) argument
236 SparseTest( const vector<pair<vector<pair<int, float> >, int> >& data) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSimSmsTest.java45 SmsRawData data = records.get(i);
46 if (data != null && firstValidIndex == -1) {
48 pdu = data.getBytes();
50 if (data == null && firstNullIndex == -1) {
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic.h50 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);

Completed in 2967 milliseconds

1234567891011>>