/packages/apps/TvSettings/Settings/src/com/android/tv/settings/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/NeuralNetworks/runtime/ |
D | Manager.h | 41 class Device; variable 74 virtual const Device* getDevice() const = 0; 122 class Device { 123 DISALLOW_COPY_AND_ASSIGN(Device); 126 Device() = default; 127 virtual ~Device() = default; 165 const std::vector<std::shared_ptr<Device>>& getDrivers() const { in getDrivers() 196 static std::shared_ptr<Device> getCpuDevice(); 201 std::vector<std::shared_ptr<Device>> forTest_getDevices() const { return mDevices; } in forTest_getDevices() 204 void forTest_setDevices(std::vector<std::shared_ptr<Device>> devices) { in forTest_setDevices() [all …]
|
D | NeuralNetworks.cpp | 659 const std::vector<std::shared_ptr<Device>>& devices = DeviceManager::get()->getDrivers(); in ANeuralNetworks_getDevice() 673 const Device* d = reinterpret_cast<const Device*>(device); in ANeuralNetworksDevice_getName() 683 const Device* d = reinterpret_cast<const Device*>(device); in ANeuralNetworksDevice_getVersion() 693 const Device* d = reinterpret_cast<const Device*>(device); in ANeuralNetworksDevice_getType() 708 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(device)); in ANeuralNetworksDevice_getFeatureLevel() 722 const Device* d = reinterpret_cast<const Device*>(device); in ANeuralNetworksDevice_wait() 764 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(devices[i])); in ANeuralNetworksModel_getSupportedOperationsForDevices() 790 std::vector<std::shared_ptr<Device>> selectedDevices; in ANeuralNetworksCompilation_createForDevices() 805 if (device.get() == reinterpret_cast<const Device*>(devices[i])) { in ANeuralNetworksCompilation_createForDevices() 1196 std::vector<std::shared_ptr<Device>> nonUpdatableDrivers; in ANeuralNetworksCompilation_create() [all …]
|
D | ModelBuilder.h | 35 class Device; variable 72 const std::vector<std::shared_ptr<Device>>& devices, 130 int partitionTheWork(const std::vector<std::shared_ptr<Device>>& devices, uint32_t preference, 150 const std::vector<std::shared_ptr<Device>>& devices, 152 float getPerformance(uint32_t preference, const std::shared_ptr<Device> device) const; 153 float getPerformance(uint32_t preference, const std::shared_ptr<Device> device, 162 const std::vector<std::shared_ptr<Device>>& devices,
|
D | ExecutionPlan.h | 52 class Device; variable 239 std::shared_ptr<Device> device); 281 std::shared_ptr<Device> getDevice() const { return mDevice; } in getDevice() 328 std::shared_ptr<Device> mDevice; 704 const std::shared_ptr<Device> device); 712 void becomeSingleStep(const std::shared_ptr<Device> device, const ModelBuilder* model); 770 std::shared_ptr<const Device> forTest_simpleGetDevice() const; 848 SimpleBody(std::shared_ptr<Device> device, const ModelBuilder* model, in SimpleBody() 862 std::shared_ptr<Device> mDevice;
|
D | CompilationBuilder.h | 34 class Device; variable 46 const std::vector<std::shared_ptr<Device>>& devices, 110 std::vector<std::shared_ptr<Device>> mDevices;
|
D | ExecutionBuilder.h | 45 class Device; variable 323 std::shared_ptr<Device> device, 428 std::shared_ptr<Device> mDevice;
|
D | Manager.cpp | 62 class DriverDevice : public Device { 141 DriverPreparedModel(const Device* device, const SharedPreparedModel& preparedModel) in DriverPreparedModel() 147 const Device* getDevice() const override { return mDevice; } in getDevice() 186 const Device* mDevice; 828 class CpuDevice : public Device { 895 const Device* getDevice() const override { return CpuDevice::get().get(); } in getDevice() 1224 std::shared_ptr<Device> DeviceManager::getCpuDevice() { in getCpuDevice() 1228 std::shared_ptr<Device> DeviceManager::forTest_makeDriverDevice(const SharedDevice& device) { in forTest_makeDriverDevice()
|
D | Memory.h | 46 class Device; variable 254 const Device* mAllocator = nullptr;
|
D | ExecutionPlan.cpp | 70 int compile(const Device& device, const ModelBuilder& model, int executionPreference, in compile() 405 std::shared_ptr<Device> device) in ExecutionStep() 1854 const std::shared_ptr<Device> device) { in createNewExecutionStep() 1886 void ExecutionPlan::becomeSingleStep(const std::shared_ptr<Device> device, in becomeSingleStep() 1943 std::shared_ptr<const Device> ExecutionPlan::forTest_simpleGetDevice() const { in forTest_simpleGetDevice() 2083 int ModelBuilder::partitionTheWork(const std::vector<std::shared_ptr<Device>>& devices, in partitionTheWork() 2100 const std::vector<std::shared_ptr<Device>>& devices, in partitionTheWorkInternal() 2346 const std::shared_ptr<Device> device) const { in getPerformance() 2362 float ModelBuilder::getPerformance(uint32_t preference, const std::shared_ptr<Device> device, in getPerformance() 2473 void initialize(const MetaModel& metaModel, std::shared_ptr<Device> device) { in initialize() [all …]
|
D | Memory.cpp | 429 static std::set<const Device*> getDevices(const MemoryDescriptor& desc) { in getDevices() 430 std::set<const Device*> devices; in getDevices() 448 std::set<const Device*> devices = getDevices(mDesc); in finish()
|
/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 …]
|
D | CanonicalDevice.h | 37 class Device final : public IDevice { 39 explicit Device(std::string name,
|
D | SampleDriverSL.cpp | 26 auto device = std::make_shared<sample::Device>("nnapi-sample_sl"); in getDevices()
|
/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()
|
D | AccessoriesFragment.java | 188 if (devClass == BluetoothClass.Device.AUDIO_VIDEO_WEARABLE_HEADSET) { in getImageIdForDevice() 190 } else if (devClass == BluetoothClass.Device.AUDIO_VIDEO_HEADPHONES in getImageIdForDevice() 191 || devClass == BluetoothClass.Device.AUDIO_VIDEO_LOUDSPEAKER in getImageIdForDevice() 192 || devClass == BluetoothClass.Device.AUDIO_VIDEO_PORTABLE_AUDIO in getImageIdForDevice() 193 || devClass == BluetoothClass.Device.AUDIO_VIDEO_HIFI_AUDIO) { in getImageIdForDevice()
|
D | BluetoothDevicePairer.java | 153 public void onDeviceAdded(BluetoothScanner.Device device) { 161 public void onDeviceRemoved(BluetoothScanner.Device device) { 671 case BluetoothClass.Device.Major.PERIPHERAL: in getBluetoothConnector() 674 case BluetoothClass.Device.Major.AUDIO_VIDEO: in getBluetoothConnector()
|
D | InputDeviceCriteria.java | 38 return majorDeviceClass == BluetoothClass.Device.Major.PERIPHERAL; in isMatchingMajorDeviceClass()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | HalUtils.h | 53 return handleError(V1_3::utils::Device::create(std::move(name), std::move(driver13))); in makeSharedDevice() 56 return handleError(V1_2::utils::Device::create(std::move(name), std::move(driver12))); in makeSharedDevice() 59 return handleError(V1_1::utils::Device::create(std::move(name), std::move(driver11))); in makeSharedDevice() 61 return handleError(V1_0::utils::Device::create(std::move(name), std::move(driver))); in makeSharedDevice()
|
D | TestPartitioningRandom.cpp | 107 using Device = nn::Device; typedef 228 TestCompilation(const WrapperModel* model, std::vector<std::shared_ptr<Device>> devices) { in TestCompilation() 1085 std::vector<std::shared_ptr<Device>> devices; in TEST_P() 1141 std::any_of(devices.begin(), devices.end(), [](const std::shared_ptr<Device>& device) { in TEST_P() 1227 std::set<const Device*> devicesInPlan; in TEST_P()
|
/packages/services/Car/tests/BugReportApp/utils/ |
D | bugreport_app_tester_test.py | 33 self._subject = bugreport_app_tester.Device(serialno=None) 46 self._subject = bugreport_app_tester.Device(serialno='serial')
|
D | bugreport_app_tester.py | 141 class Device(object): class 585 device = Device(serialno=args.s)
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingController.java | 182 == BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE) { in getContactSharingState() 197 getDeviceClass() == BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE)) { in setContactSharingState()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 443 static std::vector<std::shared_ptr<Device>> mStandardDevices; 444 static std::vector<std::shared_ptr<Device>> mSyntheticDevices; 456 std::vector<std::shared_ptr<Device>> RandomGraphTest::mStandardDevices; 457 std::vector<std::shared_ptr<Device>> RandomGraphTest::mSyntheticDevices;
|
/packages/modules/GeoTZ/locationtzprovider/ |
D | Android.bp | 37 // Device side tests for offlinelocationtimezoneprovider.
|