Home
last modified time | relevance | path

Searched refs:data2 (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/Bluetooth/system/embdrv/encoder_for_aptx/src/
DQmfConv.c40 int16_t data2; in AsmQmfConvO() local
50 data2 = (*(p1dl_buffPtr - 1)); in AsmQmfConvO()
55 local_acc0 += ((int64_t)(coeffVal1) * (int64_t)data2); in AsmQmfConvO()
62 data2 = (*(p1dl_buffPtr - 3)); in AsmQmfConvO()
67 local_acc0 += ((int64_t)(coeffVal1) * (int64_t)data2); in AsmQmfConvO()
74 data2 = (*(p1dl_buffPtr - 5)); in AsmQmfConvO()
79 local_acc0 += ((int64_t)(coeffVal1) * (int64_t)data2); in AsmQmfConvO()
86 data2 = (*(p1dl_buffPtr - 7)); in AsmQmfConvO()
91 local_acc0 += ((int64_t)(coeffVal1) * (int64_t)data2); in AsmQmfConvO()
98 data2 = (*(p1dl_buffPtr - 9)); in AsmQmfConvO()
[all …]
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptxhd/src/
DQmfConv.c42 int32_t data2; in AsmQmfConvO_HD() local
52 data2 = (*(p1dl_buffPtr - 1)); in AsmQmfConvO_HD()
57 local_acc0 += ((int64_t)(coeffVal1) * (int64_t)data2); in AsmQmfConvO_HD()
64 data2 = (*(p1dl_buffPtr - 3)); in AsmQmfConvO_HD()
69 local_acc0 += ((int64_t)(coeffVal1) * (int64_t)data2); in AsmQmfConvO_HD()
76 data2 = (*(p1dl_buffPtr - 5)); in AsmQmfConvO_HD()
81 local_acc0 += ((int64_t)(coeffVal1) * (int64_t)data2); in AsmQmfConvO_HD()
88 data2 = (*(p1dl_buffPtr - 7)); in AsmQmfConvO_HD()
93 local_acc0 += ((int64_t)(coeffVal1) * (int64_t)data2); in AsmQmfConvO_HD()
100 data2 = (*(p1dl_buffPtr - 9)); in AsmQmfConvO_HD()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DByteArrayRingBufferTest.java56 final byte[] data2 = {1}; in canAddAndRetrieveMultipleElements()
58 assertTrue(rb.appendBuffer(data2)); in canAddAndRetrieveMultipleElements()
61 assertSame(data2, rb.getBuffer(1)); in canAddAndRetrieveMultipleElements()
68 final byte[] data2 = {6, 7, 8, 9, 10}; in canFillToCapacityWithMultipleElements()
69 assertEquals(MAX_BYTES, data1.length + data2.length); in canFillToCapacityWithMultipleElements()
71 assertTrue(rb.appendBuffer(data2)); in canFillToCapacityWithMultipleElements()
98 final byte[] data2 = {11}; in appendPrunesBufferIfNecessary()
99 assertTrue(rb.appendBuffer(data2)); in appendPrunesBufferIfNecessary()
101 assertSame(data2, rb.getBuffer(0)); in appendPrunesBufferIfNecessary()
108 final byte[] data2 = {6, 7, 8, 9, 10}; in appendPrunesMultipleBuffersIfNecessary()
[all …]
/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_data.txt6 6 data2=Test
33 33 data2=Jane
60 60 data2=John
87 87 data2=null
114 114 data2=Added
141 141 data2=1
168 168 data2=1
195 195 data2=3
222 222 data2=2
249 249 data2=5
[all …]
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dexpected_data.txt6 6 data2=Lemmy
33 33 data2=Mail
60 60 data2=Number
87 87 data2=Number
114 114 data2=Not
141 141 data2=Not
168 168 data2=Not
195 195 data2=Not
222 222 data2=2
249 249 data2=2
[all …]
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dexpected_data.txt6 6 data2=Number
33 33 data2=Number
60 60 data2=Mail
87 87 data2=2
114 114 data2=2
141 141 data2=2
168 168 data2=1
195 195 data2=1
222 222 data2=1
249 249 data2=null
[all …]
/packages/apps/Dialer/java/com/android/dialer/simulator/
DSimulator.java134 @Nullable public final String data2; field in Simulator.Event
140 public Event(@Type int type, String data1, String data2) { in Event() argument
143 this.data2 = data2; in Event()
157 && Objects.equals(data2, event.data2); in equals()
162 return Objects.hash(Integer.valueOf(type), data1, data2); in hashCode()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterDataTest.kt105 private val data2 = constant
111 assertThat(data2.status).isEqualTo(status2) in getStatus_returnsStatus()
117 assertThat(data2.issues).containsExactly(issue2) in getIssues_returnsIssues()
130 assertThat(data2.entriesOrGroups).containsExactly(entryOrGroup2) in getEntriesOrGroups_returnsEntriesOrGroups()
145 assertThat(data2.staticEntryGroups).containsExactly(staticEntryGroup2) in getStaticEntryGroups_returnsStaticEntryGroups()
160 assertThat(data2.describeContents()).isEqualTo(0) in describeContents_returns0()
166 assertThat(data2).recreatesEqual(SafetyCenterData.CREATOR) in parcelRoundTrip_recreatesEqual()
177 data2, in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
/packages/modules/Bluetooth/system/service/test/
Dadvertise_data_unittest.cc48 const std::vector<uint8_t> data2{0x02, 0x02, 0x00, 0x02, 0x00}; in TEST() local
49 AdvertiseData adv2(data2); in TEST()
83 const std::vector<uint8_t> data2{ in TEST() local
85 AdvertiseData adv2(data2); in TEST()
/packages/apps/Contacts/tests/src/com/android/contacts/
DMoreContactUtilsTest.java151 CharSequence data1, CharSequence mimetype2, CharSequence data2) { in assertCollapses() argument
153 data2)); in assertCollapses()
154 assertEquals(message, expected, MoreContactUtils.shouldCollapse(mimetype2, data2, mimetype1, in assertCollapses()
159 if (data1 == data2 && data1 != null) { in assertCollapses()
161 final CharSequence data2_newref = new StringBuilder(data2).append("").toString(); 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/modules/Bluetooth/system/stack/test/
Dad_parser_unittest.cc41 const std::vector<uint8_t> data2{0x02, 0x02, 0x00, 0x02, 0x00}; in TEST() local
42 EXPECT_FALSE(AdvertiseDataParser::IsValid(data2)); in TEST()
69 const std::vector<uint8_t> data2{0x03, 0x02, 0x01, 0x02, in TEST() local
71 EXPECT_TRUE(AdvertiseDataParser::IsValid(data2)); in TEST()
/packages/apps/Contacts/src/com/android/contacts/
DMoreContactUtils.java48 CharSequence mimetype2, CharSequence data2) { 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.java200 final String data2 = values.getAsString(Data.DATA2); in handleHashIdForInsert() local
206 } else if (!TextUtils.isEmpty(data1) || !TextUtils.isEmpty(data2)) { in handleHashIdForInsert()
207 hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForInsert()
228 String data2 = values.getAsString(Data.DATA2); in handleHashIdForUpdate() local
235 data2 = values.containsKey(Data.DATA2) ? data2 : c.getString(1); in handleHashIdForUpdate()
241 String hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForUpdate()
/packages/modules/Connectivity/tests/common/java/android/net/
DTcpKeepalivePacketDataTest.kt52 val data2 = makeData() in <lambda>() constant
53 assertEquals(data1, data2) in <lambda>()
54 assertEquals(data1.hashCode(), data2.hashCode()) in <lambda>()
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql34 …GER NOT NULL DEFAULT 0,data_version INTEGER NOT NULL DEFAULT 0,data1 TEXT,data2 TEXT,data3 TEXT,da… field
139 …S res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, dat…
142 …S res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, dat…
143 …S res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, dat…
155 …S primary_email, phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type, phone.dat…
156 …sprimary, accounts.account_name, accounts.account_type, data1 AS company, data2 AS type, data3 AS …
157data2 AS type, (CASE WHEN mimetype='vnd.android.cursor.item/im' THEN (CASE WHEN data.data5=-1 THEN…
158data2 AS type, data.data3 AS label, _PHONE_NUMBER_STRIPPED_REVERSED(data.data1) AS number_key, nam…
159 …d AS person, accounts.account_name, accounts.account_type, data1 AS name, data2 AS value FROM data…
162 …S exists_on_server, legacy_photo.data3 AS download_required, legacy_photo.data2 AS local_version, …
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h325 AStatsEvent* makeUidStatsEvent(int atomId, int64_t eventTimeNs, int uid, int data1, int data2);
328 const vector<int>& data2);
331 int data2);
334 const vector<int>& data2);
337 int data2, const std::vector<int>& extraUids);
343 const vector<int>& uids, int data1, int data2);
347 const vector<int>& data2);
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
795 AStatsEvent_writeInt32(statsEvent, data2); in makeUidStatsEvent()
801 const vector<int>& data2) { in makeUidStatsEvent() argument
808 AStatsEvent_writeInt32Array(statsEvent, data2.data(), data2.size()); in makeUidStatsEvent()
814 int data2) { in makeUidLogEvent() argument
815 AStatsEvent* statsEvent = makeUidStatsEvent(atomId, eventTimeNs, uid, data1, data2); in makeUidLogEvent()
823 const vector<int>& data2) { in makeUidLogEvent() argument
824 AStatsEvent* statsEvent = makeUidStatsEvent(atomId, eventTimeNs, uid, data1, data2); in makeUidLogEvent()
832 int data2, const vector<int>& extraUids) { in makeExtraUidsLogEvent() argument
833 AStatsEvent* statsEvent = makeUidStatsEvent(atomId, eventTimeNs, uid1, data1, data2); in makeExtraUidsLogEvent()
[all …]
/packages/modules/Bluetooth/system/gd/storage/
Dconfig_cache_helper_test.cc130 std::vector<uint8_t> data2 = {0xAB, 0x5D, 0x42}; in TEST() local
131 ConfigCacheHelper(config).SetBin("A", "B", data2); in TEST()
133 ASSERT_THAT(ConfigCacheHelper(config).GetBin("A", "B"), Optional(ContainerEq(data2))); in TEST()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DCountMetricsTests.java289 CountMetricData data2 = in testPartialBucketCountMetric()
302 assertThat(data2.getBucketInfoCount()).isAtMost(2); in testPartialBucketCountMetric()
304 for (CountBucketInfo bucket : data2.getBucketInfoList()) { in testPartialBucketCountMetric()
428 .sorted((data1, data2) ->
430 data2.getSliceByState(0).getGroupId())
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/ble/
DBleFilter.java353 @Nullable byte[] data2, in partialDataIsSuperset() argument
355 if (Arrays.equals(data1, data2) && Arrays.equals(dataMask1, dataMask2)) { in partialDataIsSuperset()
363 if (data2 == null) { in partialDataIsSuperset()
376 if (!matchesPartialData(data1, dataMask1, data2)) { in partialDataIsSuperset()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java117 …NdefRecord data2 = new NdefRecord(NdefRecord.TNF_WELL_KNOWN, NdefRecord.RTD_TEXT, new byte[0], pay… in getLargeNdef() local
118 return new NdefMessage(new NdefRecord[]{data2}); in getLargeNdef()
/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()
DSimulatorRttCall.java126 if (Connection.stateToString(Connection.STATE_ACTIVE).equals(event.data2)) { in onEvent()
DSimulatorConference.java162 && Connection.stateToString(Connection.STATE_DISCONNECTED).equals(event.data2)) { in onGsmEvent()

12