OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:formatIpAddress
(Results
1 - 6
of
6
) sorted by null
/libcore/luni/src/test/java/libcore/java/security/cert/
SubjectAlternativeNameTest.java
36
assertEquals("127.0.0.1",
formatIpAddress
(new byte[]{127, 0, 0, 1}));
41
assertEquals("127.0.0.1",
formatIpAddress
(mappedAddress));
46
String decoded =
formatIpAddress
(ipAddress);
50
private String
formatIpAddress
(byte[] ipAddress) throws Exception {
/cts/tests/tests/text/src/android/text/format/cts/
FormatterTest.java
66
method = "
formatIpAddress
",
70
assertEquals("1.0.168.192", Formatter.
formatIpAddress
(0xC0A80001));
71
assertEquals("1.0.0.127", Formatter.
formatIpAddress
(0x7F000001));
72
assertEquals("35.182.168.192", Formatter.
formatIpAddress
(0xC0A8B623));
73
assertEquals("0.255.255.255", Formatter.
formatIpAddress
(0xFFFFFF00));
74
assertEquals("222.5.15.10", Formatter.
formatIpAddress
(0x0A0F05DE));
/frameworks/base/core/java/android/text/format/
Formatter.java
110
public static String
formatIpAddress
(int ipv4Address) {
/prebuilt/sdk/12/
android.jar
/prebuilt/sdk/14/
android.jar
/prebuilt/sdk/6/
android.jar
Completed in 53 milliseconds