Home
last modified time | relevance | path

Searched refs:DeviceType (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/service/controls/
DDeviceTypes.java44 public static final @DeviceType int TYPE_UNKNOWN = 0;
45 public static final @DeviceType int TYPE_AC_HEATER = 1;
46 public static final @DeviceType int TYPE_AC_UNIT = 2;
47 public static final @DeviceType int TYPE_AIR_FRESHENER = 3;
48 public static final @DeviceType int TYPE_AIR_PURIFIER = 4;
49 public static final @DeviceType int TYPE_COFFEE_MAKER = 5;
50 public static final @DeviceType int TYPE_DEHUMIDIFIER = 6;
51 public static final @DeviceType int TYPE_DISPLAY = 7;
52 public static final @DeviceType int TYPE_FAN = 8;
53 public static final @DeviceType int TYPE_HOOD = 10;
[all …]
DControl.java111 private final @DeviceTypes.DeviceType int mDeviceType;
145 @DeviceTypes.DeviceType int deviceType, in Control()
243 @DeviceTypes.DeviceType
433 private @DeviceTypes.DeviceType int mDeviceType = DeviceTypes.TYPE_UNKNOWN;
489 public StatelessBuilder setDeviceType(@DeviceTypes.DeviceType int deviceType) { in setDeviceType()
632 private @DeviceTypes.DeviceType int mDeviceType = DeviceTypes.TYPE_UNKNOWN;
696 public StatefulBuilder setDeviceType(@DeviceTypes.DeviceType int deviceType) { in setDeviceType()
/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp42 enum class DeviceType { enum
56 const char* phys, DeviceType deviceType, jint screenHeight, in openUinput()
69 case DeviceType::DPAD: in openUinput()
74 case DeviceType::KEYBOARD: in openUinput()
79 case DeviceType::MOUSE: in openUinput()
91 case DeviceType::TOUCHSCREEN: in openUinput()
103 case DeviceType::STYLUS: in openUinput()
131 if (deviceType == DeviceType::TOUCHSCREEN) { in openUinput()
180 } else if (deviceType == DeviceType::STYLUS) { in openUinput()
236 if (deviceType == DeviceType::TOUCHSCREEN) { in openUinput()
[all …]
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
DNetworkProviderInfo.java86 public @interface DeviceType { annotation in NetworkProviderInfo
89 @DeviceType
124 public Builder setDeviceType(@DeviceType int deviceType) { in setDeviceType()
216 private static void validate(@DeviceType int deviceType, String deviceName, String modelName, in validate()
231 private NetworkProviderInfo(@DeviceType int deviceType, @NonNull String deviceName, in NetworkProviderInfo()
249 @DeviceType
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsMetricsLoggerImpl.kt19 import android.service.controls.DeviceTypes.DeviceType
49 @DeviceType deviceType: Int, in log()
DControlStatus.kt33 @DeviceTypes.DeviceType val deviceType: Int
54 @DeviceTypes.DeviceType override val deviceType: Int
DControlsMetricsLogger.kt19 import android.service.controls.DeviceTypes.DeviceType
67 @DeviceType deviceType: Int, in log()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlInfo.kt38 @DeviceTypes.DeviceType val deviceType: Int
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DHotspotNetworkEntry.java107 public @interface DeviceType {} // TODO(b/271868642): Add IfThisThanThat lint annotation in HotspotNetworkEntry
368 @DeviceType
586 private static String getDeviceTypeId(@DeviceType int deviceType) { in getDeviceTypeId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/shared/model/
DWifiNetworkModel.kt26 import com.android.wifitrackerlib.HotspotNetworkEntry.DeviceType
351 fun @receiver:DeviceType Int.toHotspotDeviceType(): HotspotDeviceType { in toHotspotDeviceType()
/frameworks/base/services/core/java/com/android/server/hdmi/
DReportFeaturesMessage.java102 @Constants.DeviceType
DConstants.java550 @interface DeviceType {} annotation in Constants
/frameworks/base/media/java/android/media/
DMediaRouterClientState.java97 public @MediaRouter.RouteInfo.DeviceType int deviceType;
DMediaRouter.java1685 public @interface DeviceType {} annotation in MediaRouter.RouteInfo
1925 @DeviceType
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.h229 enum class DeviceType { enum
237 DeviceType deviceType;
844 static Parameters::DeviceType computeDeviceType(const InputDeviceContext& deviceContext);
DTouchInputMapper.cpp394 .value_or(parameters.deviceType == Parameters::DeviceType::TOUCH_SCREEN); in computeParameters()
399 if (parameters.deviceType != Parameters::DeviceType::TOUCH_SCREEN) { in computeParameters()
415 parameters.deviceType == Parameters::DeviceType::TOUCH_SCREEN || in computeParameters()
416 parameters.deviceType == Parameters::DeviceType::POINTER || in computeParameters()
417 (parameters.deviceType == Parameters::DeviceType::TOUCH_NAVIGATION && in computeParameters()
420 if (parameters.deviceType == Parameters::DeviceType::TOUCH_SCREEN) { in computeParameters()
449 TouchInputMapper::Parameters::DeviceType TouchInputMapper::computeDeviceType( in computeDeviceType()
451 Parameters::DeviceType deviceType; in computeDeviceType()
454 deviceType = Parameters::DeviceType::TOUCH_SCREEN; in computeDeviceType()
457 deviceType = Parameters::DeviceType::POINTER; in computeDeviceType()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlAdapter.kt285 @DeviceTypes.DeviceType deviceType: Int in getRenderInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImplTest.kt45 import com.android.wifitrackerlib.HotspotNetworkEntry.DeviceType
1264 private fun createHotspotWithType(@DeviceType type: Int): HotspotNetworkEntry { in createHotspotWithType()