/frameworks/native/vulkan/nulldrv/ |
H A D | null_driver_gen.h | 34 VKAPI_ATTR PFN_vkVoidFunction GetDeviceProcAddr(VkDevice device, const char* pName); 43 VKAPI_ATTR void DestroyDevice(VkDevice device, const VkAllocationCallbacks* pAllocator); 48 VKAPI_ATTR void GetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue); 51 VKAPI_ATTR VkResult DeviceWaitIdle(VkDevice device); 52 VKAPI_ATTR VkResult AllocateMemory(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory); 53 VKAPI_ATTR void FreeMemory(VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator); 54 VKAPI_ATTR VkResult MapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData); 55 VKAPI_ATTR void UnmapMemory(VkDevice device, VkDeviceMemory memory); 56 VKAPI_ATTR VkResult FlushMappedMemoryRanges(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges); 57 VKAPI_ATTR VkResult InvalidateMappedMemoryRanges(VkDevice device, uint32_ [all...] |
H A D | null_driver.cpp | 111 int OpenDevice(const hw_module_t* module, const char* id, hw_device_t** device); 135 int CloseDevice(struct hw_device_t* /*device*/) { 136 // nothing to do - opening a device doesn't allocate any resources 155 hw_device_t** device) { 157 *device = &nulldrv_device.common; 187 Handle AllocHandle(VkDevice device, HandleType::Enum type) { argument 189 AllocHandle(type, &device->next_handle[type])); 667 VkDevice_T* device = static_cast<VkDevice_T*>(allocator->pfnAllocation( local 670 if (!device) 673 device 153 OpenDevice(const hw_module_t* , const char* id, hw_device_t** device) argument 691 DestroyDevice(VkDevice device, const VkAllocationCallbacks* ) argument 698 GetDeviceQueue(VkDevice device, uint32_t, uint32_t, VkQueue* queue) argument 711 CreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo* , const VkAllocationCallbacks* allocator, VkCommandPool* cmd_pool) argument 783 AllocateMemory(VkDevice device, const VkMemoryAllocateInfo* alloc_info, const VkAllocationCallbacks* allocator, VkDeviceMemory* mem_handle) argument 803 FreeMemory(VkDevice device, VkDeviceMemory mem_handle, const VkAllocationCallbacks* allocator) argument 832 CreateBuffer(VkDevice device, const VkBufferCreateInfo* create_info, const VkAllocationCallbacks* allocator, VkBuffer* buffer_handle) argument 861 DestroyBuffer(VkDevice device, VkBuffer buffer_handle, const VkAllocationCallbacks* allocator) argument 879 CreateImage(VkDevice device, const VkImageCreateInfo* create_info, const VkAllocationCallbacks* allocator, VkImage* image_handle) argument 921 DestroyImage(VkDevice device, VkImage image_handle, const VkAllocationCallbacks* allocator) argument 972 CreateBufferView(VkDevice device, const VkBufferViewCreateInfo*, const VkAllocationCallbacks* , VkBufferView* view) argument 980 CreateDescriptorPool(VkDevice device, const VkDescriptorPoolCreateInfo*, const VkAllocationCallbacks* , VkDescriptorPool* pool) argument 988 AllocateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo* alloc_info, VkDescriptorSet* descriptor_sets) argument 997 CreateDescriptorSetLayout(VkDevice device, const VkDescriptorSetLayoutCreateInfo*, const VkAllocationCallbacks* , VkDescriptorSetLayout* layout) argument 1006 CreateEvent(VkDevice device, const VkEventCreateInfo*, const VkAllocationCallbacks* , VkEvent* event) argument 1014 CreateFence(VkDevice device, const VkFenceCreateInfo*, const VkAllocationCallbacks* , VkFence* fence) argument 1022 CreateFramebuffer(VkDevice device, const VkFramebufferCreateInfo*, const VkAllocationCallbacks* , VkFramebuffer* framebuffer) argument 1030 CreateImageView(VkDevice device, const VkImageViewCreateInfo*, const VkAllocationCallbacks* , VkImageView* view) argument 1038 CreateGraphicsPipelines(VkDevice device, VkPipelineCache, uint32_t count, const VkGraphicsPipelineCreateInfo*, const VkAllocationCallbacks* , VkPipeline* pipelines) argument 1049 CreateComputePipelines(VkDevice device, VkPipelineCache, uint32_t count, const VkComputePipelineCreateInfo*, const VkAllocationCallbacks* , VkPipeline* pipelines) argument 1060 CreatePipelineCache(VkDevice device, const VkPipelineCacheCreateInfo*, const VkAllocationCallbacks* , VkPipelineCache* cache) argument 1068 CreatePipelineLayout(VkDevice device, const VkPipelineLayoutCreateInfo*, const VkAllocationCallbacks* , VkPipelineLayout* layout) argument 1077 CreateQueryPool(VkDevice device, const VkQueryPoolCreateInfo*, const VkAllocationCallbacks* , VkQueryPool* pool) argument 1085 CreateRenderPass(VkDevice device, const VkRenderPassCreateInfo*, const VkAllocationCallbacks* , VkRenderPass* renderpass) argument 1093 CreateSampler(VkDevice device, const VkSamplerCreateInfo*, const VkAllocationCallbacks* , VkSampler* sampler) argument 1101 CreateSemaphore(VkDevice device, const VkSemaphoreCreateInfo*, const VkAllocationCallbacks* , VkSemaphore* semaphore) argument 1109 CreateShaderModule(VkDevice device, const VkShaderModuleCreateInfo*, const VkAllocationCallbacks* , VkShaderModule* module) argument 1167 DeviceWaitIdle(VkDevice device) argument 1172 UnmapMemory(VkDevice device, VkDeviceMemory mem) argument 1175 FlushMappedMemoryRanges(VkDevice device, uint32_t memRangeCount, const VkMappedMemoryRange* pMemRanges) argument 1180 InvalidateMappedMemoryRanges(VkDevice device, uint32_t memRangeCount, const VkMappedMemoryRange* pMemRanges) argument 1185 GetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) argument 1189 BindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory mem, VkDeviceSize memOffset) argument 1193 BindImageMemory(VkDevice device, VkImage image, VkDeviceMemory mem, VkDeviceSize memOffset) argument 1197 GetImageSparseMemoryRequirements(VkDevice device, VkImage image, uint32_t* pNumRequirements, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) argument 1218 DestroyFence(VkDevice device, VkFence fence, const VkAllocationCallbacks* allocator) argument 1221 ResetFences(VkDevice device, uint32_t fenceCount, const VkFence* pFences) argument 1225 GetFenceStatus(VkDevice device, VkFence fence) argument 1230 WaitForFences(VkDevice device, uint32_t fenceCount, const VkFence* pFences, VkBool32 waitAll, uint64_t timeout) argument 1234 DestroySemaphore(VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks* allocator) argument 1237 DestroyEvent(VkDevice device, VkEvent event, const VkAllocationCallbacks* allocator) argument 1240 GetEventStatus(VkDevice device, VkEvent event) argument 1245 SetEvent(VkDevice device, VkEvent event) argument 1250 ResetEvent(VkDevice device, VkEvent event) argument 1255 DestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* allocator) argument 1258 GetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t startQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) argument 1263 DestroyBufferView(VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* allocator) argument 1266 GetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout) argument 1270 DestroyImageView(VkDevice device, VkImageView imageView, const VkAllocationCallbacks* allocator) argument 1273 DestroyShaderModule(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* allocator) argument 1276 DestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* allocator) argument 1279 GetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData) argument 1284 MergePipelineCaches(VkDevice device, VkPipelineCache destCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches) argument 1289 DestroyPipeline(VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks* allocator) argument 1292 DestroyPipelineLayout(VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks* allocator) argument 1295 DestroySampler(VkDevice device, VkSampler sampler, const VkAllocationCallbacks* allocator) argument 1298 DestroyDescriptorSetLayout(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* allocator) argument 1301 DestroyDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* allocator) argument 1304 ResetDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags) argument 1309 UpdateDescriptorSets(VkDevice device, uint32_t writeCount, const VkWriteDescriptorSet* pDescriptorWrites, uint32_t copyCount, const VkCopyDescriptorSet* pDescriptorCopies) argument 1313 FreeDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, uint32_t count, const VkDescriptorSet* pDescriptorSets) argument 1318 DestroyFramebuffer(VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks* allocator) argument 1321 DestroyRenderPass(VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks* allocator) argument 1324 GetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity) argument 1328 ResetCommandPool(VkDevice device, VkCommandPool cmdPool, VkCommandPoolResetFlags flags) argument 1484 BindBufferMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo* pBindInfos) argument 1488 BindImageMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo* pBindInfos) argument 1492 GetDeviceGroupPeerMemoryFeatures(VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures) argument 1505 GetImageMemoryRequirements2(VkDevice device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) argument 1508 GetBufferMemoryRequirements2(VkDevice device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) argument 1511 GetImageSparseMemoryRequirements2(VkDevice device, const VkImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements) argument 1536 TrimCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) argument 1539 GetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2* pQueueInfo, VkQueue* pQueue) argument 1542 CreateSamplerYcbcrConversion(VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) argument 1546 DestroySamplerYcbcrConversion(VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator) argument 1549 CreateDescriptorUpdateTemplate(VkDevice device, const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate) argument 1553 DestroyDescriptorUpdateTemplate(VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks* pAllocator) argument 1556 UpdateDescriptorSetWithTemplate(VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData) argument 1568 GetDescriptorSetLayoutSupport(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport) argument [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | MtpNotificationManager.java | 75 void showNotification(UsbDevice device) { argument 79 device.getProductName()); 90 intent.putExtra(UsbManager.EXTRA_DEVICE, device); 95 device.getDeviceId(), 105 Integer.toString(device.getDeviceId()), SystemMessage.NOTE_USB_MTP_TAP, 117 final UsbDevice device = 119 if (device == null) { 124 mListener.onOpenInApp(device); 130 static boolean shouldShowNotification(PackageManager packageManager, UsbDevice device) { argument 133 isMtpDevice(device); 136 isMtpDevice(UsbDevice device) argument 155 onOpenInApp(UsbDevice device) argument [all...] |
/frameworks/av/camera/ndk/include/camera/ |
H A D | NdkCameraDevice.h | 50 * ACameraDevice is opaque type that provides access to a camera device. 59 * The camera device is in use already. 71 * The camera is disabled due to a device policy, and cannot be opened. 76 * The camera device has encountered a fatal error. 77 * <p>The camera device needs to be re-opened to be used again.</p> 83 * <p>The Android device may need to be shut down and restarted to restore 93 * Camera device state callbacks to be used in {@link ACameraDevice_StateCallbacks}. 97 * @param device The {@link ACameraDevice} that is being disconnected. 99 typedef void (*ACameraDevice_StateCallback)(void* context, ACameraDevice* device); 102 * Camera device erro [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_fingerprint_FingerprintService.cpp | 51 fingerprint_device_t *device; member in struct:android::__anon1123 141 int ret = gContext.device->enroll(gContext.device, 148 uint64_t ret = gContext.device->pre_enroll(gContext.device); 155 int ret = gContext.device->cancel(gContext.device); 161 int ret = gContext.device->authenticate(gContext.device, sessionId, groupId); 167 int ret = gContext.device 219 hw_device_t *device = NULL; local [all...] |
H A D | com_android_server_UsbHostManager.cpp | 57 struct usb_device *device = usb_device_open(devAddress); local 58 if (!device) { 63 const usb_device_descriptor* deviceDesc = usb_device_get_device_descriptor(device); 68 int numBytes = usb_device_get_descriptors_length(device); 75 const jbyte* rawDescriptors = (const jbyte*)usb_device_get_raw_descriptors(device); 90 usb_device_close(device); 121 struct usb_device* device = usb_device_open(deviceAddressStr); local 124 if (!device) 127 int fd = usb_device_get_fd(device); 129 usb_device_close(device); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHidDevice.java | 50 * <li>{@link BluetoothDevice#EXTRA_DEVICE} - The remote device. 64 * Constant representing unspecified HID device subclass. 93 * Constant representing uncategorized HID device subclass. 121 * Constant representing sensing device subclass. 236 * has Virtual Cable established with device. Only valid when application is registered, 255 * @param device {@link BluetoothDevice} object representing host device which connection 259 public void onConnectionStateChanged(BluetoothDevice device, int state) { argument 260 Log.d(TAG, "onConnectionStateChanged: device=" + device 273 onGetReport(BluetoothDevice device, byte type, byte id, int bufferSize) argument 295 onSetReport(BluetoothDevice device, byte type, byte id, byte[] data) argument 306 onSetProtocol(BluetoothDevice device, byte protocol) argument 317 onInterruptData(BluetoothDevice device, byte reportId, byte[] data) argument 325 onVirtualCableUnplug(BluetoothDevice device) argument 352 onConnectionStateChanged(BluetoothDevice device, int state) argument 358 onGetReport(BluetoothDevice device, byte type, byte id, int bufferSize) argument 364 onSetReport(BluetoothDevice device, byte type, byte id, byte[] data) argument 370 onSetProtocol(BluetoothDevice device, byte protocol) argument 376 onInterruptData(BluetoothDevice device, byte reportId, byte[] data) argument 382 onVirtualCableUnplug(BluetoothDevice device) argument 528 getConnectionState(BluetoothDevice device) argument 636 sendReport(BluetoothDevice device, int id, byte[] data) argument 662 replyReport(BluetoothDevice device, byte type, byte id, byte[] data) argument 686 reportError(BluetoothDevice device, byte error) argument 733 connect(BluetoothDevice device) argument 757 disconnect(BluetoothDevice device) argument [all...] |
H A D | BluetoothMap.java | 179 * Get the currently connected remote Bluetooth device (PCE). 181 * @return The remote Bluetooth device, or null if not in connected or connecting state, or if 201 * Returns true if the specified Bluetooth device is connected. 205 public boolean isConnected(BluetoothDevice device) { argument 206 if (VDBG) log("isConnected(" + device + ")"); 210 return service.isConnected(device); 225 public boolean connect(BluetoothDevice device) { argument 226 if (DBG) log("connect(" + device + ")" + "not supported for MAPS"); 233 * @param device Remote Bluetooth Device 236 public boolean disconnect(BluetoothDevice device) { argument 317 getConnectionState(BluetoothDevice device) argument 343 setPriority(BluetoothDevice device, int priority) argument 372 getPriority(BluetoothDevice device) argument 415 isValidDevice(BluetoothDevice device) argument [all...] |
H A D | BluetoothSap.java | 56 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 220 * Get the currently connected remote Bluetooth device (PCE). 222 * @return The remote Bluetooth device, or null if not in connected or connecting state, or if 243 * Returns true if the specified Bluetooth device is connected. 249 public boolean isConnected(BluetoothDevice device) { argument 250 if (VDBG) log("isConnected(" + device + ")"); 254 return service.isConnected(device); 271 public boolean connect(BluetoothDevice device) { argument 272 if (DBG) log("connect(" + device + ")" + "not supported for SAPS"); 279 * @param device Remot 283 disconnect(BluetoothDevice device) argument 346 getConnectionState(BluetoothDevice device) argument 371 setPriority(BluetoothDevice device, int priority) argument 397 getPriority(BluetoothDevice device) argument 444 isValidDevice(BluetoothDevice device) argument [all...] |
H A D | BluetoothHealthCallback.java | 55 * @param device The Bluetooth Device 64 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, 66 Log.d(TAG, "onHealthChannelStateChange: " + config + "Device: " + device 63 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | BluetoothDeviceFilter.java | 36 boolean matches(BluetoothDevice device); argument 72 Log.w(TAG, "Invalid filter type " + filterType + " for device picker"); 79 public boolean matches(BluetoothDevice device) { argument 86 public boolean matches(BluetoothDevice device) { argument 87 return device.getBondState() == BluetoothDevice.BOND_BONDED; 93 public boolean matches(BluetoothDevice device) { argument 94 return device.getBondState() != BluetoothDevice.BOND_BONDED; 102 public boolean matches(BluetoothDevice device) { argument 103 return matches(device.getUuids(), device [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | FrameProcessorBase.cpp | 30 FrameProcessorBase::FrameProcessorBase(wp<CameraDeviceBase> device) : argument 32 mDevice(device), 34 sp<CameraDeviceBase> cameraDevice = device.promote(); 103 sp<CameraDeviceBase> device; local 105 device = mDevice.promote(); 106 if (device == 0) return false; 109 res = device->waitForNextFrame(kWaitDuration); 111 processNewFrames(device); 120 void FrameProcessorBase::processNewFrames(const sp<CameraDeviceBase> &device) { argument 125 ALOGV("%s: Camera %s: Process new frames", __FUNCTION__, device 159 processSingleFrame(CaptureResult &result, const sp<CameraDeviceBase> &device) argument 166 processListeners(const CaptureResult &result, const sp<CameraDeviceBase> &device) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDisconnectedReceiver.java | 29 // if their device/accessory is disconnected while the dialog is still open 35 public UsbDisconnectedReceiver(Activity activity, UsbDevice device) { argument 37 mDevice = device; 55 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); 56 if (device != null && device.equals(mDevice)) {
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | DeviceDescriptor.cpp | 53 // - are of the same type (a device type cannot be AUDIO_DEVICE_NONE) 83 for (const auto& device : devices) { 84 if (indexOf(device) < 0 && SortedVector::add(device) >= 0) { 103 ALOGW("DeviceVector::add device %08x already in", item->type()); 114 ALOGW("DeviceVector::remove device %08x not in", item->type()); 137 sp<DeviceDescriptor> device; local 141 device = itemAt(i); 149 type, address.string(), device.get()); 150 return device; 306 std::string device; local [all...] |
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiManager.java | 67 // Binder stub for receiving device notifications from MidiService 78 public void onDeviceAdded(MidiDeviceInfo device) { argument 80 final MidiDeviceInfo deviceF = device; 87 mCallback.onDeviceAdded(device); 92 public void onDeviceRemoved(MidiDeviceInfo device) { argument 94 final MidiDeviceInfo deviceF = device; 101 mCallback.onDeviceRemoved(device); 121 * Callback class used for clients to receive MIDI device added and removed notifications 125 * Called to notify when a new MIDI device has been added 127 * @param device 129 onDeviceAdded(MidiDeviceInfo device) argument 137 onDeviceRemoved(MidiDeviceInfo device) argument 159 onDeviceOpened(MidiDevice device) argument 223 sendOpenDeviceResponse(final MidiDevice device, final OnDeviceOpenedListener listener, Handler handler) argument [all...] |
/frameworks/native/vulkan/include/vulkan/ |
H A D | vk_android_native_buffer.h | 87 typedef VkResult (VKAPI_PTR *PFN_vkGetSwapchainGrallocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 89 typedef VkResult (VKAPI_PTR *PFN_vkGetSwapchainGrallocUsage2ANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, VkSwapchainImageUsageFlagsANDROID swapchainImageUsage, uint64_t* grallocConsumerUsage, uint64_t* grallocProducerUsage); 90 typedef VkResult (VKAPI_PTR *PFN_vkAcquireImageANDROID)(VkDevice device, VkImage image, int nativeFenceFd, VkSemaphore semaphore, VkFence fence); 97 VkDevice device, 104 VkDevice device, 112 VkDevice device,
|
/frameworks/av/camera/ndk/ |
H A D | NdkCameraDevice.cpp | 30 camera_status_t ACameraDevice_close(ACameraDevice* device) { argument 32 if (device == nullptr) { 33 ALOGE("%s: invalid argument! device is null", __FUNCTION__); 36 delete device; 41 const char* ACameraDevice_getId(const ACameraDevice* device) { argument 43 if (device == nullptr) { 44 ALOGE("%s: invalid argument! device is null", __FUNCTION__); 47 return device->getId(); 52 const ACameraDevice* device, 56 if (device 51 ACameraDevice_createCaptureRequest( const ACameraDevice* device, ACameraDevice_request_template templateId, ACaptureRequest** request) argument 212 ACameraDevice_createCaptureSession( ACameraDevice* device, const ACaptureSessionOutputContainer* outputs, const ACameraCaptureSession_stateCallbacks* callbacks, ACameraCaptureSession** session) argument 227 ACameraDevice_createCaptureSessionWithSessionParameters( ACameraDevice* device, const ACaptureSessionOutputContainer* outputs, const ACaptureRequest* sessionParameters, const ACameraCaptureSession_stateCallbacks* callbacks, ACameraCaptureSession** session) argument [all...] |
/frameworks/av/media/libaudiohal/2.0/ |
H A D | DevicesFactoryHalHidl.h | 34 // Opens a device with the specified name. To close the device, it is 36 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device); 44 static status_t nameFromHal(const char *name, IDevicesFactory::Device *device);
|
/frameworks/base/libs/hwui/tests/scripts/ |
H A D | prep_ryu.sh | 2 adb wait-for-device
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | CastController.java | 28 void startCasting(CastDevice device); argument 29 void stopCasting(CastDevice device); argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
H A D | FakeCastController.java | 45 public void startCasting(CastDevice device) { argument 50 public void stopCasting(CastDevice device) { argument
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
H A D | Utils.java | 44 UiDevice device = UiDevice.getInstance(instrumentation); 45 UiObject2 window = device.wait(Until.findObject(selector), WAIT_FOR_ACTIVITY_TIMEOUT); 75 UiDevice device = UiDevice.getInstance(instrumentation); 76 switch (device.getDisplayRotation()) { 88 throw new RuntimeException("Unsupported device rotation."); 93 UiDevice device = UiDevice.getInstance(instrumentation); 97 device.setOrientationNatural(); 100 device.setOrientationLeft(); 103 device.setOrientationRight();
|
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDevice.cpp | 200 MtpDevice* device = MtpDevice::open(deviceNameStr, fd); local 203 if (device) 204 env->SetLongField(thiz, field_context, (jlong)device); 205 return (jboolean)(device != NULL); 211 MtpDevice* device = get_device_from_object(env, thiz); local 212 if (device) { 213 device->close(); 214 delete device; 222 MtpDevice* device = get_device_from_object(env, thiz); local 223 if (!device) { 289 MtpDevice* device = get_device_from_object(env, thiz); local 308 MtpDevice* device = get_device_from_object(env, thiz); local 343 MtpDevice* device = get_device_from_object(env, thiz); local 362 MtpDevice* device = get_device_from_object(env, thiz); local 400 MtpDevice* device = get_device_from_object(env, thiz); local 439 MtpDevice* const device = get_device_from_object(env, thiz); local 484 MtpDevice* const device = get_device_from_object(env, thiz); local 513 MtpDevice* device = get_device_from_object(env, thiz); local 531 MtpDevice* device = get_device_from_object(env, thiz); local 542 MtpDevice* device = get_device_from_object(env, thiz); local 552 MtpDevice* device = get_device_from_object(env, thiz); local 562 MtpDevice* device = get_device_from_object(env, thiz); local 580 MtpDevice* device = get_device_from_object(env, thiz); local 605 MtpDevice* device = get_device_from_object(env, thiz); local 671 MtpDevice* const device = get_device_from_object(env, thiz); local 681 MtpDevice* const device = get_device_from_object(env, thiz); local 702 MtpDevice* const device = get_device_from_object(env, thiz); local 713 MtpDevice* const device = get_device_from_object(env, thiz); local [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | BluetoothControllerImplTest.java | 82 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); 83 when(device.isConnected()).thenReturn(true); 84 when(device.getMaxConnectionState()).thenReturn(BluetoothProfile.STATE_CONNECTED); 85 mDevices.add(device); 95 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); 96 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); 98 mBluetoothControllerImpl.getMaxConnectionState(device)); 103 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); 104 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); 112 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 156 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) { argument 159 mDevice = device; 217 public ConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) { argument 220 mDevice = device; 271 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { argument 272 super(device, BluetoothProfile.PAN, expectedFlags); 508 * Puts the local device into discoverable mode and checks to make sure that the local device 558 * Puts the local device into connectable only mode and checks to make sure that the local 559 * device i 728 pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) argument 741 acceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) argument 757 pairOrAcceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin, boolean shouldPair) argument 825 unpair(BluetoothAdapter adapter, BluetoothDevice device) argument 901 connectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument 982 disconnectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument 1059 connectPan(BluetoothAdapter adapter, BluetoothDevice device) argument 1070 incomingPanConnection(BluetoothAdapter adapter, BluetoothDevice device) argument 1083 connectPanOrIncomingPanConnection(BluetoothAdapter adapter, BluetoothDevice device, boolean connect) argument 1164 disconnectPan(BluetoothAdapter adapter, BluetoothDevice device) argument 1175 incomingPanDisconnection(BluetoothAdapter adapter, BluetoothDevice device) argument 1188 disconnectFromRemoteOrVerifyConnectNap(BluetoothAdapter adapter, BluetoothDevice device, boolean disconnect) argument 1268 startSco(BluetoothAdapter adapter, BluetoothDevice device) argument 1279 stopSco(BluetoothAdapter adapter, BluetoothDevice device) argument 1290 startStopSco(BluetoothAdapter adapter, BluetoothDevice device, boolean isStart) argument 1392 getPairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) argument 1402 getConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) argument 1414 getConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) argument [all...] |