/frameworks/ex/common/tests/src/com/android/common/ |
D | OperationSchedulerTest.java | 47 OperationScheduler.Options options = new OperationScheduler.Options(); in testScheduler() local 48 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler() 54 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); in testScheduler() 58 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); in testScheduler() 60 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); in testScheduler() 64 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler() 66 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); in testScheduler() 73 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); in testScheduler() 74 options.backoffFixedMillis = 1000000; in testScheduler() 75 options.backoffIncrementalMillis = 500000; in testScheduler() [all …]
|
/frameworks/base/tools/aidl/ |
D | options.cpp | 35 parse_options(int argc, const char* const* argv, Options *options) in parse_options() argument 43 options->outputFileName = argv[2]; in parse_options() 45 options->filesToPreprocess.push_back(argv[i]); in parse_options() 47 options->task = PREPROCESS_AIDL; in parse_options() 51 options->task = COMPILE_AIDL; in parse_options() 52 options->failOnParcelable = false; in parse_options() 53 options->autoDepFile = false; in parse_options() 64 options->importPaths.push_back(s+2); in parse_options() 72 options->depFileName = s+2; in parse_options() 79 options->autoDepFile = true; in parse_options() [all …]
|
D | aidl.cpp | 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, const buffer_type& name, const char* package) argument 632 result = options.outputBaseFolder; [all …]
|
D | options_test.cpp | 66 Options options; in test() local 67 int result = parse_options(argc, answer.argv, &options); in test() 82 if (!match_arrays(answer.systemSearchPath, options.systemSearchPath)) { in test() 84 print_array(" ", options.systemSearchPath); in test() 91 if (!match_arrays(answer.localSearchPath, options.localSearchPath)) { in test() 93 print_array(" ", options.localSearchPath); in test() 100 if (answer.inputFileName != options.inputFileName) { in test() 101 cout << "mismatch: inputFileName: got " << options.inputFileName in test() 107 if (answer.nativeLanguage != options.nativeLanguage) { in test() 108 cout << "mismatch: nativeLanguage: got " << options.nativeLanguage in test() [all …]
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 109 BitmapFactory.Options options = new BitmapFactory.Options(); in createImageThumbnail() local 110 options.inSampleSize = 1; in createImageThumbnail() 111 options.inJustDecodeBounds = true; in createImageThumbnail() 112 BitmapFactory.decodeFileDescriptor(fd, null, options); in createImageThumbnail() 113 if (options.mCancel || options.outWidth == -1 in createImageThumbnail() 114 || options.outHeight == -1) { in createImageThumbnail() 117 options.inSampleSize = computeSampleSize( in createImageThumbnail() 118 options, targetSize, maxPixels); in createImageThumbnail() 119 options.inJustDecodeBounds = false; in createImageThumbnail() 121 options.inDither = false; in createImageThumbnail() [all …]
|
/frameworks/base/tests/DumpRenderTree/assets/ |
D | run_page_cycler.py | 21 def main(options, args): argument 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.iteration [all …]
|
D | run_reliability_tests.py | 104 def main(options, args): argument 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.bugreport [all …]
|
D | run_layout_tests.py | 138 def main(options, args): argument 148 if options.verbose: 160 if options.adb_options: 161 adb_cmd += options.adb_options 164 if options.refresh_test_list: 180 if options.time_out_ms: 181 timeout_ms = options.time_out_ms 188 if options.rebaseline: 194 js_engine = options.js_engine 240 results_dir = options.results_directory [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapFactory.cpp | 81 static bool optionsPurgeable(JNIEnv* env, jobject options) { in optionsPurgeable() argument 82 return options != NULL && in optionsPurgeable() 83 env->GetBooleanField(options, gOptions_purgeableFieldID); in optionsPurgeable() 86 static bool optionsShareable(JNIEnv* env, jobject options) { in optionsShareable() argument 87 return options != NULL && in optionsShareable() 88 env->GetBooleanField(options, gOptions_shareableFieldID); in optionsShareable() 91 static bool optionsJustBounds(JNIEnv* env, jobject options) { in optionsJustBounds() argument 92 return options != NULL && in optionsJustBounds() 93 env->GetBooleanField(options, gOptions_justBoundsFieldID); in optionsJustBounds() 115 jobject options, bool allowPurgeable, in doDecode() argument [all …]
|
D | BitmapRegionDecoder.cpp | 183 int start_x, int start_y, int width, int height, jobject options) { in nativeDecodeRegion() argument 190 if (NULL != options) { in nativeDecodeRegion() 191 sampleSize = env->GetIntField(options, gOptions_sampleSizeFieldID); in nativeDecodeRegion() 193 env->SetIntField(options, gOptions_widthFieldID, -1); in nativeDecodeRegion() 194 env->SetIntField(options, gOptions_heightFieldID, -1); in nativeDecodeRegion() 195 env->SetObjectField(options, gOptions_mimeFieldID, 0); in nativeDecodeRegion() 197 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID); in nativeDecodeRegion() 199 doDither = env->GetBooleanField(options, gOptions_ditherFieldID); in nativeDecodeRegion() 200 preferQualityOverSpeed = env->GetBooleanField(options, in nativeDecodeRegion() 208 AutoDecoderCancel adc(options, decoder); in nativeDecodeRegion() [all …]
|
D | AutoDecodeCancel.h | 9 AutoDecoderCancel(jobject options, SkImageDecoder* decoder); 12 static bool RequestCancel(jobject options);
|
/frameworks/base/icu4j/java/android/icu/text/ |
D | ArabicShaping.java | 61 private final int options; field in ArabicShaping 117 if ( ((options&TASHKEEL_MASK) > 0) && in shape() 118 !(((options & TASHKEEL_MASK)==TASHKEEL_BEGIN) || in shape() 119 ((options & TASHKEEL_MASK)==TASHKEEL_END ) || in shape() 120 ((options & TASHKEEL_MASK)==TASHKEEL_RESIZE )|| in shape() 121 ((options & TASHKEEL_MASK)==TASHKEEL_REPLACE_BY_TATWEEL)) ){ in shape() 127 if(((options&LAMALEF_MASK) > 0)&& in shape() 128 !(((options & LAMALEF_MASK)==LAMALEF_BEGIN) || in shape() 129 ((options & LAMALEF_MASK)==LAMALEF_END ) || in shape() 130 ((options & LAMALEF_MASK)==LAMALEF_RESIZE )|| in shape() [all …]
|
/frameworks/ex/common/java/com/android/common/ |
D | OperationScheduler.java | 95 public static Options parseOptions(String spec, Options options) in parseOptions() argument 102 options.backoffFixedMillis = parseSeconds(param.substring(8)); in parseOptions() 105 options.backoffFixedMillis = parseSeconds(param.substring(8, plus)); in parseOptions() 107 options.backoffIncrementalMillis = parseSeconds(param.substring(plus + 1)); in parseOptions() 110 options.maxMoratoriumMillis = parseSeconds(param.substring(4)); in parseOptions() 112 options.minTriggerMillis = parseSeconds(param.substring(4)); in parseOptions() 114 options.periodicIntervalMillis = parseSeconds(param.substring(7)); in parseOptions() 116 options.periodicIntervalMillis = parseSeconds(param); in parseOptions() 119 return options; in parseOptions() 135 public long getNextTimeMillis(Options options) { in getNextTimeMillis() argument [all …]
|
/frameworks/base/tests/DumpRenderTree2/assets/ |
D | run_layout_tests.py | 28 def main(path, options): argument 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": 88 options, args = option_parser.parse_args(); variable 99 main(path, options);
|
D | run_apache2.py | 32 def main(run_cmd, options): argument 55 if (options.tests_root_directory != None): 57 layout_tests_path = os.path.normpath(os.path.join(os.getcwd(), options.tests_root_directory)) 156 options, args = option_parser.parse_args(); variable 163 main(run_cmd, options)
|
/frameworks/base/core/java/com/android/server/ |
D | NetworkManagementSocketTagger.java | 73 final SocketTags options = threadSocketTags.get(); in tag() local 76 + Integer.toHexString(options.statsTag) + ", statsUid=" + options.statsUid); in tag() 79 tagSocketFd(fd, options.statsTag, options.statsUid); in tag() 103 final SocketTags options = threadSocketTags.get(); in unTagSocketFd() local 105 if (options.statsTag == -1 && options.statsUid == -1) return; in unTagSocketFd()
|
/frameworks/base/core/java/android/app/backup/ |
D | WallpaperBackupHelper.java | 109 BitmapFactory.Options options = new BitmapFactory.Options(); in restoreEntity() local 110 options.inJustDecodeBounds = true; in restoreEntity() 111 BitmapFactory.decodeFile(STAGE_FILE, options); in restoreEntity() 113 if (DEBUG) Slog.d(TAG, "Restoring wallpaper image w=" + options.outWidth in restoreEntity() 114 + " h=" + options.outHeight); in restoreEntity() 122 double widthRatio = mDesiredMinWidth / options.outWidth; in restoreEntity() 123 double heightRatio = mDesiredMinHeight / options.outHeight; in restoreEntity()
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountAuthenticator.aidl | 32 String authTokenType, in String[] requiredFeatures, in Bundle options); in addAccount() argument 38 in Bundle options); in confirmCredentials() argument 44 String authTokenType, in Bundle options); in getAuthToken() argument 55 String authTokenType, in Bundle options); in updateCredentials() argument
|
D | IAccountManager.aidl | 47 in Bundle options); in getAuthToken() argument 50 in Bundle options); in addAcount() argument 52 String authTokenType, boolean expectActivityLaunch, in Bundle options); in updateCredentials() argument 56 in Bundle options, boolean expectActivityLaunch); in confirmCredentials() argument
|
D | AbstractAccountAuthenticator.java | 119 String authTokenType, String[] features, Bundle options) in addAccount() argument 130 accountType, authTokenType, features, options); in addAccount() 144 Account account, Bundle options) throws RemoteException { in confirmCredentials() argument 151 new AccountAuthenticatorResponse(response), account, options); in confirmCredentials() 359 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount() argument 379 Account account, Bundle options) in confirmCredentials() argument 400 Account account, String authTokenType, Bundle options) in getAuthToken() argument 430 Account account, String authTokenType, Bundle options) throws NetworkErrorException; in updateCredentials() argument
|
/frameworks/base/media/libstagefright/ |
D | MediaSourceSplitter.cpp | 122 MediaBuffer **buffer, const MediaSource::ReadOptions *options) { in read() argument 145 readFromSource_lock(options); in read() 168 void MediaSourceSplitter::readFromSource_lock(const MediaSource::ReadOptions *options) { in readFromSource_lock() argument 169 mLastReadStatus = mSource->read(&mLastReadMediaBuffer , options); in readFromSource_lock() 226 MediaBuffer **buffer, const ReadOptions *options) { in read() argument 227 return mSplitter->read(mClientId, buffer, options); in read()
|
/frameworks/media/libvideoeditor/lvpp/ |
D | VideoEditorSRC.cpp | 105 MediaBuffer **buffer_out, const ReadOptions *options) { in read() argument 117 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 160 status_t err = mSource->read(&aBuffer, options); in read() 192 ReadOptions options; in getNextBuffer() local 196 options.setSeekTo(mSeekTimeUs, mode); in getNextBuffer() 202 status_t err = mSource->read(&mBuffer, &options); in getNextBuffer()
|
/frameworks/base/graphics/java/android/graphics/ |
D | LargeBitmap.java | 62 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) { in decodeRegion() argument 67 rect.right - rect.left, rect.bottom - rect.top, options); in decodeRegion() 124 BitmapFactory.Options options); in nativeDecodeRegion() argument
|
/frameworks/base/core/java/android/util/ |
D | XmlPullAttributes.java | 58 String[] options, int defaultValue) { in getAttributeListValue() argument 60 getAttributeValue(namespace, attribute), options, defaultValue); in getAttributeListValue() 97 String[] options, int defaultValue) { in getAttributeListValue() argument 99 getAttributeValue(index), options, defaultValue); in getAttributeListValue()
|
/frameworks/base/cmds/stagefright/ |
D | stagefright.cpp | 231 MediaSource::ReadOptions options; in playSource() local 234 err = rawSource->read(&buffer, &options); in playSource() 235 options.clearSeekTo(); in playSource() 291 options.setSeekTo(seekTimeUs); in playSource() 307 MediaSource::ReadOptions options; in playSource() local 321 status_t err = rawSource->read(&buffer, &options); in playSource() 324 options.clearSeekTo(); in playSource() 363 options.setSeekTo(0x7fffffffL); in playSource() 366 options.setSeekTo(5000000); in playSource() 373 options.setSeekTo(0); in playSource() [all …]
|