/external/chromium_org/chrome/browser/chromeos/login/ |
authenticator.cc | 11 Authenticator::Authenticator(LoginStatusConsumer* consumer) 12 : consumer_(consumer), 18 void Authenticator::SetConsumer(LoginStatusConsumer* consumer) { 19 consumer_ = consumer;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
Consumers.java | 22 * Consumer utilities. 28 public static <A extends QuietlyCloseable> void consumeCloseable(Consumer<A> consumer, 32 accepted = consumer.consume(value); 39 final Consumer<A> consumer, final A value) { 41 consumer.consume(value); 45 consumer.consume(value); 52 final Consumer<A> consumer, final A value) [all...] |
NowOrLater.java | 21 * be sent to a {@link Consumer} later. 38 * which case the callback may be made in context. The thread on which the consumer is called 41 void getLater(Consumer<? super C> consumer);
|
Now.java | 29 public void getLater(Consumer<? super C> consumer) { 30 consumer.consume(getNow());
|
SQLiteAsyncQuery.java | 37 * Runs the query against the database and passes the result to the consumer. 39 public void run(SQLiteDatabase db, Consumer<A> consumer) { 41 consumer.consume(result);
|
CachedLater.java | 42 private List<Consumer<? super A>> mWaitingConsumers; 56 List<Consumer<? super A>> waitingConsumers; 65 for (Consumer<? super A> consumer : waitingConsumers) { 66 if (DBG) Log.d(TAG, "Calling consumer: " + consumer); 67 consumer.consume(value); 75 * @param consumer A consumer that will be given the cached value. 76 * The consumer may be called synchronously, or asynchronously o [all...] |
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/clients/ |
imap.py | 32 def authenticate(self, url, consumer, token): 33 if consumer is not None and not isinstance(consumer, oauth2.Consumer): 34 raise ValueError("Invalid consumer.") 40 lambda x: oauth2.build_xoauth_string(url, consumer, token))
|
smtp.py | 33 def authenticate(self, url, consumer, token): 34 if consumer is not None and not isinstance(consumer, oauth2.Consumer): 35 raise ValueError("Invalid consumer.") 41 base64.b64encode(oauth2.build_xoauth_string(url, consumer, token)))
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/clients/ |
imap.py | 32 def authenticate(self, url, consumer, token): 33 if consumer is not None and not isinstance(consumer, oauth2.Consumer): 34 raise ValueError("Invalid consumer.") 40 lambda x: oauth2.build_xoauth_string(url, consumer, token))
|
smtp.py | 33 def authenticate(self, url, consumer, token): 34 if consumer is not None and not isinstance(consumer, oauth2.Consumer): 35 raise ValueError("Invalid consumer.") 41 base64.b64encode(oauth2.build_xoauth_string(url, consumer, token)))
|
/external/llvm/tools/llvm-diff/ |
DifferenceEngine.h | 39 Engine.consumer.enterContext(L, R); 43 Engine.consumer.exitContext(); 61 DifferenceEngine(Consumer &consumer) 62 : consumer(consumer), globalValueOracle(0) {} 67 consumer.log(text); 70 return LogBuilder(consumer, text); 72 Consumer& getConsumer() const { return consumer; } 86 Consumer &consumer; member in class:llvm::DifferenceEngine [all...] |
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) {}
|
/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);
|
/external/chromium_org/ui/events/gestures/ |
gesture_recognizer.h | 34 GestureConsumer* consumer) = 0; 36 // This is called when the consumer is destroyed. So this should cleanup any 37 // internal state maintained for |consumer|. 38 virtual void CleanupStateForConsumer(GestureConsumer* consumer) = 0; 64 // If a gesture is underway for |consumer| |point| is set to the last touch 66 // |consumer| false is returned and |point| is untouched. 67 virtual bool GetLastTouchPointForTarget(GestureConsumer* consumer, 71 virtual void CancelActiveTouches(GestureConsumer* consumer) = 0;
|
gesture_recognizer_impl.h | 45 virtual bool GetLastTouchPointForTarget(GestureConsumer* consumer, 47 virtual void CancelActiveTouches(GestureConsumer* consumer) OVERRIDE; 54 // Sets up the target consumer for gestures based on the touch-event. 55 void SetupTargets(const TouchEvent& event, GestureConsumer* consumer); 63 virtual void CleanupStateForConsumer(GestureConsumer* consumer) OVERRIDE; 71 // to a specific |consumer|. 72 GestureEventHelper* FindDispatchHelperForConsumer(GestureConsumer* consumer);
|
/external/harfbuzz_ng/util/ |
main-font-text.hh | 41 consumer (&options) {} 58 consumer.init (&font_opts); 64 consumer.consume_line (buffer, text, text_len, input.text_before, input.text_after); 67 consumer.finish (&font_opts); 69 return consumer.failed ? 1 : 0; 76 consumer_t consumer; member in struct:main_font_text_t
|
/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> {
|
/external/chromium_org/chrome/browser/common/ |
cancelable_request.cc | 13 CancelableRequestConsumerBase* consumer) { 25 consumer->OnRequestAdded(this, handle); 27 request->Init(this, handle, consumer); 55 item->second->consumer()->OnRequestRemoved(this, item->first); 61 CancelableRequestConsumerBase* consumer = NULL; local 70 consumer = i->second->consumer(); 73 // else the consumer might be gone). 79 // Notify the consumer that the request is gone 80 consumer->OnRequestRemoved(this, handle) [all...] |
/external/chromium_org/chrome/browser/history/android/ |
android_history_provider_service.h | 74 CancelableRequestConsumerBase* consumer, 87 CancelableRequestConsumerBase* consumer, 100 CancelableRequestConsumerBase* consumer, 106 CancelableRequestConsumerBase* consumer, 113 CancelableRequestConsumerBase* consumer, 123 CancelableRequestConsumerBase* consumer, 134 CancelableRequestConsumerBase* consumer, 146 CancelableRequestConsumerBase* consumer, 157 CancelableRequestConsumerBase* consumer, 171 CancelableRequestConsumerBase* consumer, [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...] |
/external/chromium/chrome/browser/password_manager/ |
password_store.cc | 68 const PasswordForm& form, PasswordStoreConsumer* consumer) { 69 return Schedule(&PasswordStore::GetLoginsImpl, consumer, form); 73 PasswordStoreConsumer* consumer) { 74 return Schedule(&PasswordStore::GetAutofillableLoginsImpl, consumer); 78 PasswordStoreConsumer* consumer) { 79 return Schedule(&PasswordStore::GetBlacklistLoginsImpl, consumer); 112 BackendFunc func, PasswordStoreConsumer* consumer) { 114 NewCallback(consumer, 116 AddRequest(request, consumer->cancelable_consumer()); 123 BackendFunc func, PasswordStoreConsumer* consumer, const ArgA& a) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebMediaStreamSource.cpp | 174 static PassRefPtr<ConsumerWrapper> create(WebAudioDestinationConsumer* consumer) 176 return adoptRef(new ConsumerWrapper(consumer)); 182 WebAudioDestinationConsumer* consumer() { return m_consumer; } function in class:blink::ConsumerWrapper 185 explicit ConsumerWrapper(WebAudioDestinationConsumer* consumer) : m_consumer(consumer) { } 210 void WebMediaStreamSource::addAudioConsumer(WebAudioDestinationConsumer* consumer) 213 ASSERT(!m_private.isNull() && consumer); 215 m_private->addAudioConsumer(ConsumerWrapper::create(consumer)); 218 bool WebMediaStreamSource::removeAudioConsumer(WebAudioDestinationConsumer* consumer) 221 ASSERT(!m_private.isNull() && consumer); [all...] |
/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...] |
/frameworks/av/services/camera/libcameraservice/gui/ |
RingBufferConsumer.h | 62 // Create a new ring buffer consumer. The consumerUsage parameter determines 63 // the consumer usage flags passed to the graphics allocator. The 66 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, 84 // setConsumerUsage allows the BufferQueue consumer usage to be 123 PinnedBufferItem(wp<RingBufferConsumer> consumer, 125 mConsumer(consumer), 130 sp<RingBufferConsumer> consumer = mConsumer.promote(); local 131 if (consumer != NULL) { 132 consumer->unpinBuffer(mBufferItem);
|