/cts/tests/tests/text/src/android/text/cts/ |
D | TextPaintTest.java | 36 assertEquals(DEFAULT_PAINT_FLAGS, textPaint.getFlags()); in testConstructor() 40 textPaint.getFlags()); in testConstructor() 74 assertEquals(textPaintSrc.getFlags(), textPaint.getFlags()); in testSet()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaItemTest.java | 41 assertEquals(MediaItem.FLAG_BROWSABLE, mediaItem.getFlags()); in testBrowsableMediaItem() 50 assertEquals(mediaItem.getFlags(), p.readInt()); in testBrowsableMediaItem() 64 assertEquals(MediaItem.FLAG_PLAYABLE, mediaItem.getFlags()); in testPlayableMediaItem() 73 assertEquals(mediaItem.getFlags(), p.readInt()); in testPlayableMediaItem()
|
D | AudioAttributesTest.java | 66 srcAttr.getFlags(), targetAttr.getFlags()); in testParcelableWriteToParcelCreate()
|
D | AudioPlaybackConfigurationTest.java | 412 && apc.getAudioAttributes().getFlags() == aa.getFlags() in hasAttr()
|
/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/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/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 634 assertEquals(mKeyEvent.getFlags(), keyEvent.getFlags()); in testWriteToParcel() 655 assertEquals(KeyEvent.FLAG_WOKE_HERE, mKeyEvent.getFlags()); in testGetFlags() 659 assertEquals(KeyEvent.FLAG_SOFT_KEYBOARD, mKeyEvent.getFlags()); in testGetFlags() 677 assertEquals(mKeyEvent.getFlags(), newEvent.getFlags()); in testChangeAction() 693 assertEquals(KeyEvent.FLAG_FROM_SYSTEM, newEvent.getFlags()); in testChangeFlags() 714 assertEquals(mKeyEvent.getFlags(), newEvent.getFlags()); in testChangeTimeRepeat()
|
D | MotionEventTest.java | 187 assertEquals(0, mMotionEventDynamic.getFlags()); in testObtainFromPropertyArrays() 448 assertEquals(0, mMotionEventDynamic.getFlags()); in testGetCurrentDataWithTwoPointers() 517 assertEquals(0, mMotionEventDynamic.getFlags()); in testGetHistoricalDataWithTwoPointers() 536 assertEquals(0, mMotionEventDynamic.getFlags()); in testGetHistoricalDataWithTwoPointers() 565 assertEquals(0, mMotionEventDynamic.getFlags()); in testGetHistoricalDataWithTwoPointers()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | CommandReceiver.java | 92 int flags = getFlags(commandIntent); in doBindService() 131 private int getFlags(Intent intent) { in getFlags() method in CommandReceiver
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 431 assertThat((session.context.getFlags() in testDisabledByFlagSecure() 461 assertThat((session.context.getFlags() in testDisabledByApp() 492 assertThat((session.context.getFlags() in testDisabledFlagSecureAndByApp() 494 assertThat((session.context.getFlags() in testDisabledFlagSecureAndByApp() 555 assertThat(actualRequest.getFlags()).isEqualTo(NO_FLAGS); in testUserDataRemovalRequest_oneId() 588 assertThat(actualRequest1.getFlags()).isEqualTo(NO_FLAGS); in testUserDataRemovalRequest_manyIds() 592 assertThat(actualRequest2.getFlags()).isEqualTo(FLAG_IS_PREFIX); in testUserDataRemovalRequest_manyIds()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | ContentCaptureConditionTest.java | 51 assertThat(condition.getFlags()).isSameAs(FLAG_IS_REGEX); in testValid()
|
D | DataRemovalRequestTest.java | 149 .that(request.getFlags()).isEqualTo(expectedFlags); in assertRequest()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodServiceTest.java | 221 if ((keyEvent.getFlags() & mustHaveFlags) == 0 222 || (keyEvent.getFlags() & mustNotHaveFlags) != 0) { 225 + "which was 0x%08X", keyEvent.getFlags()));
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | NotificationIncidentTest.java | 85 record.getFlags(); in testNotificationRecords() 212 record.getFlags(); in verifyNotificationRecordProto()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DummyCrossProfileViewEventActivity.java | 54 getIntent().getFlags() in onStart()
|
/cts/tests/app/src/android/app/cts/ |
D | AppTaskTests.java | 199 assertTrue((t1.getTaskInfo().baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) in testSetExcludeFromRecents() 202 assertTrue((t1.getTaskInfo().baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) in testSetExcludeFromRecents()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputTestCase.java | 237 event.getSource(), event.getFlags()); in splitBatchedMotionEvent() 247 event.getSource(), event.getFlags()); in splitBatchedMotionEvent()
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
D | MyForegroundService.java | 55 switch (intent.getFlags()) { in onStartCommand()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
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/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()
|
D | IntentTest.java | 142 assertEquals(mIntent.getFlags(), target.getFlags()); in testReadFromParcel() 624 assertEquals(expected, mIntent.getFlags()); in testAddFlags() 717 assertEquals(4, mIntent.getFlags()); in testGetIntentOld() 855 assertEquals(Intent.FLAG_ACTIVITY_NEW_DOCUMENT, target.getFlags()); in testGetIntent() 1213 if (expected.getFlags() != actual.getFlags()) { in compareIntents() 1305 assertEquals(expected, mIntent.getFlags()); in testAccessFlags()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/ |
D | poc.cpp | 39 uint32_t getFlags() const { return 0; } in getFlags() function in MyMemoryHeap
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 136 p.setFlags(p.getFlags() & ~Paint.DEV_KERN_TEXT_FLAG); in testBreakText() 216 p.setFlags(p.getFlags() & ~Paint.DEV_KERN_TEXT_FLAG); in verifyBreakText() 983 assertEquals(Paint.ANTI_ALIAS_FLAG, p.getFlags()); 986 assertEquals(Paint.DEV_KERN_TEXT_FLAG, p.getFlags()); 1149 assertEquals(Paint.ANTI_ALIAS_FLAG, p.getFlags()); in testReset() 1153 | Paint.EMBEDDED_BITMAP_TEXT_FLAG, p.getFlags()); in testReset() 1222 p.setFlags(p.getFlags() & ~Paint.DEV_KERN_TEXT_FLAG); in testMeasureText() 1282 p.setFlags(p.getFlags() & ~Paint.DEV_KERN_TEXT_FLAG); in verifyMeasureText()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | BinderExploitTest.java | 163 in.setFlags(in.getFlags() | Intent.FLAG_ACTIVITY_NEW_DOCUMENT); in setUpBundle()
|