Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp593 ds.progress_.reset(new Progress()); in SetUp()
623 ds.progress_.reset(new Progress(initial_max, progress, 1.2)); in SetProgress()
1152 Progress GetInstance(int32_t max, double growth_factor, const std::string& path = "") { in GetInstance()
1153 return Progress(max, growth_factor, path); in GetInstance()
1166 Progress progress; in TEST_F()
1168 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
1169 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1173 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
1174 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1180 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
[all …]
/frameworks/native/cmds/dumpstate/
Dutils.cpp118 const int32_t Progress::kDefaultMax = 5000;
120 Progress::Progress(const std::string& path) : Progress(Progress::kDefaultMax, 1.1, path) { in Progress() function in Progress
123 Progress::Progress(int32_t initial_max, int32_t progress, float growth_factor) in Progress() function in Progress
124 : Progress(initial_max, growth_factor, "") { in Progress()
128 Progress::Progress(int32_t initial_max, float growth_factor, const std::string& path) in Progress() function in Progress
141 void Progress::Load() { in Load()
165 initial_max_ = Progress::kDefaultMax; in Load()
174 void Progress::Save() { in Save()
190 int32_t Progress::Get() const { in Get()
194 bool Progress::Inc(int32_t delta_sec) { in Inc()
[all …]
Ddumpstate.h98 class Progress {
115 explicit Progress(const std::string& path = "");
136 Progress(int32_t initial_max, float growth_factor,
138 Progress(int32_t initial_max, int32_t progress, float growth_factor); // Used by test cases.
292 void SetProgress(std::unique_ptr<Progress> progress);
413 std::unique_ptr<Progress> progress_;
Ddumpstate.cpp2547 progress_.reset(new Progress(stats_path)); in RunInternal()
/frameworks/base/core/java/android/os/
DAsyncTask.java192 public abstract class AsyncTask<Params, Progress, Result> {
498 protected void onProgressUpdate(Progress... values) { in onProgressUpdate()
654 public final AsyncTask<Params, Progress, Result> execute(Params... params) { in execute()
692 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor()
744 protected final void publishProgress(Progress... values) { in publishProgress()
747 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.proto390 // Progress of the job