Home
last modified time | relevance | path

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

12

/cts/tests/tests/text/src/android/text/cts/
DTextPaintTest.java36 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/
DMediaItemTest.java41 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()
DAudioAttributesTest.java66 srcAttr.getFlags(), targetAttr.getFlags()); in testParcelableWriteToParcelCreate()
DAudioPlaybackConfigurationTest.java412 && apc.getAudioAttributes().getFlags() == aa.getFlags() in hasAttr()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerStartShortcutTest.java117 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/
DSuggestionSpanTest.java66 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/
DKeyEventTest.java634 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()
DMotionEventTest.java187 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/
DCommandReceiver.java92 int flags = getFlags(commandIntent); in doBindService()
131 private int getFlags(Intent intent) { in getFlags() method in CommandReceiver
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java431 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/
DContentCaptureConditionTest.java51 assertThat(condition.getFlags()).isSameAs(FLAG_IS_REGEX); in testValid()
DDataRemovalRequestTest.java149 .that(request.getFlags()).isEqualTo(expectedFlags); in assertRequest()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java221 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/
DNotificationIncidentTest.java85 record.getFlags(); in testNotificationRecords()
212 record.getFlags(); in verifyNotificationRecordProto()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDummyCrossProfileViewEventActivity.java54 getIntent().getFlags() in onStart()
/cts/tests/app/src/android/app/cts/
DAppTaskTests.java199 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/
DInputTestCase.java237 event.getSource(), event.getFlags()); in splitBatchedMotionEvent()
247 event.getSource(), event.getFlags()); in splitBatchedMotionEvent()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyForegroundService.java55 switch (intent.getFlags()) { in onStartCommand()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DFillResponseTest.java201 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/
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.java142 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/
Dpoc.cpp39 uint32_t getFlags() const { return 0; } in getFlags() function in MyMemoryHeap
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java136 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/
DBinderExploitTest.java163 in.setFlags(in.getFlags() | Intent.FLAG_ACTIVITY_NEW_DOCUMENT); in setUpBundle()

12