/cts/tests/tests/media/src/android/media/cts/ |
D | MediaItemTest.java | 42 assertEquals(MediaItem.FLAG_BROWSABLE, mediaItem.getFlags()); in testBrowsableMediaItem() 55 assertEquals(mediaItem.getFlags(), mediaItemFromParcel.getFlags()); in testBrowsableMediaItem() 68 assertEquals(MediaItem.FLAG_PLAYABLE, mediaItem.getFlags()); in testPlayableMediaItem() 81 assertEquals(mediaItem.getFlags(), mediaItemFromParcel.getFlags()); in testPlayableMediaItem()
|
D | AudioPlaybackConfigurationTest.java | 522 && apc.getAudioAttributes().getFlags() == aa.getFlags() in hasAttr() 535 && apc.getAudioAttributes().getFlags() == aa.getFlags() in hasDevice()
|
D | AudioAttributesTest.java | 74 srcAttr.getFlags(), targetAttr.getFlags()); in testParcelableWriteToParcelCreate()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextPaintTest.java | 37 textPaint.getFlags()); in testConstructor() 41 textPaint.getFlags()); in testConstructor() 75 assertEquals(textPaintSrc.getFlags(), textPaint.getFlags()); in testSet()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | PresentationTest.java | 46 if ((display.getFlags() & Display.FLAG_PRESENTATION) != Display.FLAG_PRESENTATION) { in testPresentationFollowsDisplayFlag() 62 assertThat(display.getFlags() & Display.FLAG_PRESENTATION) in testPresentationAllowedOnPresentationDisplay() 78 assertThat(display.getFlags() & Display.FLAG_PRESENTATION) in testPresentationNotDismissAfterResizeDisplay() 99 assertThat(display.getFlags() & Display.FLAG_PRESENTATION).isEqualTo(0); in testPresentationBlockedOnNonPresentationDisplay()
|
D | DisplayAreaPolicyTests.java | 57 return (displayContent.getFlags() & Display.FLAG_TRUSTED) != 0; in isTrustedDisplay()
|
D | MultiDisplayPrivateDisplayTests.java | 75 if ((display.getFlags() & FLAG_PRIVATE) != 0) { in findPrivateDisplays()
|
D | WindowInputTests.java | 246 eventFlags.complete(ev.getFlags()); in testFilterTouchesWhenObscuredByWindowFromSameUid() 345 eventFlags.complete(ev.getFlags()); in testFlagTouchesWhenObscuredByWindowFromDifferentUid() 400 eventFlags.complete(ev.getFlags()); in testDoNotFlagTouchesWhenObscuredByZeroOpacityWindow() 447 eventFlags.complete(ev.getFlags()); in testFlagTouchesWhenObscuredByMinPositiveOpacityWindow() 502 eventFlags.complete(ev.getFlags()); in testFlagTouchesWhenPartiallyObscuredByZeroOpacityWindow() 558 eventFlags.complete(ev.getFlags()); in testDoNotFlagTouchesWhenPartiallyObscuredByNotTouchableZeroOpacityWindow()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerStartShortcutTest.java | 117 assertTrue((launched.get(0).getFlags() & Intent.FLAG_ACTIVITY_NO_ANIMATION) != 0); in testStartSingle() 154 assertTrue((i.getFlags() & Intent.FLAG_ACTIVITY_NO_ANIMATION) != 0); in testStartMultiple() 155 assertTrue((i.getFlags() & Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) == 0); in testStartMultiple() 160 assertTrue((i.getFlags() & Intent.FLAG_ACTIVITY_NO_ANIMATION) == 0); in testStartMultiple() 161 assertTrue((i.getFlags() & Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) != 0); in testStartMultiple() 166 assertTrue((i.getFlags() & Intent.FLAG_ACTIVITY_NO_ANIMATION) == 0); in testStartMultiple() 167 assertTrue((i.getFlags() & Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) == 0); in testStartMultiple()
|
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/ |
D | ContentInfoTest.java | 130 assertThat(copy.getFlags()).isEqualTo(original.getFlags()); in testBuilder_copy() 156 assertThat(copy.getFlags()).isEqualTo(0); in testBuilder_copyAndUpdate() 233 assertThat(fromParcel.getFlags()).isEqualTo(0); in testParcel_withMinimalMetadata() 252 assertThat(fromParcel.getFlags()).isEqualTo(original.getFlags()); in testParcel_withAllMetadata()
|
/cts/tests/framework/base/suggestions/src/android/service/settings/suggestions/ |
D | SuggestionTest.java | 68 assertThat(suggestion.getFlags()).isEqualTo(0); in buildSuggestion_allFieldsShouldBeSet() 101 assertThat(newSuggestion.getFlags()) in buildSuggestion_fromParcelable()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | SuggestionSpanTest.java | 66 assertEquals(SuggestionSpan.FLAG_AUTO_CORRECTION, span.getFlags()); in testConstructorWithContext() 116 flag, span.getFlags()); in testGetFlags() 119 assertEquals("Should (de)serialize flags", flag, clonedSpan.getFlags()); in testGetFlags() 139 SuggestionSpan.FLAG_EASY_CORRECT, span2.getFlags()); in testEquals_returnsTrueIfTheFlagsAreDifferent()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | ContentCaptureConditionTest.java | 51 assertThat(condition.getFlags()).isSameInstanceAs(FLAG_IS_REGEX); in testValid()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | TestCrossProfileViewEventActivity.java | 54 getIntent().getFlags() in onStart()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 657 assertEquals(mKeyEvent.getFlags(), keyEvent.getFlags()); in testWriteToParcel() 678 assertEquals(KeyEvent.FLAG_WOKE_HERE, mKeyEvent.getFlags()); in testGetFlags() 682 assertEquals(KeyEvent.FLAG_SOFT_KEYBOARD, mKeyEvent.getFlags()); in testGetFlags() 700 assertEquals(mKeyEvent.getFlags(), newEvent.getFlags()); in testChangeAction() 716 assertEquals(KeyEvent.FLAG_FROM_SYSTEM, newEvent.getFlags()); in testChangeFlags() 737 assertEquals(mKeyEvent.getFlags(), newEvent.getFlags()); in testChangeTimeRepeat()
|
/cts/tests/searchui/src/android/searchuiservice/cts/ |
D | SearchTargetEventTest.java | 65 assertThat(event.getFlags()).isEqualTo(FLAG_IME_SHOWN); in assertEverything()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ImageCaptureActivity.java | 53 if ((intent.getFlags() & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) == 0) { in writeToClipDataUri()
|
D | ReadableFileReceiverActivity.java | 55 if ((intent.getFlags() & Intent.FLAG_GRANT_READ_URI_PERMISSION) == 0) { in readFilesFromClipDataUri()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/ |
D | poc.cpp | 39 uint32_t getFlags() const { return 0; } in getFlags() function in MyMemoryHeap
|
/cts/tests/app/src/android/app/cts/ |
D | AppTaskTests.java | 210 assertTrue((t1.getTaskInfo().baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) in testSetExcludeFromRecents() 213 assertTrue((t1.getTaskInfo().baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) in testSetExcludeFromRecents()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | FillResponseTest.java | 201 assertThat(mBuilder.build().getFlags()).isEqualTo(FLAG_TRACK_CONTEXT_COMMITED); in testBuilder_setFieldClassificationIds_setsFlag() 207 assertThat(mBuilder.build().getFlags()) in testBuilder_setFieldClassificationIds_addsFlag()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 699 assertThat((session.context.getFlags() in testDisabledByFlagSecure() 729 assertThat((session.context.getFlags() in testDisabledByApp() 760 assertThat((session.context.getFlags() in testDisabledFlagSecureAndByApp() 762 assertThat((session.context.getFlags() in testDisabledFlagSecureAndByApp() 823 assertThat(actualRequest.getFlags()).isEqualTo(NO_FLAGS); in testUserDataRemovalRequest_oneId() 856 assertThat(actualRequest1.getFlags()).isEqualTo(NO_FLAGS); in testUserDataRemovalRequest_manyIds() 860 assertThat(actualRequest2.getFlags()).isEqualTo(FLAG_IS_PREFIX); in testUserDataRemovalRequest_manyIds()
|
/cts/tests/devicestate/src/android/hardware/devicestate/cts/ |
D | DeviceStateManagerTestBase.java | 200 + request.getFlags() + "}"; in toString()
|
/cts/tests/input/src/android/input/cts/ |
D | GamepadWithAccessibilityTest.kt | 125 assertEquals(KeyEvent.FLAG_FROM_SYSTEM, keyEvent.getFlags()) in testDeviceId()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputTestCase.java | 340 event.getSource(), event.getFlags()); in splitBatchedMotionEvent() 351 event.getSource(), event.getFlags()); in splitBatchedMotionEvent()
|