/aosp12/frameworks/base/core/java/android/service/controls/ |
H A D | DeviceTypes.java | 44 public static final @DeviceType int TYPE_UNKNOWN = 0; 46 public static final @DeviceType int TYPE_AC_UNIT = 2; 52 public static final @DeviceType int TYPE_FAN = 8; 53 public static final @DeviceType int TYPE_HOOD = 10; 56 public static final @DeviceType int TYPE_LIGHT = 13; 65 public static final @DeviceType int TYPE_TV = 22; 70 public static final @DeviceType int TYPE_MOP = 26; 82 public static final @DeviceType int TYPE_DOOR = 37; 85 public static final @DeviceType int TYPE_GATE = 40; 91 public static final @DeviceType int TYPE_LOCK = 45; [all …]
|
H A D | Control.java | 111 private final @DeviceTypes.DeviceType int mDeviceType; 142 @DeviceTypes.DeviceType int deviceType, in Control() 237 @DeviceTypes.DeviceType 418 private @DeviceTypes.DeviceType int mDeviceType = DeviceTypes.TYPE_UNKNOWN; 474 public StatelessBuilder setDeviceType(@DeviceTypes.DeviceType int deviceType) { in setDeviceType() 615 private @DeviceTypes.DeviceType int mDeviceType = DeviceTypes.TYPE_UNKNOWN; 677 public StatefulBuilder setDeviceType(@DeviceTypes.DeviceType int deviceType) { in setDeviceType()
|
/aosp12/hardware/interfaces/audio/effect/6.0/xml/api/ |
H A D | current.txt | 38 method public audio.effects.V6_0.DeviceType getType(); 40 method public void setType(audio.effects.V6_0.DeviceType); 43 public enum DeviceType { 51 enum_constant public static final audio.effects.V6_0.DeviceType AUDIO_DEVICE_IN_BUS; 56 enum_constant public static final audio.effects.V6_0.DeviceType AUDIO_DEVICE_IN_HDMI; 58 enum_constant public static final audio.effects.V6_0.DeviceType AUDIO_DEVICE_IN_IP; 59 enum_constant public static final audio.effects.V6_0.DeviceType AUDIO_DEVICE_IN_LINE; 61 enum_constant public static final audio.effects.V6_0.DeviceType AUDIO_DEVICE_IN_PROXY; 79 enum_constant public static final audio.effects.V6_0.DeviceType AUDIO_DEVICE_OUT_BUS; 82 enum_constant public static final audio.effects.V6_0.DeviceType AUDIO_DEVICE_OUT_FM; [all …]
|
/aosp12/hardware/interfaces/audio/effect/7.0/xml/api/ |
H A D | current.txt | 38 method public audio.effects.V7_0.DeviceType getType(); 40 method public void setType(audio.effects.V7_0.DeviceType); 43 public enum DeviceType { 51 enum_constant public static final audio.effects.V7_0.DeviceType AUDIO_DEVICE_IN_BUS; 56 enum_constant public static final audio.effects.V7_0.DeviceType AUDIO_DEVICE_IN_HDMI; 58 enum_constant public static final audio.effects.V7_0.DeviceType AUDIO_DEVICE_IN_IP; 59 enum_constant public static final audio.effects.V7_0.DeviceType AUDIO_DEVICE_IN_LINE; 61 enum_constant public static final audio.effects.V7_0.DeviceType AUDIO_DEVICE_IN_PROXY; 79 enum_constant public static final audio.effects.V7_0.DeviceType AUDIO_DEVICE_OUT_BUS; 82 enum_constant public static final audio.effects.V7_0.DeviceType AUDIO_DEVICE_OUT_FM; [all …]
|
/aosp12/build/make/tools/releasetools/ |
H A D | check_partition_sizes.py | 91 class DeviceType(object): class 100 return DeviceType.NONE 102 return DeviceType.RVAB 104 return DeviceType.VAB 105 return DeviceType.AB 184 if slot != DeviceType.AB: 193 if slot == DeviceType.AB: 197 if slot == DeviceType.RVAB: 201 if slot == DeviceType.VAB: 205 assert slot == DeviceType.NONE [all …]
|
/aosp12/system/bt/gd/hci/ |
H A D | enum_helper.h | 28 enum DeviceType { UNKNOWN = 0, BR_EDR = 1, LE = 2, DUAL = 3 }; enum 36 template <typename T, typename std::enable_if<std::is_same_v<T, hci::DeviceType>, int>::type = 0> 37 std::optional<hci::DeviceType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 42 if (*raw_value < hci::DeviceType::UNKNOWN || *raw_value > hci::DeviceType::DUAL) { in FromLegacyConfigString() 45 return static_cast<hci::DeviceType>(*raw_value); in FromLegacyConfigString()
|
/aosp12/system/bt/gd/storage/ |
H A D | device_test.cc | 28 using bluetooth::hci::DeviceType; 132 mutation.Add(device.SetDeviceType(DeviceType::BR_EDR)); in TEST() 135 ASSERT_THAT(device.GetDeviceType(), Optional(Eq(DeviceType::BR_EDR))); in TEST() 138 mutation.Add(device.SetDeviceType(DeviceType::LE)); in TEST() 141 ASSERT_THAT(device.GetDeviceType(), Optional(Eq(DeviceType::DUAL))); in TEST() 156 mutation.Add(device.SetDeviceType(DeviceType::BR_EDR)); in TEST() 159 ASSERT_THAT(device.GetDeviceType(), Optional(Eq(DeviceType::BR_EDR))); in TEST() 172 mutation.Add(device.SetDeviceType(DeviceType::LE)); in TEST() 175 ASSERT_THAT(device.GetDeviceType(), Optional(Eq(DeviceType::LE))); in TEST() 188 mutation.Add(device.SetDeviceType(DeviceType::DUAL)); in TEST() [all …]
|
H A D | device.cc | 30 using hci::DeviceType; 98 ASSERT(device_type == DeviceType::LE || device_type == DeviceType::DUAL); in Le() 105 ASSERT(device_type == DeviceType::BR_EDR || device_type == DeviceType::DUAL); in Classic()
|
H A D | device.h | 182 …GENERATE_PROPERTY_GETTER_SETTER_REMOVER_WITH_CUSTOM_SETTER(DeviceType, hci::DeviceType, "DevType",… 183 return static_cast<hci::DeviceType>(value | GetDeviceType().value_or(hci::DeviceType::UNKNOWN));
|
/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
H A D | Conversions.h | 29 GeneralResult<DeviceType> unvalidatedConvert(const hal::V1_2::DeviceType& deviceType); 50 GeneralResult<DeviceType> convert(const hal::V1_2::DeviceType& deviceType); 70 nn::GeneralResult<DeviceType> unvalidatedConvert(const nn::DeviceType& deviceType); 91 nn::GeneralResult<DeviceType> convert(const nn::DeviceType& deviceType);
|
H A D | Device.h | 46 nn::GeneralResult<nn::DeviceType> getDeviceTypeFrom(V1_2::IDevice* device); 66 nn::DeviceType deviceType, std::vector<nn::Extension> extensions, 73 nn::DeviceType getType() const override; 102 const nn::DeviceType kDeviceType;
|
/aosp12/system/bt/gd/security/record/ |
H A D | security_record_storage.cc | 29 if (*device.GetDeviceType() == hci::DeviceType::LE) { in SetClassicData() 40 if (*device.GetDeviceType() == hci::DeviceType::BR_EDR) { in SetLeData() 111 mutation.Add(device.SetDeviceType(hci::DeviceType::BR_EDR)); in SaveSecurityRecords() 113 mutation.Add(device.SetDeviceType(hci::DeviceType::DUAL)); in SaveSecurityRecords() 115 mutation.Add(device.SetDeviceType(hci::DeviceType::LE)); in SaveSecurityRecords() 132 …auto address_type = (device.GetDeviceType() == hci::DeviceType::BR_EDR) ? hci::AddressType::PUBLIC… in LoadSecurityRecords() 137 if (device.GetDeviceType() != hci::DeviceType::LE) { in LoadSecurityRecords() 140 if (device.GetDeviceType() != hci::DeviceType::BR_EDR) { in LoadSecurityRecords()
|
/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
H A D | Conversions.cpp | 102 GeneralResult<DeviceType> unvalidatedConvert(const hal::V1_2::DeviceType& deviceType) { in unvalidatedConvert() 103 return static_cast<DeviceType>(deviceType); in unvalidatedConvert() 276 GeneralResult<DeviceType> convert(const hal::V1_2::DeviceType& deviceType) { in convert() 400 nn::GeneralResult<DeviceType> unvalidatedConvert(const nn::DeviceType& deviceType) { in unvalidatedConvert() 402 case nn::DeviceType::UNKNOWN: in unvalidatedConvert() 404 case nn::DeviceType::OTHER: in unvalidatedConvert() 405 case nn::DeviceType::CPU: in unvalidatedConvert() 406 case nn::DeviceType::GPU: in unvalidatedConvert() 407 case nn::DeviceType::ACCELERATOR: in unvalidatedConvert() 408 return static_cast<DeviceType>(deviceType); in unvalidatedConvert() [all …]
|
H A D | Device.cpp | 62 nn::GeneralResult<nn::DeviceType> deviceTypeCallback(V1_0::ErrorStatus status, in deviceTypeCallback() 63 DeviceType deviceType) { in deviceTypeCallback() 114 nn::GeneralResult<nn::DeviceType> getDeviceTypeFrom(V1_2::IDevice* device) { in getDeviceTypeFrom() 173 nn::DeviceType deviceType, std::vector<nn::Extension> extensions, in Device() 198 nn::DeviceType Device::getType() const { in getType()
|
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
H A D | WifiP2pWfdInfo.java | 59 public @interface DeviceType {} annotation in WifiP2pWfdInfo 279 public boolean setR2DeviceType(@DeviceType int deviceType) { in setR2DeviceType() 299 @DeviceType 309 @DeviceType 321 public boolean setDeviceType(@DeviceType int deviceType) { in setDeviceType()
|
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
H A D | InvalidDevice.h | 35 std::vector<Extension> extensions, DeviceType deviceType, 48 ndk::ScopedAStatus getType(DeviceType* deviceType) override; 66 const DeviceType kDeviceType;
|
H A D | Device.h | 49 nn::DeviceType deviceType, std::vector<nn::Extension> extensions, 56 nn::DeviceType getType() const override; 87 const nn::DeviceType kDeviceType;
|
/aosp12/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
H A D | BasicTests.cpp | 78 Return<void> ret = kDevice->getType([](ErrorStatus status, DeviceType type) { in TEST_P() 80 EXPECT_TRUE(type == DeviceType::OTHER || type == DeviceType::CPU || in TEST_P() 81 type == DeviceType::GPU || type == DeviceType::ACCELERATOR); in TEST_P()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | DeviceGridState.java | 19 import static com.android.launcher3.InvariantDeviceProfile.DeviceType; 48 private final @DeviceType int mDeviceType; 66 public @DeviceType int getDeviceType() { in getDeviceType()
|
/aosp12/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
H A D | InvalidDevice.h | 35 nn::DeviceType type, std::vector<nn::Extension> extensions, 42 nn::DeviceType getType() const override; 72 const nn::DeviceType kType;
|
/aosp12/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
H A D | Device.h | 49 nn::DeviceType deviceType, std::vector<nn::Extension> extensions, 56 nn::DeviceType getType() const override; 85 const nn::DeviceType kDeviceType;
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ |
H A D | ControlsMetricsLoggerImpl.kt | 19 import android.service.controls.DeviceTypes.DeviceType 49 @DeviceType deviceType: Int,
|
H A D | ControlStatus.kt | 33 @DeviceTypes.DeviceType val deviceType: Int 54 @DeviceTypes.DeviceType override val deviceType: Int
|
H A D | ControlsMetricsLogger.kt | 19 import android.service.controls.DeviceTypes.DeviceType 67 @DeviceType deviceType: Int,
|
/aosp12/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
H A D | IDevice.aidl | 23 import android.hardware.neuralnetworks.DeviceType; 211 DeviceType getType(); in getType()
|