/frameworks/support/v4/java/android/support/v4/content/ |
ModernAsyncTask.java | 47 abstract class ModernAsyncTask<Params, Progress, Result> { 78 private final WorkerRunnable<Params, Result> mWorker; 79 private final FutureTask<Result> mFuture; 118 mWorker = new WorkerRunnable<Params, Result>() { 119 public Result call() throws Exception { 127 mFuture = new FutureTask<Result>(mWorker) { 131 final Result result = get(); 133 postResultIfNotInvoked(result); 149 private void postResultIfNotInvoked(Result result) 470 AsyncTaskResult result = (AsyncTaskResult) msg.obj; local [all...] |
/external/chromium_org/gin/modules/ |
timer_unittest.cc | 22 class Result : public Wrappable<Result> { 25 static Handle<Result> Create(v8::Isolate* isolate) { 26 return CreateHandle(isolate, new Result()); 37 Result() : count_(0) { 40 virtual ~Result() { 45 return Wrappable<Result>::GetObjectTemplateBuilder(isolate) 46 .SetProperty("count", &Result::count, &Result::set_count) 47 .SetMethod("quit", &Result::Quit) 77 Handle<Result> result; member in struct:gin::__anon12942::TestHelper [all...] |
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
MyActivity.java | 28 private final SynchronousQueue<Result> mResult = new SynchronousQueue<>(); 30 public static class Result { 34 public Result(int resultCode, Intent data) { 52 mResult.offer(new Result(resultCode, data), 5, TimeUnit.SECONDS); 58 public Result getResult() {
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
AsyncTask.java | 67 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 68 * types, called <code>Params</code>, <code>Progress</code> and <code>Result</code>, 103 * protected void onPostExecute(Long result) { 104 * showDialog("Downloaded " + result + " bytes"); 121 * <li><code>Result</code>, the type of the result of the background 139 * of the asynchronous task are passed to this step. The result of the computation must 150 * computation finishes. The result of the background computation is passed to 197 public abstract class AsyncTask<Params, Progress, Result> { 239 private final WorkerRunnable<Params, Result> mWorker 666 AsyncTaskResult result = (AsyncTaskResult) msg.obj; local [all...] |
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
AsyncTask.java | 67 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 68 * types, called <code>Params</code>, <code>Progress</code> and <code>Result</code>, 103 * protected void onPostExecute(Long result) { 104 * showDialog("Downloaded " + result + " bytes"); 121 * <li><code>Result</code>, the type of the result of the background 139 * of the asynchronous task are passed to this step. The result of the computation must 150 * computation finishes. The result of the background computation is passed to 197 public abstract class AsyncTask<Params, Progress, Result> { 239 private final WorkerRunnable<Params, Result> mWorker 666 AsyncTaskResult result = (AsyncTaskResult) msg.obj; local [all...] |
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
AsyncTask.java | 67 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 68 * types, called <code>Params</code>, <code>Progress</code> and <code>Result</code>, 103 * protected void onPostExecute(Long result) { 104 * showDialog("Downloaded " + result + " bytes"); 121 * <li><code>Result</code>, the type of the result of the background 139 * of the asynchronous task are passed to this step. The result of the computation must 150 * computation finishes. The result of the background computation is passed to 197 public abstract class AsyncTask<Params, Progress, Result> { 239 private final WorkerRunnable<Params, Result> mWorker 666 AsyncTaskResult result = (AsyncTaskResult) msg.obj; local [all...] |
/external/llvm/lib/ExecutionEngine/IntelJITEvents/ |
IntelJITEventListener.cpp | 75 LineNumberInfo Result; 77 Result.Offset = Address - StartAddress; 78 Result.LineNumber = Loc.getLine(); 80 return Result; 86 LineNumberInfo Result; 88 Result.Offset = Address - StartAddress; 89 Result.LineNumber = Line.Line; 91 return Result; 99 iJIT_Method_Load Result; 100 memset(&Result, 0, sizeof(iJIT_Method_Load)) [all...] |
/frameworks/base/core/java/android/os/ |
AsyncTask.java | 47 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 48 * types, called <code>Params</code>, <code>Progress</code> and <code>Result</code>, 83 * protected void onPostExecute(Long result) { 84 * showDialog("Downloaded " + result + " bytes"); 101 * <li><code>Result</code>, the type of the result of the background 119 * of the asynchronous task are passed to this step. The result of the computation must 130 * computation finishes. The result of the background computation is passed to 177 public abstract class AsyncTask<Params, Progress, Result> { 215 private final WorkerRunnable<Params, Result> mWorker 649 AsyncTaskResult<?> result = (AsyncTaskResult<?>) msg.obj; local [all...] |
/external/clang/unittests/Tooling/ |
CompilationDatabaseTest.cpp | 306 std::vector<std::string> Result = unescapeJsonCommandLine(""); 307 EXPECT_TRUE(Result.empty()); 311 std::vector<std::string> Result = unescapeJsonCommandLine("a b c"); 312 ASSERT_EQ(3ul, Result.size()); 313 EXPECT_EQ("a", Result[0]); 314 EXPECT_EQ("b", Result[1]); 315 EXPECT_EQ("c", Result[2]); 319 std::vector<std::string> Result = unescapeJsonCommandLine(" a b "); 320 ASSERT_EQ(2ul, Result.size()); 321 EXPECT_EQ("a", Result[0]) [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_TopazMap.c | 260 NFCSTATUS Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP, 290 Result = phFriNfc_Tpz_H_RdBytes(NdefMap, NdefMap->TopazContainer.CurrentBlock, 293 return Result; 302 NFCSTATUS result = NFCSTATUS_SUCCESS; local 304 result = phFriNfc_Tpz_H_WrAByte (NdefMap, CC_BLOCK_NUMBER, 307 if (NFCSTATUS_PENDING == PHNFCSTATUS(result)) 311 return result; 329 NFCSTATUS Result = NFCSTATUS_SUCCESS; 383 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP, 390 Result = ((Offset == PH_FRINFC_NDEFMAP_SEEK_BEGIN) 851 NFCSTATUS result = NFCSTATUS_SUCCESS; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EventLocationAdapter.java | 59 public class EventLocationAdapter extends ArrayAdapter<EventLocationAdapter.Result> 66 public static class Result { 78 public Result(String displayName, String address, Integer defaultIcon, 94 private static ArrayList<Result> EMPTY_LIST = new ArrayList<Result>(); 140 private final ArrayList<Result> mResultList = new ArrayList<Result>(); 162 public Result getItem(int index) { 176 final Result result = getItem(position) local 381 Result result; local [all...] |
/external/chromium_org/base/test/expectations/ |
expectation.h | 17 // A Result is the expectation of a test's behavior. 18 enum Result { 35 // Converts a text string form of a |result| to its enum value, written to 37 bool ResultFromString(const base::StringPiece& result, 38 Result* out_result) WARN_UNUSED_RESULT; 73 // An Expectation is records what the result for a given test name should be on 88 // The expected result of this test. 89 Result result; member in struct:test_expectations::Expectation
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
wildcard_login_checker.h | 25 // reports the result via a callback. 28 // Indicates result of the wildcard login check. 29 enum Result { 35 typedef base::Callback<void(Result)> StatusCallback; 40 // Starts checking. The result will be reported via |callback_|. 63 void OnCheckCompleted(Result result);
|
/external/chromium_org/chrome/browser/net/ |
dns_probe_runner.h | 30 enum Result { 48 // when the result is ready, even if it is ready synchronously. Must not 57 // Returns the result of the last probe. 58 Result result() const { return result_; } function in class:chrome_browser_net::DnsProbeRunner 76 Result result_;
|
/external/chromium_org/chrome/browser/printing/ |
printer_query.h | 36 PrintingContext::Result result) OVERRIDE; 62 PrintingContext::Result last_status() const { return last_status_; } 88 PrintingContext::Result last_status_;
|
/external/chromium_org/chrome/browser/profile_resetter/ |
jtl_interpreter.h | 18 enum Result { 37 Result result() const { return result_; } function in class:JtlInterpreter 56 Result result_;
|
/external/chromium_org/mojo/spy/ |
spy_server_impl.h | 27 const mojo::Callback<void(spy_api::Result, 31 const mojo::Callback<void(spy_api::Result)>& callback) OVERRIDE; 36 const mojo::Callback<void(spy_api::Result)>& callback) OVERRIDE;
|
/external/chromium_org/net/cert/ |
crl_set.h | 26 enum Result { 34 Result CheckSPKI(const base::StringPiece& spki_hash) const; 41 Result CheckSerial( 70 // IsExpired on the result will return true. If |issuer_spki| is not NULL,
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebStorageArea.h | 45 enum Result { 63 // Set the value that corresponds to a specific key. Result will either be ResultOK 66 virtual void setItem(const WebString& key, const WebString& newValue, const WebURL& pageUrl, Result& result) 69 setItem(key, newValue, pageUrl, result, unused); 92 virtual void setItem(const WebString& key, const WebString& newValue, const WebURL&, Result&, WebString& oldValue) { }
|
/external/chromium_org/third_party/skia/tools/timer/ |
TimerData.h | 42 enum Result { 59 * @param result the type of result desired 66 Result result, 71 Result result,
|
/external/clang/include/clang/Lex/ |
PTHLexer.h | 53 bool LexEndOfFile(Token &Result); 93 void IndirectLex(Token &Result) override { Lex(Result); }
|
/external/clang/include/clang/Tooling/ |
RefactoringCallbacks.h | 55 void run(const ast_matchers::MatchFinder::MatchResult &Result) override; 67 void run(const ast_matchers::MatchFinder::MatchResult &Result) override; 80 void run(const ast_matchers::MatchFinder::MatchResult &Result) override;
|
/external/clang/lib/Lex/ |
HeaderMap.cpp | 51 uint32_t MaxValueLength; // Length of longest result path (excluding nul). 61 unsigned Result = 0; 65 Result += toLowercase(*S) * 13; 66 return Result; 139 HMapBucket Result; 140 Result.Key = HMAP_EmptyBucketKey; 148 Result.Prefix = 0; 149 Result.Suffix = 0; 150 return Result; // Invalid buffer, corrupt hmap. 154 Result.Key = getEndianAdjustedWord(BucketPtr->Key) [all...] |
/external/junit/src/org/junit/runner/ |
JUnitCore.java | 23 * @see org.junit.runner.Result 53 Result result= new JUnitCore().runMain(system, args); local 54 system.exit(result.wasSuccessful() ? 0 : 1); 63 * @return a {@link Result} describing the details of the test run and the failed tests. 65 public static Result runClasses(Computer computer, Class<?>... classes) { 73 * @return a {@link Result} describing the details of the test run and the failed tests. 75 public static Result runClasses(Class<?>... classes) { 83 public Result runMain(JUnitSystem system, String... args) { 98 Result result= run(classes.toArray(new Class[0])) local 152 Result result= new Result(); local [all...] |
/external/llvm/tools/llvm-readobj/ |
ObjDumper.h | 52 std::unique_ptr<ObjDumper> &Result); 56 std::unique_ptr<ObjDumper> &Result); 60 std::unique_ptr<ObjDumper> &Result);
|