/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImplTest.java | 119 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testNoConnectionWithDevices_repoFlagOff() local 135 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testNoConnectionWithDevices_repoFlagOn() local 245 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection_repoFlagOff() local 267 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection_repoFlagOn() local 287 CachedBluetoothDevice device = createBluetoothDevice( in testOnActiveDeviceChanged_updatesAudioActive() local 300 CachedBluetoothDevice device = createBluetoothDevice( in isBluetoothAudioActive_headsetIsActive_true() local 310 CachedBluetoothDevice device = createBluetoothDevice( in isBluetoothAudioActive_a2dpIsActive_true() local 320 CachedBluetoothDevice device = createBluetoothDevice( in isBluetoothAudioActive_hearingAidIsActive_true() local 330 CachedBluetoothDevice device = createBluetoothDevice( in isBluetoothAudioActive_leAudioIsActive_true() local 340 CachedBluetoothDevice device = createBluetoothDevice( in isBluetoothAudioActive_otherProfile_false() local [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | HapClientProfile.java | 84 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 166 public int getHearingAidType(@NonNull BluetoothDevice device) { in getHearingAidType() 179 public boolean supportsSynchronizedPresets(@NonNull BluetoothDevice device) { in supportsSynchronizedPresets() 192 public boolean supportsIndependentPresets(@NonNull BluetoothDevice device) { in supportsIndependentPresets() 205 public boolean supportsDynamicPresets(@NonNull BluetoothDevice device) { in supportsDynamicPresets() 218 public boolean supportsWritablePresets(@NonNull BluetoothDevice device) { in supportsWritablePresets() 236 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 244 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 252 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 260 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() [all …]
|
D | LocalBluetoothProfile.java | 38 int getConnectionStatus(BluetoothDevice device); in getConnectionStatus() 44 boolean isEnabled(BluetoothDevice device); in isEnabled() 50 int getConnectionPolicy(BluetoothDevice device); in getConnectionPolicy() 57 boolean setEnabled(BluetoothDevice device, boolean enabled); in setEnabled() 70 int getNameResource(BluetoothDevice device); in getNameResource() 79 int getSummaryResourceForDevice(BluetoothDevice device); in getSummaryResourceForDevice()
|
D | LeAudioProfile.java | 79 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 147 public boolean connect(BluetoothDevice device) { in connect() 157 public boolean disconnect(BluetoothDevice device) { in disconnect() 164 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 171 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() 219 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 227 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 235 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 259 public int getNameResource(BluetoothDevice device) { in getNameResource() 263 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice() [all …]
|
D | OppProfile.java | 43 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 48 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 53 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 58 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 79 public int getNameResource(BluetoothDevice device) { in getNameResource() 83 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | A2dpProfile.java | 75 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 160 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 167 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() 184 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 192 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 200 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 226 public boolean supportsHighQualityAudio(BluetoothDevice device) { in supportsHighQualityAudio() 239 public boolean isHighQualityAudioEnabled(BluetoothDevice device) { in isHighQualityAudioEnabled() 265 public void setHighQualityAudioEnabled(BluetoothDevice device, boolean enabled) { in setHighQualityAudioEnabled() 291 public String getHighQualityAudioOptionLabel(BluetoothDevice device) { in getHighQualityAudioOptionLabel() [all …]
|
D | PanProfile.java | 89 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 97 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 102 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 107 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 136 public int getNameResource(BluetoothDevice device) { in getNameResource() 144 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice() 167 void setLocalRole(BluetoothDevice device, int role) { in setLocalRole() 171 boolean isLocalRoleNap(BluetoothDevice device) { in isLocalRoleNap()
|
D | HeadsetProfile.java | 71 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 117 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 124 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() 143 public int getAudioState(BluetoothDevice device) { in getAudioState() 151 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 159 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 167 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 201 public int getNameResource(BluetoothDevice device) { in getNameResource() 205 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | HearingAidProfile.java | 99 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 190 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 197 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() 217 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 225 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 233 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 267 public long getHiSyncId(BluetoothDevice device) { in getHiSyncId() 281 public int getDeviceSide(@NonNull BluetoothDevice device) { in getDeviceSide() 298 public int getDeviceMode(@NonNull BluetoothDevice device) { in getDeviceMode() 316 public int getNameResource(BluetoothDevice device) { in getNameResource() [all …]
|
D | CachedBluetoothDeviceManager.java | 75 public void onDeviceNameUpdated(BluetoothDevice device) { in onDeviceNameUpdated() 92 public synchronized CachedBluetoothDevice findDevice(BluetoothDevice device) { in findDevice() 122 public CachedBluetoothDevice addDevice(BluetoothDevice device) { in addDevice() 133 public CachedBluetoothDevice addDevice(BluetoothDevice device, List<ScanFilter> leScanFilters) { in addDevice() 160 public synchronized String getSubDeviceSummary(CachedBluetoothDevice device) { in getSubDeviceSummary() 184 public synchronized boolean isSubDevice(BluetoothDevice device) { in isSubDevice() 229 public String getName(BluetoothDevice device) { in getName() 366 public synchronized void onDeviceUnpaired(CachedBluetoothDevice device) { in onDeviceUnpaired() 406 private synchronized boolean shouldPairByCsip(BluetoothDevice device, int groupId) { in shouldPairByCsip() 447 public synchronized boolean isLateBonding(BluetoothDevice device) { in isLateBonding() [all …]
|
D | CsipSetCoordinatorProfile.java | 72 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 136 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 164 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 172 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 180 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 202 public int getNameResource(BluetoothDevice device) { in getNameResource() 207 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice() 222 public Map<Integer, ParcelUuid> getGroupUuidMapByDevice(BluetoothDevice device) { in getGroupUuidMapByDevice()
|
D | HidDeviceProfile.java | 67 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 107 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 115 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 120 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 125 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 146 public int getNameResource(BluetoothDevice device) { in getNameResource() 151 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | VolumeControlProfile.java | 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 133 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 141 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 149 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 157 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 196 public int getNameResource(BluetoothDevice device) { in getNameResource() 201 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | MapProfile.java | 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 116 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 124 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 132 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 140 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 174 public int getNameResource(BluetoothDevice device) { in getNameResource() 178 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | SapProfile.java | 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 114 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 122 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 130 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 138 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 172 public int getNameResource(BluetoothDevice device) { in getNameResource() 176 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | MapClientProfile.java | 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 115 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 123 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 131 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 139 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 173 public int getNameResource(BluetoothDevice device) { in getNameResource() 177 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | HfpClientProfile.java | 70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 128 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 136 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 144 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 152 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 179 public int getNameResource(BluetoothDevice device) { in getNameResource() 184 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothDeviceFilterUtils.java | 58 static boolean matchesAddress(String deviceAddress, BluetoothDevice device) { in matchesAddress() 66 List<ParcelUuid> serviceUuidMasks, BluetoothDevice device) { in matchesServiceUuids() 78 BluetoothDevice device) { in matchesServiceUuid() 96 static boolean matchesName(@Nullable Pattern namePattern, BluetoothDevice device) { in matchesName() 110 static boolean matchesName(@Nullable Pattern namePattern, ScanResult device) { in matchesName() 125 boolean result, BluetoothDevice device, Object criteria) { in debugLogMatchResult() 130 boolean result, ScanResult device, Object criteria) { in debugLogMatchResult() 135 public static String getDeviceDisplayNameInternal(@NonNull BluetoothDevice device) { in getDeviceDisplayNameInternal() 140 public static String getDeviceDisplayNameInternal(@NonNull ScanResult device) { in getDeviceDisplayNameInternal() 145 public static String getDeviceMacAddress(@NonNull Parcelable device) { in getDeviceMacAddress()
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
D | UsbDeviceStateController.java | 38 void onDeviceResetComplete(UsbDevice device); in onDeviceResetComplete() 102 public void startDeviceReset(UsbDevice device) { in startDeviceReset() 110 private void doHandleDeviceReset(UsbDevice device) { in doHandleDeviceReset() 135 UsbDevice device = request.device; in doHandleAoapStart() local 167 private UsbDevice resetUsbDeviceAndConfirmModeChange(UsbDevice device) { in resetUsbDeviceAndConfirmModeChange() 224 private boolean isDeviceRemovedLocked(UsbDevice device) { in isDeviceRemovedLocked() 235 private UsbDevice checkDeviceAttachedLocked(UsbDevice device) { in checkDeviceAttachedLocked() 246 public UsbDeviceConnection openConnection(UsbDevice device) { in openConnection() 251 private void handleUsbDeviceAttached(UsbDevice device) { in handleUsbDeviceAttached() 258 private void handleUsbDeviceDetached(UsbDevice device) { in handleUsbDeviceDetached() [all …]
|
D | UsbHostManagementActivity.java | 135 private void startAoap(UsbDevice device) { in startAoap() 141 private void startAoapActivity(UsbDevice device) { in startAoapActivity() 162 private void resetDevice(UsbDevice device) { in resetDevice() 186 private void handleUsbDeviceAttached(UsbDevice device) { in handleUsbDeviceAttached() 202 private void handleUsbDeviceDetached(UsbDevice device) { in handleUsbDeviceDetached() 209 private void updateDevice(UsbDevice device) { in updateDevice() 224 public void onDeviceResetComplete(UsbDevice device) { in onDeviceResetComplete() 230 public void onAoapStartComplete(UsbDevice device) { in onAoapStartComplete() 238 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive() local 241 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive() local
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceRepository.java | 78 public void onDisplayDeviceEvent(DisplayDevice device, int event) { in onDisplayDeviceEvent() 127 final DisplayDevice device = mDisplayDevices.get(i); in getByAddressLocked() local 146 private void handleDisplayDeviceAdded(DisplayDevice device) { in handleDisplayDeviceAdded() 161 private void handleDisplayDeviceChanged(DisplayDevice device) { in handleDisplayDeviceChanged() 197 private void handleDisplayDeviceRemoved(DisplayDevice device) { in handleDisplayDeviceRemoved() 211 private void sendEventLocked(DisplayDevice device, int event) { in sendEventLocked() 219 private void sendChangedEventLocked(DisplayDevice device, int diff) { in sendChangedEventLocked() 230 void onDisplayDeviceEventLocked(DisplayDevice device, int event); in onDisplayDeviceEventLocked() 232 void onDisplayDeviceChangedLocked(DisplayDevice device, int diff); in onDisplayDeviceChangedLocked()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 239 std::shared_ptr<InputDevice> device = createDeviceLocked(eventHubId, identifier); in addDeviceLocked() local 284 std::shared_ptr<InputDevice> device = std::move(deviceIt->second); in removeDeviceLocked() local 329 std::shared_ptr<InputDevice> device; in createDeviceLocked() local 350 std::shared_ptr<InputDevice>& device = deviceIt->second; in processEventsForDeviceLocked() local 373 std::shared_ptr<InputDevice>& device = devicePair.second; in timeoutExpiredLocked() local 411 std::shared_ptr<InputDevice>& device = devicePair.second; in refreshConfigurationLocked() local 433 std::shared_ptr<InputDevice>& device = devicePair.second; in updateGlobalMetaStateLocked() local 445 std::shared_ptr<InputDevice>& device = devicePair.second; in updateLedMetaStateLocked() local 460 std::shared_ptr<InputDevice>& device = devicePair.second; in getExternalStylusDevicesLocked() local 470 std::shared_ptr<InputDevice>& device = devicePair.second; in dispatchExternalStylusStateLocked() local [all …]
|
/frameworks/native/vulkan/libvulkan/ |
D | api_gen.cpp | 86 VKAPI_ATTR VkResult disabledCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR*, co… in disabledCreateSwapchainKHR() 91 VKAPI_ATTR void disabledDestroySwapchainKHR(VkDevice device, VkSwapchainKHR, const VkAllocationCall… in disabledDestroySwapchainKHR() 95 VKAPI_ATTR VkResult disabledGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR, uint32_t*, VkIma… in disabledGetSwapchainImagesKHR() 100 VKAPI_ATTR VkResult disabledAcquireNextImageKHR(VkDevice device, VkSwapchainKHR, uint64_t, VkSemaph… in disabledAcquireNextImageKHR() 110 VKAPI_ATTR VkResult disabledGetDeviceGroupPresentCapabilitiesKHR(VkDevice device, VkDeviceGroupPres… in disabledGetDeviceGroupPresentCapabilitiesKHR() 115 VKAPI_ATTR VkResult disabledGetDeviceGroupSurfacePresentModesKHR(VkDevice device, VkSurfaceKHR, VkD… in disabledGetDeviceGroupSurfacePresentModesKHR() 120 VKAPI_ATTR VkResult disabledAcquireNextImage2KHR(VkDevice device, const VkAcquireNextImageInfoKHR*,… in disabledAcquireNextImage2KHR() 130 VKAPI_ATTR VkResult disabledGetAndroidHardwareBufferPropertiesANDROID(VkDevice device, const struct… in disabledGetAndroidHardwareBufferPropertiesANDROID() 135 VKAPI_ATTR VkResult disabledGetMemoryAndroidHardwareBufferANDROID(VkDevice device, const VkMemoryGe… in disabledGetMemoryAndroidHardwareBufferANDROID() 630 VKAPI_ATTR PFN_vkVoidFunction GetDeviceProcAddr(VkDevice device, const char* pName) { in GetDeviceProcAddr() [all …]
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 118 public void deviceAdded(MtpDevice device); in deviceAdded() 125 public void deviceRemoved(MtpDevice device); in deviceRemoved() 135 static public boolean isCamera(UsbDevice device) { in isCamera() 274 MtpDevice device = getDevice(deviceName); in getStorageList() local 306 MtpDevice device = getDevice(deviceName); in getObjectInfo() local 321 MtpDevice device = getDevice(deviceName); in deleteObject() local 342 MtpDevice device = getDevice(deviceName); in getObjectList() local 378 MtpDevice device = getDevice(deviceName); in getObject() local 393 MtpDevice device = getDevice(deviceName); in getThumbnail() local 411 MtpDevice device = getDevice(deviceName); in importFile() local
|
/frameworks/base/media/java/android/media/ |
D | AudioDeviceVolumeManager.java | 97 void onAudioDeviceVolumeChanged( in onAudioDeviceVolumeChanged() 108 void onAudioDeviceVolumeAdjusted( in onAudioDeviceVolumeAdjusted() 123 @NonNull AudioDeviceAttributes device, boolean handlesVolumeAdjustment) { in ListenerInfo() 151 public void register(boolean register, @NonNull AudioDeviceAttributes device, in register() 165 public void dispatchDeviceVolumeChanged( in dispatchDeviceVolumeChanged() 180 public void dispatchDeviceVolumeAdjusted( in dispatchDeviceVolumeAdjusted() 208 public void setDeviceAbsoluteVolumeBehavior( in setDeviceAbsoluteVolumeBehavior() 234 public void setDeviceAbsoluteMultiVolumeBehavior( in setDeviceAbsoluteMultiVolumeBehavior() 259 public void setDeviceAbsoluteVolumeAdjustOnlyBehavior( in setDeviceAbsoluteVolumeAdjustOnlyBehavior() 286 public void setDeviceAbsoluteMultiVolumeAdjustOnlyBehavior( in setDeviceAbsoluteMultiVolumeAdjustOnlyBehavior() [all …]
|