Searched refs:options (Results 76 - 100 of 444) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/include/media/stagefright/
H A DCallbackMediaSource.h36 MediaBufferBase **buffer, const ReadOptions *options = NULL);
/frameworks/base/core/java/android/util/
H A DXmlPullAttributes.java62 String[] options, int defaultValue) {
64 getAttributeValue(namespace, attribute), options, defaultValue);
101 String[] options, int defaultValue) {
103 getAttributeValue(index), options, defaultValue);
61 getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) argument
100 getAttributeListValue(int index, String[] options, int defaultValue) argument
H A DAttributeSet.java151 * Return the index of the value of 'attribute' in the list 'options'.
155 * @param options List of strings whose values we are checking against.
159 * @return Index in to 'options' or defaultValue.
162 String[] options, int defaultValue);
234 * 'options'.
237 * @param options List of strings whose values we are checking against.
241 * @return Index in to 'options' or defaultValue.
243 public int getAttributeListValue(int index, String[] options, int defaultValue); argument
161 getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) argument
/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java177 * @param options null-ok; Options that control downsampling.
187 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) { argument
188 BitmapFactory.Options.validate(options);
195 rect.right - rect.left, rect.bottom - rect.top, options);
265 BitmapFactory.Options options);
263 nativeDecodeRegion(long lbm, int start_x, int start_y, int width, int height, BitmapFactory.Options options) argument
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DStartVoiceInteractionActivity.java77 VoiceInteractor.PickOptionRequest.Option[] options =
79 options[0] = new VoiceInteractor.PickOptionRequest.Option("One");
80 options[1] = new VoiceInteractor.PickOptionRequest.Option("Two");
81 options[2] = new VoiceInteractor.PickOptionRequest.Option("Three");
82 options[3] = new VoiceInteractor.PickOptionRequest.Option("Four");
83 options[4] = new VoiceInteractor.PickOptionRequest.Option("Five");
84 VoiceInteractor.PickOptionRequest req = new TestPickOption(options);
181 public TestPickOption(Option[] options) { argument
182 super(new VoiceInteractor.Prompt("Need to pick something"), options, null);
/frameworks/wilhelm/tests/sandbox/
H A Dengine.c86 SLEngineOption options[2]; local
87 options[0].feature = 0x12345;
88 options[0].data = 0;
91 result = slCreateEngine(&engineObject, 1, options, 0, NULL, NULL);
103 printf("Create an engine and politely request a non-sensical interface with options\n");
105 options[0].feature = SL_ENGINEOPTION_THREADSAFE;
106 options[0].data = (SLuint32) SL_BOOLEAN_TRUE;
107 options[1].feature = SL_ENGINEOPTION_LOSSOFCONTROL;
108 options[1].data = (SLuint32) SL_BOOLEAN_FALSE;
109 result = slCreateEngine(&engineObject, 2, options, numSupportedInterface
[all...]
/frameworks/compile/mclinker/tools/mcld/
H A DMain.cpp272 config_.options().setColor(res);
278 config_.options().setTrace(args.hasArg(kOpt_Trace));
289 config_.options().setVerbose(level);
301 config_.options().setMaxErrorNum(num);
313 config_.options().setMaxWarnNum(num);
317 config_.options().setWarnSharedTextrel(args.hasArg(kOpt_WarnSharedTextrel));
395 config_.options().setBsymbolic(args.hasArg(kOpt_Bsymbolic));
398 config_.options().setBgroup(args.hasArg(kOpt_Bgroup));
402 config_.options().setSOName(arg->getValue());
407 config_.options()
[all...]
/frameworks/base/tools/aapt2/cmd/
H A DDump.cpp124 const DumpOptions& options) {
169 if (!options.file_to_dump_path) {
175 Debug::PrintTable(table, options.print_options, &printer);
179 io::IFile* file = zip->FindFile(options.file_to_dump_path.value());
182 << "file '" << options.file_to_dump_path.value()
228 Debug::PrintTable(table, options.print_options, &printer);
312 DumpOptions options; local
318 &options.file_to_dump_path)
327 options.print_options.show_sources = true;
328 options
123 TryDumpFile(IAaptContext* context, const std::string& file_path, const DumpOptions& options) argument
[all...]
H A DLink.cpp91 // Java/Proguard options.
112 // Static lib options.
115 // AndroidManifest.xml massaging options.
121 // Flattening options.
124 // Split APK options.
129 // Stable ID options.
285 XmlFlattenerOptions options = {}; local
286 options.keep_raw_values = keep_raw_values;
287 options.use_utf16 = utf16;
288 XmlFlattener flattener(&buffer, options);
388 ResourceFileFlattener(const ResourceFileFlattenerOptions& options, IAaptContext* context, proguard::KeepSet* keep_set) argument
776 LinkCommand(LinkContext* context, const LinkOptions& options) argument
1172 JavaClassGeneratorOptions options = template_options; local
1185 JavaClassGeneratorOptions options = template_options; local
1197 JavaClassGeneratorOptions options = template_options; local
1205 JavaClassGeneratorOptions options = template_options; local
2030 LinkOptions options; local
[all...]
H A DCompile.cpp152 static bool LoadInputFilesFromDir(IAaptContext* context, const CompileOptions& options, argument
154 const std::string& root_dir = options.res_dir.value();
208 static bool CompileTable(IAaptContext* context, const CompileOptions& options, argument
224 parser_options.error_on_positional_arguments = !options.legacy_mode;
236 if (options.pseudolocalize) {
283 if (options.generate_text_symbols_path) {
284 io::FileOutputStream fout_text(options.generate_text_symbols_path.value());
289 << options.generate_text_symbols_path.value()
403 static bool CompileXml(IAaptContext* context, const CompileOptions& options, argument
476 if (options
503 CompilePng(IAaptContext* context, const CompileOptions& options, const ResourcePathData& path_data, IArchiveWriter* writer, const std::string& output_path) argument
615 CompileFile(IAaptContext* context, const CompileOptions& options, const ResourcePathData& path_data, IArchiveWriter* writer, const std::string& output_path) argument
700 CompileOptions options; local
[all...]
/frameworks/support/slices/view/src/main/java/androidx/slice/
H A DSliceXml.java217 String encoding, SliceUtils.SerializeOptions options) throws IOException {
223 serialize(s, context, options, serializer, false, null);
232 private static void serialize(Slice s, Context context, SliceUtils.SerializeOptions options, argument
243 serialize(item, context, options, serializer);
251 SliceUtils.SerializeOptions options, XmlSerializer serializer) throws IOException {
253 options.checkThrow(format);
266 if (options.getActionMode() == SliceUtils.SerializeOptions.MODE_CONVERT) {
267 serialize(item.getSlice(), context, options, serializer, true,
269 } else if (options.getActionMode() == SliceUtils.SerializeOptions.MODE_THROW) {
277 if (options
216 serializeSlice(Slice s, Context context, OutputStream output, String encoding, SliceUtils.SerializeOptions options) argument
250 serialize(SliceItem item, Context context, SliceUtils.SerializeOptions options, XmlSerializer serializer) argument
354 serializeIcon(XmlSerializer serializer, IconCompat icon, Context context, SliceUtils.SerializeOptions options) argument
[all...]
/frameworks/av/media/libstagefright/
H A DRemoteMediaSource.cpp53 MediaBufferBase **buffer, const MediaSource::ReadOptions *options) {
54 return mSource->read(buffer, reinterpret_cast<const MediaSource::ReadOptions*>(options));
52 read( MediaBufferBase **buffer, const MediaSource::ReadOptions *options) argument
/frameworks/base/core/java/android/service/trust/
H A DITrustAgentService.aidl32 oneway void onConfigure(in List<PersistableBundle> options, IBinder token);
/frameworks/base/tools/aapt2/compile/
H A DPng.h49 const PngOptions& options);
101 const PngOptions& options);
/frameworks/compile/mclinker/include/mcld/
H A DLinkerConfig.h25 * options() - the general options
27 * attribute() - the attribute options
63 const GeneralOptions& options() const { return m_Options; } function in class:mcld::LinkerConfig
64 GeneralOptions& options() { return m_Options; } function in class:mcld::LinkerConfig
/frameworks/data-binding/baseLibrary/
H A Dbuild.gradle66 options.addStringOption('Xdoclint:none', '-quiet')
/frameworks/data-binding/compilerCommon/
H A DXMLParser.g432 options { tokenVocab=XMLLexer; }
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DNopAttributeSet.java61 public int getAttributeListValue(String namespace, String attribute, String[] options, int argument
95 public int getAttributeListValue(int index, String[] options, int defaultValue) { argument
/frameworks/base/core/java/android/accounts/
H A DIAccountManager.aidl65 in Bundle options);
68 in Bundle options);
71 in Bundle options, int userId);
73 String authTokenType, boolean expectActivityLaunch, in Bundle options);
77 in Bundle options, boolean expectActivityLaunch, int userId);
95 in Bundle options);
99 String authTokenType, boolean expectActivityLaunch, in Bundle options);
H A DAbstractAccountAuthenticator.java136 * Bundle key used for the {@link Bundle} options in session bundle. This is
158 String authTokenType, String[] features, Bundle options)
169 accountType, authTokenType, features, options);
189 Account account, Bundle options) throws RemoteException {
196 new AccountAuthenticatorResponse(response), account, options);
375 String accountType, String authTokenType, String[] features, Bundle options)
387 features, options);
553 * @param options a Bundle of authenticator-specific options. It always contains
569 String authTokenType, String[] requiredFeatures, Bundle options)
157 addAccount(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument
188 confirmCredentials(IAccountAuthenticatorResponse response, Account account, Bundle options) argument
374 startAddAccountSession(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument
568 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
588 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument
633 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
663 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
794 startAddAccountSession( final AccountAuthenticatorResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle options) argument
850 startUpdateCredentialsSession( final AccountAuthenticatorResponse response, final Account account, final String authTokenType, final Bundle options) argument
[all...]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DActivityManagerWrapper.java274 public void startActivityFromRecentsAsync(Task.TaskKey taskKey, ActivityOptions options, argument
276 startActivityFromRecentsAsync(taskKey, options, WINDOWING_MODE_UNDEFINED,
286 public void startActivityFromRecentsAsync(Task.TaskKey taskKey, ActivityOptions options, argument
292 if (options == null) {
293 options = ActivityOptions.makeBasic();
295 options.setLaunchWindowingMode(WINDOWING_MODE_SPLIT_SCREEN_SECONDARY);
298 if (options == null) {
299 options = ActivityOptions.makeBasic();
301 options.setLaunchWindowingMode(windowingMode);
302 options
333 startActivityFromRecents(int taskId, ActivityOptions options) argument
[all...]
/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java283 public void addSubscription(final String id, final IBinder token, final Bundle options, argument
298 MediaBrowserService.this.addSubscription(id, connection, token, options);
433 * @param options The bundle of service-specific arguments sent from the media
438 @NonNull Result<List<MediaBrowser.MediaItem>> result, @NonNull Bundle options) {
440 // override onLoadChildren() with options, onLoadChildren() without options will be used
441 // instead, and the options will be applied in the implementation of result.onResultSent().
567 * @param options The bundle of service-specific arguments to send
571 public void notifyChildrenChanged(@NonNull String parentId, @NonNull Bundle options) { argument
572 if (options
437 onLoadChildren(@onNull String parentId, @NonNull Result<List<MediaBrowser.MediaItem>> result, @NonNull Bundle options) argument
578 notifyChildrenChangedInternal(final String parentId, final Bundle options) argument
622 addSubscription(String id, ConnectionRecord connection, IBinder token, Bundle options) argument
670 performLoadChildren(final String parentId, final ConnectionRecord connection, final Bundle options) argument
713 applyOptions(List<MediaBrowser.MediaItem> list, final Bundle options) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DLaunchParamsController.java74 * @param options The {@link ActivityOptions} specified for the activity.
78 ActivityRecord source, ActivityOptions options, LaunchParams result) {
89 switch(modifier.onCalculate(task, layout, activity, source, options, mTmpCurrent,
111 return layoutTask(task, layout, null /*activity*/, null /*source*/, null /*options*/);
115 ActivityRecord source, ActivityOptions options) {
116 calculate(task, layout, activity, source, options, mTmpParams);
244 * @param options The {@link ActivityOptions} specified for the activity.
253 ActivityRecord source, ActivityOptions options, LaunchParams currentParams,
77 calculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, ActivityRecord source, ActivityOptions options, LaunchParams result) argument
114 layoutTask(TaskRecord task, WindowLayout layout, ActivityRecord activity, ActivityRecord source, ActivityOptions options) argument
252 onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, ActivityRecord source, ActivityOptions options, LaunchParams currentParams, LaunchParams outParams) argument
/frameworks/base/tests/JankBench/app/src/main/jni/
H A Dtest.cpp39 jlong Java_com_android_benchmark_synthetic_TestInterface_nInit(JNIEnv *_env, jobject _this, jlong options) { argument
58 JNIEnv *_env, jobject _this, jlong _b, jlong options) {
60 return b->runPowerManagementTest(options);
64 JNIEnv *_env, jobject _this, jlong _b, jlong options) {
66 return b->runCPUHeatSoak(options);
57 Java_com_android_benchmark_synthetic_TestInterface_nRunPowerManagementTest( JNIEnv *_env, jobject _this, jlong _b, jlong options) argument
63 Java_com_android_benchmark_synthetic_TestInterface_nRunCPUHeatSoakTest( JNIEnv *_env, jobject _this, jlong _b, jlong options) argument
/frameworks/compile/mclinker/lib/LD/
H A DTextDiagnosticPrinter.cpp84 if (m_Config.options().verbose() >= 0) {
94 if (m_Config.options().verbose() >= 1) {
104 if (m_Config.options().verbose() >= 2) {
136 int16_t error_limit = m_Config.options().maxErrorNum();
149 int16_t warning_limit = m_Config.options().maxWarnNum();

Completed in 611 milliseconds

1234567891011>>