/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | Device.java | 48 @DeviceType private int mType = DEVICE_TYPE_UNKNOWN; 68 public Builder setType(@DeviceType int type) { in setType() 93 @DeviceType private final int mType; 100 private Device(String manufacturer, String model, @DeviceType int type) { in Device() 101 validateIntDefValue(type, Device.VALID_TYPES, DeviceType.class.getSimpleName()); in Device() 126 @DeviceType 190 public @interface DeviceType {} annotation in Device
|
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/connectivity/ |
D | DiscoveryFilter.java | 39 public @interface DeviceType {} annotation in DiscoveryFilter 41 private @DeviceType int mDeviceType; 46 @DeviceType int deviceType, @Nullable String deviceName, @Nullable String peerAddress) { in DiscoveryFilter() 57 public @DeviceType int getDeviceType() { in getDeviceType() 81 private @DeviceType int mDeviceType; 98 public Builder setDeviceType(@DeviceType int deviceType) { in setDeviceType()
|
D | CdmConnectivityManager.java | 19 import static com.android.server.remoteauth.connectivity.DiscoveryFilter.DeviceType; 110 private String getDeviceProfileFromType(@DeviceType int deviceType) { in getDeviceProfileFromType()
|
/packages/modules/Bluetooth/system/gd/hci/ |
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()
|
/packages/modules/Connectivity/nearby/framework/java/android/nearby/ |
D | PresenceDevice.java | 45 DeviceType.UNKNOWN, 46 DeviceType.PHONE, 47 DeviceType.TABLET, 48 DeviceType.DISPLAY, 49 DeviceType.LAPTOP, 50 DeviceType.TV, 51 DeviceType.WATCH, 53 public @interface DeviceType { annotation in PresenceDevice 114 @DeviceType 373 public Builder setDeviceType(@DeviceType int deviceType) { in setDeviceType()
|
/packages/modules/Bluetooth/system/gd/security/record/ |
D | security_record_storage.cc | 33 if (*device.GetDeviceType() == hci::DeviceType::LE) { in SetClassicData() 44 if (*device.GetDeviceType() == hci::DeviceType::BR_EDR) { in SetLeData() 118 mutation.Add(device.SetDeviceType(hci::DeviceType::BR_EDR)); in SaveSecurityRecords() 120 mutation.Add(device.SetDeviceType(hci::DeviceType::DUAL)); in SaveSecurityRecords() 122 mutation.Add(device.SetDeviceType(hci::DeviceType::LE)); in SaveSecurityRecords() 124 mutation.Add(device.SetDeviceType(hci::DeviceType::LE)); in SaveSecurityRecords() 139 …auto address_type = (device.GetDeviceType() == hci::DeviceType::BR_EDR) ? hci::AddressType::PUBLIC… in LoadSecurityRecords() 144 if (device.GetDeviceType() != hci::DeviceType::LE) { in LoadSecurityRecords() 147 if (device.GetDeviceType() != hci::DeviceType::BR_EDR) { in LoadSecurityRecords()
|
/packages/modules/Bluetooth/system/gd/storage/ |
D | config_cache_test.cc | 294 Optional(StrEq(std::to_string(bluetooth::hci::DeviceType::BR_EDR)))); in TEST() 306 std::to_string(bluetooth::hci::DeviceType::BR_EDR)); in TEST() 312 std::to_string(bluetooth::hci::DeviceType::BR_EDR)); in TEST() 322 Optional(StrEq(std::to_string(bluetooth::hci::DeviceType::BR_EDR)))); in TEST() 334 std::to_string(bluetooth::hci::DeviceType::BR_EDR)); in TEST() 340 std::to_string(bluetooth::hci::DeviceType::BR_EDR)); in TEST() 351 Optional(StrEq(std::to_string(bluetooth::hci::DeviceType::DUAL)))); in TEST() 363 std::to_string(bluetooth::hci::DeviceType::BR_EDR)); in TEST() 369 std::to_string(bluetooth::hci::DeviceType::BR_EDR)); in TEST() 379 Optional(StrEq(std::to_string(bluetooth::hci::DeviceType::LE)))); in TEST() [all …]
|
D | device.cc | 32 using hci::DeviceType; 101 device_type == DeviceType::LE || device_type == DeviceType::DUAL, in Le() 110 device_type == DeviceType::BR_EDR || device_type == DeviceType::DUAL, in Classic()
|
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 …]
|
D | device.h | 192 DeviceType, hci::DeviceType, BTIF_STORAGE_KEY_DEV_TYPE, { 193 return static_cast<hci::DeviceType>( 194 value | GetDeviceType().value_or(hci::DeviceType::UNKNOWN));
|
D | config_cache.cc | 456 device_type_iter->second == std::to_string(hci::DeviceType::DUAL)) { in FixDeviceTypeInconsistencyInSection() 467 hci::DeviceType device_type = hci::DeviceType::BR_EDR; in FixDeviceTypeInconsistencyInSection() 477 device_type = hci::DeviceType::DUAL; in FixDeviceTypeInconsistencyInSection() 479 device_type = hci::DeviceType::BR_EDR; in FixDeviceTypeInconsistencyInSection() 481 device_type = hci::DeviceType::LE; in FixDeviceTypeInconsistencyInSection()
|
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
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()
|
/packages/modules/Virtualization/vmbase/example/src/ |
D | pci.rs | 26 DeviceType, Transport, 49 DeviceType::Block => { in check_pci() 54 DeviceType::Console => { in check_pci() 58 DeviceType::Socket => { in check_pci()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | DeviceGridState.java | 19 import static com.android.launcher3.InvariantDeviceProfile.DeviceType; 53 private final @DeviceType int mDeviceType; 81 public @DeviceType int getDeviceType() { in getDeviceType()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | DeviceInfoHelper.java | 31 import android.health.connect.datatypes.Device.DeviceType; 222 @DeviceType private final int mDeviceType; 224 DeviceInfo(String manufacturer, String model, @DeviceType int deviceType) { in DeviceInfo()
|
/packages/modules/Uwb/generic_ranging/src/com/android/ranging/generic/ranging/ |
D | UwbAdapter.java | 75 DeviceType deviceType) in UwbAdapter() 90 ? (deviceType == DeviceType.CONTROLEE) ? Optional.of( in UwbAdapter() 365 public enum DeviceType {
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | TypeUtils.cpp | 333 std::ostream& operator<<(std::ostream& os, const DeviceType& deviceType) { in operator <<() 335 case DeviceType::UNKNOWN: in operator <<() 337 case DeviceType::OTHER: in operator <<() 339 case DeviceType::CPU: in operator <<() 341 case DeviceType::GPU: in operator <<() 343 case DeviceType::ACCELERATOR: in operator <<()
|
/packages/modules/Virtualization/rialto/src/ |
D | main.rs | 44 transport::{pci::bus::PciRoot, DeviceType, Transport}, 196 .find(|t| DeviceType::Socket == t.device_type()) in find_socket_device()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | RecordInternal.java | 234 @Device.DeviceType 240 public RecordInternal<T> setDeviceType(@Device.DeviceType int deviceType) { in setDeviceType()
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalDevice.cpp | 116 DeviceType Device::getType() const { in getType() 117 return DeviceType::CPU; in getType()
|
D | CanonicalDevice.h | 45 DeviceType getType() const override;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InvariantDeviceProfile.java | 89 public @interface DeviceType {} annotation in InvariantDeviceProfile 134 public @DeviceType int deviceType; 267 @DeviceType int defaultDeviceType = defaultInfo.getDeviceType(); in InvariantDeviceProfile() 276 @DeviceType int deviceType = myInfo.getDeviceType(); in InvariantDeviceProfile() 340 @DeviceType int deviceType = displayInfo.getDeviceType(); in initGrid() 366 @DeviceType int deviceType) { in initGrid() 525 String gridName, @DeviceType int deviceType, boolean allowDisabledGrid) { in getPredefinedDeviceProfiles() 707 Info displayInfo, ArrayList<DisplayOption> points, @DeviceType int deviceType) { in invDistWeightedInterpolate() 1038 public boolean isEnabled(@DeviceType int deviceType) { in isEnabled()
|
/packages/modules/Virtualization/pvmfw/src/ |
D | instance.rs | 29 use virtio_drivers::transport::{pci::bus::PciRoot, DeviceType, Transport}; 179 .filter(|t| DeviceType::Block == t.device_type()) in find_instance_img()
|
/packages/modules/Uwb/generic_ranging/tests/multidevices/snippet/ |
D | GenericRangingSnippet.java | 205 uwbAdapter = new UwbAdapter(mContext, mExecutor, UwbAdapter.DeviceType.CONTROLEE); in startUwbRanging() 208 uwbAdapter = new UwbAdapter(mContext, mExecutor, UwbAdapter.DeviceType.CONTROLLER); in startUwbRanging()
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | IDevice.h | 92 virtual DeviceType getType() const = 0;
|