/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
D | ImapResponseParser.java | 181 /* package for test */ void expect(char expected) throws IOException { in expect() method in ImapResponseParser 209 expect('\n'); // TODO Should this really be error? in readUntilEol() 228 expect(' '); in parseResponse() 243 expect(' '); in parseResponse() 278 expect('\r'); in parseResponse() 279 expect('\n'); in parseResponse() 310 expect('\n'); // Should be followed by LF. in parseElement() 397 expect(opening); in parseList() 400 expect(closing); in parseList() 405 expect('{'); in parseLiteral() [all …]
|
D | DigestMd5Utils.java | 246 expect(','); in parse() 258 expect('='); in parsePair() 263 private void expect(char c) { in expect() method in DigestMd5Utils.DigestMessageParser 300 expect('"'); in parseQuotedValue()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeMessage.java | 554 private void expect(Class<?> c) { in expect() method in MimeMessage.MimeMessageBuilder 571 expect(Part.class); in startMessage() 584 expect(MimeMessage.class); in endMessage() 590 expect(Part.class); in startHeader() 595 expect(Part.class); in field() 606 expect(Part.class); in endHeader() 611 expect(Part.class); in startMultipart() 625 expect(Part.class); in body() 641 expect(MimeMultipart.class); in startBodyPart() 654 expect(BodyPart.class); in endBodyPart() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceInfoTest.java | 38 exception.expect(IllegalArgumentException.class); in emptyString() 44 exception.expect(IllegalArgumentException.class); in multipleHashTags() 50 exception.expect(IllegalArgumentException.class); in unknownArg() 56 exception.expect(IllegalArgumentException.class); in invalidComponentName() 109 exception.expect(IllegalArgumentException.class); in triggerUnknown() 136 exception.expect(IllegalArgumentException.class); in userUnknown()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsOperationRecorderTest.java | 204 JSONObject expect = new JSONObject(expectJson.replace("'", "\"")); 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() 220 for (String key : expect.keySet()) { in similar() 221 Object valueExpect = expect.get(key); in similar()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 87 String expect = PLMNText[n]; in getMccMnc() local 88 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length(); in getMccMnc() 89 if (!domain.get(n).regionMatches(0, expect, 0, len)) { in getMccMnc()
|
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
D | IntegerArrayStreamTest.java | 58 assertTrue(stream.expect(1, 2, 3)); in testExpect() 59 assertFalse(stream.expect(4, 6)); in testExpect() 67 stream.expect(1, 2, 3, 4, 5); in testIsEmpty()
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/ |
D | test.py | 78 def CompareFiles(actual, expect): argument 84 if not os.path.isfile(expect): 86 print ('Could not find %s' % expect) 89 return filecmp.cmp(actual, expect, False)
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioZonesValidatorTest.java | 40 thrown.expect(RuntimeException.class); in validate_thereIsAtLeastOneZone() 55 thrown.expect(RuntimeException.class); in validate_volumeGroupsForEachZone() 81 thrown.expect(RuntimeException.class); in validate_eachAddressAppearsInOnlyOneZone()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/util/ |
D | DnsUtilsTest.kt | 60 private fun assertIpAddressArrayEquals(expect: Array<String>, actual: Array<InetAddress>) = in assertIpAddressArrayEquals() 61 assertArrayEquals("Array of IP addresses differs", expect, in assertIpAddressArrayEquals()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
D | TestNotificationManager.java | 89 void assertNumberOfNotifications(int expect) { in assertNumberOfNotifications() argument 95 assertEquals(expect, count); in assertNumberOfNotifications()
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
D | Obd2Command.java | 162 if (stream.expect(RESPONSE_MARKER, mSemanticHandler.getPid())) { in run() 190 if (stream.expect(RESPONSE_MARKER, mSemanticHandler.getPid(), mFrameId)) { in run()
|
D | IntegerArrayStream.java | 86 public boolean expect(int... values) { in expect() method in IntegerArrayStream
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 703 final DocumentStack expect = in testDrop_Copies_DifferentRoot_DropOnRoot() local 705 mClipper.copyFromClip.assertLastArgument(Pair.create(expect, mClipData)); in testDrop_Copies_DifferentRoot_DropOnRoot() 729 final DocumentStack expect = in testDrop_Moves_SameRoot_DropOnRoot() local 731 mClipper.copyFromClip.assertLastArgument(Pair.create(expect, mClipData)); in testDrop_Moves_SameRoot_DropOnRoot() 762 final DocumentStack expect = in testDrop_Copies_SameRoot_DropOnRoot_ReleasesCtrlBeforeGettingRootDocument() local 764 mClipper.copyFromClip.assertLastArgument(Pair.create(expect, mClipData)); in testDrop_Copies_SameRoot_DropOnRoot_ReleasesCtrlBeforeGettingRootDocument()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 1794 @NonNull TetheringConfigurationParcel expect) { in assertTetherConfigParcelEqual() argument 1795 assertEquals(actual.subId, expect.subId); in assertTetherConfigParcelEqual() 1796 assertArrayEquals(actual.tetherableUsbRegexs, expect.tetherableUsbRegexs); in assertTetherConfigParcelEqual() 1797 assertArrayEquals(actual.tetherableWifiRegexs, expect.tetherableWifiRegexs); in assertTetherConfigParcelEqual() 1798 assertArrayEquals(actual.tetherableBluetoothRegexs, expect.tetherableBluetoothRegexs); in assertTetherConfigParcelEqual() 1799 assertEquals(actual.isDunRequired, expect.isDunRequired); in assertTetherConfigParcelEqual() 1800 assertEquals(actual.chooseUpstreamAutomatically, expect.chooseUpstreamAutomatically); in assertTetherConfigParcelEqual() 1802 expect.preferredUpstreamIfaceTypes); in assertTetherConfigParcelEqual() 1803 assertArrayEquals(actual.legacyDhcpRanges, expect.legacyDhcpRanges); in assertTetherConfigParcelEqual() 1804 assertArrayEquals(actual.defaultIPv4DNS, expect.defaultIPv4DNS); in assertTetherConfigParcelEqual() [all …]
|
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/ |
D | TetheringManagerTest.java | 354 final int expect) throws Exception { in assertEntitlementResult() argument 358 assertEquals(expect, listener.get(DEFAULT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in assertEntitlementResult() 390 } catch (IllegalArgumentException expect) { } in testRequestLatestEntitlementResult()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessage.java | 413 public void expect(String subString) throws IllegalArgumentException { in expect() method in BluetoothMapbMessage.BMsgReader 430 public void expect(String subString, String subString2) throws IllegalArgumentException { in expect() method in BluetoothMapbMessage.BMsgReader 565 reader.expect("BEGIN:BMSG"); in parse() 566 reader.expect("VERSION"); in parse()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_cache_unit_test.cpp | 675 CacheStats expect = { in TEST_F() local 683 expect.setup.domains = {validDomain1, validDomain2}; in TEST_F() 686 expectCacheStats("ResolverSetup_Domains drop overlength", TEST_NETID, expect); in TEST_F() 690 expect.setup.domains = {validDomain1, validDomain2}; in TEST_F() 693 expectCacheStats("ResolverSetup_Domains drop duplicates", TEST_NETID, expect); in TEST_F()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ScoringParamsTest.java | 95 String expect = EXPECTED_DEFAULTS; 97 assertEquals(expect, actual);
|
/packages/modules/Virtualization/authfs/src/ |
D | file.rs | 17 get_interface(&service_name).expect("Cannot reach authfs_fd_server binder service") in get_local_binder()
|
D | fusefs.rs | 390 .expect("Failed to open /dev/fuse"); in loop_forever() 405 .expect("Failed to mount fuse"); in loop_forever()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | DynamicShortcutsTests.java | 277 provider.expect(MockContentProvider.Query.forAnyUri()) 307 provider.expect(query);
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | SimContactDaoTests.java | 598 mMockSimPhonebookProvider.expect(MockContentProvider.Query.forAnyUri()) in createsContactsFromCursor() 624 mMockSimPhonebookProvider.expect(MockContentProvider.Query.forAnyUri()) in excludesEmptyContactsFromResult() 667 mMockSimPhonebookProvider.expect(MockContentProvider.Query.forAnyUri()) in returnsEmptyListForEmptyCursor()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockContentProvider.java | 479 public Query expect(Query query) { in expect() method in MockContentProvider 485 return expect(new Query(contentUri)); in expectQuery()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkRequestTest.java | 306 private void assertCorrectlySatisfies(boolean expect, NetworkRequest request, in assertCorrectlySatisfies() argument 308 assertEquals(expect, request.canBeSatisfiedBy(nc)); in assertCorrectlySatisfies()
|