Searched refs:getSlotFromName (Results 1 – 3 of 3) sorted by relevance
45 fun getSlotFromName(slotName: String): ConnectivitySlot? { in getSlotFromName() method
166 whenever(connectivitySlots.getSlotFromName(SLOT_WIFI)).thenReturn(ConnectivitySlot.WIFI) in forceHiddenSlots_someInvalidSlotNames_flowHasValidSlotsOnly()167 whenever(connectivitySlots.getSlotFromName(SLOT_MOBILE)).thenReturn(null) in forceHiddenSlots_someInvalidSlotNames_flowHasValidSlotsOnly()199 whenever(connectivitySlots.getSlotFromName(SLOT_WIFI)).thenReturn(null) in forceHiddenSlots_allInvalidOrEmptySlotNames_flowHasEmpty()200 whenever(connectivitySlots.getSlotFromName(SLOT_ETHERNET)).thenReturn(null) in forceHiddenSlots_allInvalidOrEmptySlotNames_flowHasEmpty()201 whenever(connectivitySlots.getSlotFromName(SLOT_MOBILE)).thenReturn(null) in forceHiddenSlots_allInvalidOrEmptySlotNames_flowHasEmpty()1085 whenever(connectivitySlots.getSlotFromName(SLOT_ETHERNET)) in setUpEthernetWifiMobileSlotNames()1087 whenever(connectivitySlots.getSlotFromName(SLOT_WIFI)).thenReturn(ConnectivitySlot.WIFI) in setUpEthernetWifiMobileSlotNames()1088 whenever(connectivitySlots.getSlotFromName(SLOT_MOBILE)).thenReturn(ConnectivitySlot.MOBILE) in setUpEthernetWifiMobileSlotNames()
232 .mapNotNull { connectivitySlots.getSlotFromName(it) } in List()