Home
last modified time | relevance | path

Searched refs:DeviceTypes (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DRenderInfo.kt24 import android.service.controls.DeviceTypes
85 private const val THERMOSTAT_RANGE = DeviceTypes.TYPE_THERMOSTAT * BUCKET_SIZE
94 DeviceTypes.TYPE_LIGHT
111 DeviceTypes.TYPE_THERMOSTAT to R.drawable.ic_device_thermostat,
112 DeviceTypes.TYPE_LIGHT to R.drawable.ic_device_light,
113 DeviceTypes.TYPE_CAMERA to R.drawable.ic_device_camera,
114 DeviceTypes.TYPE_LOCK to R.drawable.ic_device_lock,
115 DeviceTypes.TYPE_SWITCH to R.drawable.ic_device_switch,
116 DeviceTypes.TYPE_OUTLET to R.drawable.ic_device_outlet,
117 DeviceTypes.TYPE_VACUUM to R.drawable.ic_device_vacuum,
[all …]
/frameworks/base/core/java/android/service/controls/
DControl.java111 private final @DeviceTypes.DeviceType int mDeviceType;
142 @DeviceTypes.DeviceType int deviceType, in Control()
160 if (!DeviceTypes.validDeviceType(deviceType)) { in Control()
162 mDeviceType = DeviceTypes.TYPE_UNKNOWN; in Control()
237 @DeviceTypes.DeviceType
418 private @DeviceTypes.DeviceType int mDeviceType = DeviceTypes.TYPE_UNKNOWN;
474 public StatelessBuilder setDeviceType(@DeviceTypes.DeviceType int deviceType) { in setDeviceType()
475 if (!DeviceTypes.validDeviceType(deviceType)) { in setDeviceType()
477 mDeviceType = DeviceTypes.TYPE_UNKNOWN; in setDeviceType()
615 private @DeviceTypes.DeviceType int mDeviceType = DeviceTypes.TYPE_UNKNOWN;
[all …]
DDeviceTypes.java39 public class DeviceTypes { class
190 private DeviceTypes() {} in DeviceTypes() method in DeviceTypes
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsFavoritePersistenceWrapperTest.kt20 import android.service.controls.DeviceTypes
62 ControlInfo("id1", "name_1", "", DeviceTypes.TYPE_UNKNOWN) in testSaveAndRestore()
70 ControlInfo("id2", "name_2", "sub2", DeviceTypes.TYPE_GENERIC_ON_OFF), in testSaveAndRestore()
71 ControlInfo("id3", "name_3", "sub3", DeviceTypes.TYPE_GENERIC_ON_OFF) in testSaveAndRestore()
DControlsBindingControllerImplTest.kt24 import android.service.controls.DeviceTypes
269 val controlInfo1 = ControlInfo("id_1", "", "", DeviceTypes.TYPE_UNKNOWN) in testSubscribe()
270 val controlInfo2 = ControlInfo("id_2", "", "", DeviceTypes.TYPE_UNKNOWN) in testSubscribe()
299 val controlInfo1 = ControlInfo("id_1", "", "", DeviceTypes.TYPE_UNKNOWN) in testUnsubscribe_refreshing()
300 val controlInfo2 = ControlInfo("id_2", "", "", DeviceTypes.TYPE_UNKNOWN) in testUnsubscribe_refreshing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlStatus.kt22 import android.service.controls.DeviceTypes
33 @DeviceTypes.DeviceType val deviceType: Int
54 @DeviceTypes.DeviceType override val deviceType: Int
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlInfo.kt20 import android.service.controls.DeviceTypes
38 @DeviceTypes.DeviceType val deviceType: Int
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoControlsService.kt25 import android.service.controls.DeviceTypes in <lambda>()
126 .setDeviceType(DeviceTypes.TYPE_UNKNOWN) in makeToyControl()
143 .setDeviceType(DeviceTypes.TYPE_KETTLE) in makeWaterBowlControl()
158 .setDeviceType(DeviceTypes.TYPE_UNKNOWN) in makeFoodBowlControl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsRequestDialogTest.kt27 import android.service.controls.DeviceTypes
103 .setDeviceType(DeviceTypes.TYPE_LIGHT) in setUp()
/frameworks/base/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java119 .setDeviceType(DeviceTypes.TYPE_AIR_FRESHENER).build(); in testOnLoad_allStateless()
181 .setDeviceType(DeviceTypes.TYPE_AIR_FRESHENER).build(); in testOnLoadSuggested_allStateless()
/frameworks/base/api/
Dcurrent.txt43455 public class DeviceTypes {