Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java231 final Intent bcast = mIntents.get(0); in verifyTetheringBroadcast() local
232 assertEquals(ConnectivityManager.ACTION_TETHER_STATE_CHANGED, bcast.getAction()); in verifyTetheringBroadcast()
233 final ArrayList<String> ifnames = bcast.getStringArrayListExtra(whichExtra); in verifyTetheringBroadcast()
235 mIntents.remove(bcast); in verifyTetheringBroadcast()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java626 final Intent bcast = new Intent(ConnectivityManager.ACTION_TETHER_STATE_CHANGED); in sendTetherStateChangedBroadcast() local
627 bcast.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING | in sendTetherStateChangedBroadcast()
629 bcast.putStringArrayListExtra(ConnectivityManager.EXTRA_AVAILABLE_TETHER, availableList); in sendTetherStateChangedBroadcast()
630 bcast.putStringArrayListExtra(ConnectivityManager.EXTRA_ACTIVE_LOCAL_ONLY, localOnlyList); in sendTetherStateChangedBroadcast()
631 bcast.putStringArrayListExtra(ConnectivityManager.EXTRA_ACTIVE_TETHER, tetherList); in sendTetherStateChangedBroadcast()
632 bcast.putStringArrayListExtra(ConnectivityManager.EXTRA_ERRORED_TETHER, erroredList); in sendTetherStateChangedBroadcast()
633 mContext.sendStickyBroadcastAsUser(bcast, UserHandle.ALL); in sendTetherStateChangedBroadcast()