Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/lib/multivariant/com/android/testutils/
DMiscAsserts.kt33 fun <T> assertLength(expected: Int, got: Array<T>) = got.size.let { len -> in len()
34 assertEquals(expected, len, "Expected array of length $expected, but was $len for $got") in len()
57 fun assertStringContains(got: String, want: String) { in assertStringContains()
58 assertTrue(got.contains(want), "$got did not contain \"${want}\"") in assertStringContains()
/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/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/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()
1982 RaEvent got = lastRaEvent(captor.getAllValues()); in verifyRaEvent() local
1983 if (!raEventEquals(expected, got)) { in verifyRaEvent()
1984 assertEquals(expected, got); // fail for printing an assertion error message. in verifyRaEvent()
1989 RaEvent got = null; in lastRaEvent() local
1992 got = (RaEvent) ev; in lastRaEvent()
1995 return got; in lastRaEvent()
2309 public void assertEqualsIp(String expected, int got) throws Exception { in assertEqualsIp() argument
2312 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.java614 private void assertDhcpErrorCodes(int expected, int got) { in assertDhcpErrorCodes() argument
615 assertEquals(Integer.toHexString(expected), Integer.toHexString(got)); in assertDhcpErrorCodes()
/packages/apps/TV/libs/
Dtruth-0.45.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/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.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...