Searched refs:device (Results 276 - 300 of 497) sorted by relevance

<<11121314151617181920

/frameworks/ml/nn/runtime/
H A DExecutionPlan.h49 std::shared_ptr<Device> device);
202 std::shared_ptr<ExecutionStep> createNewStep(const std::shared_ptr<Device> device);
204 void becomeSingleStep(const std::shared_ptr<Device> device,
237 SimpleBody(std::shared_ptr<Device> device, const ModelBuilder* model) : argument
238 mDevice(device), mModel(model) {}
/frameworks/native/vulkan/libvulkan/
H A Ddriver.h118 VKAPI_ATTR PFN_vkVoidFunction GetDeviceProcAddr(VkDevice device, const char* pName);
126 VKAPI_ATTR void DestroyDevice(VkDevice device, const VkAllocationCallbacks* pAllocator);
131 VKAPI_ATTR void GetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue);
132 VKAPI_ATTR void GetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2* pQueueInfo, VkQueue* pQueue);
133 VKAPI_ATTR VkResult AllocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers);
H A Ddriver.cpp217 // Use a stub device unless we successfully open a real HAL device.
244 hwvulkan_device_t* device; local
247 reinterpret_cast<hw_device_t**>(&device));
249 // Any device with a Vulkan HAL should be able to open the device.
250 ALOGE("failed to open Vulkan HAL device: %s (%d)", strerror(-result),
255 hal_.dev_ = device;
410 // Enable device extensions that contain physical-device command
760 GetDeviceProcAddr(VkDevice device, const char* pName) argument
1128 DestroyDevice(VkDevice device, const VkAllocationCallbacks* pAllocator) argument
1215 GetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue) argument
1225 GetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2* pQueueInfo, VkQueue* pQueue) argument
1235 AllocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers) argument
[all...]
/frameworks/av/media/libaudioclient/
H A DIAudioPolicyService.cpp99 audio_devices_t device,
106 data.writeInt32(static_cast <uint32_t>(device));
115 audio_devices_t device,
120 data.writeInt32(static_cast <uint32_t>(device));
126 virtual status_t handleDeviceConfigChange(audio_devices_t device, argument
132 data.writeInt32(static_cast <uint32_t>(device));
384 audio_devices_t device)
390 data.writeInt32(static_cast <uint32_t>(device));
397 audio_devices_t device)
402 data.writeInt32(static_cast <uint32_t>(device));
98 setDeviceConnectionState( audio_devices_t device, audio_policy_dev_state_t state, const char *device_address, const char *device_name) argument
114 getDeviceConnectionState( audio_devices_t device, const char *device_address) argument
382 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument
395 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument
677 acquireSoundTriggerSession(audio_session_t *session, audio_io_handle_t *ioHandle, audio_devices_t *device) argument
821 getStreamVolumeDB(audio_stream_type_t stream, int index, audio_devices_t device) argument
956 audio_devices_t device = local
976 audio_devices_t device = local
991 audio_devices_t device = local
1176 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32()); local
1187 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32()); local
1445 audio_devices_t device = AUDIO_DEVICE_NONE; local
1538 audio_devices_t device = local
[all...]
/frameworks/av/media/libaudiohal/2.0/
H A DStreamHalLocal.h80 StreamHalLocal(audio_stream_t *stream, sp<DeviceHalLocal> device);
162 StreamOutHalLocal(audio_stream_out_t *stream, sp<DeviceHalLocal> device);
212 StreamInHalLocal(audio_stream_in_t *stream, sp<DeviceHalLocal> device);
H A DStreamHalLocal.cpp28 StreamHalLocal::StreamHalLocal(audio_stream_t *stream, sp<DeviceHalLocal> device) argument
29 : mDevice(device),
114 StreamOutHalLocal::StreamOutHalLocal(audio_stream_out_t *stream, sp<DeviceHalLocal> device) argument
115 : StreamHalLocal(&stream->common, device), mStream(stream) {
268 StreamInHalLocal::StreamInHalLocal(audio_stream_in_t *stream, sp<DeviceHalLocal> device) argument
269 : StreamHalLocal(&stream->common, device), mStream(stream) {
/frameworks/av/media/libaudiohal/4.0/
H A DStreamHalLocal.h81 StreamHalLocal(audio_stream_t *stream, sp<DeviceHalLocal> device);
163 StreamOutHalLocal(audio_stream_out_t *stream, sp<DeviceHalLocal> device);
213 StreamInHalLocal(audio_stream_in_t *stream, sp<DeviceHalLocal> device);
/frameworks/base/media/java/android/media/
H A DAudioSystem.java66 * speaker (TTS) of the device */
157 * Checks whether the specified stream type is active on a remotely connected device. The notion
158 * of what constitutes a remote device is enforced by the audio policy manager of the platform.
160 * return true if any track playing on this stream is active on a remote device.
306 * @param recordingFormat an array of ints containing respectively the client and device
311 * 3: device format
312 * 4: device channel mask
313 * 5: device sample rate
369 // audio device definitions: must be kept in sync with values in system/core/audio.h
511 // device state
578 getOutputDeviceName(int device) argument
643 getInputDeviceName(int device) argument
778 setDeviceConnectionState(int device, int state, String device_address, String device_name) argument
780 getDeviceConnectionState(int device, String device_address) argument
781 handleDeviceConfigChange(int device, String device_address, String device_name) argument
788 setStreamVolumeIndex(int stream, int index, int device) argument
789 getStreamVolumeIndex(int stream, int device) argument
830 getStreamVolumeDB(int stream, int index, int device) argument
[all...]
H A DIAudioService.aidl154 void setHearingAidDeviceConnectionState(in BluetoothDevice device, int state);
156 int setBluetoothA2dpDeviceConnectionState(in BluetoothDevice device, int state, int profile);
158 void handleBluetoothA2dpDeviceConfigChange(in BluetoothDevice device);
213 int setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent(in BluetoothDevice device,
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DRoutingControlAction.java36 * <li> New CEC device at the tail of the active routing path
37 * <li> Removed CEC device from the active routing path
49 // we have sent. If the response tells us the device power is on, we send <Set Stream Path>
163 HdmiDeviceInfo device = tv().getDeviceInfoByPath(mCurrentRoutingPath);
164 if (device != null && mQueryDevicePowerStatus) {
165 int deviceLogicalAddress = device.getLogicalAddress();
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbSettingsManager.java162 * Remove temporary access permission and broadcast that a device was removed.
164 * @param device The device that is removed
166 void usbDeviceRemoved(@NonNull UsbDevice device) { argument
169 // clear temporary permissions for the device
170 mSettingsByUser.valueAt(i).removeDevicePermissions(device);
176 intent.putExtra(UsbManager.EXTRA_DEVICE, device);
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbDeviceDescriptor.java155 UsbDevice device = new UsbDevice(parser.getDeviceAddr(), mVendorID, mProductID,
164 device.setConfigurations(configs);
166 return device;
/frameworks/base/tests/JankBench/scripts/
H A Ditr_collect.py139 parser.add_option("-d", dest='device', action="store")
146 if options.device != None:
147 score_device(options.device, DEVICES[options.device], options.pull, options.verbose)
/frameworks/native/vulkan/vkjson/
H A Dvkjson.h132 VkPhysicalDevice device,
135 std::string VkJsonDeviceToJson(const VkJsonDevice& device);
137 VkJsonDevice* device,
H A Dvkjson_info.cc57 if (arg == "--device-index" || arg == "-d") {
64 } else if (arg == "--device-name" || arg == "-n") {
76 std::cerr << "Specifying a specific device is incompatible with dumping "
81 std::cerr << "Must specify only one of device index and device name."
92 std::cerr << "Must specify instance, device index, or device name when "
105 std::cerr << "Error: device " << options.device_index
112 for (const auto& device : instance.devices) {
113 if (device
[all...]
/frameworks/av/packages/MediaComponents/
H A Druncts.sh19 echo 'runtest-cts-MediaComponents [option]: Build, flash device,'
27 echo ' -s [device_id]: Specify a device name to run test against.'
44 local DEPENDENCIES=("mockito-target-minus-junit4" "android-support-test" "compatibility-device-util")
108 echo "Too many devices. Specify a device." && break
164 ${adb} wait-for-device || break
173 ${adb} wait-for-device || break
/frameworks/av/services/camera/libcameraservice/
H A DCameraFlashlight.cpp92 ALOGE("%s: Camera device %s is in use, cannot set torch mode.",
107 // tied to another camera device for module v2.3 and below.
110 // flash control is tied to another camera device, need to close it and
204 ALOGV("%s: prepare for device open", __FUNCTION__);
214 // framework is going to open a camera device, all flash light control
243 ALOGV("%s: device %s is closed", __FUNCTION__, cameraId.string());
350 // Check if it has a flash unit and leave camera device open.
355 // another camera device.
360 // Disconnect camera device if it has no flash.
365 // disabling the torch mode of an un-opened or different device
480 initializePreviewWindow( const sp<CameraHardwareInterface>& device, int32_t width, int32_t height) argument
517 sp<CameraHardwareInterface> device = local
[all...]
/frameworks/base/core/tests/overlaytests/device/test-apps/AppOverlayOne/
H A DAndroid.mk21 LOCAL_COMPATIBILITY_SUITE := device-tests
/frameworks/base/core/tests/overlaytests/device/test-apps/AppOverlayTwo/
H A DAndroid.mk21 LOCAL_COMPATIBILITY_SUITE := device-tests
/frameworks/base/core/tests/overlaytests/device/test-apps/FrameworkOverlay/
H A DAndroid.mk21 LOCAL_COMPATIBILITY_SUITE := device-tests
/frameworks/base/libs/hwui/tests/scripts/
H A Dprep_buller.sh8 adb wait-for-device
H A Dprep_taieye.sh5 adb wait-for-device
/frameworks/base/media/java/android/media/midi/
H A DIMidiManager.aidl34 // for device creation & removal notifications
38 void openDevice(IBinder clientToken, in MidiDeviceInfo device, in IMidiDeviceOpenCallback callback);
55 // used for client's to retrieve a device's MidiDeviceStatus
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DServiceIntentSender.java56 * Notify the change of opened device set.
78 private static Notification createNotification(Context context, MtpDeviceRecord device) { argument
81 device.name);
/frameworks/base/tests/JankBench/
H A DAndroid.mk36 LOCAL_COMPATIBILITY_SUITE := device-tests

Completed in 570 milliseconds

<<11121314151617181920