/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | EphemeralUserTest.java | 42 int flags = getUserFlags(userId); in testCreateEphemeralUser() local 43 assertTrue("ephemeral flag must be set", FLAG_EPHEMERAL == (flags & FLAG_EPHEMERAL)); in testCreateEphemeralUser() 52 int flags = getUserFlags(userId); in testCreateLongLivedUser() local 53 assertTrue("ephemeral flag must not be set", 0 == (flags & FLAG_EPHEMERAL)); in testCreateLongLivedUser() 68 int flags = getUserFlags(profileId); in testProfileInheritsEphemeral() local 69 assertTrue("ephemeral flag must be set", FLAG_EPHEMERAL == (flags & FLAG_EPHEMERAL)); in testProfileInheritsEphemeral() 96 int flags = getUserFlags(userId); in testEphemeralGuestFeature() local 100 FLAG_EPHEMERAL == (flags & FLAG_EPHEMERAL)); in testEphemeralGuestFeature() 103 assertTrue("ephemeral flag must not be set for guest", 0 == (flags & FLAG_EPHEMERAL)); in testEphemeralGuestFeature()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | DefaultManifestAttributesTest.java | 73 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_SMALL_SCREENS) != 0); in testSmallScreenDefault() 80 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_NORMAL_SCREENS) != 0); in testNormalScreenDefault() 85 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS) != 0); in testLargeScreenDefault() 90 (getAppInfo().flags & ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS) != 0); in testResizableDefault() 95 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES) != 0); in testAnyDensityDefault()
|
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/ |
D | HardwareBufferVrTest.java | 32 … final long flags = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | HardwareBuffer.USAGE_GPU_COLOR_OUTPUT; in testLayeredBuffersForVr() local 40 HardwareBuffer buffer = HardwareBuffer.create(2, 4, format, 2, flags); in testLayeredBuffersForVr() 45 assertEquals(flags, buffer.getUsage()); in testLayeredBuffersForVr() 47 buffer = HardwareBuffer.create(345, 231, format, 5, flags); in testLayeredBuffersForVr() 52 assertEquals(flags, buffer.getUsage()); in testLayeredBuffersForVr()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | HtmlTest.java | 155 final int flags = Html.FROM_HTML_OPTION_USE_CSS_COLORS; in testUseCssColor() local 157 Spanned s = Html.fromHtml("<font color=\"green\">GREEN</font>", flags); in testUseCssColor() 161 s = Html.fromHtml("<font color=\"gray\">GRAY</font>", flags); in testUseCssColor() 165 s = Html.fromHtml("<font color=\"grey\">GREY</font>", flags); in testUseCssColor() 169 s = Html.fromHtml("<font color=\"lightgray\">LIGHTGRAY</font>", flags); in testUseCssColor() 173 s = Html.fromHtml("<font color=\"lightgrey\">LIGHTGREY</font>", flags); in testUseCssColor() 177 s = Html.fromHtml("<font color=\"darkgray\">DARKGRAY</font>", flags); in testUseCssColor() 181 s = Html.fromHtml("<font color=\"darkgrey\">DARKGREY</font>", flags); in testUseCssColor() 462 int flags = Html.FROM_HTML_SEPARATOR_LINE_BREAK_BLOCKQUOTE in testBlockLevelElementsFromHtml() local 465 Html.fromHtml(source, flags, null, null).toString()); in testBlockLevelElementsFromHtml() [all …]
|
D | SpannedTest.java | 73 final int flags = Spannable.SPAN_INCLUSIVE_INCLUSIVE; in testNextSpanTransition() local 75 text.setSpan(new QuoteSpan(), 0, 4, flags); in testNextSpanTransition() 76 text.setSpan(new LocaleSpan((Locale) null), 2, 7, flags); in testNextSpanTransition() 77 text.setSpan(new UnderlineSpan(), 5, text.length(), flags); in testNextSpanTransition()
|
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | EncryptionAppTest.java | 265 private void assertQuery(int count, int flags) throws Exception { in assertQuery() argument 267 assertEquals("activity", count, mPm.queryIntentActivities(intent, flags).size()); in assertQuery() 268 assertEquals("service", count, mPm.queryIntentServices(intent, flags).size()); in assertQuery() 269 assertEquals("provider", count, mPm.queryIntentContentProviders(intent, flags).size()); in assertQuery() 270 assertEquals("receiver", count, mPm.queryBroadcastReceivers(intent, flags).size()); in assertQuery() 273 private void assertGetUnaware(boolean visible, int flags) throws Exception { in assertGetUnaware() argument 274 assertGet(visible, false, flags); in assertGetUnaware() 277 private void assertGetAware(boolean visible, int flags) throws Exception { in assertGetAware() argument 278 assertGet(visible, true, flags); in assertGetAware() 289 private void assertGet(boolean visible, boolean aware, int flags) throws Exception { in assertGet() argument [all …]
|
/cts/hostsidetests/security/securityPatch/CVE-2016-2471/ |
D | poc.c | 54 __u16 flags; /* Various specifc flags (if any) */ member 60 __u16 flags; /* Optional params */ member 75 __u8 flags; /* Flags (fixed/auto) */ member 115 __u8 flags; member 147 prIwReq.u.data.flags = IW_SCAN_THIS_ESSID; in main()
|
/cts/tools/utils/ |
D | monsoon.py | 57 import gflags as flags # http://code.google.com/p/python-gflags/ namespace 61 FLAGS = flags.FLAGS 437 flags.DEFINE_boolean("status", None, "Print power meter status") 438 flags.DEFINE_integer("avg", None, 440 flags.DEFINE_float("voltage", None, "Set output voltage (0 for off)") 441 flags.DEFINE_float("current", None, "Set max output current") 442 flags.DEFINE_string("usbpassthrough", None, "USB control (on, off, auto)") 443 flags.DEFINE_integer("samples", None, 446 flags.DEFINE_integer("hz", 5000, "Print this many samples/sec") 447 flags.DEFINE_string("device", None, [all …]
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | ExtractedTextRequestTest.java | 35 request.flags = 1; in testExtractedTextRequest() 47 assertEquals(request.flags, target.flags); in testExtractedTextRequest()
|
D | ExtractedTextTest.java | 40 extractedText.flags = 1; in testWriteToParcel() 53 assertEquals(extractedText.flags, target.flags); in testWriteToParcel()
|
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/ |
D | SimpleService.java | 42 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) 49 return super.onTransact(code, data, reply, flags); 60 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 79 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 143 final int flags = command.getExtras().getInt("flags"); in onHandleCommand() 144 requestHideSelf(flags); in onHandleCommand() 148 final int flags = command.getExtras().getInt("flags"); in onHandleCommand() 149 requestShowSelf(flags); in onHandleCommand() 172 public void showSoftInput(int flags, ResultReceiver resultReceiver) { in showSoftInput() argument 173 getTracer().showSoftInput(flags, resultReceiver, in showSoftInput() 174 () -> super.showSoftInput(flags, resultReceiver)); in showSoftInput() 178 public void hideSoftInput(int flags, ResultReceiver resultReceiver) { in hideSoftInput() argument 179 getTracer().hideSoftInput(flags, resultReceiver, in hideSoftInput() 180 () -> super.hideSoftInput(flags, resultReceiver)); in hideSoftInput() [all …]
|
/cts/tests/tests/graphics/jni/ |
D | VulkanPreTransformTestHelpers.cpp | 154 .flags = 0, in init() 178 .flags = 0, in init() 212 .flags = 0, in init() 297 .flags = 0, in init() 364 .flags = 0, in createRenderPass() 379 .flags = 0, in createRenderPass() 393 .flags = 0, in createRenderPass() 418 .flags = 0, in createFrameBuffers() 447 .flags = 0, in createFrameBuffers() 467 .flags = 0, in createVertexBuffers() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BaseRemoteTelecomTest.java | 61 MockConnectionService remoteConnectionService, int flags) throws Exception { in setupConnectionServices() argument 63 setupConnectionService(connectionService, flags); in setupConnectionServices() 64 setupRemoteConnectionService(remoteConnectionService, flags); in setupConnectionServices() 68 int flags) throws Exception { in setupRemoteConnectionService() argument 78 if ((flags & FLAG_REGISTER) != 0) { in setupRemoteConnectionService() 87 if ((flags & FLAG_ENABLE) != 0) { in setupRemoteConnectionService()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | NdkMediaCodec.java | 67 int flags); in AMediaCodecConfigure() argument 75 int flags); in AMediaCodecQueueInputBuffer() argument 104 public void configure(MediaFormat format, int flags) { in configure() argument 131 flags); in configure() 163 info.flags = (int)ret[4]; in dequeueOutputBuffer() 209 int flags) { in queueInputBuffer() argument 211 AMediaCodecQueueInputBuffer(mNdkMediaCodec, index, offset, size, presentationTimeUs, flags); in queueInputBuffer()
|
D | SdkMediaCodec.java | 52 public void configure(MediaFormat format, int flags) { in configure() argument 53 mCodec.configure(format, null, null, flags); in configure() 122 int flags) { in queueInputBuffer() argument 123 mCodec.queueInputBuffer(index, offset, size, presentationTimeUs, flags); in queueInputBuffer()
|
D | MediaCodecWrapper.java | 34 void configure(MediaFormat format, int flags); in configure() argument 65 int flags); in queueInputBuffer() argument
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTestUtil.java | 100 final int id, final int flags) { in popBackStackImmediate() argument 101 return popBackStackImmediate(rule, rule.getActivity().getFragmentManager(), id, flags); in popBackStackImmediate() 105 final FragmentManager fm, final int id, final int flags) { in popBackStackImmediate() argument 110 ret[0] = fm.popBackStackImmediate(id, flags); in popBackStackImmediate() 117 final String name, final int flags) { in popBackStackImmediate() argument 118 return popBackStackImmediate(rule, rule.getActivity().getFragmentManager(), name, flags); in popBackStackImmediate() 122 final FragmentManager fm, final String name, final int flags) { in popBackStackImmediate() argument 127 ret[0] = fm.popBackStackImmediate(name, flags); in popBackStackImmediate()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | MockJobService.java | 109 int flags = 0; in onStartJob() local 177 flags = expected.flags; in onStartJob() 179 if ((flags & TestWorkItem.FLAG_WAIT_FOR_STOP) != 0) { in onStartJob() 186 if ((flags & TestWorkItem.FLAG_COMPLETE_NEXT) != 0) { in onStartJob() 197 if ((flags & TestWorkItem.FLAG_DELAY_COMPLETE_PUSH_BACK) != 0) { in onStartJob() 199 } else if ((flags & TestWorkItem.FLAG_DELAY_COMPLETE_PUSH_TOP) != 0) { in onStartJob() 297 public final int flags; field in MockJobService.TestWorkItem 306 flags = 0; in TestWorkItem() 316 flags = _flags; in TestWorkItem() 326 flags = _flags; in TestWorkItem() [all …]
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | MockJobService.java | 109 int flags = 0; in onStartJob() local 177 flags = expected.flags; in onStartJob() 179 if ((flags & TestWorkItem.FLAG_WAIT_FOR_STOP) != 0) { in onStartJob() 186 if ((flags & TestWorkItem.FLAG_COMPLETE_NEXT) != 0) { in onStartJob() 197 if ((flags & TestWorkItem.FLAG_DELAY_COMPLETE_PUSH_BACK) != 0) { in onStartJob() 199 } else if ((flags & TestWorkItem.FLAG_DELAY_COMPLETE_PUSH_TOP) != 0) { in onStartJob() 297 public final int flags; field in MockJobService.TestWorkItem 306 flags = 0; in TestWorkItem() 316 flags = _flags; in TestWorkItem() 326 flags = _flags; in TestWorkItem() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DialogFrameTestActivity.java | 139 params.flags |= FLAG_LAYOUT_IN_SCREEN; in testMatchParentLayoutInOverscan() 140 params.flags |= FLAG_LAYOUT_IN_OVERSCAN; in testMatchParentLayoutInOverscan() 178 params.flags |= FLAG_LAYOUT_NO_LIMITS; in testOversizedDimensionsNoLimits() 197 params.flags |= FLAG_LAYOUT_NO_LIMITS; in testExplicitPositionMatchParentNoLimits() 204 doLayoutParamTest(params -> params.flags |= FLAG_NOT_FOCUSABLE); in testNoFocus()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityActivityTestCase.java | 58 info.flags |= AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE; in setUp() 59 info.flags |= AccessibilityServiceInfo.FLAG_RETRIEVE_INTERACTIVE_WINDOWS; in setUp() 60 info.flags &= ~AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; in setUp()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | MultiWindowLoginActivityTest.java | 70 protected String runAmStartActivity(Class<? extends Activity> activityClass, int flags) { in runAmStartActivity() argument 71 return runAmStartActivity(activityClass.getName(), flags); in runAmStartActivity() 74 protected String runAmStartActivity(String activity, int flags) { in runAmStartActivity() argument 76 Integer.toHexString(flags)); in runAmStartActivity()
|
/cts/apps/CtsVerifier/assets/scripts/ |
D | execute_power_tests.py | 24 import gflags as flags # http://code.google.com/p/python-gflags/ namespace 51 FLAGS = flags.FLAGS 919 flags.DEFINE_boolean("status", None, "Print power meter status") 920 flags.DEFINE_integer("avg", None, 922 flags.DEFINE_float("voltage", None, "Set output voltage (0 for off)") 923 flags.DEFINE_float("current", None, "Set max output current") 924 flags.DEFINE_string("usbpassthrough", None, "USB control (on, off, auto)") 925 flags.DEFINE_integer("samples", None, "Collect and print this many samples") 926 flags.DEFINE_integer("hz", 5000, "Print this many samples/sec") 927 flags.DEFINE_string("device", None, [all …]
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | ImeCommandReceiver.java | 55 void commandRequestHideSelf(final int flags); in commandRequestHideSelf() argument 85 final int flags = getInt1(intent); in onReceive() local 86 mIme.commandRequestHideSelf(flags); in onReceive()
|