/frameworks/base/tools/aidl/ |
H A D | options.cpp | 2 #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 D | options_test.cpp | 2 #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 D | options.h | 15 // This struct is the parsed version of the command line options 34 int parse_options(int argc, const char* const* argv, Options *options);
|
/frameworks/ex/common/tests/src/com/android/common/ |
H A D | OperationSchedulerTest.java | 47 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/compile/libbcc/lib/Support/ |
H A D | TargetLinkerConfigs.cpp | 45 // set up target dependent options 46 if (getLDInfo()->options().sysroot().empty()) { 47 getLDInfo()->options().setSysroot(gDefaultSysroot); 50 if (!getLDInfo()->options().hasDyld()) { 51 getLDInfo()->options().setDyld(gDefaultDyld); 72 // set up target dependent options 73 if (getLDInfo()->options().sysroot().empty()) { 74 getLDInfo()->options().setSysroot(gDefaultSysroot); 77 if (!getLDInfo()->options().hasDyld()) { 78 getLDInfo()->options() [all...] |
/frameworks/compile/mclinker/tools/mcld/lib/Support/ |
H A D | TargetLinkerConfigs.cpp | 38 // set up target dependent options 39 if (getLDInfo()->options().sysroot().empty()) { 40 getLDInfo()->options().setSysroot(gDefaultSysroot); 43 if (!getLDInfo()->options().hasDyld()) { 44 getLDInfo()->options().setDyld(gDefaultDyld); 65 // set up target dependent options 66 if (getLDInfo()->options().sysroot().empty()) { 67 getLDInfo()->options().setSysroot(gDefaultSysroot); 70 if (!getLDInfo()->options().hasDyld()) { 71 getLDInfo()->options() [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | AutoDecodeCancel.h | 9 AutoDecoderCancel(jobject options, SkImageDecoder* decoder); 12 static bool RequestCancel(jobject options); 17 jobject fJOptions; // java options object
|
H A D | BitmapRegionDecoder.cpp | 184 int start_x, int start_y, int width, int height, jobject options) { 192 if (NULL != options) { 193 sampleSize = env->GetIntField(options, gOptions_sampleSizeFieldID); 195 env->SetIntField(options, gOptions_widthFieldID, -1); 196 env->SetIntField(options, gOptions_heightFieldID, -1); 197 env->SetObjectField(options, gOptions_mimeFieldID, 0); 199 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID); 201 doDither = env->GetBooleanField(options, gOptions_ditherFieldID); 202 preferQualityOverSpeed = env->GetBooleanField(options, 205 tileBitmap = env->GetObjectField(options, gOptions_bitmapFieldI 183 nativeDecodeRegion(JNIEnv* env, jobject, SkBitmapRegionDecoder *brd, int start_x, int start_y, int width, int height, jobject options) argument [all...] |
H A D | BitmapFactory.cpp | 82 static bool optionsPurgeable(JNIEnv* env, jobject options) { argument 83 return options != NULL && env->GetBooleanField(options, gOptions_purgeableFieldID); 86 static bool optionsShareable(JNIEnv* env, jobject options) { argument 87 return options != NULL && env->GetBooleanField(options, gOptions_shareableFieldID); 90 static bool optionsJustBounds(JNIEnv* env, jobject options) { argument 91 return options != NULL && env->GetBooleanField(options, gOptions_justBoundsFieldID); 159 jobject options, boo 158 doDecode(JNIEnv* env, SkStream* stream, jobject padding, jobject options, bool allowPurgeable, bool forcePurgeable = false, bool applyScale = false, float scale = 1.0f) argument 395 nativeDecodeStreamScaled(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, jobject padding, jobject options, jboolean applyScale, jfloat scale) argument 409 nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, jobject padding, jobject options) argument 489 nativeDecodeAssetScaled(JNIEnv* env, jobject clazz, jint native_asset, jobject padding, jobject options, jboolean applyScale, jfloat scale) argument 511 nativeDecodeAsset(JNIEnv* env, jobject clazz, jint native_asset, jobject padding, jobject options) argument 517 nativeDecodeByteArray(JNIEnv* env, jobject, jbyteArray byteArray, int offset, int length, jobject options) argument [all...] |
/frameworks/support/v4/jellybean/android/support/v4/content/ |
H A D | ContextCompatJellybean.java | 25 public static void startActivities(Context context, Intent[] intents, Bundle options) { argument 26 context.startActivities(intents, options);
|
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_page_cycler.py | 21 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 D | run_reliability_tests.py | 104 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...] |
/frameworks/av/media/libstagefright/timedtext/test/ |
H A D | TimedTextSRTSource_test.cpp | 150 MediaSource::ReadOptions options; local 151 options.setSeekTo(500, MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC); 152 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options); 159 MediaSource::ReadOptions options; local 160 options.setSeekTo(7 * kSecToUsec, MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC); 161 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options); 164 options.setSeekTo(8 * kSecToUsec, MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC); 165 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options); 171 MediaSource::ReadOptions options; local 172 options 186 MediaSource::ReadOptions options; local 200 MediaSource::ReadOptions options; local [all...] |
/frameworks/support/v4/jellybean/android/support/v4/app/ |
H A D | TaskStackBuilderJellybean.java | 27 Intent[] intents, int flags, Bundle options) { 28 return PendingIntent.getActivities(context, requestCode, intents, flags, options); 26 getActivitiesPendingIntent(Context context, int requestCode, Intent[] intents, int flags, Bundle options) argument
|
/frameworks/base/tests/DumpRenderTree2/assets/ |
H A D | run_layout_tests.py | 28 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 D | ThumbnailUtils.java | 111 BitmapFactory.Options options = new BitmapFactory.Options(); 112 options.inSampleSize = 1; 113 options.inJustDecodeBounds = true; 114 BitmapFactory.decodeFileDescriptor(fd, null, options); 115 if (options.mCancel || options.outWidth == -1 116 || options.outHeight == -1) { 119 options.inSampleSize = computeSampleSize( 120 options, targetSize, maxPixels); 121 options 218 extractThumbnail( Bitmap source, int width, int height, int options) argument 256 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 274 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 308 makeBitmap(int minSideLength, int maxNumOfPixels, Uri uri, ContentResolver cr, ParcelFileDescriptor pfd, BitmapFactory.Options options) argument 362 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, int options) argument [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | IAccountAuthenticator.aidl | 32 String authTokenType, in String[] requiredFeatures, in Bundle options); 38 in Bundle options); 44 String authTokenType, in Bundle options); 55 String authTokenType, in Bundle options);
|
/frameworks/base/core/java/com/android/server/ |
H A D | NetworkManagementSocketTagger.java | 67 final SocketTags options = threadSocketTags.get(); 70 + Integer.toHexString(options.statsTag) + ", statsUid=" + options.statsUid); 72 // TODO: skip tagging when options would be no-op 73 tagSocketFd(fd, options.statsTag, options.statsUid); 98 final SocketTags options = threadSocketTags.get(); 99 if (options.statsTag == -1 && options.statsUid == -1) return;
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | ContextCompat.java | 83 * @param options Additional options for how the Activity should be started. 88 Bundle options) { 91 ContextCompatJellybean.startActivities(context, intents, options); 87 startActivities(Context context, Intent[] intents, Bundle options) argument
|
/frameworks/ex/common/java/com/android/common/ |
H A D | OperationScheduler.java | 37 /** 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 D | WallpaperBackupHelper.java | 126 BitmapFactory.Options options = new BitmapFactory.Options(); 127 options.inJustDecodeBounds = true; 128 BitmapFactory.decodeFile(STAGE_FILE, options); 130 if (DEBUG) Slog.d(TAG, "Restoring wallpaper image w=" + options.outWidth 131 + " h=" + options.outHeight); 139 double widthRatio = mDesiredMinWidth / options.outWidth; 140 double heightRatio = mDesiredMinHeight / options.outHeight;
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFDynamic.cpp | 94 if (pLDInfo.options().Bsymbolic()) 149 if (pLDInfo.options().hasOrigin() || 150 pLDInfo.options().Bsymbolic() || 151 pLDInfo.options().hasNow()) { 156 if (pLDInfo.options().hasNow() || 157 pLDInfo.options().hasLoadFltr() || 158 pLDInfo.options().hasOrigin() || 159 pLDInfo.options().hasInterPose() || 160 pLDInfo.options().hasNoDefaultLib() || 161 pLDInfo.options() [all...] |
/frameworks/base/icu4j/java/android/icu/text/ |
H A D | ArabicShaping.java | 61 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/core/java/android/app/ |
H A D | TaskStackBuilder.java | 215 public void startActivities(Bundle options, UserHandle userHandle) { argument 221 mSourceContext.startActivitiesAsUser(getIntents(), options, userHandle); 227 * @param options Additional options for how the Activity should be started. 231 public void startActivities(Bundle options) { argument 232 startActivities(options, new UserHandle(UserHandle.myUserId())); 260 * @param options Additional options for how the Activity should be started. 266 public PendingIntent getPendingIntent(int requestCode, int flags, Bundle options) { argument 273 flags, options); 279 getPendingIntent(int requestCode, int flags, Bundle options, UserHandle user) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | LargeBitmap.java | 62 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
|