Home
last modified time | relevance | path

Searched refs:data1 (Results 1 – 25 of 36) sorted by relevance

12

/packages/modules/Bluetooth/system/embdrv/encoder_for_aptx/src/
DQmfConv.c39 int16_t data1; in AsmQmfConvO() local
49 data1 = (*(p2dl_buffPtr)); in AsmQmfConvO()
54 local_acc1 = ((int64_t)(coeffVal0) * (int64_t)data1); in AsmQmfConvO()
61 data1 = (*(p2dl_buffPtr + 2)); in AsmQmfConvO()
66 local_acc1 += ((int64_t)(coeffVal0) * (int64_t)data1); in AsmQmfConvO()
73 data1 = (*(p2dl_buffPtr + 4)); in AsmQmfConvO()
78 local_acc1 += ((int64_t)(coeffVal0) * (int64_t)data1); in AsmQmfConvO()
85 data1 = (*(p2dl_buffPtr + 6)); in AsmQmfConvO()
90 local_acc1 += ((int64_t)(coeffVal0) * (int64_t)data1); in AsmQmfConvO()
97 data1 = (*(p2dl_buffPtr + 8)); in AsmQmfConvO()
[all …]
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptxhd/src/
DQmfConv.c41 int32_t data1; in AsmQmfConvO_HD() local
51 data1 = (*(p2dl_buffPtr)); in AsmQmfConvO_HD()
56 local_acc1 = ((int64_t)(coeffVal0) * (int64_t)data1); in AsmQmfConvO_HD()
63 data1 = (*(p2dl_buffPtr + 2)); in AsmQmfConvO_HD()
68 local_acc1 += ((int64_t)(coeffVal0) * (int64_t)data1); in AsmQmfConvO_HD()
75 data1 = (*(p2dl_buffPtr + 4)); in AsmQmfConvO_HD()
80 local_acc1 += ((int64_t)(coeffVal0) * (int64_t)data1); in AsmQmfConvO_HD()
87 data1 = (*(p2dl_buffPtr + 6)); in AsmQmfConvO_HD()
92 local_acc1 += ((int64_t)(coeffVal0) * (int64_t)data1); in AsmQmfConvO_HD()
99 data1 = (*(p2dl_buffPtr + 8)); in AsmQmfConvO_HD()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DByteArrayRingBufferTest.java55 final byte[] data1 = {0}; in canAddAndRetrieveMultipleElements()
57 assertTrue(rb.appendBuffer(data1)); in canAddAndRetrieveMultipleElements()
60 assertSame(data1, rb.getBuffer(0)); in canAddAndRetrieveMultipleElements()
67 final byte[] data1 = {1, 2, 3, 4, 5}; in canFillToCapacityWithMultipleElements()
69 assertEquals(MAX_BYTES, data1.length + data2.length); in canFillToCapacityWithMultipleElements()
70 assertTrue(rb.appendBuffer(data1)); in canFillToCapacityWithMultipleElements()
95 final byte[] data1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in appendPrunesBufferIfNecessary()
96 assertTrue(rb.appendBuffer(data1)); in appendPrunesBufferIfNecessary()
107 final byte[] data1 = {1, 2, 3, 4, 5}; in appendPrunesMultipleBuffersIfNecessary()
109 assertTrue(rb.appendBuffer(data1)); in appendPrunesMultipleBuffersIfNecessary()
[all …]
/packages/modules/Bluetooth/system/service/test/
Dadvertise_data_unittest.cc31 const std::vector<uint8_t> data1{0x00}; in TEST() local
32 AdvertiseData adv1(data1); in TEST()
43 const std::vector<uint8_t> data1{0x05, 0x02, 0x00, 0x00, 0x00}; in TEST() local
44 AdvertiseData adv1(data1); in TEST()
65 const std::vector<uint8_t> data1{0x03, 0x02, 0x01, 0x02, 0x02, 0x03, 0x01}; in TEST() local
66 AdvertiseData adv1(data1); in TEST()
77 const std::vector<uint8_t> data1{ in TEST() local
79 AdvertiseData adv1(data1); in TEST()
101 const std::vector<uint8_t> data1{0x02, 0x03, 0x00}; in TEST() local
104 AdvertiseData adv1(data1); in TEST()
[all …]
/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_data.txt5 5 data1=Test Android
32 32 data1=Jane Doe
59 59 data1=John Doe
86 86 data1=This is a test account for Eclair Android Contacts
113 113 data1=Added On Android
140 140 data1=Acme Corp
167 167 data1=1-800-466-4411
194 194 data1=2345678901
221 221 data1=3456789012
248 248 data1=4567890123
[all …]
/packages/modules/Bluetooth/system/stack/test/
Dad_parser_unittest.cc27 const std::vector<uint8_t> data1{0x00}; in TEST() local
28 EXPECT_TRUE(AdvertiseDataParser::IsValid(data1)); in TEST()
37 const std::vector<uint8_t> data1{0x05, 0x02, 0x00, 0x00, 0x00}; in TEST() local
38 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST()
51 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST()
56 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST()
65 const std::vector<uint8_t> data1{0x03, 0x02, 0x01, 0x02, 0x02, 0x03, 0x01}; in TEST() local
66 EXPECT_TRUE(AdvertiseDataParser::IsValid(data1)); in TEST()
119 const std::vector<uint8_t> data1{0x02, 0x02, 0x00, 0x03, 0x00}; in TEST() local
122 data = AdvertiseDataParser::GetFieldByType(data1, 0x02, &p_length); in TEST()
[all …]
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dexpected_data.txt5 5 data1=Lemmy Test
32 32 data1=Mail
59 59 data1=Number
86 86 data1=Number And Mail
113 113 data1=Not Synced Number
140 140 data1=Not Synced NumberMail
167 167 data1=Not Synced Mail
194 194 data1=Not Synced
221 221 data1=698-147-02
248 248 data1=716-5432
[all …]
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterDataTest.kt103 private val data1 = constant
110 assertThat(data1.status).isEqualTo(status1) in getStatus_returnsStatus()
116 assertThat(data1.issues).containsExactly(issue1) in getIssues_returnsIssues()
122 val mutatedIssues = data1.issues in getIssues_mutationsAreNotAllowed()
129 assertThat(data1.entriesOrGroups).containsExactly(entryOrGroup1) in getEntriesOrGroups_returnsEntriesOrGroups()
135 val mutatedEntriesOrGroups = data1.entriesOrGroups in getEntriesOrGroups_mutationsAreNotAllowed()
144 assertThat(data1.staticEntryGroups).containsExactly(staticEntryGroup1) in getStaticEntryGroups_returnsStaticEntryGroups()
150 val mutatedStaticEntryGroups = data1.staticEntryGroups in getStaticEntryGroups_mutationsAreNotAllowed()
159 assertThat(data1.describeContents()).isEqualTo(0) in describeContents_returns0()
165 assertThat(data1).recreatesEqual(SafetyCenterData.CREATOR) in parcelRoundTrip_recreatesEqual()
[all …]
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dexpected_data.txt5 5 data1=Number And Mail
32 32 data1=Number
59 59 data1=Mail
86 86 data1=542-31
113 113 data1=716-5432
140 140 data1=698-147-02
167 167 data1=gdgjj.fxhnj@ggh.com
194 194 data1=weyj@xtdt.com
221 221 data1=mail@dom.com
248 248 data1=1
[all …]
/packages/apps/Dialer/java/com/android/dialer/simulator/
DSimulator.java130 @Nullable public final String data1; field in Simulator.Event
140 public Event(@Type int type, String data1, String data2) { in Event() argument
142 this.data1 = data1; in Event()
156 && Objects.equals(data1, event.data1) in equals()
162 return Objects.hash(Integer.valueOf(type), data1, data2); in hashCode()
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql34 …rimary INTEGER NOT NULL DEFAULT 0,data_version INTEGER NOT NULL DEFAULT 0,data1 TEXT,data2 TEXT,da… field
126 CREATE INDEX data_mimetype_data1_index ON data (mimetype_id,data1);
139data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, dat…
142data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, dat…
143data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, dat…
155data1 AS name, raw_contacts.display_name AS display_name, trim(trim(ifnull(name.data7,' ')||' '||i…
156 …n, is_primary AS isprimary, accounts.account_name, accounts.account_type, data1 AS company, data2 …
157data1 END) AS data, data.data3 AS label, data.data14 AS aux_data, name.data1 AS name, raw_contacts…
158data1 AS number, data.data2 AS type, data.data3 AS label, _PHONE_NUMBER_STRIPPED_REVERSED(data.dat…
159 …a.raw_contact_id AS person, accounts.account_name, accounts.account_type, data1 AS name, data2 AS …
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/
DMoreContactUtilsTest.java151 CharSequence data1, CharSequence mimetype2, CharSequence data2) { in assertCollapses() argument
152 assertEquals(message, expected, MoreContactUtils.shouldCollapse(mimetype1, data1, mimetype2, in assertCollapses()
155 data1)); in assertCollapses()
159 if (data1 == data2 && data1 != null) { in assertCollapses()
163 if (data1 == data2_newref) { in assertCollapses()
170 assertEquals(message, expected, MoreContactUtils.shouldCollapse(mimetype1, data1, in assertCollapses()
173 mimetype1, data1)); in assertCollapses()
/packages/apps/Dialer/java/com/android/contacts/common/
DMoreContactUtils.java41 CharSequence mimetype1, CharSequence data1, CharSequence mimetype2, CharSequence data2) { in shouldCollapse() argument
48 if (TextUtils.equals(data1, data2)) { in shouldCollapse()
53 if (data1 == null || data2 == null) { in shouldCollapse()
63 return shouldCollapsePhoneNumbers(data1.toString(), data2.toString()); in shouldCollapse()
/packages/apps/Contacts/src/com/android/contacts/
DMoreContactUtils.java47 public static boolean shouldCollapse(CharSequence mimetype1, CharSequence data1, in shouldCollapse() argument
53 if (TextUtils.equals(data1, data2)) return true; in shouldCollapse()
56 if (data1 == null || data2 == null) return false; in shouldCollapse()
65 return shouldCollapsePhoneNumbers(data1.toString(), data2.toString()); in shouldCollapse()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java199 final String data1 = values.getAsString(Data.DATA1); in handleHashIdForInsert() local
206 } else if (!TextUtils.isEmpty(data1) || !TextUtils.isEmpty(data2)) { in handleHashIdForInsert()
207 hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForInsert()
227 String data1 = values.getAsString(Data.DATA1); in handleHashIdForUpdate() local
234 data1 = values.containsKey(Data.DATA1) ? data1 : c.getString(0); in handleHashIdForUpdate()
241 String hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForUpdate()
/packages/modules/Connectivity/tests/common/java/android/net/
DTcpKeepalivePacketDataTest.kt51 val data1 = makeData() in <lambda>() constant
53 assertEquals(data1, data2) in <lambda>()
54 assertEquals(data1.hashCode(), data2.hashCode()) in <lambda>()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h325 AStatsEvent* makeUidStatsEvent(int atomId, int64_t eventTimeNs, int uid, int data1, int data2);
327 AStatsEvent* makeUidStatsEvent(int atomId, int64_t eventTimeNs, int uid, int data1,
330 std::shared_ptr<LogEvent> makeUidLogEvent(int atomId, int64_t eventTimeNs, int uid, int data1,
333 std::shared_ptr<LogEvent> makeUidLogEvent(int atomId, int64_t eventTimeNs, int uid, int data1,
336 shared_ptr<LogEvent> makeExtraUidsLogEvent(int atomId, int64_t eventTimeNs, int uid1, int data1,
343 const vector<int>& uids, int data1, int data2);
346 const vector<int>& uids, int data1,
351 const vector<string>& tags, int data1, int data2);
Dstatsd_test_util.cpp787 AStatsEvent* makeUidStatsEvent(int atomId, int64_t eventTimeNs, int uid, int data1, int data2) { in makeUidStatsEvent() argument
794 AStatsEvent_writeInt32(statsEvent, data1); in makeUidStatsEvent()
800 AStatsEvent* makeUidStatsEvent(int atomId, int64_t eventTimeNs, int uid, int data1, in makeUidStatsEvent() argument
807 AStatsEvent_writeInt32(statsEvent, data1); in makeUidStatsEvent()
813 shared_ptr<LogEvent> makeUidLogEvent(int atomId, int64_t eventTimeNs, int uid, int data1, in makeUidLogEvent() argument
815 AStatsEvent* statsEvent = makeUidStatsEvent(atomId, eventTimeNs, uid, data1, data2); in makeUidLogEvent()
822 shared_ptr<LogEvent> makeUidLogEvent(int atomId, int64_t eventTimeNs, int uid, int data1, in makeUidLogEvent() argument
824 AStatsEvent* statsEvent = makeUidStatsEvent(atomId, eventTimeNs, uid, data1, data2); in makeUidLogEvent()
831 shared_ptr<LogEvent> makeExtraUidsLogEvent(int atomId, int64_t eventTimeNs, int uid1, int data1, in makeExtraUidsLogEvent() argument
833 AStatsEvent* statsEvent = makeUidStatsEvent(atomId, eventTimeNs, uid1, data1, data2); in makeExtraUidsLogEvent()
[all …]
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DCountMetricsTests.java287 CountMetricData data1 = in testPartialBucketCountMetric()
293 assertThat(data1.getBucketInfoCount()).isEqualTo(1); in testPartialBucketCountMetric()
294 CountBucketInfo bucketInfo = data1.getBucketInfo(0); in testPartialBucketCountMetric()
428 .sorted((data1, data2) ->
429 Long.compare(data1.getSliceByState(0).getGroupId(),
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/ble/
DBleFilter.java351 @Nullable byte[] data1, in partialDataIsSuperset()
355 if (Arrays.equals(data1, data2) && Arrays.equals(dataMask1, dataMask2)) { in partialDataIsSuperset()
359 if (data1 == null) { in partialDataIsSuperset()
376 if (!matchesPartialData(data1, dataMask1, data2)) { in partialDataIsSuperset()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryComposerFragment.java123 GalleryGridItemData data1 = in onActivityCreated()
125 insertedImages.add(0, data1); in onActivityCreated()
126 setSelected(data1, true); in onActivityCreated()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java135 …NdefRecord data1 = new NdefRecord(NdefRecord.TNF_WELL_KNOWN, NdefRecord.RTD_TEXT, new byte[0], pay… in getSmallNdef() local
136 return new NdefMessage(new NdefRecord[]{data1}); in getSmallNdef()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.h233 Entry(const uint32_t data0, const uint32_t data1) : mData0(data0), mData1(data1) {} in Entry()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java284 final StringBuilder data1 = new StringBuilder(); in testUpgradeHashId() local
286 data1.append("L"); in testUpgradeHashId()
288 final String dataString = data1.toString(); in testUpgradeHashId()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DNonSimulatorConnectionListener.java36 String.format("state changed from %s to %s ", event.data1, event.data2)); in onEvent()

12