Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp541 ds.progress_.reset(new Progress()); in SetUp()
569 ds.progress_.reset(new Progress(initial_max, progress, 1.2)); in SetProgress()
1017 Progress GetInstance(int32_t max, double growth_factor, const std::string& path = "") { in GetInstance()
1018 return Progress(max, growth_factor, path); in GetInstance()
1031 Progress progress; in TEST_F()
1033 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
1034 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1038 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
1039 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1045 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DSeekBarObserverTest.kt72 val data = SeekBarViewModel.Progress(isEnabled, false, null, null) in seekBarGone()
86 val data = SeekBarViewModel.Progress(isEnabled, true, 3000, 12000) in seekBarVisible()
98 val data = SeekBarViewModel.Progress(true, true, 3000, 120000) in seekBarProgress()
111 val data = SeekBarViewModel.Progress(true, isSeekAvailable, 3000, 120000) in seekBarDisabledWhenSeekNotAvailable()
121 val data = SeekBarViewModel.Progress(true, isSeekAvailable, 3000, 120000) in seekBarEnabledWhenSeekNotAvailable()
DMediaControlPanelTest.kt82 @Mock private lateinit var seekBarData: LiveData<SeekBarViewModel.Progress>
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DInstallationAsyncTask.java46 class InstallationAsyncTask extends AsyncTask<String, InstallationAsyncTask.Progress, Throwable> {
105 class Progress { class in InstallationAsyncTask
112 Progress(String partitionName, long partitionSize, long installedSize, in Progress() method in InstallationAsyncTask.Progress
123 void onProgressUpdate(Progress progress); in onProgressUpdate()
249 protected void onProgressUpdate(Progress... values) { in onProgressUpdate()
250 Progress progress = values[0]; in onProgressUpdate()
316 Progress progress = new Progress("userdata", mUserdataSize, installedSize, 0); in installUserdata()
472 Progress progress = new Progress( in installImage()
DDynamicSystemInstallationService.java213 public void onProgressUpdate(InstallationAsyncTask.Progress progress) { in onProgressUpdate()
/frameworks/base/core/java/android/os/
DAsyncTask.java199 public abstract class AsyncTask<Params, Progress, Result> {
514 protected void onProgressUpdate(Progress... values) { in onProgressUpdate()
670 public final AsyncTask<Params, Progress, Result> execute(Params... params) { in execute()
708 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor()
760 protected final void publishProgress(Progress... values) { in publishProgress()
763 new AsyncTaskResult<Progress>(this, values)).sendToTarget(); in publishProgress()
/frameworks/native/cmds/dumpstate/
Ddumpstate.h101 class Progress {
118 explicit Progress(const std::string& path = "");
139 Progress(int32_t initial_max, float growth_factor,
141 Progress(int32_t initial_max, int32_t progress, float growth_factor); // Used by test cases.
299 void SetProgress(std::unique_ptr<Progress> progress);
444 std::unique_ptr<Progress> progress_;
Ddumpstate.cpp2595 progress_.reset(new Progress(stats_path)); in RunInternal()
3012 const int32_t Progress::kDefaultMax = 5000;
3014 Progress::Progress(const std::string& path) : Progress(Progress::kDefaultMax, 1.1, path) { in Progress() function in Progress
3017 Progress::Progress(int32_t initial_max, int32_t progress, float growth_factor) in Progress() function in Progress
3018 : Progress(initial_max, growth_factor, "") { in Progress()
3022 Progress::Progress(int32_t initial_max, float growth_factor, const std::string& path) in Progress() function in Progress
3035 void Progress::Load() { in Load()
3059 initial_max_ = Progress::kDefaultMax; in Load()
3068 void Progress::Save() { in Save()
3084 int32_t Progress::Get() const { in Get()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DSeekBarViewModel.kt74 private var _data = Progress(false, false, null, null)
79 private val _progress = MutableLiveData<Progress>().apply { in <lambda>()
82 val progress: LiveData<Progress>
193 _data = Progress(enabled, seekAvailable, position, duration) in updateController()
407 data class Progress( dataClass
DSeekBarObserver.kt29 class SeekBarObserver(private val holder: PlayerViewHolder) : Observer<SeekBarViewModel.Progress> {
38 override fun onChanged(data: SeekBarViewModel.Progress) { in onChanged()
/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
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21286 method public final android.os.AsyncTask<Params, Progress, Result> execute(Params...);
21288 …method public final android.os.AsyncTask<Params, Progress, Result> executeOnExecutor(java.util.con…
21297 method protected void onProgressUpdate(Progress...);
21298 method protected final void publishProgress(Progress...);
/frameworks/base/api/
Dcurrent.txt35653 @Deprecated public abstract class AsyncTask<Params, Progress, Result> {
35657 …method @Deprecated @MainThread public final android.os.AsyncTask<Params,Progress,Result> execute(P…
35659 …method @Deprecated @MainThread public final android.os.AsyncTask<Params,Progress,Result> executeOn…
35668 method @Deprecated @MainThread protected void onProgressUpdate(Progress...);
35669 method @Deprecated @WorkerThread protected final void publishProgress(Progress...);