/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 | 171 jint start_x, jint start_y, jint width, jint height, jobject options) { 181 if (NULL != options) { 182 sampleSize = env->GetIntField(options, gOptions_sampleSizeFieldID); 184 env->SetIntField(options, gOptions_widthFieldID, -1); 185 env->SetIntField(options, gOptions_heightFieldID, -1); 186 env->SetObjectField(options, gOptions_mimeFieldID, 0); 188 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID); 190 doDither = env->GetBooleanField(options, gOptions_ditherFieldID); 191 preferQualityOverSpeed = env->GetBooleanField(options, 194 tileBitmap = env->GetObjectField(options, gOptions_bitmapFieldI 170 nativeDecodeRegion(JNIEnv* env, jobject, jlong brdHandle, jint start_x, jint start_y, jint width, jint height, jobject options) argument [all...] |
H A D | BitmapFactory.cpp | 82 static bool optionsJustBounds(JNIEnv* env, jobject options) { argument 83 return options != NULL && env->GetBooleanField(options, gOptions_justBoundsFieldID); 200 static jobject doDecode(JNIEnv* env, SkStreamRewindable* stream, jobject padding, jobject options) { argument 215 if (options != NULL) { 216 sampleSize = env->GetIntField(options, gOptions_sampleSizeFieldID); 217 if (optionsJustBounds(env, options)) { 222 env->SetIntField(options, gOptions_widthFieldID, -1); 223 env->SetIntField(options, gOptions_heightFieldID, -1); 224 env->SetObjectField(options, gOptions_mimeFieldI 452 nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, jobject padding, jobject options) argument 511 nativeDecodeAsset(JNIEnv* env, jobject clazz, jlong native_asset, jobject padding, jobject options) argument 521 nativeDecodeByteArray(JNIEnv* env, jobject, jbyteArray byteArray, jint offset, jint 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/location/java/android/location/ |
H A D | FusedBatchOptions.java | 23 * A data class representing a set of options to configure batching sessions. 37 * Getters and setters for properties needed to hold the options. 120 FusedBatchOptions options = new FusedBatchOptions(); 121 options.setMaxPowerAllocationInMW(parcel.readDouble()); 122 options.setPeriodInNS(parcel.readLong()); 123 options.setSourceToUse(parcel.readInt()); 124 options.setFlag(parcel.readInt()); 125 options.setSmallestDisplacementMeters(parcel.readFloat()); 126 return options;
|
/frameworks/base/media/java/android/media/ |
H A D | ThumbnailUtils.java | 105 BitmapFactory.Options options = new BitmapFactory.Options(); 106 options.inSampleSize = 1; 107 options.inJustDecodeBounds = true; 108 BitmapFactory.decodeFileDescriptor(fd, null, options); 109 if (options.mCancel || options.outWidth == -1 110 || options.outHeight == -1) { 113 options.inSampleSize = computeSampleSize( 114 options, targetSize, maxPixels); 115 options 212 extractThumbnail( Bitmap source, int width, int height, int options) argument 250 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 268 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 302 makeBitmap(int minSideLength, int maxNumOfPixels, Uri uri, ContentResolver cr, ParcelFileDescriptor pfd, BitmapFactory.Options options) argument 356 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, int options) argument [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Main.cpp | 357 bool compileXml(const AaptOptions& options, const std::shared_ptr<ResourceTable>& table, argument 376 if (!xml::flatten(root.get(), options.appInfo.package, &outBuffer)) { 384 Logger::error(options.output) << "failed to write compiled '" << item.source 422 bool linkXml(const AaptOptions& options, const std::shared_ptr<ResourceTable>& table, argument 433 if (options.packageType == AaptOptions::PackageType::StaticLibrary) { 437 if (options.versionStylesAndLayouts) { 443 if (options.generateProguardRules) { 469 Logger::error(options.output) << "failed to add auto-versioned resource '" 478 Logger::error(options.output) << "failed to write linked file '" 485 bool compilePng(const AaptOptions& options, cons argument 509 copyFile(const AaptOptions& options, const CompileItem& item, ZipFile* outApk) argument 519 compileManifest(const AaptOptions& options, const std::shared_ptr<IResolver>& resolver, const std::map<std::shared_ptr<ResourceTable>, StaticLibraryData>& libApks, const android::ResTable& table, ZipFile* outApk, proguard::KeepSet* keepSet) argument 668 writeResourceTable(const AaptOptions& options, const std::shared_ptr<ResourceTable>& table, const TableFlattener::Options& flattenerOptions, ZipFile* outApk) argument 731 link(const AaptOptions& options, const std::shared_ptr<ResourceTable>& outTable, const std::shared_ptr<IResolver>& resolver) argument 950 compile(const AaptOptions& options, const std::shared_ptr<ResourceTable>& table, const std::shared_ptr<IResolver>& resolver) argument 1069 AaptOptions options; local 1168 doDump(const AaptOptions& options) argument 1208 AaptOptions options = prepareArgs(argc, argv); local [all...] |
H A D | Png.h | 34 const Options& options, std::string* outError);
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFDynamic.cpp | 95 if (m_Config.options().Bsymbolic()) 157 if (m_Config.options().hasOrigin()) 159 if (m_Config.options().Bsymbolic()) 161 if (m_Config.options().hasNow()) 169 if ((m_Config.options().hasNewDTags() && dt_flags != 0x0) || 176 if (m_Config.options().hasNow() || m_Config.options().hasLoadFltr() || 177 m_Config.options().hasOrigin() || m_Config.options().hasInterPose() || 178 m_Config.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/android/content/ |
H A D | IIntentSender.aidl | 26 IIntentReceiver finishedReceiver, String requiredPermission, 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/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64ELFDynamic.cpp | 26 if (config().options().hasNow()) { 37 if (config().options().hasNow()) {
|
/frameworks/compile/mclinker/unittests/ |
H A D | ELFBinaryReaderTest.cpp | 51 config.options().setBinaryInput(); 54 config.options().setBinaryInput(false);
|
/frameworks/ex/common/java/com/android/common/ |
H A D | OperationScheduler.java | 36 /** 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/base/core/java/android/app/backup/ |
H A D | WallpaperBackupHelper.java | 140 BitmapFactory.Options options = new BitmapFactory.Options(); 141 options.inJustDecodeBounds = true; 142 BitmapFactory.decodeFile(STAGE_FILE, options); 144 if (DEBUG) Slog.d(TAG, "Restoring wallpaper image w=" + options.outWidth 145 + " h=" + options.outHeight); 155 final double heightRatio = mDesiredMinHeight / options.outHeight; 156 if (options.outWidth < mDesiredMinWidth 157 || options.outHeight < mDesiredMinWidth 165 + options.outWidth + ", h=" + options [all...] |
/frameworks/base/core/java/android/app/ |
H A D | IAppTask.aidl | 29 in Intent intent, String resolvedType, in Bundle options);
|
H A D | TaskStackBuilder.java | 216 public void startActivities(Bundle options, UserHandle userHandle) { argument 222 mSourceContext.startActivitiesAsUser(getIntents(), options, userHandle); 228 * @param options Additional options for how the Activity should be started. 232 public void startActivities(Bundle options) { argument 233 startActivities(options, new UserHandle(UserHandle.myUserId())); 261 * @param options Additional options for how the Activity should be started. 268 Bundle options) { 275 flags, options); 267 getPendingIntent(int requestCode, @PendingIntent.Flags int flags, Bundle options) argument 281 getPendingIntent(int requestCode, int flags, Bundle options, UserHandle user) argument [all...] |
/frameworks/base/core/java/android/service/trust/ |
H A D | ITrustAgentService.aidl | 30 oneway void onConfigure(in List<PersistableBundle> options, IBinder token);
|