Searched refs:options (Results 1 - 25 of 75) sorted by relevance

123

/frameworks/base/tools/aidl/
H A Doptions.cpp2 #include "options.h"
34 parse_options(int argc, const char* const* argv, Options *options) argument
42 options->outputFileName = argv[2];
44 options->filesToPreprocess.push_back(argv[i]);
46 options->task = PREPROCESS_AIDL;
50 options->task = COMPILE_AIDL;
51 options->failOnParcelable = false;
62 options->importPaths.push_back(s+2);
70 options->depFileName = s+2;
78 options
[all...]
H A Doptions_test.cpp2 #include "options.h"
66 Options options; local
67 int result = parse_options(argc, answer.argv, &options);
82 if (!match_arrays(answer.systemSearchPath, options.systemSearchPath)) {
84 print_array(" ", options.systemSearchPath);
91 if (!match_arrays(answer.localSearchPath, options.localSearchPath)) {
93 print_array(" ", options.localSearchPath);
100 if (answer.inputFileName != options.inputFileName) {
101 cout << "mismatch: inputFileName: got " << options.inputFileName
107 if (answer.nativeLanguage != options
[all...]
H A Doptions.h15 // This struct is the parsed version of the command line options
33 int parse_options(int argc, const char* const* argv, Options *options);
H A Daidl.cpp3 #include "options.h"
535 exactly_one_interface(const char* filename, const document_item_type* items, const Options& options, argument
560 if (options.failOnParcelable) {
578 generate_dep_file(const Options& options) argument
583 FILE* to = fopen(options.depFileName.c_str(), "wb");
594 fprintf(to, "%s: \\\n", options.outputFileName.c_str());
595 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slash);
614 generate_outputFileName(const Options& options, const document_item_type* items) argument
624 result = options.outputBaseFolder;
759 compile_aidl(const Options& options) argument
880 preprocess_aidl(const Options& options) argument
953 Options options; local
[all...]
H A DAndroid.mk13 options.cpp \
/frameworks/base/common/tests/src/com/android/common/
H A DOperationSchedulerTest.java47 OperationScheduler.Options options = new OperationScheduler.Options();
48 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options));
54 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options));
58 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options));
60 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options));
64 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options));
66 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options));
73 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options));
74 options.backoffFixedMillis = 1000000;
75 options
[all...]
/frameworks/base/tests/DumpRenderTree/assets/
H A Drun_page_cycler.py21 def main(options, args):
28 if options.verbose:
41 if options.adb_options:
42 adb_cmd += options.adb_options
50 if options.time_out_ms:
51 timeout_ms = options.time_out_ms
61 if options.drawtime:
64 if options.save_image:
65 run_load_test_cmd += " -e saveimage \"%s\"" % options.save_image
90 results_dir = options
[all...]
H A Drun_reliability_tests.py104 def main(options, args):
109 if options.verbose:
121 if not options.crash_file:
125 crashed_file = options.crash_file
127 if not options.timeout_file:
131 timedout_file = options.timeout_file
133 if not options.delay:
136 manual_delay = options.delay
138 if not options.bugreport:
141 bugreport_dir = options
[all...]
H A Drun_layout_tests.py24 Some other options are:
27 --adb-options="-e" passes option string to adb
138 def main(options, args):
142 options: a dictionary of command line options
148 if options.verbose:
160 if options.adb_options:
161 adb_cmd += options.adb_options
164 if options.refresh_test_list:
180 if options
[all...]
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java109 BitmapFactory.Options options = new BitmapFactory.Options();
110 options.inSampleSize = 1;
111 options.inJustDecodeBounds = true;
112 BitmapFactory.decodeFileDescriptor(fd, null, options);
113 if (options.mCancel || options.outWidth == -1
114 || options.outHeight == -1) {
117 options.inSampleSize = computeSampleSize(
118 options, targetSize, maxPixels);
119 options
192 extractThumbnail( Bitmap source, int width, int height, int options) argument
230 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument
248 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument
282 makeBitmap(int minSideLength, int maxNumOfPixels, Uri uri, ContentResolver cr, ParcelFileDescriptor pfd, BitmapFactory.Options options) argument
336 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, int options) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DIAccountAuthenticator.aidl32 String authTokenType, in String[] requiredFeatures, in Bundle options);
38 in Bundle options);
44 String authTokenType, in Bundle options);
55 String authTokenType, in Bundle options);
H A DIAccountManager.aidl47 in Bundle options);
50 in Bundle options);
52 String authTokenType, boolean expectActivityLaunch, in Bundle options);
56 in Bundle options, boolean expectActivityLaunch);
/frameworks/base/common/java/com/android/common/
H A DOperationScheduler.java37 /** Tunable parameter options for {@link #getNextTimeMillis}. */
76 * Parse scheduler options supplied in this string form:
86 * The default options: <code>backoff=0+5 max=86400 min=0 period=0</code><br>
90 * @param spec describing some or all scheduler options.
91 * @param options to update with parsed values.
92 * @return the options passed in (for convenience)
95 public static Options parseOptions(String spec, Options options) argument
102 options.backoffFixedMillis = parseSeconds(param.substring(8));
105 options.backoffFixedMillis = parseSeconds(param.substring(8, plus));
107 options
135 getNextTimeMillis(Options options) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp45 AutoDecoderCancel(jobject options, SkImageDecoder* decoder);
48 static bool RequestCancel(jobject options);
53 jobject fJOptions; // java options object
310 static bool optionsPurgeable(JNIEnv* env, jobject options) { argument
311 return options != NULL &&
312 env->GetBooleanField(options, gOptions_purgeableFieldID);
315 static bool optionsShareable(JNIEnv* env, jobject options) { argument
316 return options != NULL &&
317 env->GetBooleanField(options, gOptions_shareableFieldID);
320 static bool optionsReportSizeToVM(JNIEnv* env, jobject options) { argument
349 doDecode(JNIEnv* env, SkStream* stream, jobject padding, jobject options, bool allowPurgeable, bool forcePurgeable = false) argument
474 nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, jobject padding, jobject options) argument
583 nativeDecodeAsset(JNIEnv* env, jobject clazz, jint native_asset, jobject padding, jobject options) argument
608 nativeDecodeByteArray(JNIEnv* env, jobject, jbyteArray byteArray, int offset, int length, jobject options) argument
[all...]
/frameworks/base/cmds/stagefright/
H A DSineSource.h20 MediaBuffer **out, const ReadOptions *options = NULL);
/frameworks/base/core/java/android/util/
H A DXmlPullAttributes.java58 String[] options, int defaultValue) {
60 getAttributeValue(namespace, attribute), options, defaultValue);
97 String[] options, int defaultValue) {
99 getAttributeValue(index), options, defaultValue);
57 getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) argument
96 getAttributeListValue(int index, String[] options, int defaultValue) argument
H A DAttributeSet.java82 * Return the index of the value of 'attribute' in the list 'options'.
85 * @param options List of strings whose values we are checking against.
89 * @return Index in to 'options' or defaultValue.
92 String[] options, int defaultValue);
159 * 'options'.
162 * @param options List of strings whose values we are checking against.
166 * @return Index in to 'options' or defaultValue.
169 String[] options, int defaultValue);
91 getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) argument
168 getAttributeListValue(int index, String[] options, int defaultValue) argument
/frameworks/base/media/libstagefright/
H A DShoutcastSource.cpp90 MediaBuffer **out, const ReadOptions *options) {
96 if (options && options->getSeekTo(&seekTimeUs)) {
89 read( MediaBuffer **out, const ReadOptions *options) argument
/frameworks/base/include/media/stagefright/
H A DAudioSource.h43 MediaBuffer **buffer, const ReadOptions *options = NULL);
H A DJPEGSource.h36 MediaBuffer **buffer, const ReadOptions *options = NULL);
H A DMediaSource.h58 MediaBuffer **buffer, const ReadOptions *options = NULL) = 0;
H A DShoutcastSource.h41 MediaBuffer **buffer, const ReadOptions *options = NULL);
/frameworks/base/media/libstagefright/codecs/amrnb/dec/
H A DAMRNBDecoder.cpp114 MediaBuffer **out, const ReadOptions *options) {
120 if (options && options->getSeekTo(&seekTimeUs)) {
134 err = mSource->read(&mInputBuffer, options);
113 read( MediaBuffer **out, const ReadOptions *options) argument
/frameworks/base/media/libstagefright/codecs/amrnb/enc/
H A DAMRNBEncoder.cpp147 MediaBuffer **out, const ReadOptions *options) {
153 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs));
157 err = mSource->read(&mInputBuffer, options);
146 read( MediaBuffer **out, const ReadOptions *options) argument
/frameworks/base/media/libstagefright/codecs/amrwb/
H A DAMRWBDecoder.cpp132 MediaBuffer **out, const ReadOptions *options) {
138 if (options && options->getSeekTo(&seekTimeUs)) {
152 err = mSource->read(&mInputBuffer, options);
131 read( MediaBuffer **out, const ReadOptions *options) argument

Completed in 307 milliseconds

123