Home
last modified time | relevance | path

Searched refs:fromAddress (Results 1 – 2 of 2) sorted by relevance

/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DSmsMessageReceiver.java44 String fromAddress = message.getOriginatingAddress(); in onReceive() local
47 Log.i(LOG_TAG, "From: " + fromAddress + " message: " + messageBody); in onReceive()
49 addNotification(context, fromAddress, messageBody); in onReceive()
53 private void addNotification(Context context, String fromAddress, String message) { in addNotification() argument
59 .setContentTitle(fromAddress) in addNotification()
62 .setContentIntent(createDisplayMessageIntent(context, fromAddress, message, in addNotification()
73 private PendingIntent createDisplayMessageIntent(Context context, String fromAddress, in createDisplayMessageIntent() argument
80 di.putExtra(DialogSmsDisplay.SMS_FROM_ADDRESS_EXTRA, fromAddress); in createDisplayMessageIntent()
/packages/modules/Connectivity/tests/cts/net/src/android/net/ipv6/cts/
DPingTest.java123 Inet6Address fromAddress = (Inet6Address) from.getAddress(); in checkResponse() local
124 assertEquals(0, fromAddress.getScopeId()); in checkResponse()
125 assertNull(fromAddress.getScopedInterface()); in checkResponse()
126 assertEquals(dest.getHostAddress(), fromAddress.getHostAddress()); in checkResponse()