Home
last modified time | relevance | path

Searched refs:otherDevice (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/muteawait/
DMediaMuteAwaitConnectionManagerTest.kt155 val otherDevice = AudioDeviceAttributes( in onUnmutedEvent_notSameDevice_localMediaManagerNotNotified() constant
163 muteAwaitListener.onUnmutedEvent(EVENT_CONNECTION, otherDevice, intArrayOf(USAGE_MEDIA)) in onUnmutedEvent_notSameDevice_localMediaManagerNotNotified()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/
DStylusManagerTest.kt59 @Mock lateinit var otherDevice: InputDevice in <lambda>() variable in com.android.systemui.stylus.StylusManagerTest
100 whenever(otherDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(false) in <lambda>()
113 whenever(inputManager.getInputDevice(OTHER_DEVICE_ID)).thenReturn(otherDevice) in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DMediaDevice.java560 final MediaDevice otherDevice = (MediaDevice) obj; in equals() local
561 return otherDevice.getId().equals(getId()); in equals()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DBrailleDisplayConnectionTest.java99 Path otherDevice = Path.of(testDir.getPath(), "otherDevice"); in defaultNativeScanner_getHidrawNodePaths_returnsHidrawPaths() local
100 Path[] nodePaths = {hidrawNode0, hidrawNode1, otherDevice}; in defaultNativeScanner_getHidrawNodePaths_returnsHidrawPaths()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java9012 int otherDevice = mIndexMap.keyAt(i); in setIndex() local
9013 if (AudioSystem.DEVICE_OUT_ALL_SCO_SET.contains(otherDevice)) { in setIndex()
9014 mIndexMap.put(otherDevice, index); in setIndex()