Searched refs:getUsage (Results 1 – 15 of 15) sorted by relevance
/cts/tests/tests/os/src/android/os/cts/ |
D | VibrationAttributesTest.java | 61 assertEquals(attr.getUsage(), VibrationAttributes.USAGE_ALARM); in testCreate() 73 assertEquals(attr.getUsage(), VibrationAttributes.USAGE_COMMUNICATION_REQUEST); in testGetAudioUsageReturnOriginalUsage() 81 assertEquals(attr.getUsage(), VibrationAttributes.USAGE_NOTIFICATION); in testGetAudioUsageUnknownReturnsBasedOnVibrationUsage() 101 assertEquals(attr.getUsage(), attr2.getUsage()); in testNotEqualsDifferentAudioUsage() 138 assertEquals(oneShotShort.getUsage(), VibrationAttributes.USAGE_TOUCH); in testHeuristics() 140 assertEquals(waveformShort.getUsage(), VibrationAttributes.USAGE_TOUCH); in testHeuristics() 142 assertEquals(oneShotLong.getUsage(), VibrationAttributes.USAGE_UNKNOWN); in testHeuristics() 144 assertEquals(waveformLong.getUsage(), VibrationAttributes.USAGE_UNKNOWN); in testHeuristics() 146 assertEquals(prebaked.getUsage(), VibrationAttributes.USAGE_TOUCH); in testHeuristics()
|
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/ |
D | HardwareBufferVrTest.java | 51 assertEquals(flags, buffer.getUsage()); in testLayeredBuffersForVr() 58 assertEquals(flags, buffer.getUsage()); in testLayeredBuffersForVr()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioAttributesTest.java | 70 srcAttr.getUsage(), targetAttr.getUsage()); in testParcelableWriteToParcelCreate() 116 assertEquals("Unexpected default usage", AudioAttributes.USAGE_UNKNOWN, aa.getUsage()); in testDefaultUnknown() 156 assertEquals(AudioAttributes.USAGE_UNKNOWN, attributes.getUsage()); in testGetUsage_returnsUnknownWhenSystemUsageSet()
|
D | AudioPlaybackConfigurationTest.java | 521 && apc.getAudioAttributes().getUsage() == aa.getUsage() in hasAttr() 534 && apc.getAudioAttributes().getUsage() == aa.getUsage() in hasDevice()
|
D | MediaSessionTest.java | 996 assertEquals(AudioAttributes.USAGE_MEDIA, attrs.getUsage()); in verifyNewSession()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 54 assertEquals(HardwareBuffer.USAGE_CPU_READ_RARELY, buffer.getUsage()); in testCreate() 111 assertEquals(HardwareBuffer.USAGE_CPU_READ_RARELY, buffer.getUsage()); in testCreateFromNativeObject()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | AllocationCreateAllocationsTest.java | 79 int uRef = allocArray[0].getUsage(); in testGetProperties() 88 int u = allocArray[i].getUsage(); in testGetProperties()
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | AllocationInfo.java | 67 allocation.getUsage()); in newInstance() 262 public int getUsage() { in getUsage() method in AllocationInfo
|
D | BlockingInputAllocation.java | 62 checkBitFlags("usage", allocation.getUsage(), "USAGE_IO_INPUT", Allocation.USAGE_IO_INPUT); in wrap()
|
D | AllocationCache.java | 122 int usage = allocation.getUsage(); in returnToCache()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | VideoViewTest.java | 169 if (apc.getAudioAttributes().getUsage() == AUDIO_ATTR.getUsage() in onPlaybackConfigChanged()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | IncomingCallTest.java | 154 .anyMatch(c -> c.getAudioAttributes().getUsage() in testRingOnIncomingCall()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageReaderTest.java | 783 int myBits = (int) (buffer.getUsage() & 0xFFFFFFF); in testUsageRespected()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 686 assertEquals(hwBuffer.getUsage(), hwBuffer2.getUsage()); in assertMatches()
|
/cts/tools/release-parser/tests/resources/ |
D | Shell.apk.pb.txt | 263 name: "getUsage"
|