Home
last modified time | relevance | path

Searched refs:getFlags (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DTextPaintTest.java35 assertEquals(DEFAULT_PAINT_FLAGS, textPaint.getFlags()); in testConstructor()
39 textPaint.getFlags()); in testConstructor()
64 assertEquals(textPaintSrc.getFlags(), textPaint.getFlags()); in testSet()
DTextUtilsTest.java327 p.setFlags(p.getFlags() & ~p.DEV_KERN_TEXT_FLAG); in testEllipsize()
379 p.setFlags(p.getFlags() & ~p.DEV_KERN_TEXT_FLAG); in testEllipsizeCallback()
/cts/tests/tests/media/src/android/media/cts/
DMediaItemTest.java40 assertEquals(MediaItem.FLAG_BROWSABLE, mediaItem.getFlags()); in testBrowsableMediaItem()
48 assertEquals(mediaItem.getFlags(), p.readInt()); in testBrowsableMediaItem()
62 assertEquals(MediaItem.FLAG_PLAYABLE, mediaItem.getFlags()); in testPlayableMediaItem()
70 assertEquals(mediaItem.getFlags(), p.readInt()); in testPlayableMediaItem()
DAudioAttributesTest.java63 srcAttr.getFlags(), targetAttr.getFlags()); in testParcelableWriteToParcelCreate()
DMediaSessionTest.java134 assertEquals(5, controller.getFlags()); in testConfigureSession()
317 assertEquals("New session has unexpected configuration", 0L, controller.getFlags()); in verifyNewSession()
/cts/tests/tests/view/src/android/view/cts/
DAbsSavedStateTest.java61 assertEquals(flags, superState.getFlags()); in testWriteToParcel()
96 public int getFlags() { in getFlags() method in AbsSavedStateTest.MockParcelable
DKeyEventTest.java546 assertEquals(mKeyEvent.getFlags(), keyEvent.getFlags()); in testWriteToParcel()
563 assertEquals(KeyEvent.FLAG_WOKE_HERE, mKeyEvent.getFlags()); in testGetFlags()
567 assertEquals(KeyEvent.FLAG_SOFT_KEYBOARD, mKeyEvent.getFlags()); in testGetFlags()
583 assertEquals(mKeyEvent.getFlags(), newEvent.getFlags()); in testChangeAction()
598 assertEquals(KeyEvent.FLAG_FROM_SYSTEM, newEvent.getFlags()); in testChangeFlags()
618 assertEquals(mKeyEvent.getFlags(), newEvent.getFlags()); in testChangeTimeRepeat()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyForegroundService.java42 switch (intent.getFlags()) { in onStartCommand()
/cts/tests/tests/content/src/android/content/cts/
DImageCaptureActivity.java53 if ((intent.getFlags() & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) == 0) { in writeToClipDataUri()
DReadableFileReceiverActivity.java55 if ((intent.getFlags() & Intent.FLAG_GRANT_READ_URI_PERMISSION) == 0) { in readFilesFromClipDataUri()
DIntentTest.java135 assertEquals(mIntent.getFlags(), target.getFlags()); in testReadFromParcel()
598 assertEquals(expected, mIntent.getFlags()); in testAddFlags()
687 assertEquals(4, mIntent.getFlags()); in testGetIntentOld()
819 assertEquals(Intent.FLAG_ACTIVITY_NEW_DOCUMENT, target.getFlags()); in testGetIntent()
1167 if (expected.getFlags() != actual.getFlags()) { in compareIntents()
1259 assertEquals(expected, mIntent.getFlags()); in testAccessFlags()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java72 p.setFlags(p.getFlags() & ~Paint.DEV_KERN_TEXT_FLAG); in testBreakText()
153 p.setFlags(p.getFlags() & ~Paint.DEV_KERN_TEXT_FLAG); in assertBreakText()
836 assertEquals(Paint.ANTI_ALIAS_FLAG, p.getFlags());
839 assertEquals(Paint.DEV_KERN_TEXT_FLAG, p.getFlags());
932 assertEquals(Paint.ANTI_ALIAS_FLAG, p.getFlags()); in testReset()
935 assertEquals(Paint.DEV_KERN_TEXT_FLAG | Paint.EMBEDDED_BITMAP_TEXT_FLAG, p.getFlags()); in testReset()
1001 p.setFlags(p.getFlags() & ~Paint.DEV_KERN_TEXT_FLAG); in testMeasureText()
1064 p.setFlags(p.getFlags() & ~Paint.DEV_KERN_TEXT_FLAG); in assertMeasureText()
/cts/libs/deviceutil/src/android/cts/util/
DKeyEventUtil.java172 int flags = event.getFlags(); in sendKey()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DShapeDrawableTest.java182 | Paint.EMBEDDED_BITMAP_TEXT_FLAG, shapeDrawable.getPaint().getFlags()); in testGetPaint()
DBitmapDrawableTest.java81 bitmapDrawable.getPaint().getFlags()); in testConstructor()
88 bitmapDrawable.getPaint().getFlags()); in testConstructor()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java201 assertEquals("display must have correct flags", flags, display.getFlags()); in assertDisplayRegistered()
DDisplayTest.java258 assertEquals(Display.FLAG_PRESENTATION, display.getFlags());
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DScopedDirectoryAccessClientTest.java277 final int modeFlags = data.getFlags() in userAcceptsOpenExternalDirectoryTest()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java959 && event.getFlags() == other.getFlags() in keyEventEquals()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java573 assertEquals(mTextView.getPaintFlags(), tp.getFlags()); in testGetPaint()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex12706 byte getFlags()
43643 public java.lang.String getFlags()
44220 public java.lang.String getFlags()
44485 int getFlags()
45989 public java.lang.String getFlags()
49142 public java.lang.String getFlags()
Dclasses.out.dex8155 int getFlags()
19837 public int getFlags()
32763 public native int getFlags()
83872 public final int getFlags()