/packages/modules/Bluetooth/system/gd/storage/ |
D | device_test.cc | 30 using bluetooth::storage::Device; 38 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 43 Device device(&config, &memory_only_config, address, in TEST() 44 Device::ConfigKeyAddressType::LEGACY_KEY_ADDRESS); in TEST() 51 Device device2(&config, &memory_only_config, address2, in TEST() 52 Device::ConfigKeyAddressType::LEGACY_KEY_ADDRESS); in TEST() 58 Device device3(&config, &memory_only_config, address3, in TEST() 59 Device::ConfigKeyAddressType::LEGACY_KEY_ADDRESS); in TEST() 66 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 71 Device device(&config, &memory_only_config, address, in TEST() [all …]
|
D | device.cc | 39 Device::ConfigKeyAddressType key_address_type) { in GetConfigSection() 45 case Device::ConfigKeyAddressType::LEGACY_KEY_ADDRESS: in GetConfigSection() 46 case Device::ConfigKeyAddressType::CLASSIC_ADDRESS: in GetConfigSection() 48 case Device::ConfigKeyAddressType::LE_IDENTITY_ADDRESS: in GetConfigSection() 56 case Device::ConfigKeyAddressType::LE_LEGACY_PSEUDO_ADDRESS: in GetConfigSection() 73 const std::unordered_set<std::string_view> Device::kLinkKeyProperties = { 76 Device::Device(ConfigCache* config, ConfigCache* memory_only_config, in Device() function in bluetooth::storage::Device 78 : Device(config, memory_only_config, GetConfigSection(config, key_address, key_address_type)) {} in Device() 80 Device::Device(ConfigCache* config, ConfigCache* memory_only_config, std::string section) in Device() function in bluetooth::storage::Device 83 bool Device::Exists() { return config_->HasSection(section_); } in Exists() [all …]
|
D | device.h | 122 class Device { 131 Device(ConfigCache* config, ConfigCache* memory_only_config, const hci::Address& key_address, 133 Device(ConfigCache* config, ConfigCache* memory_only_config, std::string section); 136 Device(Device&& other) noexcept = default; 137 Device& operator=(Device&& other) noexcept = default; 140 Device(const Device& other) noexcept = default; 141 Device& operator=(const Device& other) noexcept = default; 144 bool operator==(const Device& other) const { 148 bool operator!=(const Device& other) const { return !(*this == other); } 149 bool operator<(const Device& other) const { [all …]
|
D | config_cache_test.cc | 40 using bluetooth::storage::Device; 44 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 52 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 63 ConfigCache config(2, Device::kLinkKeyProperties); in TEST() 72 ConfigCache config_1(2, Device::kLinkKeyProperties); in TEST() 77 ConfigCache config_2(2, Device::kLinkKeyProperties); in TEST() 95 ConfigCache config_3(3, Device::kLinkKeyProperties); in TEST() 103 ConfigCache config_4(2, Device::kLinkKeyProperties); in TEST() 106 ConfigCache config_5(2, Device::kLinkKeyProperties); in TEST() 109 ConfigCache config_6(3, Device::kLinkKeyProperties); in TEST() [all …]
|
D | config_cache_helper_test.cc | 31 using bluetooth::storage::Device; 34 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 46 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 65 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 84 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 104 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 125 ConfigCache config(100, Device::kLinkKeyProperties); in TEST()
|
D | storage_module.cc | 174 config.emplace(temp_devices_capacity_, Device::kLinkKeyProperties); in Start() 219 Device StorageModule::GetDeviceByLegacyKey(hci::Address legacy_key_address) { in GetDeviceByLegacyKey() 221 return Device(&pimpl_->cache_, &pimpl_->memory_only_cache_, std::move(legacy_key_address), in GetDeviceByLegacyKey() 222 Device::ConfigKeyAddressType::LEGACY_KEY_ADDRESS); in GetDeviceByLegacyKey() 225 Device StorageModule::GetDeviceByClassicMacAddress(hci::Address classic_address) { in GetDeviceByClassicMacAddress() 227 return Device(&pimpl_->cache_, &pimpl_->memory_only_cache_, std::move(classic_address), in GetDeviceByClassicMacAddress() 228 Device::ConfigKeyAddressType::CLASSIC_ADDRESS); in GetDeviceByClassicMacAddress() 231 Device StorageModule::GetDeviceByLeIdentityAddress(hci::Address le_identity_address) { in GetDeviceByLeIdentityAddress() 233 return Device(&pimpl_->cache_, &pimpl_->memory_only_cache_, std::move(le_identity_address), in GetDeviceByLeIdentityAddress() 234 Device::ConfigKeyAddressType::LE_IDENTITY_ADDRESS); in GetDeviceByLeIdentityAddress() [all …]
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothClass.java | 153 public static class Device { class in BluetoothClass 258 return (mClass & Device.Major.BITMASK); in getMajorDeviceClass() 270 return (mClass & Device.BITMASK); in getDeviceClass() 322 case Device.AUDIO_VIDEO_HIFI_AUDIO: in doesClassMatch() 323 case Device.AUDIO_VIDEO_HEADPHONES: in doesClassMatch() 324 case Device.AUDIO_VIDEO_LOUDSPEAKER: in doesClassMatch() 325 case Device.AUDIO_VIDEO_CAR_AUDIO: in doesClassMatch() 338 case Device.AUDIO_VIDEO_HIFI_AUDIO: in doesClassMatch() 339 case Device.AUDIO_VIDEO_SET_TOP_BOX: in doesClassMatch() 340 case Device.AUDIO_VIDEO_VCR: in doesClassMatch() [all …]
|
/packages/modules/DeviceLock/DeviceLockController/proto/ |
D | checkin_service.proto | 30 // This service is used by the Device Lock Android client to facilitate device 31 // provisioning of an eligible device into a Device Lock locking program. 57 // The device identifiers associated with the device provided by the Device 58 // Lock Android client. The Device Lock Android client would provide only one 59 // device identifier once the Device Lock Check-in service determines which 62 // The Mobile Network Code for the carrier, the Device Lock Android client 66 // device provided by the Device Lock Android client. The token is only used 88 // The different check-in status the Device Lock Android client can be in. 91 // The device is not ready for provision. The Device Lock Android client 94 // The device is ready for provision. The Device Lock Android client can use [all …]
|
D | device_checkin_info.proto | 24 // The different states a device that did a check-in with the Device Lock 36 // The device is in a country where Device Lock is not approved. 38 // Device identifiers provided by the client that are not registered 39 // on the Device Lock portal. The client provides a list of device identifiers 40 // and if one of them is found that is registered on the Device Lock portal, 45 // The different provisioning methods the Device Lock Android client can
|
D | finalize_service.proto | 24 // A service for finalizing Device Lock program enrollment. For example: 28 // Reports that a device completed a Device Lock program. 33 // Request to report that a device completed a Device Lock program. 35 // The device identifier that is registered with the Device Lock server 36 // obtained from the Device Lock Check-in service.
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | A2dpDeviceCriteria.java | 30 return majorDeviceClass == BluetoothClass.Device.Major.AUDIO_VIDEO; in isMatchingMajorDeviceClass() 36 return (majorMinorClass == BluetoothClass.Device.AUDIO_VIDEO_UNCATEGORIZED || in isMatchingDeviceClass() 37 majorMinorClass == BluetoothClass.Device.AUDIO_VIDEO_WEARABLE_HEADSET || in isMatchingDeviceClass() 38 majorMinorClass == BluetoothClass.Device.AUDIO_VIDEO_HEADPHONES || in isMatchingDeviceClass() 39 majorMinorClass == BluetoothClass.Device.AUDIO_VIDEO_LOUDSPEAKER || in isMatchingDeviceClass() 40 majorMinorClass == BluetoothClass.Device.AUDIO_VIDEO_PORTABLE_AUDIO || in isMatchingDeviceClass() 41 majorMinorClass == BluetoothClass.Device.AUDIO_VIDEO_HIFI_AUDIO || in isMatchingDeviceClass() 43 BluetoothClass.Device.AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER || in isMatchingDeviceClass() 44 majorMinorClass == BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE || in isMatchingDeviceClass() 45 majorMinorClass == BluetoothClass.Device.AUDIO_VIDEO_SET_TOP_BOX || in isMatchingDeviceClass()
|
/packages/modules/Bluetooth/system/profile/avrcp/ |
D | device.cc | 49 Device::Device(const RawAddress& bdaddr, bool avrcp13_compatibility, in Device() function in bluetooth::avrcp::Device 62 void Device::RegisterInterfaces(MediaInterface* media_interface, A2dpInterface* a2dp_interface, in RegisterInterfaces() 73 base::WeakPtr<Device> Device::Get() { return weak_ptr_factory_.GetWeakPtr(); } in Get() 75 void Device::SetBrowseMtu(uint16_t browse_mtu) { in SetBrowseMtu() 80 void Device::SetBipClientStatus(bool connected) { in SetBipClientStatus() 85 bool Device::HasBipClient() const { return has_bip_client_; } in HasBipClient() 96 bool Device::IsActive() const { return address_ == a2dp_interface_->active_peer(); } in IsActive() 98 bool Device::IsInSilenceMode() const { return a2dp_interface_->is_peer_in_silence_mode(address_); } in IsInSilenceMode() 100 void Device::VendorPacketHandler(uint8_t label, std::shared_ptr<VendorPacket> pkt) { in VendorPacketHandler() 179 media_interface_->GetSongInfo(base::Bind(&Device::GetElementAttributesResponse, in VendorPacketHandler() [all …]
|
D | device.h | 59 class Device { 67 Device(const RawAddress& bdaddr, bool avrcp13_compatibility, 73 Device(const Device&) = delete; 74 Device& operator=(const Device&) = delete; 76 virtual ~Device() = default; 82 base::WeakPtr<Device> Get(); 301 friend std::ostream& operator<<(std::ostream& out, const Device& c); 328 base::WeakPtrFactory<Device> weak_ptr_factory_;
|
/packages/modules/Bluetooth/tools/rootcanal/model/devices/ |
D | device.cc | 36 Device::Device() : id_(next_instance_id()) { in Device() function in rootcanal::Device 40 std::string Device::ToString() const { return GetTypeString() + "@" + address_.ToString(); } in ToString() 42 void Device::Close() { in Close() 48 void Device::SendLinkLayerPacket(std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet, in SendLinkLayerPacket() 53 void Device::SendLinkLayerPacket(std::vector<uint8_t> const& packet, Phy::Type type, in SendLinkLayerPacket() 60 void Device::RegisterCloseCallback(std::function<void()> close_callback) { in RegisterCloseCallback() 64 void Device::RegisterLinkLayerChannel( in RegisterLinkLayerChannel()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Manager.h | 42 class Device; variable 75 virtual const Device* getDevice() const = 0; 126 class Device { 127 DISALLOW_COPY_AND_ASSIGN(Device); 130 Device() = default; 131 virtual ~Device() = default; 170 const std::vector<std::shared_ptr<Device>>& getDrivers() const { in getDrivers() 213 static std::shared_ptr<Device> getCpuDevice(); 218 std::vector<std::shared_ptr<Device>> forTest_getDevices() const { return mDevices; } in forTest_getDevices() 221 void forTest_setDevices(std::vector<std::shared_ptr<Device>> devices) { in forTest_setDevices() [all …]
|
D | ModelBuilder.h | 36 class Device; variable 74 const std::vector<std::shared_ptr<Device>>& devices, 132 int partitionTheWork(const std::vector<std::shared_ptr<Device>>& devices, uint32_t preference, 155 const std::vector<std::shared_ptr<Device>>& devices, 157 float getPerformance(uint32_t preference, const std::shared_ptr<Device> device) const; 158 float getPerformance(uint32_t preference, const std::shared_ptr<Device> device, 167 const std::vector<std::shared_ptr<Device>>& devices,
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalDevice.cpp | 97 Device::Device(std::string name, const IOperationResolver* operationResolver) in Device() function in android::nn::sample::Device 103 const std::string& Device::getName() const { in getName() 107 const std::string& Device::getVersionString() const { in getVersionString() 112 Version Device::getFeatureLevel() const { in getFeatureLevel() 116 DeviceType Device::getType() const { in getType() 120 const std::vector<Extension>& Device::getSupportedExtensions() const { in getSupportedExtensions() 125 const Capabilities& Device::getCapabilities() const { in getCapabilities() 130 std::pair<uint32_t, uint32_t> Device::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() 134 GeneralResult<void> Device::wait() const { in wait() 138 GeneralResult<std::vector<bool>> Device::getSupportedOperations(const Model& model) const { in getSupportedOperations() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/util/bluetooth/ |
D | BluetoothScanner.java | 46 public static class Device { class in BluetoothScanner 98 public void onScanningStopped(ArrayList<Device> devices) { in onScanningStopped() 100 public void onDeviceAdded(Device device) { in onDeviceAdded() 102 public void onDeviceChanged(Device device) { in onDeviceChanged() 104 public void onDeviceRemoved(Device device) { in onDeviceRemoved() 153 public static void removeDevice(Device device) { in removeDevice() 165 public final ArrayList<Device> devices; 179 private final ArrayList<Device> mPresentDevices = new ArrayList<>(); 232 Device target = mPresentDevices.get(i); in startListening() 319 Device d = mPresentDevices.get(i); in removeDevice() [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | Device.java | 37 public final class Device { class 75 public Device build() { in build() 76 return new Device(mManufacturer, mModel, mType); in build() 100 private Device(String manufacturer, String model, @DeviceType int type) { in Device() method in Device 101 validateIntDefValue(type, Device.VALID_TYPES, DeviceType.class.getSimpleName()); in Device() 140 if (object instanceof Device) { in equals() 141 Device other = (Device) object; in equals()
|
D | Metadata.java | 70 private final Device mDevice; 103 Device device, in Metadata() 181 public Device getDevice() { in getDevice() 241 private Device mDevice = new Device.Builder().build(); 255 public Builder setDevice(@NonNull Device device) { in setDevice()
|
/packages/modules/adb/docs/dev/ |
D | delayed_ack.md | 48 Host > A_OPEN > Device 49 Host > A_WRTE > Device 51 Host < A_OKAY < Device 53 Host > A_WRTE > Device 55 Host < A_OKAY < Device 57 Host > A_WRTE > Device 59 Host < A_OKAY < Device 69 Host(ASB=0) > A_OPEN(arg1=1MiB) > Device 70 Host(ASB=X) < A_OKAY(<ASB=X>) < Device 71 Host<ASB=X-a) > A_WRTE(payload size=a) > Device [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/model/setup/ |
D | device_boutique.cc | 25 std::unordered_map<std::string, std::function<std::shared_ptr<Device>(const vector<std::string>&)>>& 28 std::function<std::shared_ptr<Device>(const vector<std::string>&)>> in GetMap() 36 const std::function<std::shared_ptr<Device>(const vector<std::string>&)> method) { in Register() 42 std::shared_ptr<Device> DeviceBoutique::Create(const vector<std::string>& args) { in Create() 49 return std::shared_ptr<Device>(nullptr); in Create()
|
D | test_model.h | 36 class Device; variable 50 std::function<std::shared_ptr<Device>(const std::string&, int, Phy::Type)> 67 std::shared_ptr<Device> device); 71 PhyDevice::Identifier AddDevice(std::shared_ptr<Device> device); 81 void AddLinkLayerConnection(std::shared_ptr<Device> dev, Phy::Type phy_type); 132 std::function<std::shared_ptr<Device>(const std::string&, int, Phy::Type)> connect_to_remote_;
|
/packages/modules/Nfc/libnfc-nci/tools/casimir/src/ |
D | main-grpc.rs | 116 pub struct Device { struct 127 impl Device { argument 132 ) -> Device { in nci() argument 134 Device { in nci() 155 ) -> Device { in rf() argument 157 Device { in rf() 207 devices: [Option<Device>; MAX_DEVICES], 213 const NONE: Option<Device> = None; in new() 228 fn add_device(&mut self, builder: impl FnOnce(Id) -> Device) -> Result<Id> { in add_device() 312 impl From<&DeviceInformation> for casimir::Device { implementation [all …]
|
D | main.rs | 102 pub struct Device { struct 113 impl Device { argument 119 ) -> Device { in nci() argument 121 Device { in nci() 142 ) -> Device { in rf() argument 144 Device { in rf() 193 devices: [Option<Device>; MAX_DEVICES], 198 const NONE: Option<Device> = None; in default() 214 fn add_device(&mut self, builder: impl FnOnce(Id) -> Device) -> Result<Id> { in add_device() 386 match scene.add_device(|id| Device::nci(id, socket_rx, socket_tx, rf_tx.clone())) { in run() [all …]
|