Home
last modified time | relevance | path

Searched refs:got (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/Connectivity/tests/common/java/android/net/metrics/
DIpConnectivityLogTest.java77 List<ConnectivityMetricsEvent> got = verifyEvents(6); in testLoggingEvents() local
78 assertEventsEqual(makeExpectedEvent(got.get(0).timestamp, 0, 0, null), got.get(0)); in testLoggingEvents()
79 assertEventsEqual(makeExpectedEvent(FAKE_TIME_STAMP, 0, 0, null), got.get(1)); in testLoggingEvents()
80 assertEventsEqual(makeExpectedEvent(got.get(2).timestamp, FAKE_NET_ID, in testLoggingEvents()
81 TRANSPORT_WIFI, null), got.get(2)); in testLoggingEvents()
82 assertEventsEqual(makeExpectedEvent(got.get(3).timestamp, FAKE_NET_ID, in testLoggingEvents()
83 TRANSPORT_WIFI, null), got.get(3)); in testLoggingEvents()
84 assertEventsEqual(makeExpectedEvent(got.get(4).timestamp, 0, 0, FAKE_INTERFACE_NAME), in testLoggingEvents()
85 got.get(4)); in testLoggingEvents()
87 TRANSPORT_WIFI, FAKE_INTERFACE_NAME), got.get(5)); in testLoggingEvents()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetdEventListenerServiceTest.java122 String got = events2[i+1]; in testWakeupEventLogging() local
123 assertStringContains(got, "WakeupEvent"); in testWakeupEventLogging()
124 assertStringContains(got, "wlan0"); in testWakeupEventLogging()
125 assertStringContains(got, "uid: " + uids[i]); in testWakeupEventLogging()
140 String got = events3[i]; in testWakeupEventLogging() local
141 assertStringContains(got, "WakeupEvent"); in testWakeupEventLogging()
142 assertStringContains(got, "wlan0"); in testWakeupEventLogging()
143 assertStringContains(got, "uid: " + uid); in testWakeupEventLogging()
189 String got = flushStatistics(); in testWakeupStatsLogging() local
263 assertEquals(want, got); in testWakeupStatsLogging()
[all …]
DIpConnectivityEventBuilderTest.java509 IpConnectivityEvent got = IpConnectivityEventBuilder.toProto(stats); in testWakeupStatsSerialization() local
545 verifySerialization(want, got); in testWakeupStatsSerialization()
556 byte[] got = IpConnectivityEventBuilder.serialize(0, Arrays.asList(input)); in verifySerialization()
557 IpConnectivityLog log = IpConnectivityLog.parseFrom(got); in verifySerialization()
DIpConnectivityMetricsTest.java639 byte[] got = Base64.decode(output, Base64.DEFAULT); in verifySerialization()
641 IpConnectivityLogClass.IpConnectivityLog.parseFrom(got); in verifySerialization()
/packages/modules/Gki/build/
Dkmi_test.go25 got, e := kmiVersionToApexName(kmi)
29 if got != expectedApexName {
30 t.Errorf("Expected kmiVersionToApexName(%q) == %q, got %q", kmi, expectedApexName, got)
36 got, e := kmiVersionToApexName(kmi)
38 t.Errorf("Expected error when parsing %q, got no error with result %q", kmi, got)
/packages/modules/NetworkStack/tests/unit/src/com/android/server/util/
DSharedLogTest.java90 String got = lines[i]; in verifyLogLines() local
92 assertTrue(String.format("'%s' did not contain '%s'", got, want), got.endsWith(want)); in verifyLogLines()
93 assertTrue(String.format("'%s' did not contain a %s timestamp", got, TIMESTAMP), in verifyLogLines()
94 got.replaceFirst(TIMESTAMP_PATTERN, TIMESTAMP).contains(TIMESTAMP)); in verifyLogLines()
/packages/modules/Connectivity/tests/unit/java/com/android/internal/util/
DBitUtilsTest.java154 int[] got = unpackBits(tc.packedBits); in testBitsPacking() local
161 + Arrays.toString(got), in testBitsPacking()
162 Arrays.equals(tc.bits, got)); in testBitsPacking()
165 long got = packBits(tc.bits); in testBitsPacking() local
172 + got, in testBitsPacking()
174 got); in testBitsPacking()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsOperationRecorderTest.java205 JSONObject got = new JSONObject(mWriter.mMsg); in assertJsonMsgEquals() local
206 assertTrue(similar(expect, got)); in assertJsonMsgEquals()
214 private boolean similar(JSONObject expect, JSONObject got) { in similar() argument
216 if (!expect.keySet().equals(got.keySet())) { in similar()
222 Object valueGot = got.get(key); in similar()
/packages/modules/Connectivity/tests/unit/java/android/net/
DMacAddressTest.java72 int got = MacAddress.macAddressType(t.addr); in testMacAddrTypes() local
74 Arrays.toString(t.addr), t.expectedType, got); in testMacAddrTypes()
75 assertEquals(msg, t.expectedType, got); in testMacAddrTypes()
77 if (got != MacAddress.TYPE_UNKNOWN) { in testMacAddrTypes()
78 assertEquals(got, MacAddress.fromBytes(t.addr).getAddressType()); in testMacAddrTypes()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java273 String got = ""; in verifyDaemonCommand() local
275 got += o + " "; in verifyDaemonCommand()
277 assertEquals(want, got.trim()); in verifyDaemonCommand()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DDictionaryBackupAgent.java201 int got; in restoreDictionary() local
202 while ((got = gzip.read(tempData)) > 0) { in restoreDictionary()
203 baos.write(tempData, 0, got); in restoreDictionary()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java167 private static void assertReturnCodesEqual(int expected, int got) { in assertReturnCodesEqual() argument
168 assertEquals(label(expected), label(got)); in assertReturnCodesEqual()
1994 RaEvent got = lastRaEvent(captor.getAllValues()); in verifyRaEvent() local
1995 if (!raEventEquals(expected, got)) { in verifyRaEvent()
1996 assertEquals(expected, got); // fail for printing an assertion error message. in verifyRaEvent()
2001 RaEvent got = null; in lastRaEvent() local
2004 got = (RaEvent) ev; in lastRaEvent()
2007 return got; in lastRaEvent()
2321 public void assertEqualsIp(String expected, int got) throws Exception { in assertEqualsIp() argument
2324 assertEquals(want, got); in assertEqualsIp()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java133 int got = is.read(buffer, done, size - done); in readFully() local
134 if (got <= 0) { in readFully()
137 done += got; in readFully()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java668 private void assertDhcpErrorCodes(int expected, int got) { in assertDhcpErrorCodes() argument
669 assertEquals(Integer.toHexString(expected), Integer.toHexString(got)); in assertDhcpErrorCodes()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto413 // Indicates the number of times we got an interface down in client mode.
416 // Indicates the number of times we got an interface down in softap mode.
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dsl_wordlist.combined.gz
Dsv_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Dnb_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...

12