Searched refs:CastDevice (Results 1 – 11 of 11) sorted by relevance
59 import com.android.systemui.statusbar.policy.CastController.CastDevice;175 CastController.CastDevice device = new CastController.CastDevice(); in testStateActive_wifiEnabledAndCasting()176 device.state = CastController.CastDevice.STATE_CONNECTED; in testStateActive_wifiEnabledAndCasting()177 List<CastDevice> devices = new ArrayList<>(); in testStateActive_wifiEnabledAndCasting()235 CastController.CastDevice device = new CastController.CastDevice(); in stateActive_wifiConnectedAndCasting_newPipeline()236 device.state = CastDevice.STATE_CONNECTED; in stateActive_wifiConnectedAndCasting_newPipeline()237 List<CastDevice> devices = new ArrayList<>(); in stateActive_wifiConnectedAndCasting_newPipeline()251 CastController.CastDevice device = new CastController.CastDevice(); in stateActive_ethernetConnectedAndCasting_newPipeline()252 device.state = CastDevice.STATE_CONNECTED; in stateActive_ethernetConnectedAndCasting_newPipeline()253 List<CastDevice> devices = new ArrayList<>(); in stateActive_ethernetConnectedAndCasting_newPipeline()[all …]
76 CastController.CastDevice().apply { in <lambda>()77 state = CastController.CastDevice.STATE_DISCONNECTED in <lambda>()94 CastController.CastDevice().apply { in <lambda>()95 state = CastController.CastDevice.STATE_DISCONNECTED in <lambda>()98 CastController.CastDevice().apply { state = CastController.CastDevice.STATE_CONNECTING } in <lambda>()115 CastController.CastDevice().apply { in <lambda>()116 state = CastController.CastDevice.STATE_DISCONNECTED in <lambda>()119 CastController.CastDevice().apply { state = CastController.CastDevice.STATE_CONNECTED } in <lambda>()
27 List<CastDevice> getCastDevices(); in getCastDevices()28 void startCasting(CastDevice device); in startCasting()29 void stopCasting(CastDevice device); in stopCasting()40 public static final class CastDevice { class
155 public List<CastDevice> getCastDevices() { in getCastDevices()156 final ArrayList<CastDevice> devices = new ArrayList<>(); in getCastDevices()159 final CastDevice device = new CastDevice(); in getCastDevices()168 device.state = CastDevice.STATE_CONNECTING; in getCastDevices()170 device.state = CastDevice.STATE_CONNECTED; in getCastDevices()172 device.state = CastDevice.STATE_DISCONNECTED; in getCastDevices()182 final CastDevice device = new CastDevice(); in getCastDevices()186 device.state = CastDevice.STATE_CONNECTED; in getCastDevices()196 public void startCasting(CastDevice device) { in startCasting()204 public void stopCasting(CastDevice device) { in stopCasting()[all …]
63 import com.android.systemui.statusbar.policy.CastController.CastDevice;174 List<CastDevice> activeDevices = getActiveDevices(); in handleClick()195 List<CastDevice> activeDevices = getActiveDevices(); in willPopDialog()199 private List<CastDevice> getActiveDevices() { in getActiveDevices()200 ArrayList<CastDevice> activeDevices = new ArrayList<>(); in getActiveDevices()201 for (CastDevice device : mController.getCastDevices()) { in getActiveDevices()202 if (device.state == CastDevice.STATE_CONNECTED in getActiveDevices()203 || device.state == CastDevice.STATE_CONNECTING) { in getActiveDevices()274 final List<CastDevice> devices = mController.getCastDevices(); in handleUpdateState()278 for (CastDevice device : devices) { in handleUpdateState()[all …]
41 public List<CastDevice> getCastDevices() { in getCastDevices()46 public void startCasting(CastDevice device) { in startCasting()51 public void stopCasting(CastDevice device) { in stopCasting()
151 CastController.CastDevice castDevice = new CastController.CastDevice(); in hasConnectedCastDevice_connected()152 castDevice.state = CastController.CastDevice.STATE_CONNECTED; in hasConnectedCastDevice_connected()159 CastController.CastDevice castDevice = new CastController.CastDevice(); in hasConnectedCastDevice_notConnected()160 castDevice.state = CastController.CastDevice.STATE_CONNECTING; in hasConnectedCastDevice_notConnected()
46 it.state == CastController.CastDevice.STATE_CONNECTED || in getCallback()47 it.state == CastController.CastDevice.STATE_CONNECTING in getCallback()
42 import com.android.systemui.statusbar.policy.CastController.CastDevice;432 for (CastDevice device : mCastController.getCastDevices()) {433 if (device.state == CastDevice.STATE_CONNECTED434 || device.state == CastDevice.STATE_CONNECTING) {
65 import com.android.systemui.statusbar.policy.CastController.CastDevice;523 for (CastDevice device : mCast.getCastDevices()) { in updateCast()524 if (device.state == CastDevice.STATE_CONNECTING in updateCast()525 || device.state == CastDevice.STATE_CONNECTED) { in updateCast()
64 import com.android.systemui.statusbar.policy.CastController.CastDevice;424 private static List<CastDevice> buildFakeCastDevice(boolean isCasting) { in buildFakeCastDevice()425 CastDevice cd = new CastDevice(); in buildFakeCastDevice()426 cd.state = isCasting ? CastDevice.STATE_CONNECTED : CastDevice.STATE_DISCONNECTED; in buildFakeCastDevice()