/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 144 ds.progress_.reset(new Progress()); in SetUp() 174 ds.progress_.reset(new Progress(initial_max, progress, 1.2)); in SetProgress() 647 Progress GetInstance(int32_t max, double growth_factor, const std::string& path = "") { in GetInstance() 648 return Progress(max, growth_factor, path); in GetInstance() 661 Progress progress; in TEST_F() 663 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F() 664 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 668 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F() 669 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 675 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.h | 93 class Progress { 110 Progress(const std::string& path = ""); 131 Progress(int32_t initial_max, float growth_factor, 133 Progress(int32_t initial_max, int32_t progress, float growth_factor); // Used by test cases. 269 void SetProgress(std::unique_ptr<Progress> progress); 314 std::unique_ptr<Progress> progress_;
|
D | utils.cpp | 114 const int32_t Progress::kDefaultMax = 5000; 116 Progress::Progress(const std::string& path) : Progress(Progress::kDefaultMax, 1.1, path) { in Progress() function in Progress 119 Progress::Progress(int32_t initial_max, int32_t progress, float growth_factor) in Progress() function in Progress 120 : Progress(initial_max, growth_factor, "") { in Progress() 124 Progress::Progress(int32_t initial_max, float growth_factor, const std::string& path) in Progress() function in Progress 137 void Progress::Load() { in Load() 161 initial_max_ = Progress::kDefaultMax; in Load() 170 void Progress::Save() { in Save() 186 int32_t Progress::Get() const { in Get() 190 bool Progress::Inc(int32_t delta_sec) { in Inc() [all …]
|
D | dumpstate.cpp | 1970 ds.progress_.reset(new Progress(stats_path)); in run_main()
|
/frameworks/support/loader/src/main/java/androidx/loader/content/ |
D | ModernAsyncTask.java | 53 abstract class ModernAsyncTask<Params, Progress, Result> { 249 protected void onProgressUpdate(Progress... values) { in onProgressUpdate() 395 public final ModernAsyncTask<Params, Progress, Result> execute(Params... params) { in execute() 429 public final ModernAsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor() 477 protected final void publishProgress(Progress... values) { in publishProgress() 480 new AsyncTaskResult<Progress>(this, values)).sendToTarget(); in publishProgress()
|
/frameworks/base/core/java/android/os/ |
D | AsyncTask.java | 180 public abstract class AsyncTask<Params, Progress, Result> { 443 protected void onProgressUpdate(Progress... values) { in onProgressUpdate() 594 public final AsyncTask<Params, Progress, Result> execute(Params... params) { in execute() 632 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor() 684 protected final void publishProgress(Progress... values) { in publishProgress() 687 new AsyncTaskResult<Progress>(this, values)).sendToTarget(); in publishProgress()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | ExtendedBitmapDrawable.java | 69 private Progress mProgress; 130 … mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources, in onOptsChanged() 534 private static class Progress extends TileDrawable { class in ExtendedBitmapDrawable 538 public Progress(Drawable progress, Resources res, in Progress() method in ExtendedBitmapDrawable.Progress
|
/frameworks/base/core/proto/android/service/ |
D | print.proto | 389 // Progress of the job
|
/frameworks/support/compat/api_legacy/ |
D | 26.1.0.txt | 859 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
|
D | 26.0.0.txt | 859 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
|
/frameworks/support/api/ |
D | 22.0.0.txt | 2900 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
|
D | 22.1.0.txt | 3055 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
|
D | 25.2.0.txt | 5956 … static <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
|
D | 25.0.0.txt | 5572 … static <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
|
D | 25.4.0.txt | 6459 … static <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
|
D | 26.0.0-alpha1.txt | 6855 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
|
D | 25.3.0.txt | 6388 … static <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
|
D | 22.2.0.txt | 3452 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
|
D | 22.2.1.txt | 3481 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
|
D | 26.0.0-beta1.txt | 7738 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
|
D | 26.0.0-beta2.txt | 7878 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
|
D | 26.1.0.txt | 7898 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
|
D | 24.2.0.txt | 5512 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
|
D | 23.0.0.txt | 4134 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
|
D | 23.1.1.txt | 4376 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
|