/cts/tests/tests/text/src/android/text/cts/ |
D | PaintRunFlagTest.kt | 26 import com.android.text.flags.Flags.FLAG_LETTER_SPACING_JUSTIFICATION 49 paint.flags = paint.flags and Paint.TEXT_RUN_FLAG_LEFT_EDGE.inv() in assertSame_measureText_Result() 50 paint.flags = paint.flags and Paint.TEXT_RUN_FLAG_RIGHT_EDGE.inv() in assertSame_measureText_Result() 56 paint.flags = paint.flags or Paint.TEXT_RUN_FLAG_LEFT_EDGE in assertSame_measureText_Result() 57 paint.flags = paint.flags and Paint.TEXT_RUN_FLAG_RIGHT_EDGE.inv() in assertSame_measureText_Result() 63 paint.flags = paint.flags and Paint.TEXT_RUN_FLAG_LEFT_EDGE.inv() in assertSame_measureText_Result() 64 paint.flags = paint.flags or Paint.TEXT_RUN_FLAG_RIGHT_EDGE in assertSame_measureText_Result() 70 paint.flags = paint.flags or Paint.TEXT_RUN_FLAG_LEFT_EDGE in assertSame_measureText_Result() 71 paint.flags = paint.flags or Paint.TEXT_RUN_FLAG_RIGHT_EDGE in assertSame_measureText_Result() 98 paint.flags = paint.flags and Paint.TEXT_RUN_FLAG_LEFT_EDGE.inv() in assertSame_getTextWidths_Result() [all …]
|
D | HtmlTest.java | 214 final int flags = Html.FROM_HTML_OPTION_USE_CSS_COLORS; in testUseCssColor() local 216 Spanned s = Html.fromHtml("<font color=\"green\">GREEN</font>", flags); in testUseCssColor() 220 s = Html.fromHtml("<font color=\"gray\">GRAY</font>", flags); in testUseCssColor() 224 s = Html.fromHtml("<font color=\"grey\">GREY</font>", flags); in testUseCssColor() 228 s = Html.fromHtml("<font color=\"lightgray\">LIGHTGRAY</font>", flags); in testUseCssColor() 232 s = Html.fromHtml("<font color=\"lightgrey\">LIGHTGREY</font>", flags); in testUseCssColor() 236 s = Html.fromHtml("<font color=\"darkgray\">DARKGRAY</font>", flags); in testUseCssColor() 240 s = Html.fromHtml("<font color=\"darkgrey\">DARKGREY</font>", flags); in testUseCssColor() 521 int flags = Html.FROM_HTML_SEPARATOR_LINE_BREAK_BLOCKQUOTE in testBlockLevelElementsFromHtml() local 524 Html.fromHtml(source, flags, null, null).toString()); in testBlockLevelElementsFromHtml() [all …]
|
/cts/common/device-side/bedstead/modules/flags/src/main/kotlin/com/android/bedstead/flags/ |
D | FlagsAnnotationExecutor.kt | 16 package com.android.bedstead.flags 19 import com.android.bedstead.flags.annotations.RequireFlagsDisabled 20 import com.android.bedstead.flags.annotations.RequireFlagsEnabled 37 private fun requireFlagsEnabled(flags: Array<out String>) { in requireFlagsEnabled() 38 for (flag in flags) { in requireFlagsEnabled() 46 private fun requireFlagsDisabled(flags: Array<out String>) { in requireFlagsDisabled() 47 for (flag in flags) { in requireFlagsDisabled()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | InputConnectionSplitter.java | 47 public CharSequence getTextBeforeCursor(int n, int flags) { in getTextBeforeCursor() argument 48 mForNotify.getTextBeforeCursor(n, flags); in getTextBeforeCursor() 49 return super.getTextBeforeCursor(n, flags); in getTextBeforeCursor() 53 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() argument 54 mForNotify.getTextBeforeCursor(n, flags); in getTextAfterCursor() 55 return super.getTextBeforeCursor(n, flags); in getTextAfterCursor() 59 public CharSequence getSelectedText(int flags) { in getSelectedText() argument 60 mForNotify.getSelectedText(flags); in getSelectedText() 61 return super.getSelectedText(flags); in getSelectedText() 65 public SurroundingText getSurroundingText(int beforeLength, int afterLength, int flags) { in getSurroundingText() argument [all …]
|
D | NoOpInputConnection.java | 37 public CharSequence getTextBeforeCursor(int n, int flags) { in getTextBeforeCursor() argument 42 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() argument 47 public CharSequence getSelectedText(int flags) { in getSelectedText() argument 57 public ExtractedText getExtractedText(ExtractedTextRequest request, int flags) { in getExtractedText() argument 166 public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) { in commitContent() argument
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-1906/ |
D | poc.c | 41 int gpu_mem_alloc_id(int fd, int size, int flags, in gpu_mem_alloc_id() argument 44 alloc->flags = flags; in gpu_mem_alloc_id() 59 unsigned long gpu_mem_alloc(int fd, int size, unsigned int flags) { in gpu_mem_alloc() argument 62 alloc.flags = flags; in gpu_mem_alloc() 86 ctxc.flags = 0x1010D2; in kgsl_init() 96 unsigned int flags, unsigned long *gpu_addr) { in gpu_map_user_mem() argument 105 user_mem.flags = flags; in gpu_map_user_mem()
|
D | msm_kgsl.h | 31 unsigned int flags; member 45 unsigned int flags; member 61 unsigned int flags; member 69 unsigned int flags; member 82 unsigned int flags; member
|
/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 | 38 … final long flags = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | HardwareBuffer.USAGE_GPU_COLOR_OUTPUT; in testLayeredBuffersForVr() local 46 HardwareBuffer buffer = HardwareBuffer.create(2, 4, format, 2, flags); in testLayeredBuffersForVr() 51 assertEquals(flags, buffer.getUsage()); in testLayeredBuffersForVr() 53 buffer = HardwareBuffer.create(345, 231, format, 5, flags); in testLayeredBuffersForVr() 58 assertEquals(flags, buffer.getUsage()); in testLayeredBuffersForVr()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecEncoderBlockModelTestBase.java | 105 int flags = 0; in enqueueInput() local 118 flags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueInput() 126 + " flags: " + flags); in enqueueInput() 131 request.setFlags(flags); in enqueueInput() 144 int infoFlags = info.flags; in dequeueOutput() 152 Log.v(LOG_TAG, "output: id: " + bufferIndex + " flags: " + info.flags + " size: " in dequeueOutput() 155 if ((info.flags & MediaCodec.BUFFER_FLAG_END_OF_STREAM) != 0) { in dequeueOutput() 164 info.flags); in dequeueOutput() 175 if ((info.flags & MediaCodec.BUFFER_FLAG_CODEC_CONFIG) == 0) { in dequeueOutput() 181 if ((info.flags & MediaCodec.BUFFER_FLAG_CODEC_CONFIG) == 0) { in dequeueOutput()
|
/cts/common/device-side/bedstead/modules/flags/src/test/kotlin/com/android/bedstead/flags/ |
D | FlagsTest.kt | 16 package com.android.bedstead.flags 18 import android.app.admin.flags.Flags 19 import com.android.bedstead.flags.annotations.RequireFlagsDisabled 20 import com.android.bedstead.flags.annotations.RequireFlagsEnabled
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | HandlerInputConnection.java | 47 public CharSequence getTextBeforeCursor(int n, int flags) { in getTextBeforeCursor() argument 52 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() argument 57 public CharSequence getSelectedText(int flags) { in getSelectedText() argument 62 public SurroundingText getSurroundingText(int beforeLength, int afterLength, int flags) { in getSurroundingText() argument 72 public ExtractedText getExtractedText(ExtractedTextRequest request, int flags) { in getExtractedText() argument 187 public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) { in commitContent() argument
|
D | NoOpInputConnection.java | 36 public CharSequence getTextBeforeCursor(int n, int flags) { in getTextBeforeCursor() argument 42 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() argument 47 public CharSequence getSelectedText(int flags) { in getSelectedText() argument 58 int flags) { in getExtractedText() argument 166 int flags, @Nullable Bundle opts) { in commitContent() argument
|
/cts/tests/signature/api-check/hidden-api-blocklist-test-api/src/android/signature/cts/api/test/ |
D | HiddenApiTest.java | 29 Set<String> flags = member.getHiddenapiFlags(); in shouldTestMember() local 30 return flags.contains("test-api") && flags.contains("blocked"); in shouldTestMember()
|
/cts/tests/tests/security/native/encryption/ |
D | FileBasedEncryptionPolicyTest.cpp | 184 static void validateEncryptionFlags(int flags, bool is_adoptable_storage) { in validateEncryptionFlags() argument 185 if (flags & FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32) { in validateEncryptionFlags() 234 validateEncryptionFlags(options.flags, true); in validateAdoptableStorageSettings() 251 int flags; in TEST() local 319 flags = arg.policy.v1.flags; in TEST() 343 flags = arg.policy.v2.flags; in TEST() 353 validateEncryptionFlags(flags, false); in TEST()
|
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/ |
D | VirtualAudioPermissionTest.java | 36 import android.companion.virtual.flags.Flags; 115 android.companion.virtualdevice.flags.Flags.FLAG_DEVICE_AWARE_RECORD_AUDIO_PERMISSION, 117 android.permission.flags.Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED, 118 android.permission.flags.Flags.FLAG_DEVICE_AWARE_PERMISSIONS_ENABLED}) 128 android.companion.virtualdevice.flags.Flags.FLAG_DEVICE_AWARE_RECORD_AUDIO_PERMISSION, 130 android.permission.flags.Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED, 131 android.permission.flags.Flags.FLAG_DEVICE_AWARE_PERMISSIONS_ENABLED}) 144 android.companion.virtualdevice.flags.Flags.FLAG_DEVICE_AWARE_RECORD_AUDIO_PERMISSION, 147 android.permission.flags.Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED, 148 android.permission.flags.Flags.FLAG_DEVICE_AWARE_PERMISSIONS_ENABLED}) [all …]
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | SdkMediaCodec.java | 54 public void configure(MediaFormat format, int flags) { in configure() argument 55 mCodec.configure(format, null, null, flags); in configure() 59 public void configure(MediaFormat format, int flags, Surface surface) { in configure() argument 60 mCodec.configure(format, surface, null, flags); in configure() 129 int flags) { in queueInputBuffer() argument 130 mCodec.queueInputBuffer(index, offset, size, presentationTimeUs, flags); in queueInputBuffer()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | CustomView.java | 45 public void onProvideContentCaptureStructure(ViewStructure structure, int flags) { in onProvideContentCaptureStructure() argument 52 superOnProvideContentCaptureStructure(structure, flags); in onProvideContentCaptureStructure() 61 void superOnProvideContentCaptureStructure(@NonNull ViewStructure structure, int flags) { in superOnProvideContentCaptureStructure() argument 63 super.onProvideContentCaptureStructure(structure, flags); in superOnProvideContentCaptureStructure()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/services/ |
D | ServiceStartedEvent.java | 121 String serviceName, Intent intent, int flags, int startId) { in logger() argument 122 return new ServiceStartedEventLogger(service, serviceName, intent, flags, startId); in logger() 130 String serviceName, Intent intent, int flags, int startId) { in ServiceStartedEventLogger() argument 133 mEvent.mFlags = flags; in ServiceStartedEventLogger() 156 public ServiceStartedEventLogger setFlags(int flags) { in setFlags() argument 157 mEvent.mFlags = flags; in setFlags() 188 public int flags() { in flags() method in ServiceStartedEvent
|
/cts/tools/incremental-cts/testdata/ |
D | perf_dump.txt | 4 prot 1, flags 6146, filename file_0 12 prot 1, flags 6146, filename file_1 32 prot 1, flags 6146, filename file_2 40 prot 1, flags 6146, filename /data/file 48 prot 1, flags 6146, filename /dmabuf:dmabuf1234 56 prot 1, flags 6146, filename [vdso] 64 prot 1, flags 6146, filename file_3
|
/cts/common/device-side/bedstead/modules/flags/ |
D | Android.bp | 6 name: "bedstead-flags", 19 name: "bedstead-flags-test", 29 "bedstead-flags",
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/transaction/ |
D | CallEndpointTransaction.java | 49 public void writeToParcel(@NonNull Parcel dest, int flags) { in writeToParcel() argument 50 dest.writeParcelable(mResult, flags); in writeToParcel() 52 dest.writeParcelable(mCallEndpoint, flags); in writeToParcel() 54 dest.writeParcelable(mException, flags); in writeToParcel()
|
D | PhoneAccountTransaction.java | 49 public void writeToParcel(@NonNull Parcel dest, int flags) { in writeToParcel() argument 50 dest.writeParcelable(mResult, flags); in writeToParcel() 52 dest.writeParcelable(mPhoneAccount, flags); in writeToParcel() 54 dest.writeParcelable(mException, flags); in writeToParcel()
|
D | CallExceptionTransaction.java | 54 public void writeToParcel(@NonNull Parcel dest, int flags) { in writeToParcel() argument 55 dest.writeParcelable(mResult, flags); in writeToParcel() 57 dest.writeParcelable(mCallException, flags); in writeToParcel() 59 dest.writeParcelable(mException, flags); in writeToParcel()
|
/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | NfcPreferredPaymentTest.java | 88 @RequiresFlagsDisabled(android.permission.flags.Flags.FLAG_WALLET_ROLE_ENABLED) 108 @RequiresFlagsDisabled(android.permission.flags.Flags.FLAG_WALLET_ROLE_ENABLED) 129 @RequiresFlagsDisabled(android.permission.flags.Flags.FLAG_WALLET_ROLE_ENABLED) 151 @RequiresFlagsDisabled(android.permission.flags.Flags.FLAG_WALLET_ROLE_ENABLED) 172 @RequiresFlagsDisabled(android.permission.flags.Flags.FLAG_WALLET_ROLE_ENABLED) 191 @RequiresFlagsEnabled(android.permission.flags.Flags.FLAG_WALLET_ROLE_ENABLED) 212 @RequiresFlagsEnabled(android.permission.flags.Flags.FLAG_WALLET_ROLE_ENABLED) 232 @RequiresFlagsEnabled(android.permission.flags.Flags.FLAG_WALLET_ROLE_ENABLED) 253 @RequiresFlagsEnabled(android.permission.flags.Flags.FLAG_WALLET_ROLE_ENABLED) 272 @RequiresFlagsEnabled(android.permission.flags.Flags.FLAG_WALLET_ROLE_ENABLED)
|