Home
last modified time | relevance | path

Searched refs:getUsage (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DVibrationAttributesTest.java61 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/
DHardwareBufferVrTest.java51 assertEquals(flags, buffer.getUsage()); in testLayeredBuffersForVr()
58 assertEquals(flags, buffer.getUsage()); in testLayeredBuffersForVr()
/cts/tests/tests/media/src/android/media/cts/
DAudioAttributesTest.java70 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()
DAudioPlaybackConfigurationTest.java521 && apc.getAudioAttributes().getUsage() == aa.getUsage() in hasAttr()
534 && apc.getAudioAttributes().getUsage() == aa.getUsage() in hasDevice()
DMediaSessionTest.java996 assertEquals(AudioAttributes.USAGE_MEDIA, attrs.getUsage()); in verifyNewSession()
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java54 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/
DAllocationCreateAllocationsTest.java79 int uRef = allocArray[0].getUsage(); in testGetProperties()
88 int u = allocArray[i].getUsage(); in testGetProperties()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java67 allocation.getUsage()); in newInstance()
262 public int getUsage() { in getUsage() method in AllocationInfo
DBlockingInputAllocation.java62 checkBitFlags("usage", allocation.getUsage(), "USAGE_IO_INPUT", Allocation.USAGE_IO_INPUT); in wrap()
DAllocationCache.java122 int usage = allocation.getUsage(); in returnToCache()
/cts/tests/tests/widget/src/android/widget/cts/
DVideoViewTest.java169 if (apc.getAudioAttributes().getUsage() == AUDIO_ATTR.getUsage() in onPlaybackConfigChanged()
/cts/tests/tests/telecom/src/android/telecom/cts/
DIncomingCallTest.java154 .anyMatch(c -> c.getAudioAttributes().getUsage() in testRingOnIncomingCall()
/cts/tests/camera/src/android/hardware/camera2/cts/
DImageReaderTest.java783 int myBits = (int) (buffer.getUsage() & 0xFFFFFFF); in testUsageRespected()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java686 assertEquals(hwBuffer.getUsage(), hwBuffer2.getUsage()); in assertMatches()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt263 name: "getUsage"