Home
last modified time | relevance | path

Searched refs:Progress (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp144 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/
Ddumpstate.h93 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_;
Dutils.cpp114 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 …]
Ddumpstate.cpp1970 ds.progress_.reset(new Progress(stats_path)); in run_main()
/frameworks/support/loader/src/main/java/androidx/loader/content/
DModernAsyncTask.java53 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/
DAsyncTask.java180 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/
DExtendedBitmapDrawable.java69 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/
Dprint.proto389 // Progress of the job
/frameworks/support/compat/api_legacy/
D26.1.0.txt859 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
D26.0.0.txt859 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
/frameworks/support/api/
D22.0.0.txt2900 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
D22.1.0.txt3055 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
D25.2.0.txt5956 … static <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
D25.0.0.txt5572 … static <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
D25.4.0.txt6459 … static <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
D26.0.0-alpha1.txt6855 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
D25.3.0.txt6388 … static <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
D22.2.0.txt3452 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
D22.2.1.txt3481 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
D26.0.0-beta1.txt7738 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
D26.0.0-beta2.txt7878 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
D26.1.0.txt7898 …recated <Params, Progress, Result> android.os.AsyncTask<Params, Progress, Result> executeParallel(…
D24.2.0.txt5512 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
D23.0.0.txt4134 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…
D23.1.1.txt4376 …blic static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Pa…

12