Searched defs:data (Results 76 - 100 of 1246) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DDrmInitData.java26 * Encapsulates initialization data required by a {@link MediaDrm} instance.
37 * Retrieves initialization data for a given DRM scheme, specified by its UUID.
40 * @return The initialization data for the scheme, or null if the scheme is not supported.
45 * Scheme initialization data.
50 * The mimeType of {@link #data}.
54 * The initialization data.
56 public final byte[] data; field in class:DrmInitData.SchemeInitData
59 * @param mimeType The mimeType of the initialization data.
60 * @param data The initialization data
64 SchemeInitData(String mimeType, byte[] data) argument
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.cpp30 bool NativeFrame::WriteData(const uint8_t* data, int offset, int size) { argument
32 memcpy(data_ + offset, data, size);
38 bool NativeFrame::SetData(uint8_t* data, int size) { argument
41 data_ = data;
H A Dvertex_frame.cpp42 bool VertexFrame::WriteData(const uint8_t* data, int size) { argument
50 // Upload the data
56 glBufferData(GL_ARRAY_BUFFER, size, data, GL_STATIC_DRAW);
58 glBufferSubData(GL_ARRAY_BUFFER, 0, size, data);
60 ALOGE("VertexFrame: Attempting to upload more data (%d bytes) than fits "
/frameworks/base/packages/MtpDocumentsProvider/perf_tests/src/com/android/mtp/
H A DAppFusePerfTest.java109 public int onRead(long offset, int size, byte[] data) throws ErrnoException { argument
114 public int onWrite(long offset, int size, byte[] data) throws ErrnoException { argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
H A DAsyncLoader.java31 * @param <T> the data type to be loaded.
57 public void deliverResult(final T data) { argument
59 if (data != null) {
60 onDiscardResult(data);
66 mResult = data;
69 super.deliverResult(data);
90 public void onCanceled(final T data) { argument
91 super.onCanceled(data);
93 if (data != null) {
94 onDiscardResult(data);
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityResult.java29 int requestCode, int resultCode, Intent data) {
30 super(resultWho, requestCode, resultCode, data);
28 ActivityResult(ActivityRecord from, String resultWho, int requestCode, int resultCode, Intent data) argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSmsRawData.java27 byte[] data; field in class:SmsRawData
35 byte[] data = new byte[size];
36 source.readByteArray(data);
37 return new SmsRawData(data);
46 public SmsRawData(byte[] data) { argument
47 this.data = data;
51 return data;
59 dest.writeInt(data.length);
60 dest.writeByteArray(data);
[all...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DKMLFormatter.java17 package com.android.locationtracker.data;
19 import com.android.locationtracker.data.TrackerEntry.EntryType;
24 * Formats tracker data as KML output
H A DTrackerListHelper.java16 package com.android.locationtracker.data;
28 * Used to bind Tracker data to a list view UI
43 * Helper method for binding the list activities UI to the tracker data
44 * Tracker data will be sorted in most-recent first order
45 * Will enable automatic UI changes as tracker data changes
47 * @param layout - layout to populate data
/frameworks/base/tests/net/java/android/net/
H A DUidRangeTest.java96 * Write a {@link UidRange} into an empty parcel and return the underlying data.
112 private static UidRange unmarshall(byte[] data) { argument
114 p.unmarshall(data, 0, data.length);
/frameworks/base/tools/aapt/tests/
H A DMockDirectoryWalker.h18 // Instead of system calls it queries a private data structure for the directory
24 StringDirectoryWalker(String8& path, Vector< pair<String8,time_t> >& data) argument
25 : mPos(0), mBasePath(path), mData(data) {
47 // Place data in the entry descriptor. This class only returns files.
56 // Place data in stats
/frameworks/base/tools/aapt2/format/binary/
H A DXmlFlattener_test.cpp68 std::unique_ptr<uint8_t[]> data = util::Copy(buffer); local
69 if (out_tree->setTo(data.get(), buffer.size(), true) != NO_ERROR) {
103 EXPECT_THAT(tree.indexOfAttribute(nullptr, 0, kAttr.data(), kAttr.size()), Eq(0));
192 EXPECT_THAT(tree.indexOfAttribute(nullptr, 0, kPackage.data(), kPackage.size()), Ge(0));
207 ssize_t idx = tree.indexOfAttribute(nullptr, 0, kPackage.data(), kPackage.size());
273 idx = tree.indexOfAttribute(nullptr, 0, kValue.data(), kValue.size());
277 idx = tree.indexOfAttribute(nullptr, 0, kPattern.data(), kPattern.size());
281 idx = tree.indexOfAttribute(nullptr, 0, kOther.data(), kOther.size());
/frameworks/base/tools/aapt2/io/
H A DBigBufferStream.cpp26 bool BigBufferInputStream::Next(const void** data, size_t* size) { argument
39 *data = iter_->buffer.get() + offset_;
83 bool BigBufferOutputStream::Next(void** data, size_t* size) { argument
84 *data = buffer_->NextBlock(size);
H A DUtil.h45 // Copies the data from in to out. Returns false if there was an error.
56 bool Next(void** data, size_t* size) override {
58 bool result = out_->Next(data, &out_size);
90 bool Next(const void** data, int* size) override {
92 bool result = in_->Next(data, &out_size);
102 const void* data; variable
104 while (Next(&data, &size)) {
/frameworks/base/tools/aapt2/util/
H A DImmutableMap.h46 std::vector<std::pair<TKey, TValue>> data(list.begin(), list.end());
47 std::sort(data.begin(), data.end());
48 return ImmutableMap(std::move(data));
74 explicit ImmutableMap(std::vector<std::pair<TKey, TValue>> data) argument
75 : data_(std::move(data)) {}
H A DMaybe_test.cpp27 data = new int;
28 *data = 1;
29 std::cerr << "Construct Dummy{0x" << (void*)this << "} with data=0x"
30 << (void*)data << std::endl;
34 data = nullptr;
35 if (rhs.data) {
36 data = new int;
37 *data = *rhs.data;
44 data
78 int* data; member in struct:aapt::Dummy
[all...]
/frameworks/base/tools/preload2/src/com/android/preload/
H A DDumpTableModel.java30 private List<DumpData> data = new ArrayList<DumpData>(); field in class:DumpTableModel
33 data.add(d);
34 fireTableRowsInserted(data.size() - 1, data.size() - 1);
38 int size = data.size();
40 data.clear();
46 return data;
51 return data.size();
78 DumpData d = data.get(rowIndex);
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pUpnpServiceInfo.java96 * @param data
99 private static String createSupplicantQuery(String uuid, String data) { argument
105 if (data != null) {
107 sb.append(data);
/frameworks/compile/mclinker/lib/LD/
H A DELFBinaryReader.cpp45 // section: .data
48 ".data",
53 SectionData* data = m_Builder.CreateSectionData(*data_sect); local
56 m_Builder.AppendFragment(*frag, *data);
69 // symbol: .data
71 ".data",
/frameworks/compile/mclinker/unittests/
H A DFactoriesTest.cpp55 node->data = (int*)malloc(sizeof(int));
56 *(node->data) = i;
60 NodeAlloc::iterator data = m_pNodeAlloc->begin(); local
62 for (; data != dEnd; ++data) {
63 ASSERT_EQ(counter, *(*data).data);
64 free((*data).data);
65 (*data)
81 NodeAlloc::iterator data = m_pNodeAlloc->begin(); local
103 NodeAlloc::iterator data = m_pNodeAlloc->begin(); local
139 NodeAlloc::iterator data = m_pNodeAlloc->begin(); local
[all...]
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteLayoutLog.java34 * @param data an optional data bundle that the client can use to improve the warning display.
36 void warning(String tag, String message, Serializable data) throws RemoteException; argument
48 * @param data an optional data bundle that the client can use to improve the warning display.
51 Object data) throws RemoteException;
58 * @param data an optional data bundle that the client can use to improve the error display.
60 void error(String tag, String message, Serializable data) throws RemoteException; argument
68 * @param data a
50 fidelityWarning(String tag, String message, Throwable throwable, Object viewCookie, Object data) argument
70 error(String tag, String message, Throwable throwable, Serializable data) argument
[all...]
/frameworks/minikin/include/minikin/
H A DU16StringPiece.h29 U16StringPiece(const uint16_t* data, uint32_t length) : mData(data), mLength(length) {} argument
31 : mData(v.data()), mLength(static_cast<uint32_t>(v.size())) {}
33 U16StringPiece(uint16_t const (&data)[length]) : mData(data), mLength(length) {} argument
38 inline const uint16_t* data() const { return mData; } function in class:minikin::U16StringPiece
/frameworks/ml/nn/runtime/test/generated/vts_models/
H A Dmobilenet_224_gender_basic_fixed.model.cpp2125 const uint8_t data[] = { local
[all...]
H A Dmobilenet_224_gender_basic_fixed_relaxed.model.cpp2125 const uint8_t data[] = { local
[all...]
H A Dmobilenet_quantized.model.cpp2157 const uint8_t data[] = { local
[all...]

Completed in 363 milliseconds

1234567891011>>