Home
last modified time | relevance | path

Searched refs:Option (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/cmds/idmap2/libidmap2/
DCommandLineOptions.cpp42 options_.push_back(Option{name, description, func, Option::COUNT_OPTIONAL, false}); in OptionalFlag()
51 options_.push_back(Option{name, description, func, Option::COUNT_EXACTLY_ONCE, true}); in MandatoryOption()
60 options_.push_back(Option{name, description, func, Option::COUNT_ONCE_OR_MORE, true}); in MandatoryOption()
69 options_.push_back(Option{name, description, func, Option::COUNT_OPTIONAL, true}); in OptionalOption()
78 options_.push_back(Option{name, description, func, Option::COUNT_OPTIONAL_ONCE_OR_MORE, true}); in OptionalOption()
83 const auto pivot = std::partition(options_.begin(), options_.end(), [](const Option& opt) { in Parse()
84 return opt.count != Option::COUNT_OPTIONAL && opt.count != Option::COUNT_OPTIONAL_ONCE_OR_MORE; in Parse()
88 [](const Option& opt) -> std::string { return opt.name; }); in Parse()
99 for (const Option& opt : options_) { in Parse()
143 for (const Option& opt : options_) { in Usage()
[all …]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DStartVoiceInteractionActivity.java77 VoiceInteractor.PickOptionRequest.Option[] options = in onClick()
78 new VoiceInteractor.PickOptionRequest.Option[5]; in onClick()
79 options[0] = new VoiceInteractor.PickOptionRequest.Option("One"); in onClick()
80 options[1] = new VoiceInteractor.PickOptionRequest.Option("Two"); in onClick()
81 options[2] = new VoiceInteractor.PickOptionRequest.Option("Three"); in onClick()
82 options[3] = new VoiceInteractor.PickOptionRequest.Option("Four"); in onClick()
83 options[4] = new VoiceInteractor.PickOptionRequest.Option("Five"); in onClick()
181 public TestPickOption(Option[] options) { in TestPickOption()
189 public void onPickOptionResult(boolean finished, Option[] selections, Bundle result) { in onPickOptionResult()
DTestInteractionActivity.java144 VoiceInteractor.PickOptionRequest.Option[] options = in onClick()
145 new VoiceInteractor.PickOptionRequest.Option[5]; in onClick()
146 options[0] = new VoiceInteractor.PickOptionRequest.Option("One"); in onClick()
147 options[1] = new VoiceInteractor.PickOptionRequest.Option("Two"); in onClick()
148 options[2] = new VoiceInteractor.PickOptionRequest.Option("Three"); in onClick()
149 options[3] = new VoiceInteractor.PickOptionRequest.Option("Four"); in onClick()
150 options[4] = new VoiceInteractor.PickOptionRequest.Option("Five"); in onClick()
234 public TestPickOption(Option[] options) { in TestPickOption()
242 public void onPickOptionResult(boolean finished, Option[] selections, Bundle result) { in onPickOptionResult()
DMainInteractionSession.java74 VoiceInteractor.PickOptionRequest.Option[] mPendingOptions;
302 VoiceInteractor.PickOptionRequest.Option[] picked in onClick()
303 = new VoiceInteractor.PickOptionRequest.Option[numReturn]; in onClick()
/frameworks/base/core/java/android/service/autofill/
DImageTransformation.java63 private final ArrayList<Option> mOptions;
86 final Option option = mOptions.get(i); in apply()
113 private final ArrayList<Option> mOptions = new ArrayList<>();
191 mOptions.add(new Option(regex, resId, contentDescription)); in addOptionInternal()
235 final Option option = mOptions.get(i); in writeToParcel()
280 private static final class Option { class in ImageTransformation
285 Option(Pattern pattern, int resId, CharSequence contentDescription) { in Option() method in ImageTransformation.Option
/frameworks/base/core/java/android/app/
DVoiceInteractor.java116 (PickOptionRequest.Option[]) args.arg2, (Bundle) args.arg3);
179 boolean finished, PickOptionRequest.Option[] options, Bundle result) {
410 final Option[] mOptions;
418 public static final class Option implements Parcelable { class in VoiceInteractor.PickOptionRequest
431 public Option(CharSequence label) { in Option() method in VoiceInteractor.PickOptionRequest.Option
445 public Option(CharSequence label, int index) { in Option() method in VoiceInteractor.PickOptionRequest.Option
456 public Option addSynonym(CharSequence synonym) { in addSynonym()
502 Option(Parcel in) { in Option() method in VoiceInteractor.PickOptionRequest.Option
522 public static final @android.annotation.NonNull Parcelable.Creator<Option> CREATOR
523 = new Parcelable.Creator<Option>() {
[all …]
DVoiceInteractor.aidl19 parcelable VoiceInteractor.PickOptionRequest.Option;
/frameworks/base/cmds/idmap2/include/idmap2/
DCommandLineOptions.h55 struct Option { struct
68 mutable std::vector<Option> options_; argument
/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java261 public Bitmap getFrameAtTime(long timeUs, @Option int option) { in getFrameAtTime()
306 long timeUs, @Option int option, int dstWidth, int dstHeight) { in getScaledFrameAtTime()
752 public @interface Option {} annotation in MediaMetadataRetriever
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractorCallback.aidl31 in VoiceInteractor.PickOptionRequest.Option[] selections, in Bundle result); in deliverPickOptionResult()
DIVoiceInteractor.aidl34 in VoiceInteractor.PickOptionRequest.Option[] options, in Bundle extras); in startPickOption()
DResolverActivity.java29 import android.app.VoiceInteractor.PickOptionRequest.Option;
469 final Option[] options = new Option[mAdapter.getCount()];
485 Option optionForChooserTarget(TargetInfo target, int index) {
486 return new Option(target.getDisplayLabel(), index);
2283 public PickTargetOptionRequest(@Nullable Prompt prompt, Option[] options,
2299 public void onPickOptionResult(boolean finished, Option[] selections, Bundle result) {
/frameworks/compile/slang/
Drs_cc_options.cpp61 PREFIX, NAME, HELPTEXT, METAVAR, OPT_##ID, llvm::opt::Option::KIND##Class, \
139 if (A->getOption().getKind() == llvm::opt::Option::InputClass) in ParseArguments()
269 slangAssert(OptParser->getOptionKind(Opt) == llvm::opt::Option::FlagClass); in ParseArguments()
DRSCCOptions.td24 include "llvm/Option/OptParser.td"
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java196 VoiceInteractor.PickOptionRequest.Option[] options, Bundle extras) {
547 final VoiceInteractor.PickOptionRequest.Option[] mOptions;
551 VoiceInteractor.PickOptionRequest.Option[] options, Bundle extras) { in PickOptionRequest()
581 public VoiceInteractor.PickOptionRequest.Option[] getOptions() { in getOptions()
586 VoiceInteractor.PickOptionRequest.Option[] selections, Bundle result) { in sendPickOptionResult()
607 VoiceInteractor.PickOptionRequest.Option[] selections, Bundle result) { in sendIntermediatePickOptionResult()
619 VoiceInteractor.PickOptionRequest.Option[] selections, Bundle result) { in sendPickOptionResult()
630 VoiceInteractor.PickOptionRequest.Option op = mOptions[i]; in dump()
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp64 enum Option { enum in __anon976c69700111::Driver
129 llvm::opt::Option::KIND ## Class, PARAM, FLAGS, kOpt_ ## GROUP, \
DOptions.td9 include "llvm/Option/OptParser.td"
/frameworks/base/proto/src/
Dipconnectivity.proto411 // The lifetime of an option (e.g., the Prefix Information Option) is the
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto5635 …// OPEN: Settings > Sound & notification > Do Not Disturb > Duration -> Time Option (ie: for one h…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9522 Landroid/app/VoiceInteractor$PickOptionRequest$Option;-><init>(Landroid/os/Parcel;)V
9523 Landroid/app/VoiceInteractor$PickOptionRequest$Option;-><init>(Ljava/lang/CharSequence;)V
9524 Landroid/app/VoiceInteractor$PickOptionRequest$Option;->mExtras:Landroid/os/Bundle;
9525 Landroid/app/VoiceInteractor$PickOptionRequest$Option;->mIndex:I
9526 Landroid/app/VoiceInteractor$PickOptionRequest$Option;->mLabel:Ljava/lang/CharSequence;
9527 Landroid/app/VoiceInteractor$PickOptionRequest$Option;->mSynonyms:Ljava/util/ArrayList;
9528 …(Ljava/lang/CharSequence;[Landroid/app/VoiceInteractor$PickOptionRequest$Option;Landroid/os/Bundle…
9532 …oiceInteractor$PickOptionRequest;->mOptions:[Landroid/app/VoiceInteractor$PickOptionRequest$Option;
31144 Landroid/icu/util/BytesTrieBuilder;->build(Landroid/icu/util/StringTrieBuilder$Option;)Landroid/icu…
31145 Landroid/icu/util/BytesTrieBuilder;->buildByteBuffer(Landroid/icu/util/StringTrieBuilder$Option;)Lj…
[all …]
Dpreloaded-classes6233 java.security.cert.PKIXRevocationChecker$Option
Dboot-image-profile.txt27778 HSPLjava/security/cert/PKIXRevocationChecker$Option;-><init>(Ljava/lang/String;I)V
27779 …PLjava/security/cert/PKIXRevocationChecker$Option;->values()[Ljava/security/cert/PKIXRevocationChe…
39294 Ljava/security/cert/PKIXRevocationChecker$Option;
/frameworks/base/non-updatable-api/
Dcurrent.txt6384 …pp.VoiceInteractor.Prompt, android.app.VoiceInteractor.PickOptionRequest.Option[], @Nullable andro…
6385 …nPickOptionResult(boolean, android.app.VoiceInteractor.PickOptionRequest.Option[], android.os.Bund…
6388 …public static final class VoiceInteractor.PickOptionRequest.Option implements android.os.Parcelabl…
6389 ctor public VoiceInteractor.PickOptionRequest.Option(CharSequence, int);
6390 method public android.app.VoiceInteractor.PickOptionRequest.Option addSynonym(CharSequence);
6399 … final android.os.Parcelable.Creator<android.app.VoiceInteractor.PickOptionRequest.Option> CREATOR;
42339 method public android.app.VoiceInteractor.PickOptionRequest.Option[] getOptions();
42342 …termediatePickOptionResult(android.app.VoiceInteractor.PickOptionRequest.Option[], android.os.Bund…
42343 …method public void sendPickOptionResult(android.app.VoiceInteractor.PickOptionRequest.Option[], an…
66600 method public java.util.Set<java.security.cert.PKIXRevocationChecker.Option> getOptions();
[all …]
/frameworks/base/api/
Dcurrent.txt6384 …pp.VoiceInteractor.Prompt, android.app.VoiceInteractor.PickOptionRequest.Option[], @Nullable andro…
6385 …nPickOptionResult(boolean, android.app.VoiceInteractor.PickOptionRequest.Option[], android.os.Bund…
6388 …public static final class VoiceInteractor.PickOptionRequest.Option implements android.os.Parcelabl…
6389 ctor public VoiceInteractor.PickOptionRequest.Option(CharSequence, int);
6390 method public android.app.VoiceInteractor.PickOptionRequest.Option addSynonym(CharSequence);
6399 … final android.os.Parcelable.Creator<android.app.VoiceInteractor.PickOptionRequest.Option> CREATOR;
42483 method public android.app.VoiceInteractor.PickOptionRequest.Option[] getOptions();
42486 …termediatePickOptionResult(android.app.VoiceInteractor.PickOptionRequest.Option[], android.os.Bund…
42487 …method public void sendPickOptionResult(android.app.VoiceInteractor.PickOptionRequest.Option[], an…
66744 method public java.util.Set<java.security.cert.PKIXRevocationChecker.Option> getOptions();
[all …]