Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java573 final Intent bcast = new Intent(ACTION_TETHER_STATE_CHANGED); in sendTetherStateChangedBroadcast() local
574 bcast.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING | in sendTetherStateChangedBroadcast()
576 bcast.putStringArrayListExtra(EXTRA_AVAILABLE_TETHER, availableList); in sendTetherStateChangedBroadcast()
577 bcast.putStringArrayListExtra(EXTRA_ACTIVE_LOCAL_ONLY, localOnlyList); in sendTetherStateChangedBroadcast()
578 bcast.putStringArrayListExtra(EXTRA_ACTIVE_TETHER, tetherList); in sendTetherStateChangedBroadcast()
579 bcast.putStringArrayListExtra(EXTRA_ERRORED_TETHER, erroredList); in sendTetherStateChangedBroadcast()
580 mContext.sendStickyBroadcastAsUser(bcast, UserHandle.ALL); in sendTetherStateChangedBroadcast()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java424 final Intent bcast = mIntents.get(0); in verifyTetheringBroadcast() local
425 assertEquals(ACTION_TETHER_STATE_CHANGED, bcast.getAction()); in verifyTetheringBroadcast()
426 final ArrayList<String> ifnames = bcast.getStringArrayListExtra(whichExtra); in verifyTetheringBroadcast()
428 mIntents.remove(bcast); in verifyTetheringBroadcast()