Searched refs:getUsage (Results 1 – 13 of 13) sorted by relevance
51 assertEquals(flags, buffer.getUsage()); in testLayeredBuffersForVr()58 assertEquals(flags, buffer.getUsage()); in testLayeredBuffersForVr()
62 srcAttr.getUsage(), targetAttr.getUsage()); in testParcelableWriteToParcelCreate()
411 && apc.getAudioAttributes().getUsage() == aa.getUsage() in hasAttr()
602 assertEquals(AudioAttributes.USAGE_MEDIA, attrs.getUsage()); in verifyNewSession()
54 assertEquals(HardwareBuffer.USAGE_CPU_READ_RARELY, buffer.getUsage()); in testCreate()111 assertEquals(HardwareBuffer.USAGE_CPU_READ_RARELY, buffer.getUsage()); in testCreateFromNativeObject()
79 int uRef = allocArray[0].getUsage(); in testGetProperties()88 int u = allocArray[i].getUsage(); in testGetProperties()
67 allocation.getUsage()); in newInstance()262 public int getUsage() { in getUsage() method in AllocationInfo
62 checkBitFlags("usage", allocation.getUsage(), "USAGE_IO_INPUT", Allocation.USAGE_IO_INPUT); in wrap()
122 int usage = allocation.getUsage(); in returnToCache()
169 if (apc.getAudioAttributes().getUsage() == AUDIO_ATTR.getUsage() in onPlaybackConfigChanged()
152 .anyMatch(c -> c.getAudioAttributes().getUsage() in testRingOnIncomingCall()
718 int myBits = (int) (buffer.getUsage() & 0xFFFFFFF); in testUsageRespected()
263 name: "getUsage"