/packages/modules/Connectivity/tests/common/java/android/net/metrics/ |
D | IpConnectivityLogTest.java | 78 List<ConnectivityMetricsEvent> got = verifyEvents(6); in testLoggingEvents() local 79 assertEventsEqual(makeExpectedEvent(got.get(0).timestamp, 0, 0, null), got.get(0)); in testLoggingEvents() 80 assertEventsEqual(makeExpectedEvent(FAKE_TIME_STAMP, 0, 0, null), got.get(1)); in testLoggingEvents() 81 assertEventsEqual(makeExpectedEvent(got.get(2).timestamp, FAKE_NET_ID, in testLoggingEvents() 82 TRANSPORT_WIFI, null), got.get(2)); in testLoggingEvents() 83 assertEventsEqual(makeExpectedEvent(got.get(3).timestamp, FAKE_NET_ID, in testLoggingEvents() 84 TRANSPORT_WIFI, null), got.get(3)); in testLoggingEvents() 85 assertEventsEqual(makeExpectedEvent(got.get(4).timestamp, 0, 0, FAKE_INTERFACE_NAME), in testLoggingEvents() 86 got.get(4)); in testLoggingEvents() 88 TRANSPORT_WIFI, FAKE_INTERFACE_NAME), got.get(5)); in testLoggingEvents() [all …]
|
/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/testutils/ |
D | MiscAsserts.kt | 39 fun <T> assertLength(expected: Int, got: Array<T>) = got.size.let { len -> in len() 40 assertEquals(expected, len, "Expected array of length $expected, but was $len for $got") in len() 43 fun <T> assertLength(expected: Int, got: List<T>) = got.size.let { len -> in len() 44 assertEquals(expected, len, "Expected list of length $expected, but was $len for $got") in len() 67 fun assertStringContains(got: String, want: String) { in assertStringContains() 68 assertTrue(got.contains(want), "$got did not contain \"${want}\"") in assertStringContains()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/os/ |
D | CarPerformanceManagerUnitTest.java | 102 ThreadPolicyWithPriority got = mCarPerformanceManager.getThreadPriority(); in testGetThreadPriority() local 104 assertThat(got.getPolicy()).isEqualTo(expected.getPolicy()); in testGetThreadPriority() 105 assertThat(got.getPriority()).isEqualTo(expected.getPriority()); in testGetThreadPriority() 112 ThreadPolicyWithPriority got = mCarPerformanceManager.getThreadPriority(); in testGetThreadPriorityRemoteExceptionFromService() local 114 assertThat(got.getPolicy()).isEqualTo(ThreadPolicyWithPriority.SCHED_DEFAULT); in testGetThreadPriorityRemoteExceptionFromService() 115 assertThat(got.getPriority()).isEqualTo(0); in testGetThreadPriorityRemoteExceptionFromService()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | NetdEventListenerServiceTest.java | 130 String got = events2[i + 2]; in testWakeupEventLogging() local 131 assertStringContains(got, "WakeupEvent"); in testWakeupEventLogging() 132 assertStringContains(got, ((i == 8) ? "rmnet0" : "wlan0")); in testWakeupEventLogging() 133 assertStringContains(got, "uid: " + uids[i]); in testWakeupEventLogging() 150 String got = events3[i]; in testWakeupEventLogging() local 151 assertStringContains(got, "WakeupEvent"); in testWakeupEventLogging() 152 assertStringContains(got, "wlan0"); in testWakeupEventLogging() 153 assertStringContains(got, "uid: " + uid); in testWakeupEventLogging() 204 String got = flushStatistics(); in testWakeupStatsLogging() local 278 assertEquals(want, got); in testWakeupStatsLogging() [all …]
|
D | IpConnectivityEventBuilderTest.java | 505 IpConnectivityEvent got = IpConnectivityEventBuilder.toProto(stats); in testWakeupStatsSerialization() local 541 verifySerialization(want, got); in testWakeupStatsSerialization() 552 byte[] got = IpConnectivityEventBuilder.serialize(0, Arrays.asList(input)); in verifySerialization() 553 IpConnectivityLog log = IpConnectivityLog.parseFrom(got); in verifySerialization()
|
D | IpConnectivityMetricsTest.java | 636 byte[] got = Base64.decode(output, Base64.DEFAULT); in verifySerialization() 638 IpConnectivityLogClass.IpConnectivityLog.parseFrom(got); in verifySerialization()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsEventLoggerTest.kt | 149 private fun assertStringContains(got: String, want: String) { in getLineCount() 150 assertTrue(got.contains(want), "Wanted: $want, but got: $got") in getLineCount() 153 private fun assertStringNotContains(got: String, unwant: String) { in assertStringNotContains() 154 assertFalse(got.contains(unwant), "Unwanted: $unwant, but got: $got") in assertStringNotContains()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | SharedLogTest.java | 124 String got = lines[i]; in verifyLogLines() local 126 assertTrue(String.format("'%s' did not contain '%s'", got, want), got.endsWith(want)); in verifyLogLines() 127 assertTrue(String.format("'%s' did not contain a %s timestamp", got, TIMESTAMP), in verifyLogLines() 128 got.replaceFirst(TIMESTAMP_PATTERN, TIMESTAMP).contains(TIMESTAMP)); in verifyLogLines()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsOperationRecorderTest.java | 205 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()
|
D | CarPropertyManagerTest.java | 1732 long got = mErrorEventCount - mErrorEventCdLatch.getCount(); in assertOnErrorEventCalled() local 1734 + CALLBACK_SHORT_TIMEOUT_MS + " ms, got: " + got in assertOnErrorEventCalled() 1741 long got = mErrorEventCount - mErrorEventCdLatch.getCount(); in assertOnErrorEventNotCalled() local 1743 + CALLBACK_SHORT_TIMEOUT_MS + " ms, got: " + got in assertOnErrorEventNotCalled() 1754 long got = mInitValueCount - mInitialValueCdLatch.getCount(); in assertRegisterCompleted() local 1756 + "before " + CALLBACK_SHORT_TIMEOUT_MS + " ms, got: " + got in assertRegisterCompleted() 1769 long got = mChangeEventCount - mChangeEventCdLatch.getCount(); in waitAndGetChangeEvents() local 1771 + CALLBACK_SHORT_TIMEOUT_MS + " ms, got: " + got in waitAndGetChangeEvents()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | MacAddressTest.java | 72 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/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | DictionaryBackupAgent.java | 201 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/ |
D | ApfTestUtils.java | 80 private static void assertReturnCodesEqual(String msg, int expected, int got) { in assertReturnCodesEqual() argument 81 assertEquals(msg, label(expected), label(got)); in assertReturnCodesEqual() 84 private static void assertReturnCodesEqual(int expected, int got) { in assertReturnCodesEqual() argument 85 assertEquals(label(expected), label(got)); in assertReturnCodesEqual()
|
D | ApfTest.java | 3130 public void assertEqualsIp(String expected, int got) throws Exception { in assertEqualsIp() argument 3133 assertEquals(want, got); in assertEqualsIp()
|
/packages/modules/Virtualization/vmbase/ |
D | sections.ld | 58 .got : { 59 *(.got)
|
/packages/modules/Virtualization/virtualizationservice/src/ |
D | maintenance.rs | 387 let got = (*history.lock().unwrap()).clone(); in test_sk_state_batching() localVariable 389 got, in test_sk_state_batching() 403 let got = (*history.lock().unwrap()).clone(); in test_sk_state_no_batching() localVariable 404 assert_eq!(got, vec![SkOp::DeleteIds(vec![VM_ID1, VM_ID2, VM_ID3, VM_ID4, VM_ID5])]); in test_sk_state_no_batching()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexClientSession.java | 120 int got = is.read(buffer, done, size - done); in readFully() local 121 if (got <= 0) { in readFully() 124 done += got; in readFully()
|
/packages/modules/Virtualization/virtualizationservice/src/maintenance/ |
D | vmdb.rs | 628 let got = db.oldest_vm_ids_for_app(USER1, APP_A, 10).unwrap(); in test_remove_oldest_with_upgrade() localVariable 629 assert_eq!(got, want); in test_remove_oldest_with_upgrade()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 669 private void assertDhcpErrorCodes(int expected, int got) { in assertDhcpErrorCodes() argument 670 assertEquals(Integer.toHexString(expected), Integer.toHexString(got)); in assertDhcpErrorCodes()
|
/packages/apps/TV/libs/ |
D | truth-0.45.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/packages/modules/Wifi/service/proto/src/ |
D | metrics.proto | 413 // 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/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/ |
D | precomputed_test_app_list.csv | 8670 com.wb.goog.got.conquest 10247
|
/packages/modules/AdServices/adservices/apk/assets/classifier/ |
D | precomputed_app_list.csv | 8670 com.wb.goog.got.conquest 10247
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | lv_wordlist.combined.gz | 1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ... |
D | pl_wordlist.combined.gz |
|