/external/robolectric/v1/src/main/java/android/os/ |
ShadowAsyncTaskBridge.java | 6 public class ShadowAsyncTaskBridge<Params, Progress, Result> { 7 private AsyncTask<Params, Progress, Result> asyncTask; 9 public ShadowAsyncTaskBridge(AsyncTask<Params, Progress, Result> asyncTask) { 25 public void onProgressUpdate(Progress... values) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
ShadowRunnableAsyncTask.java | 31 public class ShadowRunnableAsyncTask<Params, Progress, Result> extends 32 ShadowAsyncTask<Params, Progress, Result> { 35 public AsyncTask<Params, Progress, Result> executeOnExecutor(Executor executor,
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowAsyncTaskBridge.java | 12 public class ShadowAsyncTaskBridge<Params, Progress, Result> { 13 private AsyncTask<Params, Progress, Result> asyncTask; 15 public ShadowAsyncTaskBridge(AsyncTask<Params, Progress, Result> asyncTask) { 31 public void onProgressUpdate(Progress... values) {
|
ShadowAsyncTask.java | 16 public class ShadowAsyncTask<Params, Progress, Result> { 18 @RealObject private AsyncTask<Params, Progress, Result> realAsyncTask; 83 public AsyncTask<Params, Progress, Result> execute(final Params... params) { 100 public AsyncTask<Params, Progress, Result> executeOnExecutor(Executor executor, Params... params) { 124 * @param values The progress values to update the UI with. 128 public void publishProgress(final Progress... values) { 137 private ShadowAsyncTaskBridge<Params, Progress, Result> getBridge() {
|
/developers/build/prebuilts/gradle/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/ |
DownloadCallback.java | 28 interface Progress { 48 * Indicate to callback handler any progress update. 49 * @param progressCode must be one of the constants defined in DownloadCallback.Progress.
|
MainActivity.java | 45 // Boolean telling us whether a download is in progress, so we don't trigger overlapping 116 // You can add UI behavior for progress updates here. 117 case Progress.ERROR: 119 case Progress.CONNECT_SUCCESS: 121 case Progress.GET_INPUT_STREAM_SUCCESS: 123 case Progress.PROCESS_INPUT_STREAM_IN_PROGRESS: 126 case Progress.PROCESS_INPUT_STREAM_SUCCESS:
|
/developers/samples/android/connectivity/network/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/ |
DownloadCallback.java | 28 interface Progress { 48 * Indicate to callback handler any progress update. 49 * @param progressCode must be one of the constants defined in DownloadCallback.Progress.
|
MainActivity.java | 45 // Boolean telling us whether a download is in progress, so we don't trigger overlapping 116 // You can add UI behavior for progress updates here. 117 case Progress.ERROR: 119 case Progress.CONNECT_SUCCESS: 121 case Progress.GET_INPUT_STREAM_SUCCESS: 123 case Progress.PROCESS_INPUT_STREAM_IN_PROGRESS: 126 case Progress.PROCESS_INPUT_STREAM_SUCCESS:
|
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
DownloadCallback.java | 28 interface Progress { 48 * Indicate to callback handler any progress update. 49 * @param progressCode must be one of the constants defined in DownloadCallback.Progress.
|
MainActivity.java | 45 // Boolean telling us whether a download is in progress, so we don't trigger overlapping 116 // You can add UI behavior for progress updates here. 117 case Progress.ERROR: 119 case Progress.CONNECT_SUCCESS: 121 case Progress.GET_INPUT_STREAM_SUCCESS: 123 case Progress.PROCESS_INPUT_STREAM_IN_PROGRESS: 126 case Progress.PROCESS_INPUT_STREAM_SUCCESS:
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAsyncTask.java | 18 public class ShadowAsyncTask<Params, Progress, Result> { 20 @RealObject private AsyncTask<Params, Progress, Result> realAsyncTask; 76 public AsyncTask<Params, Progress, Result> execute(final Params... params) { 100 * @param values The progress values to update the UI with. 104 public void publishProgress(final Progress... values) { 112 private ShadowAsyncTaskBridge<Params, Progress, Result> getBridge() { 113 return new ShadowAsyncTaskBridge<Params, Progress, Result>(realAsyncTask);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ |
ConfigAccess.h | 65 @param Progress On return, points to a character in the Request string. Points to the string's null
82 OUT EFI_STRING *Progress,
94 @param Progress A pointer to a string filled in with the offset of the most recent '&' before the first
107 OUT EFI_STRING *Progress
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
HiiConfigKeyword.h | 26 // Progress Errors
45 function returns an error and also sets the Progress and ProgressErr with the
64 @param Progress On return, points to a character in the KeywordString.
82 error. See Progress and ProgressErr for more data.
102 OUT EFI_STRING *Progress,
114 returns an EFI_INVALID_PARAMETER and also set the Progress and ProgressErr with the
136 @param Progress On return, points to a character in the KeywordString. Points
155 1.Progress, ProgressErr, or Results is NULL.
157 Progress and ProgressErr for more data.
182 OUT EFI_STRING *Progress,
[all...] |
HiiConfigRouting.h | 61 @param Progress On return, points to a character in the
86 error. The Progress parameter
90 known driver. Progress set to
98 @retval EFI_INVALID_PARAMETER Illegal syntax. Progress set
105 EFI_INVALID_PARAMETER. Progress
116 OUT EFI_STRING *Progress,
176 @param Progress A pointer to a string filled in with the
204 OUT EFI_STRING *Progress
234 @param Progress A pointer to a string filled in with the
241 @retval EFI_SUCCESS The request succeeded. Progress points [all...] |
HiiConfigAccess.h | 75 @param Progress On return, points to a character in the
100 Progress set to the first character
103 @retval EFI_INVALID_PARAMETER Illegal syntax. Progress set
108 @retval EFI_INVALID_PARAMETER Unknown name. Progress points
118 OUT EFI_STRING *Progress,
139 @param Progress A pointer to a string filled in with the
168 OUT EFI_STRING *Progress
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiConfigRouting/ |
HiiConfigRouting.h | 42 OUT EFI_STRING *Progress,
54 Progress - On return, points to a character in the Request string. Points to the string's null
69 Progress set to the 'G' in "GUID" of the routing
75 Progress parameter is set to NULL.
77 EFI_INVALID_PARAMETER - Illegal syntax. Progress set to most recent & before
80 EFI_INVALID_PARAMETER - Unknown name. Progress points to the & before
121 OUT EFI_STRING *Progress
132 Progress - A pointer to a string filled in with the offset of the most recent "&" before the first
158 OUT EFI_STRING *Progress
173 Progress - A pointer to a string filled in with the offset of the most recent "&" before the (…) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/ |
BootLogoLib.h | 3 to show progress bar and LOGO.
47 Update progress bar with title above it. It only works in Graphics mode.
51 @param Title Title above progress bar.
52 @param ProgressColor Progress bar color.
53 @param Progress Progress (0-100)
54 @param PreviousValue The previous value of the progress.
56 @retval EFI_STATUS Successly update the progress bar
66 IN UINTN Progress,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiConfigAccess/ |
HiiConfigAccess.h | 48 OUT EFI_STRING *Progress,
60 Progress - On return, points to a character in the Request string.
83 OUT EFI_STRING *Progress
93 Progress - A pointer to a string filled in with the offset of the most
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DriverHealthManagerDxe/ |
DriverHealthManagerDxe.h | 86 @param Progress On return, points to a character in the Request string.
106 OUT EFI_STRING *Progress,
116 @param Progress A pointer to a string filled in with the offset of the most
131 OUT EFI_STRING *Progress
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordDxe/ |
OpalHiiPrivate.h | 65 @param Progress A pointer to a string filled in with the offset of
82 EFI_STRING *Progress
92 @param Progress On return, points to a character in the Request
116 EFI_STRING *Progress,
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
WeakAsyncTask.java | 23 public abstract class WeakAsyncTask<Params, Progress, Result, WeakTarget> extends 24 AsyncTask<Params, Progress, Result> {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
EmailAsyncTask.java | 41 public abstract class EmailAsyncTask<Params, Progress, Result> { 141 private final InnerTask<Params, Progress, Result> mInnerTask; 149 mInnerTask = new InnerTask<Params, Progress, Result>(this); 187 public final EmailAsyncTask<Params, Progress, Result> executeParallel(Params... params) { 196 public final EmailAsyncTask<Params, Progress, Result> executeSerial(Params... params) { 204 public final EmailAsyncTask<Params, Progress, Result> cancelPreviousAndExecuteParallel( 213 public final EmailAsyncTask<Params, Progress, Result> cancelPreviousAndExecuteSerial( 218 private EmailAsyncTask<Params, Progress, Result> executeInternal(Executor executor,
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEConfig/ |
TrEEConfigImpl.c | 61 @param[out] Progress On return, points to a character in the Request
85 OUT EFI_STRING *Progress,
89 if (Progress == NULL || Results == NULL) {
93 *Progress = Request;
151 @param[out] Progress A pointer to a string filled in with the offset of
168 OUT EFI_STRING *Progress
171 if (Configuration == NULL || Progress == NULL) {
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgConfigDxe/ |
TcgConfigImpl.c | 123 @param[out] Progress On return, points to a character in the Request
147 OUT EFI_STRING *Progress,
160 if (Progress == NULL || Results == NULL) {
164 *Progress = Request;
216 Progress
225 // Set Progress string to the original request string.
228 *Progress = NULL;
230 *Progress = Request + StrLen (Request);
242 @param[out] Progress A pointer to a string filled in with the offset of
259 OUT EFI_STRING *Progress
[all...] |
/frameworks/native/cmds/dumpstate/tests/ |
dumpstate_test.cpp | 59 MOCK_METHOD1(onProgressUpdated, binder::Status(int32_t progress)); 144 ds.progress_.reset(new Progress()); 170 void SetProgress(long progress, long initial_max, long threshold = 0) { 174 ds.progress_.reset(new Progress(initial_max, progress, 1.2)); 177 std::string GetProgressMessage(const std::string& listener_name, int progress, int max, 179 EXPECT_EQ(progress, ds.progress_->Get()) << "invalid progress"; 187 android::base::StringPrintf("Adjusting max progress from %d to %d\n", old_max, max); 191 message += android::base::StringPrintf("Setting progress (%s): %d/%d\n" 661 Progress progress; local 681 Progress progress = GetInstance(10, 1.2); \/\/ 20% growth factor local 700 Progress progress = GetInstance(10, 1.2); \/\/ 20% growth factor local [all...] |