Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 19 of 19) 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.java88 for (int flag: flags) { in replaceWithRange()
90 replacement, replacementStart, replacementEnd, flag); in replaceWithRange()
95 String replacement, int replacementStart, int replacementEnd, int flag) { in replaceWithSpanFlag() argument
106 expected + "\", flag=" + flag); in replaceWithSpanFlag()
111 mSpanSet.initSpans(originalSpannable, replaceStart, replaceEnd, flag); in replaceWithSpanFlag()
112 mReplacementSpanSet.initSpans(replacementSpannable, replacementStart, replacementEnd, flag); in replaceWithSpanFlag()
120 flag); in replaceWithSpanFlag()
122 replacementStart, replacementEnd, flag); in replaceWithSpanFlag()
126 int replacementLength, int flag) { in checkSpanPositions() argument
142 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/common/util/tests/src/com/android/compatibility/common/util/
DAbiUtilsTest.java32 String flag = AbiUtils.createAbiFlag(ABI_NAME); in testCreateAbiFlag() local
33 assertEquals("Incorrect flag created", ABI_FLAG, flag); in testCreateAbiFlag()
/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/car/src/android/car/cts/
DCarUiProviderTest.java113 int flag = getContext().getPackageManager() in checkCompatibilityApi() local
115 assertEquals(true, (flag & ApplicationInfo.FLAG_SYSTEM) != 0 in checkCompatibilityApi()
116 || (flag & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0); in checkCompatibilityApi()
/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.java173 AsyncTaskArg setCompleteReq(boolean flag) { in setCompleteReq() argument
174 isCompleteRequest = flag; in setCompleteReq()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackNative.java31 @IntDef(flag = true,
DAudioRecordNative.java31 @IntDef(flag = true,
DMediaCodecCapabilitiesTest.java563 int flag = isEncoder ? MediaCodec.CONFIGURE_FLAG_ENCODE : 0; in getActualMax() local
572 codec.configure(format, null, null, flag); in getActualMax()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DIntentFiltersTestHelper.java263 public boolean checkCrossProfileIntentFilters(int flag) { in checkCrossProfileIntentFilters() argument
265 if (flag == FLAG_INTENTS_FROM_PRIMARY) { in checkCrossProfileIntentFilters()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java268 final int flag = 2; in testInvokeContextMenuAction() local
269 mInstrumentation.invokeContextMenuAction(mMockActivity, id, flag); in testInvokeContextMenuAction()
273 assertEquals(flag, mMockActivity.mWindow.mFlags); in testInvokeContextMenuAction()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_f32_helper.rsh176 const float flag = ValidDepth(sharp_nbr->actual_depth);
178 const float weight = flag * (*kernel);
Dlayered_filter_d1new_helper.rsh240 const float flag = ValidDepth(sharp_meta_actual_depth);
241 const float weight = flag * (kernel);
/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/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex20222 boolean flag