Home
last modified time | relevance | path

Searched refs:address (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DAddressTest.java40 Address address = new Address(Locale.GERMAN); in testDescribeContents() local
42 assertEquals(0, address.describeContents()); in testDescribeContents()
46 address.setExtras(extras); in testDescribeContents()
48 assertEquals(extras.describeContents(), address.describeContents()); in testDescribeContents()
52 Address address = new Address(Locale.ITALY); in testAccessAdminArea() local
55 address.setAdminArea(adminArea); in testAccessAdminArea()
56 assertEquals(adminArea, address.getAdminArea()); in testAccessAdminArea()
58 address.setAdminArea(null); in testAccessAdminArea()
59 assertNull(address.getAdminArea()); in testAccessAdminArea()
63 Address address = new Address(Locale.JAPAN); in testAccessCountryCode() local
[all …]
/cts/tests/tests/text/src/android/text/util/cts/
DRfc822TokenTest.java29 final String address = "jdoe@example.net"; in testConstructor() local
31 Rfc822Token rfc822Token1 = new Rfc822Token(name, address, comment); in testConstructor()
33 assertEquals(address, rfc822Token1.getAddress()); in testConstructor()
36 Rfc822Token rfc822Token2 = new Rfc822Token(null, address, comment); in testConstructor()
38 assertEquals(address, rfc822Token2.getAddress()); in testConstructor()
46 Rfc822Token rfc822Token4 = new Rfc822Token(name, address, null); in testConstructor()
48 assertEquals(address, rfc822Token4.getAddress()); in testConstructor()
54 final String address = "jdoe@example.net"; in testAccessName() local
56 Rfc822Token rfc822Token = new Rfc822Token(name, address, comment); in testAccessName()
86 final String address = "jdoe@example.net"; in testAccessComment() local
[all …]
DRfc822TokenizerTest.java145 String address, String comment) { in localAssertEquals() argument
147 assertEquals(address, token.getAddress()); in localAssertEquals()
/cts/tests/tests/net/src/android/net/rtp/cts/
DAudioStreamTest.java26 private void testRtpStream(InetAddress address) throws Exception { in testRtpStream() argument
27 AudioStream stream = new AudioStream(address); in testRtpStream()
28 assertEquals(stream.getLocalAddress(), address); in testRtpStream() local
33 stream.associate(address, 1000); in testRtpStream()
34 assertEquals(stream.getRemoteAddress(), address); in testRtpStream() local
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dgbemu.js7007 GameBoyCore.prototype.channel3WriteRAM = function (address, data) { argument
7012 this.memory[0xFF30 | address] = data;
7013 address <<= 1;
7014 this.channel3PCM[address] = data >> 4;
7015 this.channel3PCM[address | 1] = data & 0xF;
8414 var address = 0xFE00;
8417 while (address < 0xFEA0 && spriteCount < 10) {
8418 diff = scanlineToRender - this.memory[address];
8420 this.OAMAddressCache[spriteCount++] = address;
8422 address += 4;
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DNumberDialingTest.java43 Uri address = Uri.fromParts("tel", "*1234#", null); in testEndInPound() local
60 startCallTo(address, account.getAccountHandle()); in testEndInPound()
64 assertEquals(address, res[0]); in testEndInPound()
DTestUtils.java92 PhoneAccountHandle handle, String label, String address) throws Exception { in registerSimPhoneAccount() argument
96 + handle.getId() + " " + label + " " + address); in registerSimPhoneAccount()
DConnectionTest.java142 final Uri address = Uri.fromParts("tel", "1234567", null); in testSetAndGetAddress() local
143 connection.setAddress(address, TelecomManager.PRESENTATION_UNKNOWN); in testSetAndGetAddress()
144 assertEquals(address, connection.getAddress()); in testSetAndGetAddress()
DRemoteConnectionTest.java365 public void onAddressChanged(RemoteConnection connection, Uri address, in testRemoteConnectionCallbacks_AddressChange()
367 super.onAddressChanged(connection, address, presentation); in testRemoteConnectionCallbacks_AddressChange()
368 callbackInvoker.invoke(connection, address, presentation); in testRemoteConnectionCallbacks_AddressChange()
372 Uri address = Uri.parse("tel:555"); in testRemoteConnectionCallbacks_AddressChange() local
373 mRemoteConnection.setAddress(address, TelecomManager.PRESENTATION_ALLOWED); in testRemoteConnectionCallbacks_AddressChange()
376 assertEquals(address, callbackInvoker.getArgs(0)[1]); in testRemoteConnectionCallbacks_AddressChange()
DBaseTelecomTestWithMockServices.java148 protected void startCallTo(Uri address, PhoneAccountHandle accountHandle) { in startCallTo() argument
149 final Intent intent = new Intent(Intent.ACTION_CALL, address); in startCallTo()
/cts/tests/tests/os/jni/
Dandroid_os_cts_NoExecutePermissionTest.cpp26 static jboolean isAddressExecutable(uintptr_t address) { in isAddressExecutable() argument
39 if ((scan == 3) && (start <= address) && (address < end)) { in isAddressExecutable()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyVpnService.java61 InetAddress address = InetAddress.getByName(prefixAndMask[0]); in start() local
63 builder.addAddress(address, prefixLength); in start()
77 InetAddress address = InetAddress.getByName(prefixAndMask[0]); in start() local
79 builder.addRoute(address, prefixLength); in start()
DVpnTest.java267 InetAddress address = InetAddress.getByName(to); in checkPing() local
276 if (address instanceof Inet6Address) { in checkPing()
288 Os.connect(s, address, port); in checkPing()
408 InetAddress address = InetAddress.getByName(to); in checkUdpEcho() local
409 if (address instanceof Inet6Address) { // http://b/18094870 in checkUdpEcho()
420 s.connect(address, 7); in checkUdpEcho()
/cts/tests/tests/telephony/src/android/telephony/cts/
DSmsUsageMonitorShortCodeTest.java61 final String address; field in SmsUsageMonitorShortCodeTest.ShortCodeTest
66 this.address = destAddress; in ShortCodeTest()
492 private boolean isCDMA112(String address) { in isCDMA112() argument
494 && "112".equals(address); in isCDMA112()
506 assertEquals("country: " + test.countryIso + " number: " + test.address, in testSmsUsageMonitor()
507 test.category, isCDMA112(test.address) ? CATEGORY_NOT_SHORT_CODE : in testSmsUsageMonitor()
508 monitor.checkDestination(test.address, test.countryIso)); in testSmsUsageMonitor()
/cts/tests/tests/net/src/android/net/ipv6/cts/
DPingTest.java99 InetAddress address, byte[] packet) throws ErrnoException, IOException { in sendPing() argument
104 int ret = Os.sendto(s, ByteBuffer.wrap(packet), 0, address, port); in sendPing()
/cts/tools/tradefed-host/etc/
Dcts-tradefed49 RDBG_FLAG=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=${TF_DEBUG_PORT}
/cts/tests/tests/media/src/android/media/cts/
DEnumDevicesTest.java108 String address = deviceInfo.getAddress(); in test_devicesInfoFields() local
109 assertNotNull(address); in test_devicesInfoFields()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DDevicePickerActivity.java207 Device(String name, String address) { in Device() argument
209 mAddress = address; in Device()
/cts/tests/tests/netlegacy22/api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java98 for (LinkAddress address : lp.getLinkAddresses()) { in checkSourceAddress()
99 if (address.getAddress().equals(localAddress)) { in checkSourceAddress()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java113 String address = "LA"; in testBindObjectToProgram() local
125 DatabaseUtils.bindObjectToProgram(statement, 3, address); in testBindObjectToProgram()
135 assertEquals(address, cursor.getString(3)); in testBindObjectToProgram()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteDatabaseTest.java331 String address = "LA"; in testCompileStatement() local
342 DatabaseUtils.bindObjectToProgram(insertStatement, 3, address); in testCompileStatement()
353 assertEquals(address, cursor.getString(COLUMN_ADDR_INDEX)); in testCompileStatement()
/cts/suite/cts/deviceTests/browserbench/assets/octane/css/
Dbootstrap.css573 address { selector
/cts/tools/dex-tools/dex/
Dclasses0.out.dex22763 java.net.InetAddress address
22871 java.net.InetAddress address
24607 private java.net.SocketAddress address
24620 public java.net.SocketAddress address()
25129 protected java.net.InetAddress address
27130 protected final org.apache.harmony.luni.platform.PlatformAddress address
85994 private java.net.InetSocketAddress address