Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 122) sorted by relevance

12345

/development/tools/winscope/src/parsers/surface_flinger/operations/
Dadd_verbose_flags_test.ts46 const flags = TreeNodeUtils.makePropertyNode(propertyRoot.id, 'flags', 0x0); constant
47 propertyRoot.addOrReplaceChild(flags);
53 expectedRoot.addOrReplaceChild(flags);
61 const flags = TreeNodeUtils.makePropertyNode(propertyRoot.id, 'flags', 0x1); constant
62 propertyRoot.addOrReplaceChild(flags);
68 expectedRoot.addOrReplaceChild(flags);
75 const flags = TreeNodeUtils.makePropertyNode(propertyRoot.id, 'flags', 0x2); constant
76 propertyRoot.addOrReplaceChild(flags);
82 expectedRoot.addOrReplaceChild(flags);
89 const flags = TreeNodeUtils.makePropertyNode( constant
[all …]
Dadd_verbose_flags.ts26 const flags = value.getChildByName('flags')?.getValue(); constant
27 if (value.getChildByName('verboseFlags') || flags === undefined) return [];
38 if ((Number(intFlag) & flags) !== 0) {
45 verboseFlagsStr = `${tokens.join('|')} (0x${flags.toString(16)})`;
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DFlagUtils.java52 int flags = intent.getFlags(); in discoverFlags() local
57 return (flags & f.getInt(intent)) > 0; in discoverFlags()
193 EnumSet<ActivityFlag> flags = EnumSet.noneOf(ActivityFlag.class);
198 return flags;
201 if ((info.flags & ActivityInfo.FLAG_CLEAR_TASK_ON_LAUNCH) > 0) {
202 flags.add(ActivityFlag.CLEAR_TASK_ON_LAUNCH);
204 if ((info.flags & ActivityInfo.FLAG_ALLOW_TASK_REPARENTING) > 0) {
205 flags.add(ActivityFlag.ALLOW_TASK_REPARENTING);
209 flags.add(ActivityFlag.LAUNCH_MODE_SINGLE_INSTANCE);
212 flags.add(ActivityFlag.LAUNCH_MODE_SINGLE_TASK);
[all …]
DInlineAdapter.java121 List<String> flags; in setTask()
123 flags = FlagUtils.discoverFlags(intent); in setTask()
124 if (flags.size() == 0) { in setTask()
125 flags.add("None"); in setTask()
128 flags = Collections.singletonList("None"); in setTask()
131 flags, task.id); in setTask()
151 String shortClassName, List<String> flags, int taskId) { in showDialogWithFlags() argument
152 IntentDialogFragment.newInstance(shortClassName, flags, taskId).show(manager, in showDialogWithFlags()
/development/tools/winscope/src/parsers/operations/
Dtranslate_intdef.ts93 let flags = '';
116 if (flags.length > 0) flags += ' | ';
117 flags += mapping[flagValue as keyof typeof mapping];
123 if (flags.length === 0) {
129 flags += leftOver;
132 return flags;
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/
DMainActivity.java108 private boolean onCommitContent(InputContentInfoCompat inputContentInfo, int flags, in onCommitContent() argument
139 return onCommitContentInternal(inputContentInfo, flags); in onCommitContent()
142 private boolean onCommitContentInternal(InputContentInfoCompat inputContentInfo, int flags) { in onCommitContentInternal() argument
143 if ((flags & InputConnectionCompat.INPUT_CONTENT_GRANT_READ_URI_PERMISSION) != 0) { in onCommitContentInternal()
158 mFlags.setText(flagsToString(flags)); in onCommitContentInternal()
168 mCurrentFlags = flags; in onCommitContentInternal()
214 int flags, Bundle opts) { in createEditTextWithContentMimeTypes()
216 inputContentInfo, flags, opts, mimeTypes); in createEditTextWithContentMimeTypes()
238 private static String flagsToString(int flags) { in flagsToString() argument
240 if ((flags & InputConnectionCompat.INPUT_CONTENT_GRANT_READ_URI_PERMISSION) != 0) { in flagsToString()
[all …]
/development/host/windows/usb/api/
Dadb_api_private_defines.h39 Set(proto.device_name().c_str(), proto.class_id(), proto.flags()); in AdbInstanceEnumEntry()
55 Set(proto.device_name().c_str(), proto.class_id(), proto.flags());
81 info->flags = flags(); in Save()
96 DWORD flags() const { in flags() function
Dadb_interface_enum.cpp40 DWORD flags = DIGCF_DEVICEINTERFACE; in InitializeEnum() local
42 flags |= DIGCF_PRESENT; in InitializeEnum()
46 flags, in InitializeEnum()
/development/samples/SampleInputMethodAccessibilityService/src/com/example/android/sampleinputmethodaccessibilityservice/
DEditorInfoUtil.java198 final int flags = imeOptions & ~EditorInfo.IME_MASK_ACTION; in dumpImeOptions() local
229 if ((flags & EditorInfo.IME_FLAG_NO_PERSONALIZED_LEARNING) != 0) { in dumpImeOptions()
232 if ((flags & EditorInfo.IME_FLAG_NO_FULLSCREEN) != 0) { in dumpImeOptions()
235 if ((flags & EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS) != 0) { in dumpImeOptions()
238 if ((flags & EditorInfo.IME_FLAG_NAVIGATE_NEXT) != 0) { in dumpImeOptions()
241 if ((flags & EditorInfo.IME_FLAG_NO_EXTRACT_UI) != 0) { in dumpImeOptions()
244 if ((flags & EditorInfo.IME_FLAG_NO_ACCESSORY_ACTION) != 0) { in dumpImeOptions()
247 if ((flags & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) { in dumpImeOptions()
250 if ((flags & EditorInfo.IME_FLAG_FORCE_ASCII) != 0) { in dumpImeOptions()
/development/samples/AconfigDemo/lib/com/example/android/aconfig/demo/
DStaticContent.java19 import static com.example.android.aconfig.demo.flags.Flags.appendStaticContent;
20 import static com.example.android.aconfig.demo.flags.Flags.thirdFlag;
21 import static com.example.android.aconfig.demo.flags.Flags.readOnlyFlag;
/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarDisplayOptions.java84 int flags = 0; in onClick() local
87 flags = ActionBar.DISPLAY_HOME_AS_UP; in onClick()
90 flags = ActionBar.DISPLAY_SHOW_HOME; in onClick()
93 flags = ActionBar.DISPLAY_USE_LOGO; in onClick()
96 flags = ActionBar.DISPLAY_SHOW_TITLE; in onClick()
99 flags = ActionBar.DISPLAY_SHOW_CUSTOM; in onClick()
136 int change = bar.getDisplayOptions() ^ flags; in onClick()
137 bar.setDisplayOptions(change, flags); in onClick()
/development/vndk/tools/header-checker/tests/
Dtest.py82 expected_return_code, flags=[]): argument
84 old_dump, new_dump, arch, lib, flags)
89 target_arch, expected_return_code, flags=[]): argument
92 expected_return_code, flags)
103 expected_return_code, flags=[], argument
116 expected_return_code, flags)
405 flags=["-input-format-new", "Json", "-input-format-old", "Json",
425 flags=["-input-format-new", "Json", "-input-format-old", "Json"],
431 flags=["-input-format-new", "Json", "-input-format-old", "Json"],
438 flags=["-input-format-new", "Json", "-input-format-old", "Json"],
[all …]
/development/vndk/tools/header-checker/utils/
Dutils.py128 export_include_dirs=tuple(), flags=tuple()):
135 cmd += flags
136 if '-output-format' not in flags:
157 flags=tuple()): argument
161 cmd += flags
162 if '-input-format' not in flags:
164 if '-output-format' not in flags:
314 flags): argument
318 abi_diff_cmd += flags
319 if '-input-format-old' not in flags:
[all …]
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DMediaCodecWrapper.java189 final int flags) throws MediaCodec.CryptoException, WriteException { in writeSample() argument
213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); in writeSample()
215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); in writeSample()
245 int flags) { in writeSample() argument
256 flags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in writeSample()
262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); in writeSample()
265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); in writeSample()
293 info.flags); in peekSample()
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DMediaCodecWrapper.java189 final int flags) throws MediaCodec.CryptoException, WriteException { in writeSample() argument
213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); in writeSample()
215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); in writeSample()
245 int flags) { in writeSample() argument
256 flags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in writeSample()
262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); in writeSample()
265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); in writeSample()
293 info.flags); in peekSample()
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DVdmCompat.java20 import android.companion.virtual.flags.Flags;
36 VirtualDisplayConfig.Builder builder, int flags) { in setHomeSupported() argument
40 return builder.setFlags(flags | VIRTUAL_DISPLAY_FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS); in setHomeSupported()
/development/samples/AconfigDemo/src/com/example/android/aconfig/demo/dagger/
DAconfigDemoFlagModule.java19 import com.example.android.aconfig.demo.flags.FeatureFlags;
20 import com.example.android.aconfig.demo.flags.FeatureFlagsImpl;
/development/tools/winscope/src/parsers/surface_flinger/computations/
Dvisibility_properties_computation_test.ts47 flags: 0,
95 flags: LayerFlag.HIDDEN,
145 flags: LayerFlag.HIDDEN,
171 flags: 0,
204 flags: 0,
260 flags: 0,
309 flags: 0,
363 flags: 0,
411 flags: 0,
461 flags: 0,
[all …]
/development/vndk/tools/header-checker/src/utils/
Dconfig_file_test.cpp38 "flags": { in TEST()
50 "flags": { in TEST()
57 "flags": { in TEST()
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
DSampleSpellCheckerService.java69 final int flags = length <= 3 ? SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY in onGetSuggestions() local
71 return new SuggestionsInfo(flags, in onGetSuggestions()
126 final int flags = length <= 3 ? SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY in onGetSentenceSuggestionsMultiple() local
128 final SuggestionsInfo si = new SuggestionsInfo(flags, in onGetSentenceSuggestionsMultiple()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSystemUIModes.java120 winParams.flags |= bits; in setFullscreen()
122 winParams.flags &= ~bits; in setFullscreen()
132 winParams.flags |= bits; in setOverscan()
134 winParams.flags &= ~bits; in setOverscan()
144 winParams.flags |= bits; in setTranslucentStatus()
146 winParams.flags &= ~bits; in setTranslucentStatus()
156 winParams.flags |= bits; in setTranslucentNavigation()
158 winParams.flags &= ~bits; in setTranslucentNavigation()
/development/tools/winscope/src/test/e2e/
Dviewer_surface_flinger_test.ts82 const flags = curatedProperties.element(by.css('.flags')); constant
83 const flagsText = await flags.getText();
/development/samples/devbytes/telephony/SmsSampleProject/app/
Dproguard-rules.pro2 # By default, the flags in this file are appended to flags specified
/development/tools/otagui/src/store/
Dindex.js24 if (OTAExtraFlags.filter((flags) => flags.key == key)) {
/development/samples/ControllerSample/
Dproguard-project.txt5 # By default, the flags in this file are appended to flags specified

12345