Searched refs:DeviceTypes (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | RenderInfo.kt | 24 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/ |
D | Control.java | 111 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 …]
|
D | DeviceTypes.java | 39 public class DeviceTypes { class 190 private DeviceTypes() {} in DeviceTypes() method in DeviceTypes
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsFavoritePersistenceWrapperTest.kt | 20 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()
|
D | ControlsBindingControllerImplTest.kt | 24 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/ |
D | ControlStatus.kt | 22 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/ |
D | ControlInfo.kt | 20 import android.service.controls.DeviceTypes 38 @DeviceTypes.DeviceType val deviceType: Int
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoControlsService.kt | 25 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/ |
D | ControlsRequestDialogTest.kt | 27 import android.service.controls.DeviceTypes 103 .setDeviceType(DeviceTypes.TYPE_LIGHT) in setUp()
|
/frameworks/base/core/tests/coretests/src/android/service/controls/ |
D | ControlProviderServiceTest.java | 119 .setDeviceType(DeviceTypes.TYPE_AIR_FRESHENER).build(); in testOnLoad_allStateless() 181 .setDeviceType(DeviceTypes.TYPE_AIR_FRESHENER).build(); in testOnLoadSuggested_allStateless()
|
/frameworks/base/api/ |
D | current.txt | 43455 public class DeviceTypes {
|