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

123456789

/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 Daidl.cpp3 #include "options.h"
589 exactly_one_interface(const char* filename, const document_item_type* items, const Options& options, argument
615 if (options.failOnParcelable) {
633 generate_dep_file(const Options& options, const document_item_type* items) argument
639 if (options.autoDepFile) {
640 string fileName = options.outputFileName + ".d";
643 to = fopen(options.depFileName.c_str(), "wb");
657 fprintf(to, "%s: \\\n", options.outputFileName.c_str());
662 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slash);
691 generate_outputFileName2(const Options& options, cons argument
723 generate_outputFileName(const Options& options, const document_item_type* items) argument
934 compile_aidl(Options& options) argument
1064 preprocess_aidl(const Options& options) argument
1140 Options options; local
[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);
/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/support/v4/jellybean/android/support/v4/app/
H A DActivityCompatJB.java25 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 DTaskStackBuilderJellybean.java27 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 DAutoDecodeCancel.h9 AutoDecoderCancel(jobject options, SkImageDecoder* decoder);
12 static bool RequestCancel(jobject options);
17 jobject fJOptions; // java options object
H A DBitmapRegionDecoder.cpp174 int start_x, int start_y, int width, int height, jobject options) {
183 if (NULL != options) {
184 sampleSize = env->GetIntField(options, gOptions_sampleSizeFieldID);
186 env->SetIntField(options, gOptions_widthFieldID, -1);
187 env->SetIntField(options, gOptions_heightFieldID, -1);
188 env->SetObjectField(options, gOptions_mimeFieldID, 0);
190 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID);
192 doDither = env->GetBooleanField(options, gOptions_ditherFieldID);
193 preferQualityOverSpeed = env->GetBooleanField(options,
196 tileBitmap = env->GetObjectField(options, gOptions_bitmapFieldI
173 nativeDecodeRegion(JNIEnv* env, jobject, SkBitmapRegionDecoder *brd, int start_x, int start_y, int width, int height, jobject options) argument
[all...]
H A DBitmapFactory.cpp91 static bool optionsPurgeable(JNIEnv* env, jobject options) { argument
92 return options != NULL && env->GetBooleanField(options, gOptions_purgeableFieldID);
95 static bool optionsShareable(JNIEnv* env, jobject options) { argument
96 return options != NULL && env->GetBooleanField(options, gOptions_shareableFieldID);
99 static bool optionsJustBounds(JNIEnv* env, jobject options) { argument
100 return options != NULL && env->GetBooleanField(options, gOptions_justBoundsFieldID);
213 jobject options, boo
212 doDecode(JNIEnv* env, SkStreamRewindable* stream, jobject padding, jobject options, bool allowPurgeable, bool forcePurgeable = false) argument
473 nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, jobject padding, jobject options) argument
528 nativeDecodeAsset(JNIEnv* env, jobject clazz, jint native_asset, jobject padding, jobject options) argument
550 nativeDecodeByteArray(JNIEnv* env, jobject, jbyteArray byteArray, int offset, int length, jobject options) argument
[all...]
/frameworks/support/v4/jellybean/android/support/v4/content/
H A DContextCompatJellybean.java25 public static void startActivities(Context context, Intent[] intents, Bundle options) { argument
26 context.startActivities(intents, options);
/frameworks/av/media/libstagefright/timedtext/test/
H A DTimedTextSRTSource_test.cpp150 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/location/java/android/location/
H A DFusedBatchOptions.java23 * A data class representing a set of options to configure batching sessions.
35 * Getters and setters for properties needed to hold the options.
109 FusedBatchOptions options = new FusedBatchOptions();
110 options.setMaxPowerAllocationInMW(parcel.readDouble());
111 options.setPeriodInNS(parcel.readLong());
112 options.setSourceToUse(parcel.readInt());
113 options.setFlag(parcel.readInt());
114 return options;
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java111 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 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);
/frameworks/base/core/java/com/android/server/
H A DNetworkManagementSocketTagger.java67 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 DContextCompat.java83 * @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/compile/mclinker/tools/mcld/lib/Support/
H A DLinkerConfig.cpp162 mLDConfig->options().setBsymbolic(pEnable);
167 mLDConfig->options().setDefineCommon(pEnable);
172 mLDConfig->options().setSOName(pSOName);
177 mLDConfig->options().setDyld(pDyld);
190 mLDConfig->options().addZOption(option);
194 mLDConfig->options().addZOption(option);
199 mLDConfig->options().addZOption(option);
204 mLDConfig->options().addZOption(option);
208 mLDConfig->options().addZOption(option);
213 mLDConfig->options()
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DELFDynamic.cpp104 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/ex/common/java/com/android/common/
H A DOperationScheduler.java36 /** Tunable parameter options for {@link #getNextTimeMillis}. */
87 * Parse scheduler options supplied in this string form:
97 * The default options: <code>backoff=0+5 max=86400 min=0 period=0</code><br>
101 * @param spec describing some or all scheduler options.
102 * @param options to update with parsed values.
103 * @return the options passed in (for convenience)
106 public static Options parseOptions(String spec, Options options) argument
116 options.backoffFixedMillis = parseSeconds(pieces[0]);
119 options.backoffIncrementalMillis = parseSeconds(pieces[1]);
122 options
150 getNextTimeMillis(Options options) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DActivityCompat.java31 * 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...]
/frameworks/base/core/java/android/app/backup/
H A DWallpaperBackupHelper.java126 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/base/core/java/android/app/
H A DTaskStackBuilder.java215 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 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/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
H A DHelloComputeNDK.java55 final BitmapFactory.Options options = new BitmapFactory.Options();
56 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
57 return BitmapFactory.decodeResource(getResources(), resource, options);

Completed in 729 milliseconds

123456789