Home
last modified time | relevance | path

Searched refs:Data (Results 1 – 25 of 719) sorted by relevance

12345678910>>...29

/aosp12/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
H A DProjections.java66 Data._ID, // 0
71 Data.PHOTO_ID, // 5
73 Data.LOOKUP_KEY, // 7
74 Data.CARRIER_PRESENCE, // 8
75 Data.CONTACT_ID, // 9
85 Data._ID, // 0
90 Data.PHOTO_ID, // 5
92 Data.LOOKUP_KEY, // 7
93 Data.CARRIER_PRESENCE, // 8
94 Data.CONTACT_ID, // 9
[all …]
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandler.java42 Data.DATA1, Data.DATA2};
50 Data.RAW_CONTACT_ID,
51 Data.IS_PRIMARY,
52 Data.DATA1,
56 Data._ID,
59 Data.IS_PRIMARY,
60 Data.DATA1,
71 String[] COLUMNS = { Data._ID, Data.RAW_CONTACT_ID, Data.MIMETYPE };
94 if (StructuredName.DISPLAY_NAME != Data.DATA1 || Nickname.NAME != Data.DATA1 in DataRowHandler()
95 || Organization.COMPANY != Data.DATA1 || Phone.NUMBER != Data.DATA1 in DataRowHandler()
[all …]
/aosp12/system/media/audio_utils/
H A DMetadata.cpp26 (new(std::nothrow) Data()); in audio_metadata_create()
33 reinterpret_cast<Data *>(metadata)->emplace(key, value); in audio_metadata_put_int32()
41 reinterpret_cast<Data *>(metadata)->emplace(key, value); in audio_metadata_put_int64()
49 reinterpret_cast<Data *>(metadata)->emplace(key, value); in audio_metadata_put_float()
57 reinterpret_cast<Data *>(metadata)->emplace(key, value); in audio_metadata_put_double()
65 reinterpret_cast<Data *>(metadata)->emplace(key, value); in audio_metadata_put_string()
74 reinterpret_cast<Data *>(metadata)->emplace(key, *reinterpret_cast<Data *>(value)); in audio_metadata_put_data()
145 Data *valueData = reinterpret_cast<Data *>(metadata)->get_ptr(Key<Data>(key)); in audio_metadata_get_data()
151 new(std::nothrow) Data(*valueData)); in audio_metadata_get_data()
161 return reinterpret_cast<Data *>(metadata)->erase(key); in audio_metadata_erase()
[all …]
/aosp12/packages/modules/adb/pairing_connection/tests/
H A Dpairing_client.cpp50 explicit PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert,
51 const Data& priv_key);
64 const Data& cert, const Data& priv_key);
77 Data pswd_;
79 Data cert_;
80 Data priv_key_;
90 ConnectionPtr PairingClientImpl::CreatePairingConnection(const Data& pswd, in CreatePairingConnection()
92 const Data& cert, const Data& priv_key) { in CreatePairingConnection()
99 PairingClientImpl::PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingClientImpl()
100 const Data& priv_key) in PairingClientImpl()
[all …]
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
H A DDataItemTests.java31 import android.provider.ContactsContract.Contacts.Data;
60 mValues1.put(Data._ID, 1); in setUp()
61 mValues2.put(Data._ID, 2); in setUp()
62 mValues3.put(Data._ID, 3); in setUp()
63 mValues4.put(Data._ID, 4); in setUp()
80 mValues1.put(Data.IS_SUPER_PRIMARY, 1); in testDataItemCollapsing_genericDataItemFields()
81 mValues2.put(Data.IS_PRIMARY, 0); in testDataItemCollapsing_genericDataItemFields()
88 kind.typeColumn = Data.DATA2; in testDataItemCollapsing_genericDataItemFields()
171 mValues1.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testDataItemCollapsing_im()
172 mValues2.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testDataItemCollapsing_im()
[all …]
/aosp12/system/nfc/src/fuzzers/
H A Dfuzz_utils.cc23 auto s = *Data++; in UnpackPackets()
31 result.push_back(bytes_t(Data, Data + s)); in UnpackPackets()
35 Data += s; in UnpackPackets()
55 *Data++ = (uint8_t)s; in PackPackets()
58 memcpy(Data, it->data(), s); in PackPackets()
60 Data += s; in PackPackets()
68 extern "C" size_t LLVMFuzzerCustomMutator(uint8_t* Data, size_t Size, in LLVMFuzzerCustomMutator() argument
71 auto Packets = UnpackPackets(Data, Size); in LLVMFuzzerCustomMutator()
99 Size = PackPackets(Packets, Data, MaxSize); in LLVMFuzzerCustomMutator()
101 BytesToHex(Data, Size).c_str()); in LLVMFuzzerCustomMutator()
[all …]
/aosp12/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupMembersAdapter.java41 Data.CONTACT_ID,
42 Data.RAW_CONTACT_ID,
43 Data.PHOTO_ID,
44 Data.LOOKUP_KEY,
45 Data.CONTACT_PRESENCE,
46 Data.CONTACT_STATUS,
51 Data.CONTACT_ID,
52 Data.RAW_CONTACT_ID,
53 Data.PHOTO_ID,
54 Data.LOOKUP_KEY,
[all …]
/aosp12/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayCtrlData.h95 class Data : utils::NoCopy {
98 explicit Data();
100 ~Data();
128 Data data;
227 inline Data::Data() { in Data() function
231 inline Data::~Data() { close(); } in ~Data()
237 inline bool Data::init(uint32_t fbnum) { in init()
245 inline bool Data::close() { in close()
253 inline bool Data::queueBuffer(int fd, uint32_t offset) { in queueBuffer()
257 inline void Data::dump() const { in dump()
[all …]
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/
H A DContactLoaderTest.java25 import android.provider.ContactsContract.Data;
327 Data.DATA1, Data.DATA2, Data.DATA3, Data.DATA4, Data.DATA5, in fetchAllData()
328 Data.DATA6, Data.DATA7, Data.DATA8, Data.DATA9, Data.DATA10, in fetchAllData()
329 Data.DATA11, Data.DATA12, Data.DATA13, Data.DATA14, Data.DATA15, in fetchAllData()
330 Data.SYNC1, Data.SYNC2, Data.SYNC3, Data.SYNC4, in fetchAllData()
331 Data.DATA_VERSION, Data.IS_PRIMARY, in fetchAllData()
332 Data.IS_SUPER_PRIMARY, Data.MIMETYPE, in fetchAllData()
336 Data.PRESENCE, Data.CHAT_CAPABILITY, in fetchAllData()
337 Data.STATUS, Data.STATUS_RES_PACKAGE, Data.STATUS_ICON, in fetchAllData()
338 Data.STATUS_LABEL, Data.STATUS_TIMESTAMP, in fetchAllData()
[all …]
/aosp12/frameworks/compile/mclinker/unittests/
H A DLinearAllocatorTest.cpp18 m_pTestee = new LinearAllocator<Data, CHUNK_SIZE>(); in LinearAllocatorTest()
38 Data* pointer = m_pTestee->allocate(10); in TEST_F()
45 Data* pointer = m_pTestee->allocate(); in TEST_F()
59 Data* pointer = m_pTestee->allocate(); in TEST_F()
68 Data* pointer = m_pTestee->allocate(); in TEST_F()
69 Data data(7, 7, 7, 7); in TEST_F()
79 Data* pointer = m_pTestee->allocate(10); in TEST_F()
88 Data* pointer = m_pTestee->allocate(10); in TEST_F()
89 Data data(7, 7, 7, 7); in TEST_F()
100 Data* pointer = m_pTestee->allocate(); in TEST_F()
[all …]
H A DRTLinearAllocatorTest.cpp18 m_pTestee = new LinearAllocator<Data, 0>(CHUNK_SIZE); in RTLinearAllocatorTest()
39 Data* pointer = m_pTestee->allocate(10); in TEST_F()
46 Data* pointer = m_pTestee->allocate(); in TEST_F()
60 Data* pointer = m_pTestee->allocate(); in TEST_F()
69 Data* pointer = m_pTestee->allocate(); in TEST_F()
70 Data data(7, 7, 7, 7); in TEST_F()
80 Data* pointer = m_pTestee->allocate(10); in TEST_F()
89 Data* pointer = m_pTestee->allocate(10); in TEST_F()
90 Data data(7, 7, 7, 7); in TEST_F()
101 Data* pointer = m_pTestee->allocate(); in TEST_F()
[all …]
/aosp12/packages/modules/adb/pairing_auth/
H A Dpairing_auth.cpp42 using Data = std::vector<uint8_t>; typedef
48 explicit PairingAuthCtx(Role role, const Data& pswd);
53 const Data& msg() const;
65 bool InitCipher(const Data& their_msg);
69 Data Encrypt(const Data& data);
73 Data Decrypt(const Data& data);
82 Data our_msg_;
164 PairingAuthCtx::Data PairingAuthCtx::Encrypt(const PairingAuthCtx::Data& data) { in Encrypt()
173 return Data(); in Encrypt()
180 PairingAuthCtx::Data PairingAuthCtx::Decrypt(const PairingAuthCtx::Data& data) { in Decrypt()
[all …]
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/audio/
H A DAudioMetrics.java32 private Data mData = new Data();
37 public static class Data { class in AudioMetrics
43 public Data() { in Data() method in AudioMetrics.Data
46 public Data(Data data) { in Data() method in AudioMetrics.Data
56 void onUpdateMetrics(AudioMetrics.Data data); in onUpdateMetrics()
68 mData = new Data(); in start()
79 mData = new Data(mData); in startedReading()
90 mData = new Data(mData); in receivedValidAudio()
97 mData = new Data(mData); in setEmptyAudioDurationMs()
/aosp12/system/nfc/utils/test/ringbuffer_fuzzer/
H A Dringbuffer_fuzzer.cpp10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
17 uint16_t buffer_size = *((const uint16_t*)Data); in LLVMFuzzerTestOneInput()
26 switch (Data[i++] % 6) { in LLVMFuzzerTestOneInput()
40 size_t bytes_to_insert = std::min(bytes_left - 1, (size_t)Data[i++]); in LLVMFuzzerTestOneInput()
41 ringbuffer_insert(buffer, &Data[i], bytes_to_insert); in LLVMFuzzerTestOneInput()
50 size_t bytes_to_grab = Data[i++]; in LLVMFuzzerTestOneInput()
54 offset = Data[i++] % ringbuffer_size(buffer); in LLVMFuzzerTestOneInput()
66 size_t bytes_to_grab = Data[i++]; in LLVMFuzzerTestOneInput()
76 ringbuffer_delete(buffer, (size_t)Data[i++]); in LLVMFuzzerTestOneInput()
/aosp12/system/bt/gd/hal/
H A Dfacade.cc45 const ::bluetooth::facade::Data* request, in SendCommand()
59 const ::bluetooth::facade::Data* request, in SendAcl()
68 const ::bluetooth::facade::Data* request, in SendSco()
78 ::grpc::ServerWriter<::bluetooth::facade::Data>* writer) override { in StreamEvents()
85 ::grpc::ServerWriter<::bluetooth::facade::Data>* writer) override { in StreamAcl()
92 ::grpc::ServerWriter<::bluetooth::facade::Data>* writer) override { in StreamSco()
99 ::grpc::ServerWriter<::bluetooth::facade::Data>* writer) override { in StreamIso()
105 ::bluetooth::facade::Data response; in hciEventReceived()
114 ::bluetooth::facade::Data response; in aclDataReceived()
120 ::bluetooth::facade::Data response; in scoDataReceived()
[all …]
H A Dhal_facade.proto9 rpc SendCommand(facade.Data) returns (google.protobuf.Empty) {}
10 rpc StreamEvents(google.protobuf.Empty) returns (stream facade.Data) {}
12 rpc SendAcl(facade.Data) returns (google.protobuf.Empty) {}
13 rpc StreamAcl(google.protobuf.Empty) returns (stream facade.Data) {}
15 rpc SendSco(facade.Data) returns (google.protobuf.Empty) {}
16 rpc StreamSco(google.protobuf.Empty) returns (stream facade.Data) {}
18 rpc SendIso(facade.Data) returns (google.protobuf.Empty) {}
19 rpc StreamIso(google.protobuf.Empty) returns (stream facade.Data) {}
/aosp12/packages/modules/adb/client/pairing/
H A Dpairing_client.cpp50 explicit PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert,
51 const Data& priv_key);
75 Data pswd_;
77 Data cert_;
78 Data priv_key_;
87 PairingClientImpl::PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingClientImpl()
88 const Data& priv_key) in PairingClientImpl()
163 std::unique_ptr<PairingClient> PairingClient::Create(const Data& pswd, const PeerInfo& peer_info, in Create()
164 const Data& cert, const Data& priv_key) { in Create()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java52 import android.provider.ContactsContract.Data;
254 values.put(Data.IS_PRIMARY, 1); in insertOrganization()
417 mResolver.delete(Data.CONTENT_URI, in removeGroupMemberships()
765 final String[] projection = new String[]{Data.MIMETYPE, Data._ID, Data.IS_SUPER_PRIMARY}; in assertSuperPrimary()
1235 new String[] {Data.DATA1, Data.TIMES_USED, Data.LAST_TIME_USED};
1242 assertCursorHasAnyRecordMatch(cursor, cv(Data.DATA1, data1, Data.TIMES_USED, 0, in assertDataUsageZero()
1310 Data.MIMETYPE, in dumpData()
1311 Data.DATA1, in dumpData()
1312 Data.DATA2, in dumpData()
1313 Data.DATA3, in dumpData()
[all …]
H A DContactsProvider2Test.java417 Data._ID, in testDataProjection()
425 Data.DATA1, in testDataProjection()
426 Data.DATA2, in testDataProjection()
508 Data._ID, in testDistinctDataProjection()
1194 assertSelection(Data.CONTENT_URI, values, Data._ID, dataId); in testDataInsert()
3668 new String[]{Data._ID, Data.MIMETYPE}, null, null, null); in testQueryProfileDataByDataIdWithoutReadPermission()
3714 Data.RAW_CONTACT_ID + "=? AND " + Data.MIMETYPE + "=?", in testUpdateDataDoesNotRequireProfilePermission()
3722 mResolver.update(Data.CONTENT_URI, values, Data._ID + "=?", in testUpdateDataDoesNotRequireProfilePermission()
6072 values.put(Data.CARRIER_PRESENCE, Data.CARRIER_PRESENCE_VT_CAPABLE); in testDataCreateUpdateDeleteByMimeType()
9360 values.put(Data.CARRIER_PRESENCE, Data.CARRIER_PRESENCE_VT_CAPABLE); in putDataValues()
[all …]
/aosp12/build/soong/third_party/zip/
H A Dwriter_test.go20 Data []byte member
34 Data: nil, // large data set in the test
40 Data: []byte("setuid file"),
46 Data: []byte("setgid file"),
52 Data: []byte("../link/target"),
63 writeTests[1].Data = largeData
65 writeTests[1].Data = nil
95 writeTests[1].Data = largeData
97 writeTests[1].Data = nil
155 _, err = f.Write(wt.Data)
[all …]
/aosp12/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
H A DHistoryEvaluator.java30 private final ArrayList<Data> strokes = new ArrayList<>();
31 private final ArrayList<Data> gestureWeights = new ArrayList<>();
40 strokes.add(new Data(evaluation)); in addStroke()
45 gestureWeights.add(new Data(evaluation)); in addGesture()
53 private float weightedAverage(ArrayList<Data> list) { in weightedAverage()
58 Data data = list.get(i); in weightedAverage()
85 private void decayValue(ArrayList<Data> list, float factor) { in decayValue()
105 private static class Data { class in HistoryEvaluator
109 public Data(float evaluation) { in Data() method in HistoryEvaluator.Data
/aosp12/hardware/qcom/display/msm8994/liboverlay/
H A DoverlayCtrlData.h97 class Data : utils::NoCopy {
100 explicit Data(const int& dpy);
102 ~Data();
222 inline Data::Data(const int& dpy) : mMdp(new MdpData(dpy)) { in Data() function
225 inline Data::~Data() { in ~Data()
229 inline void Data::setPipeId(int id) { mMdp->setPipeId(id); } in setPipeId()
231 inline int Data::getPipeId() const { return mMdp->getPipeId(); } in getPipeId()
233 inline bool Data::queueBuffer(int fd, uint32_t offset) { in queueBuffer()
237 inline void Data::dump() const { in dump()
243 inline void Data::getDump(char *buf, size_t len) { in getDump()
/aosp12/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayCtrlData.h97 class Data : utils::NoCopy {
100 explicit Data(const int& dpy);
102 ~Data();
221 inline Data::Data(const int& dpy) : mMdp(new MdpData(dpy)) { in Data() function
224 inline Data::~Data() { in ~Data()
228 inline void Data::setPipeId(int id) { mMdp->setPipeId(id); } in setPipeId()
230 inline int Data::getPipeId() const { return mMdp->getPipeId(); } in getPipeId()
232 inline bool Data::queueBuffer(int fd, uint32_t offset) { in queueBuffer()
236 inline void Data::dump() const { in dump()
242 inline void Data::getDump(char *buf, size_t len) { in getDump()
/aosp12/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayCtrlData.h97 class Data : utils::NoCopy {
100 explicit Data(const int& dpy);
102 ~Data();
222 inline Data::Data(const int& dpy) : mMdp(new MdpData(dpy)) { in Data() function
225 inline Data::~Data() { in ~Data()
229 inline void Data::setPipeId(int id) { mMdp->setPipeId(id); } in setPipeId()
231 inline int Data::getPipeId() const { return mMdp->getPipeId(); } in getPipeId()
233 inline bool Data::queueBuffer(int fd, uint32_t offset) { in queueBuffer()
237 inline void Data::dump() const { in dump()
243 inline void Data::getDump(char *buf, size_t len) { in getDump()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DDataStatus.java23 import android.provider.ContactsContract.Data;
56 final boolean hasStatus = !isNull(cursor, Data.STATUS); in possibleUpdate()
57 final boolean hasTimestamp = !isNull(cursor, Data.STATUS_TIMESTAMP); in possibleUpdate()
66 final long newTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1); in possibleUpdate()
77 mPresence = getInt(cursor, Data.PRESENCE, -1); in fromCursor()
78 mStatus = getString(cursor, Data.STATUS); in fromCursor()
79 mTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1); in fromCursor()
80 mResPackage = getString(cursor, Data.STATUS_RES_PACKAGE); in fromCursor()
81 mIconRes = getInt(cursor, Data.STATUS_ICON, -1); in fromCursor()
82 mLabelRes = getInt(cursor, Data.STATUS_LABEL, -1); in fromCursor()

12345678910>>...29