/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...] |
/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/support/v4/jellybean/android/support/v4/app/ |
H A D | ActivityCompatJB.java | 25 public static void startActivity(Context context, Intent intent, Bundle options) { argument 26 context.startActivity(intent, options); 29 public static void startActivityForResult(Activity activity, Intent intent, int requestCode, Bundle options) { argument 30 activity.startActivityForResult(intent, requestCode, options);
|
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/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 404 nativeDecodeStreamScaled(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, jobject padding, jobject options, jboolean applyScale, jfloat scale) argument 418 nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, jobject padding, jobject options) argument 498 nativeDecodeAssetScaled(JNIEnv* env, jobject clazz, jint native_asset, jobject padding, jobject options, jboolean applyScale, jfloat scale) argument 520 nativeDecodeAsset(JNIEnv* env, jobject clazz, jint native_asset, jobject padding, jobject options) argument 526 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/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/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/compile/mclinker/lib/Target/ |
H A D | ELFEmulation.cpp | 77 if (!pConfig.options().nostdlib()) { 81 pConfig.options().directories().insert("=/usr/lib"); 84 pConfig.options().directories().insert("=/lib"); 85 pConfig.options().directories().insert("=/usr/lib");
|
H A D | ELFDynamic.cpp | 104 if (m_Config.options().Bsymbolic()) 164 if (m_Config.options().hasOrigin()) 166 if (m_Config.options().Bsymbolic()) 168 if (m_Config.options().hasNow()) 176 if ((m_Config.options().hasNewDTags() && 0x0 != dt_flags) || 183 if (m_Config.options().hasNow() || 184 m_Config.options().hasLoadFltr() || 185 m_Config.options().hasOrigin() || 186 m_Config.options().hasInterPose() || 187 m_Config.options() [all...] |
/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/compile/libbcc/lib/Support/ |
H A D | LinkerConfig.cpp | 163 mLDConfig->options().setBsymbolic(pEnable); 168 mLDConfig->options().setDefineCommon(pEnable); 173 mLDConfig->options().setSOName(pSOName); 178 mLDConfig->options().setDyld(pDyld); 183 mLDConfig->options().setSysroot(mcld::sys::fs::Path(pSysRoot)); 191 mLDConfig->options().addZOption(option); 195 mLDConfig->options().addZOption(option); 200 mLDConfig->options().addZOption(option); 205 mLDConfig->options().addZOption(option); 209 mLDConfig->options() [all...] |
H A D | TargetLinkerConfigs.cpp | 41 // set up target-dependent options 54 // set up target dependent options 55 if (getLDConfig()->options().sysroot().empty()) { 56 getLDConfig()->options().setSysroot(gDefaultSysroot); 59 if (!getLDConfig()->options().hasDyld()) { 60 getLDConfig()->options().setDyld(gDefaultDyld); 83 // set up target-dependent options 96 // set up target dependent options 97 if (getLDConfig()->options().sysroot().empty()) { 98 getLDConfig()->options() [all...] |
/frameworks/compile/mclinker/tools/mcld/lib/Support/ |
H A D | LinkerConfig.cpp | 156 mLDConfig->options().setBsymbolic(pEnable); 161 mLDConfig->options().setDefineCommon(pEnable); 166 mLDConfig->options().setSOName(pSOName); 171 mLDConfig->options().setDyld(pDyld); 176 mLDConfig->options().setSysroot(mcld::sys::fs::Path(pSysRoot)); 184 mLDConfig->options().addZOption(option); 188 mLDConfig->options().addZOption(option); 193 mLDConfig->options().addZOption(option); 198 mLDConfig->options().addZOption(option); 202 mLDConfig->options() [all...] |
H A D | TargetLinkerConfigs.cpp | 33 // set up target-dependent options 46 // set up target dependent options 47 if (getLDConfig()->options().sysroot().empty()) { 48 getLDConfig()->options().setSysroot(gDefaultSysroot); 51 if (!getLDConfig()->options().hasDyld()) { 52 getLDConfig()->options().setDyld(gDefaultDyld); 75 // set up target-dependent options 88 // set up target dependent options 89 if (getLDConfig()->options().sysroot().empty()) { 90 getLDConfig()->options() [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}. */ 88 * Parse scheduler options supplied in this string form: 98 * The default options: <code>backoff=0+5 max=86400 min=0 period=0</code><br> 102 * @param spec describing some or all scheduler options. 103 * @param options to update with parsed values. 104 * @return the options passed in (for convenience) 107 public static Options parseOptions(String spec, Options options) argument 117 options.backoffFixedMillis = parseSeconds(pieces[0]); 120 options.backoffIncrementalMillis = parseSeconds(pieces[1]); 123 options 151 getNextTimeMillis(Options options) argument [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ActivityCompat.java | 31 * Invalidate the activity's options menu, if able. 34 * options menu was controlled primarily by the user's operation of 44 * <p>In Android 3.0+ the Action Bar forces the options menu to be built early 53 * activity state that should cause the options menu to be rebuilt. If the app 57 * If this method returns true the options menu was successfully invalidated.</p> 59 * @param activity Invalidate the options menu of this activity 73 * <p>In Android 4.1+ additional options were introduced to allow for more 81 * @param options Additional options for how the Activity should be started. 82 * May be null if there are no options 87 startActivity(Activity activity, Intent intent, Bundle options) argument 115 startActivityForResult(Activity activity, Intent intent, int requestCode, Bundle options) argument [all...] |