Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DFileUtils.java77 public boolean hasModeFlag(int flag) { in hasModeFlag() argument
78 if (((S_IRWXU | S_IRWXG | S_IRWXO) & flag) != flag) { in hasModeFlag()
79 throw new IllegalArgumentException("Inappropriate flag " + flag); in hasModeFlag()
81 return (mode & flag) == flag; in hasModeFlag()
/cts/libs/deviceutil/src/android/cts/util/
DFileUtils.java76 public boolean hasModeFlag(int flag) { in hasModeFlag() argument
77 if (((S_IRWXU | S_IRWXG | S_IRWXO) & flag) != flag) { in hasModeFlag()
78 throw new IllegalArgumentException("Inappropriate flag " + flag); in hasModeFlag()
80 return (mode & flag) == flag; in hasModeFlag()
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderSpanTest.java83 for (int flag: flags) { in replaceWithRange()
85 replacement, replacementStart, replacementEnd, flag); in replaceWithRange()
90 String replacement, int replacementStart, int replacementEnd, int flag) { in replaceWithSpanFlag() argument
101 expected + "\", flag=" + flag); in replaceWithSpanFlag()
106 mSpanSet.initSpans(originalSpannable, replaceStart, replaceEnd, flag); in replaceWithSpanFlag()
107 mReplacementSpanSet.initSpans(replacementSpannable, replacementStart, replacementEnd, flag); in replaceWithSpanFlag()
115 flag); in replaceWithSpanFlag()
117 replacementStart, replacementEnd, flag); in replaceWithSpanFlag()
121 int replacementLength, int flag) { in checkSpanPositions() argument
137 if (!isValidSpan(originalStart, originalEnd, flag)) continue; in checkSpanPositions()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/
DFileUtils.java149 private static boolean hasModeFlag(int mode, int flag) { in hasModeFlag() argument
150 return (mode & flag) == flag; in hasModeFlag()
/cts/tests/tests/os/src/android/os/cts/
DCpuFeaturesTest.java34 private static void assertHwCap(String name, int hwcaps, int flag) { in assertHwCap() argument
35 assertEquals("Machine does not advertise " + name + " support", flag, in assertHwCap()
36 hwcaps & flag); in assertHwCap()
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/
DMainInteractionSession.java154 AsyncTaskArg setCompleteReq(boolean flag) { in setCompleteReq() argument
155 isCompleteRequest = flag; in setCompleteReq()
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
DMainInteractionSession.java170 AsyncTaskArg setCompleteReq(boolean flag) { in setCompleteReq() argument
171 isCompleteRequest = flag; in setCompleteReq()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackNative.java31 @IntDef(flag = true,
DAudioRecordNative.java31 @IntDef(flag = true,
DMediaCodecCapabilitiesTest.java560 int flag = isEncoder ? MediaCodec.CONFIGURE_FLAG_ENCODE : 0; in getActualMax() local
569 codec.configure(format, null, null, flag); in getActualMax()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DIntentFiltersTestHelper.java192 public boolean checkCrossProfileIntentFilters(int flag) { in checkCrossProfileIntentFilters() argument
194 if (flag == FLAG_INTENTS_FROM_PRIMARY) { in checkCrossProfileIntentFilters()
/cts/tests/tests/app/src/android/app/cts/
DInstrumentationTest.java267 final int flag = 2; in testInvokeContextMenuAction() local
268 mInstrumentation.invokeContextMenuAction(mMockActivity, id, flag); in testInvokeContextMenuAction()
272 assertEquals(flag, mMockActivity.mWindow.mFlags); in testInvokeContextMenuAction()
/cts/tests/tests/content/src/android/content/cts/
DIntentTest.java594 final int flag = 1; in testAddFlags() local
596 mIntent.addFlags(flag); in testAddFlags()
597 expected |= flag; in testAddFlags()
/cts/suite/cts/deviceTests/browserbench/assets/octane/css/
Dbootstrap.css1610 .icon-flag {
/cts/tools/dex-tools/dex/
Dclasses0.out.dex20222 boolean flag