Home
last modified time | relevance | path

Searched refs:setDeviceType (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DHotspotNetworkEntryTest.java88 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE)
251 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_TABLET) in testGetSummary_tablet_usesHotspotNetworkData()
273 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_LAPTOP) in testGetSummary_computer_usesHotspotNetworkData()
295 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_WATCH) in testGetSummary_watch_usesHotspotNetworkData()
317 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_AUTO) in testGetSummary_vehicle_usesHotspotNetworkData()
339 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_UNKNOWN) in testGetSummary_unknown_usesHotspotNetworkData()
519 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testIsBatteryCharging_apiFlagOn_usesHotspotNetworkDataApi()
551 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testIsBatteryCharging_apiFlagOn_usesHotspotNetworkDataExtras()
584 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testIsBatteryCharging_apiFlagOff_usesHotspotNetworkDataExtras()
616 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testIsBatteryCharging_apiFlagOn_extraFalse()
[all …]
DNetworkDetailsTrackerTest.java133 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testCreateNetworkDetailsTracker_returnsHotspotNetworkDetailsTracker()
DWifiPickerTrackerTest.java2493 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testSharedConnectivityManager_onServiceDisconnected_networksCleared()
2507 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testSharedConnectivityManager_onServiceDisconnected_networksCleared()
2541 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testKnownNetworks_noMatchingScanResult_entryNotIncluded()
2573 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testKnownNetworks_matchingScanResult_entryIncluded()
2605 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testKnownNetworks_matchingConnectedScanResult_entryNotIncluded()
2645 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testKnownNetworks_newKnownNetworkMatchesSavedNetwork_knownNetworkNotIncluded()
2679 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testKnownNetworks_onKnownNetworkConnectionStatusChanged_matchingEntryCalled()
2690 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testKnownNetworks_onKnownNetworkConnectionStatusChanged_matchingEntryCalled()
2737 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testKnownNetworks_entryRemoved()
2769 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE) in testHotspotNetworks_noActiveHotspot_virtualEntryIncluded()
[all …]
DKnownNetworkEntryTest.java63 .setDeviceType(NetworkProviderInfo.DEVICE_TYPE_PHONE)
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiDeviceInfoTest.java61 .setDeviceType(deviceType) in testEquals()
70 .setDeviceType(deviceType) in testEquals()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoControlsService.kt127 .setDeviceType(DeviceTypes.TYPE_UNKNOWN) in makeToyControl()
144 .setDeviceType(DeviceTypes.TYPE_KETTLE) in makeWaterBowlControl()
159 .setDeviceType(DeviceTypes.TYPE_UNKNOWN) in makeFoodBowlControl()
243 .setDeviceType(c.deviceType) in makeStateless()
/frameworks/base/services/core/java/com/android/server/hdmi/
DNewDeviceAction.java93 .setDeviceType(mDeviceType) in start()
214 .setDeviceType(mDeviceType) in addDeviceInfo()
DHdmiCecNetwork.java555 .setDeviceType(logicalAddressToDeviceType(sourceAddress)) in handleCecMessage()
661 .setDeviceType(type) in handleReportPhysicalAddress()
DDeviceDiscoveryAction.java95 .setDeviceType(mDeviceType) in toHdmiDeviceInfo()
DHdmiControlService.java2012 .setDeviceType(deviceType) in createDeviceInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DRoutingControlActionTest.java110 .setDeviceType(HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM)
118 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK)
DDeviceSelectActionFromPlaybackTest.java191 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in setUp()
201 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in setUp()
211 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in setUp()
DDeviceSelectActionFromTvTest.java81 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK)
91 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK)
DHdmiCecLocalDeviceTvTest.java348 .setDeviceType(Constants.ADDR_PLAYBACK_1) in getActiveSource_deviceInNetworkIsActiveSource()
379 .setDeviceType(ADDR_PLAYBACK_1) in getActiveSource_unknownDeviceIsActiveSource()
849 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in hotplugDetectionActionClearsDevices()
897 .setDeviceType(HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM) in hotplugDetectionActionClearsDevices_AudioSystem()
942 .setDeviceType(HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM) in onHotplug_doNotSend_systemAudioModeRequestWithParameter()
1897 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in onAddressAllocated_startRequestActiveSourceAction_cancelOnDeviceSelect()
DHdmiCecLocalDevicePlaybackTest.java75 .setDeviceType(HdmiDeviceInfo.DEVICE_TV)
736 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in handleRoutingInformation_physicalAddressOfSender_notTv_noActiveSourceChange()
1937 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in hotplugDetectionAction_removeDevice()
1978 .setDeviceType(Constants.ADDR_PLAYBACK_1) in getActiveSource_deviceInNetworkIsActiveSource()
1998 .setDeviceType(Constants.ADDR_PLAYBACK_1) in getActiveSource_unknownDeviceIsActiveSource()
2282 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in onHotplugClearsDevices()
DOneTouchPlayActionTest.java68 .setDeviceType(HdmiDeviceInfo.DEVICE_TV)
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java156 .setDeviceType(deviceType)
670 public Builder setDeviceType(int deviceType) { in setDeviceType() method in HdmiDeviceInfo.Builder
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsRequestDialogTest.kt106 .setDeviceType(DeviceTypes.TYPE_LIGHT) in setUp()
/frameworks/base/core/java/android/service/controls/
DControl.java489 public StatelessBuilder setDeviceType(@DeviceTypes.DeviceType int deviceType) { in setDeviceType() method in Control.StatelessBuilder
696 public StatefulBuilder setDeviceType(@DeviceTypes.DeviceType int deviceType) { in setDeviceType() method in Control.StatefulBuilder
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
DNetworkProviderInfo.java124 public Builder setDeviceType(@DeviceType int deviceType) { in setDeviceType() method in NetworkProviderInfo.Builder
/frameworks/base/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java128 .setDeviceType(DeviceTypes.TYPE_AIR_FRESHENER).build(); in testOnLoad_allStateless()
191 .setDeviceType(DeviceTypes.TYPE_AIR_FRESHENER).build(); in testOnLoadSuggested_allStateless()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsControllerImplTest.kt198 .setDeviceType(controlInfo.deviceType).setTitle(controlInfo.controlTitle) in <lambda>()
207 .setDeviceType(controlInfo.deviceType).setTitle(controlInfo.controlTitle) in <lambda>()
/frameworks/base/wifi/tests/src/android/net/wifi/sharedconnectivity/service/
DSharedConnectivityServiceTest.java71 .setDeviceType(DEVICE_TYPE_TABLET).setConnectionStrength(2)
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlsControllerImpl.kt463 .setDeviceType(controlInfo.deviceType) in <lambda>()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java299 wfdInfo.setDeviceType(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE); in updateWfdEnableState()

12