/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
IconLoaderTest.java | 19 import com.android.quicksearchbox.util.Consumer; 50 AssertConsumer<Object> consumer = new AssertConsumer<Object>(); local 51 value.getLater(consumer); 52 consumer.assertNull(); 60 AssertConsumer<Object> consumer = new AssertConsumer<Object>(); local 61 value.getLater(consumer); 62 consumer.assertNotNull(); 66 protected static class AssertConsumer<C> implements Consumer<C> {
|
DefaultCorpusRankerTest.java | 77 ConsumerTrap<List<Corpus>> consumer = new ConsumerTrap<List<Corpus>>(); local 78 mRanker.getCorporaInAll(consumer); 79 return consumer.getValue();
|
/external/oauth/core/src/main/java/net/oauth/ |
ConsumerProperties.java | 28 * A pool of OAuthConsumers that are constructed from Properties. Each consumer 30 * from Properties whose names are prefixed with the consumer's name. For 31 * example, a consumer's credentials come from properties named 72 /** Get the consumer with the given name. */ 74 OAuthConsumer consumer; local 76 consumer = pool.get(name); 78 if (consumer == null) { 79 consumer = newConsumer(name); 84 pool.put(name, consumer); 90 consumer = first 105 OAuthConsumer consumer = new OAuthConsumer(consumerProperties local [all...] |
OAuthAccessor.java | 38 public final OAuthConsumer consumer; field in class:OAuthAccessor 43 public OAuthAccessor(OAuthConsumer consumer) { 44 this.consumer = consumer; 68 * consumer.getProperty("httpMethod") or (if that's null) 77 method = (String) this.consumer.getProperty("httpMethod"); 85 Object accepted = consumer.getProperty(OAuthConsumer.ACCEPT_ENCODING);
|
OAuthMessage.java | 259 final OAuthConsumer consumer = accessor.consumer; local 261 addParameter(OAuth.OAUTH_CONSUMER_KEY, consumer.consumerKey); 265 signatureMethod = (String) consumer.getProperty(OAuth.OAUTH_SIGNATURE_METHOD);
|
/external/llvm/tools/llvm-diff/ |
DiffLog.h | 23 class Consumer; 30 Consumer &consumer; member in class:llvm::LogBuilder 41 LogBuilder(Consumer &c, StringRef Format) 42 : consumer(c), Format(Format) {} 61 Consumer &consumer; member in class:llvm::DiffLogBuilder 64 DiffLogBuilder(Consumer &c) : consumer(c) {}
|
DifferenceEngine.h | 40 Engine.consumer.enterContext(L, R); 44 Engine.consumer.exitContext(); 60 DifferenceEngine(LLVMContext &context, Consumer &consumer) 61 : context(context), consumer(consumer), globalValueOracle(0) {} 66 consumer.log(text); 69 return LogBuilder(consumer, text); 71 Consumer& getConsumer() const { return consumer; } 86 Consumer &consumer; member in class:llvm::DifferenceEngine [all...] |
/external/chromium/chrome/browser/geolocation/ |
access_token_store_browsertest.cc | 44 CancelableRequestConsumerBase* consumer, 49 (*store)->LoadAccessTokens(consumer, callback); 61 CancelableRequestConsumer consumer; local 66 store->LoadAccessTokens(&consumer, NewCallback( 68 EXPECT_TRUE(consumer.HasPendingRequests()); 70 consumer.GetClientData(store.get(), first_handle); 72 EXPECT_FALSE(consumer.HasPendingRequests()); 75 store->LoadAccessTokens(&consumer, NewCallback( 77 store->LoadAccessTokens(&consumer, NewCallback( 79 EXPECT_TRUE(consumer.HasPendingRequests()) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MediaSource.java | 71 // and invoke consumer.consume() for each MediaItem with the given id. 76 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { 89 consumer.consume(pid.id, (MediaItem) obj);
|
ClusterAlbum.java | 72 ItemConsumer consumer = new ItemConsumer() { local 77 dataManager.mapMediaItems(subset, consumer, 0); 86 protected int enumerateMediaItems(ItemConsumer consumer, int startIndex) { 87 mDataManager.mapMediaItems(mPaths, consumer, startIndex); 115 ItemConsumer consumer = new ItemConsumer() { local 122 mDataManager.mapMediaItems(mPaths, consumer, 0);
|
FilterSet.java | 128 ItemConsumer consumer = new ItemConsumer() { local 135 mDataManager.mapMediaItems(mPaths, consumer, 0);
|
LocalSource.java | 186 public void mapMediaItems(ArrayList<PathId> list, ItemConsumer consumer) { 202 processMapMediaItems(imageList, consumer, true); 203 processMapMediaItems(videoList, consumer, false); 207 ItemConsumer consumer, boolean isImage) { 233 consumer.consume(pid2.id, items[k - i]);
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
ClassPathOpener.java | 42 private final Consumer consumer; field in class:ClassPathOpener 53 public interface Consumer { 70 * Informs consumer that an exception occurred while processing 78 * Informs consumer that processing of an archive file has begun. 92 * @param consumer {@code non-null;} callback interface 94 public ClassPathOpener(String pathname, boolean sort, Consumer consumer) { 97 this.consumer = consumer; [all...] |
/external/chromium/chrome/browser/password_manager/ |
password_store_win_unittest.cc | 179 MockPasswordStoreConsumer consumer; local 182 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) 215 EXPECT_CALL(consumer, 220 store->GetLogins(*form, &consumer); 252 MockPasswordStoreConsumer consumer; local 253 store->GetLogins(*form, &consumer); 452 MockPasswordStoreConsumer consumer; local 455 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) 460 EXPECT_CALL(consumer, 465 store->GetAutofillableLogins(&consumer); 534 MockPasswordStoreConsumer consumer; local 557 MockPasswordStoreConsumer consumer; local 580 MockPasswordStoreConsumer consumer; local [all...] |
password_store_default_unittest.cc | 192 MockPasswordStoreConsumer consumer; local 195 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) 199 EXPECT_CALL(consumer, 204 store->GetAutofillableLogins(&consumer); 306 MockPasswordStoreConsumer consumer; local 309 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) 314 EXPECT_CALL(consumer, 319 store->GetAutofillableLogins(&consumer); 324 EXPECT_CALL(consumer, 329 store->GetBlacklistLogins(&consumer); 410 MockPasswordStoreConsumer consumer; local [all...] |
password_store_x_unittest.cc | 378 MockPasswordStoreConsumer consumer; local 381 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) 386 EXPECT_CALL(consumer, 391 store->GetAutofillableLogins(&consumer); 396 EXPECT_CALL(consumer, 401 store->GetBlacklistLogins(&consumer); 488 MockPasswordStoreConsumer consumer; local 490 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) 495 EXPECT_CALL(consumer, 500 store->GetAutofillableLogins(&consumer); 659 MockPasswordStoreConsumer consumer; local [all...] |
/external/chromium/chrome/browser/sessions/ |
session_service_unittest.cc | 633 CancelableRequestConsumer consumer; local 635 service()->GetCurrentSession(&consumer,
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/ |
index.php | 47 public $consumer; variable 52 $this->consumer = new OAuthConsumer( variable 109 $this->consumer, $this->token, 'GET', $url, array()); 111 $request->sign_request($this->signatureMethod, $this->consumer,
|
/external/chromium/chrome/common/net/gaia/ |
gaia_auth_fetcher_unittest.cc | 156 MockGaiaConsumer consumer; local 157 EXPECT_CALL(consumer, OnClientLoginFailure(expected_error)) 160 GaiaAuthFetcher auth(&consumer, std::string(), 178 MockGaiaConsumer consumer; local 179 EXPECT_CALL(consumer, OnIssueAuthTokenFailure(_, expected_error)) 182 GaiaAuthFetcher auth(&consumer, std::string(), 201 MockGaiaConsumer consumer; local 202 EXPECT_CALL(consumer, OnClientLoginFailure(expected_error)) 205 GaiaAuthFetcher auth(&consumer, std::string(), 250 MockGaiaConsumer consumer; local 266 MockGaiaConsumer consumer; local 300 MockGaiaConsumer consumer; local 375 MockGaiaConsumer consumer; local 397 MockGaiaConsumer consumer; local 420 MockGaiaConsumer consumer; local 450 MockGaiaConsumer consumer; local 475 MockGaiaConsumer consumer; local [all...] |
/external/clang/lib/Serialization/ |
ChainedIncludesSource.cpp | 103 llvm::OwningPtr<ASTConsumer> consumer; local 104 consumer.reset(new PCHGenerator(Clang->getPreprocessor(), "-", 108 consumer->GetASTMutationListener()); 109 Clang->setASTConsumer(consumer.take()); 206 void ChainedIncludesSource::StartTranslationUnit(ASTConsumer *Consumer) { 207 return getFinalReader().StartTranslationUnit(Consumer);
|
/external/skia/src/ports/ |
SkImageDecoder_CG.cpp | 117 // we don't own/reference the stream, so it our consumer must not live 124 CGDataConsumerRef consumer = SkStreamToCGDataConsumer(stream); local 125 if (NULL == consumer) { 128 SkAutoTCallVProc<const void, CFRelease> arconsumer(consumer); 130 return CGImageDestinationCreateWithDataConsumer(consumer, type, 1, NULL); 145 to our SkWStream. Since we don't reference/own the SkWStream, our consumer
|
/external/valgrind/main/drd/tests/ |
circular_buffer.c | 1 /* Test program that performs producer-consumer style communication through 161 static void consumer(int* id) function 210 (void * (*)(void *)) consumer, &thread_arg[i]);
|
/external/chromium/chrome/browser/chromeos/login/ |
google_authenticator_unittest.cc | 218 MockConsumer consumer; local 219 EXPECT_CALL(consumer, OnLoginSuccess(username_, password_, _, false)) 227 scoped_refptr<GoogleAuthenticator> auth(new GoogleAuthenticator(&consumer)); 235 MockConsumer consumer; local 236 EXPECT_CALL(consumer, OnLoginFailure(_)) 244 scoped_refptr<GoogleAuthenticator> auth(new GoogleAuthenticator(&consumer)); 250 MockConsumer consumer; local 251 EXPECT_CALL(consumer, OnPasswordChangeDetected(result_)) 254 EXPECT_CALL(consumer, OnLoginSuccess(username_, password_, result_, false)) 273 scoped_refptr<GoogleAuthenticator> auth(new GoogleAuthenticator(&consumer)); 280 MockConsumer consumer; local 305 MockConsumer consumer; local 338 MockConsumer consumer; local 356 MockConsumer consumer; local 374 MockConsumer consumer; local 389 MockConsumer consumer; local 404 MockConsumer consumer; local 424 MockConsumer consumer; local 439 MockConsumer consumer; local 457 MockConsumer consumer; local 478 MockConsumer consumer; local 497 MockConsumer consumer; local 538 MockConsumer consumer; local 578 MockConsumer consumer; local 616 MockConsumer consumer; local 665 MockConsumer consumer; local [all...] |
/external/chromium/chrome/browser/webdata/ |
web_data_service_unittest.cc | 178 AutofillWebDataServiceConsumer<std::vector<string16> > consumer; local 182 name1_, string16(), limit, &consumer); 184 // The message loop will exit when the consumer is called. 187 EXPECT_EQ(handle, consumer.handle()); 188 ASSERT_EQ(1U, consumer.result().size()); 189 EXPECT_EQ(value1_, consumer.result()[0]); 272 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer; local 273 WebDataService::Handle handle = wds_->GetAutofillProfiles(&consumer); 275 EXPECT_EQ(handle, consumer.handle()); 276 ASSERT_EQ(1U, consumer.result().size()) 292 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer; local 337 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer; local 393 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer; local 412 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer; local 457 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer; local [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
MultiSourceCorpus.java | 140 BarrierConsumer<SourceResult> consumer = local 145 source, null, consumer, onlySource); 148 ArrayList<SourceResult> results = consumer.getValues();
|