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

123456

/frameworks/base/tools/aidl/
H A Doptions.cpp2 #include "options.h"
35 parse_options(int argc, const char* const* argv, Options *options) argument
43 options->outputFileName = argv[2];
45 options->filesToPreprocess.push_back(argv[i]);
47 options->task = PREPROCESS_AIDL;
51 options->task = COMPILE_AIDL;
52 options->failOnParcelable = false;
53 options->autoDepFile = false;
64 options->importPaths.push_back(s+2);
72 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
34 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, const document_item_type* items) argument
584 if (options.autoDepFile) {
585 string fileName = options.outputFileName + ".d";
588 to = fopen(options.depFileName.c_str(), "wb");
602 fprintf(to, "%s: \\\n", options.outputFileName.c_str());
607 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slash);
626 generate_outputFileName2(const Options& options, cons argument
658 generate_outputFileName(const Options& options, const document_item_type* items) argument
787 compile_aidl(Options& options) argument
911 preprocess_aidl(const Options& options) argument
982 Options options; local
[all...]
/frameworks/ex/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/core/jni/android/graphics/
H A DAutoDecodeCancel.h9 AutoDecoderCancel(jobject options, SkImageDecoder* decoder);
12 static bool RequestCancel(jobject options);
17 jobject fJOptions; // java options object
H A DBitmapRegionDecoder.cpp183 int start_x, int start_y, int width, int height, jobject options) {
190 if (NULL != options) {
191 sampleSize = env->GetIntField(options, gOptions_sampleSizeFieldID);
193 env->SetIntField(options, gOptions_widthFieldID, -1);
194 env->SetIntField(options, gOptions_heightFieldID, -1);
195 env->SetObjectField(options, gOptions_mimeFieldID, 0);
197 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID);
199 doDither = env->GetBooleanField(options, gOptions_ditherFieldID);
200 preferQualityOverSpeed = env->GetBooleanField(options,
208 AutoDecoderCancel adc(options, decode
182 nativeDecodeRegion(JNIEnv* env, jobject, SkBitmapRegionDecoder *brd, int start_x, int start_y, int width, int height, jobject options) argument
[all...]
H A DBitmapFactory.cpp81 static bool optionsPurgeable(JNIEnv* env, jobject options) { argument
82 return options != NULL &&
83 env->GetBooleanField(options, gOptions_purgeableFieldID);
86 static bool optionsShareable(JNIEnv* env, jobject options) { argument
87 return options != NULL &&
88 env->GetBooleanField(options, gOptions_shareableFieldID);
91 static bool optionsJustBounds(JNIEnv* env, jobject options) { argument
92 return options != NULL &&
93 env->GetBooleanField(options, gOptions_justBoundsFieldID);
115 jobject options, boo
114 doDecode(JNIEnv* env, SkStream* stream, jobject padding, jobject options, bool allowPurgeable, bool forcePurgeable = false) argument
265 nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, jobject padding, jobject options) argument
356 nativeDecodeAsset(JNIEnv* env, jobject clazz, jint native_asset, jobject padding, jobject options) argument
379 nativeDecodeByteArray(JNIEnv* env, jobject, jbyteArray byteArray, int offset, int length, jobject options) argument
[all...]
/frameworks/base/tests/DumpRenderTree/assets/
H A Drun_page_cycler.py21 def main(options, args):
28 if options.verbose:
47 if options.adb_options:
48 adb_cmd += options.adb_options
56 if options.time_out_ms:
57 timeout_ms = options.time_out_ms
68 if options.suite:
69 run_load_test_cmd += " -e suite %s -e forward %s " % (options.suite,
74 if options.iteration:
75 run_load_test_cmd += " -e iteration %s" % 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/tests/DumpRenderTree2/assets/
H A Drun_layout_tests.py28 def main(path, options):
32 if run_apache2.main("restart", options) == False:
37 if options.serial:
38 adb_cmd += " -s " + options.serial
78 if options.show_results_in_browser != "false":
82 option_parser = optparse.OptionParser(usage="Usage: %prog [options] test-relative-path")
88 options, args = option_parser.parse_args();
93 logging.fatal("Usage: run_layout_tests.py [options] test-relative-path")
99 main(path, options);
/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
207 extractThumbnail( Bitmap source, int width, int height, int options) argument
245 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument
263 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument
297 makeBitmap(int minSideLength, int maxNumOfPixels, Uri uri, ContentResolver cr, ParcelFileDescriptor pfd, BitmapFactory.Options options) argument
351 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/core/java/com/android/server/
H A DNetworkManagementSocketTagger.java73 final SocketTags options = threadSocketTags.get();
76 + Integer.toHexString(options.statsTag) + ", statsUid=" + options.statsUid);
78 // TODO: skip tagging when options would be no-op
79 tagSocketFd(fd, options.statsTag, options.statsUid);
103 final SocketTags options = threadSocketTags.get();
105 if (options.statsTag == -1 && options.statsUid == -1) return;
/frameworks/ex/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/java/android/app/backup/
H A DWallpaperBackupHelper.java109 BitmapFactory.Options options = new BitmapFactory.Options();
110 options.inJustDecodeBounds = true;
111 BitmapFactory.decodeFile(STAGE_FILE, options);
113 if (DEBUG) Slog.d(TAG, "Restoring wallpaper image w=" + options.outWidth
114 + " h=" + options.outHeight);
122 double widthRatio = mDesiredMinWidth / options.outWidth;
123 double heightRatio = mDesiredMinHeight / options.outHeight;
/frameworks/base/icu4j/java/android/icu/text/
H A DArabicShaping.java61 private final int options; field in class:ArabicShaping
86 * does not validate the text against the options, for example,
94 * @throws ArabicShapingException if the text cannot be converted according to the options.
116 /* Validate input options */
117 if ( ((options&TASHKEEL_MASK) > 0) &&
118 !(((options & TASHKEEL_MASK)==TASHKEEL_BEGIN) ||
119 ((options & TASHKEEL_MASK)==TASHKEEL_END ) ||
120 ((options & TASHKEEL_MASK)==TASHKEEL_RESIZE )||
121 ((options & TASHKEEL_MASK)==TASHKEEL_REPLACE_BY_TATWEEL)) ){
127 if(((options
198 ArabicShaping(int options) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DLargeBitmap.java62 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) { argument
67 rect.right - rect.left, rect.bottom - rect.top, options);
124 BitmapFactory.Options options);
122 nativeDecodeRegion(int lbm, int start_x, int start_y, int width, int height, BitmapFactory.Options options) argument
/frameworks/base/media/libstagefright/
H A DMediaSourceSplitter.cpp122 MediaBuffer **buffer, const MediaSource::ReadOptions *options) {
145 readFromSource_lock(options);
168 void MediaSourceSplitter::readFromSource_lock(const MediaSource::ReadOptions *options) { argument
169 mLastReadStatus = mSource->read(&mLastReadMediaBuffer , options);
226 MediaBuffer **buffer, const ReadOptions *options) {
227 return mSplitter->read(mClientId, buffer, options);
121 read(int clientId, MediaBuffer **buffer, const MediaSource::ReadOptions *options) argument
225 read( MediaBuffer **buffer, const ReadOptions *options) argument
/frameworks/base/include/media/stagefright/
H A DMediaSourceSplitter.h131 MediaBuffer **buffer, const MediaSource::ReadOptions *options = NULL);
138 void readFromSource_lock(const MediaSource::ReadOptions *options);
176 MediaBuffer **buffer, const ReadOptions *options = NULL);
/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.java125 * Return the index of the value of 'attribute' in the list 'options'.
129 * @param options List of strings whose values we are checking against.
133 * @return Index in to 'options' or defaultValue.
136 String[] options, int defaultValue);
208 * 'options'.
211 * @param options List of strings whose values we are checking against.
215 * @return Index in to 'options' or defaultValue.
217 public int getAttributeListValue(int index, String[] options, int defaultValue); argument
135 getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) argument

Completed in 4490 milliseconds

123456