/hardware/ti/wpan/tools/FM/service/src/java/com/ti/server/ |
BootReceiver.java | 21 import android.content.Context; 31 public void onReceive(final Context context, final Intent bootintent) { 34 context.startService(new Intent("com.ti.server.FmService"));
|
/cts/tests/tests/holo/src/android/holo/cts/modifiers/ |
ProgressDialogBuilder.java | 23 import android.content.Context; 36 Context context = view.getContext(); local 38 progressDialog.setMessage(context.getString(R.string.loading));
|
SearchViewModifier.java | 21 import android.content.Context; 39 Context context = view.getContext(); local 43 searchView.setQueryHint(context.getString(R.string.searchview_query_hint)); 47 searchView.setQuery(context.getString(R.string.searchview_query), false);
|
/external/apache-http/src/org/apache/http/client/protocol/ |
ClientContextConfigurer.java | 44 private final HttpContext context; field in class:ClientContextConfigurer 46 public ClientContextConfigurer (final HttpContext context) { 47 if (context == null) 48 throw new IllegalArgumentException("HTTP context may not be null"); 49 this.context = context; 53 this.context.setAttribute(COOKIESPEC_REGISTRY, registry); 57 this.context.setAttribute(AUTHSCHEME_REGISTRY, registry); 61 this.context.setAttribute(COOKIE_STORE, store); 65 this.context.setAttribute(CREDS_PROVIDER, provider) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
NfcDialogs.java | 22 import android.content.Context; 30 static AlertDialog createNotEnabledDialog(final Context context) { 31 return new AlertDialog.Builder(context) 39 context.startActivity(intent); 45 static AlertDialog createNdefPushNotEnabledDialog(final Context context) { 46 return new AlertDialog.Builder(context) 54 context.startActivity(intent); 60 public static AlertDialog createHceTapReaderDialog(final Context context, String message) [all...] |
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicIntentReceiver.java | 20 import android.content.Context; 34 public void onReceive(Context context, Intent intent) { 36 Toast.makeText(context, "Headphones disconnected.", Toast.LENGTH_SHORT).show(); 39 context.startService(new Intent(MusicService.ACTION_PAUSE)); 49 context.startService(new Intent(MusicService.ACTION_TOGGLE_PLAYBACK)); 52 context.startService(new Intent(MusicService.ACTION_PLAY)); 55 context.startService(new Intent(MusicService.ACTION_PAUSE)); 58 context.startService(new Intent(MusicService.ACTION_STOP)); 61 context.startService(new Intent(MusicService.ACTION_SKIP)) [all...] |
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
UrlIntentListener.java | 19 import android.content.Context; 36 final Context context = parent.getContext(); local 37 context.startActivity(intent);
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncLocalPart.java | 39 * @param xctxt The current execution context. 47 int context = getArg0AsNode(xctxt); local 48 if(DTM.NULL == context) 50 DTM dtm = xctxt.getDTM(context); 51 String s = (context != DTM.NULL) ? dtm.getLocalName(context) : "";
|
/external/chromium/chrome/browser/net/ |
preconnect.cc | 52 net::URLRequestContext* context = getter->GetURLRequestContext(); local 53 net::HttpTransactionFactory* factory = context->http_transaction_factory(); 60 context->GetUserAgent(url));
|
sdch_dictionary_fetcher.cc | 56 net::URLRequestContextGetter* context = Profile::GetDefaultRequestContext(); local 57 if (!context) { 68 current_fetch_->set_request_context(context);
|
/external/chromium/net/socket_stream/ |
socket_stream_job.h | 37 const URLRequestContext& context); 47 URLRequestContext* context() const { function in class:net::SocketStreamJob 48 return socket_->context(); 50 void set_context(URLRequestContext* context) { 51 socket_->set_context(context);
|
/external/chromium_org/android_webview/native/ |
aw_form_database.cc | 19 content::BrowserContext* context) { 21 DCHECK(context); 24 context)->GetFormDatabaseService(); 35 AwBrowserContext* context = AwContentBrowserClient::GetAwBrowserContext(); local 36 AwFormDatabaseService* service = context->GetFormDatabaseService();
|
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/shell/ |
AwShellResourceProvider.java | 7 import android.content.Context; 14 public static void registerResources(Context context) { 19 AwResource.setResources(context.getResources());
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
MemoryPressureListener.java | 8 import android.content.Context; 19 private static void registerSystemCallback(Context context) { 20 context.registerComponentCallbacks(
|
WeakContext.java | 7 import android.content.Context; 12 // Holds a WeakReference to Context to allow it to be GC'd. 14 // other thread (may return null, if the Context has been nullified). 16 private static WeakReference<Context> sWeakContext; 18 public static void initializeWeakContext(final Context context) { 19 sWeakContext = new WeakReference<Context>(context); 22 public static Context getContext() { 29 // May return null if context is no longer available 31 final Context context = sWeakContext.get(); local [all...] |
/external/chromium_org/chrome/browser/sessions/ |
session_restore_android.cc | 26 content::BrowserContext* context = web_contents->GetBrowserContext(); local 27 Profile* profile = Profile::FromBrowserContext(context); 34 content::WebContents::CreateParams(context));
|
/external/chromium_org/chrome/browser/spellchecker/ |
misspelling.h | 22 // misspelling.context = ASCIIToUTF16("Helllo world"); 33 Misspelling(const string16& context, 44 // Returns the substring of |context| that begins at |location| and contains 49 string16 context; member in class:Misspelling 51 // The number of characters between the beginning of |context| and the first
|
/external/chromium_org/chrome/renderer/extensions/ |
chrome_v8_context_set_unittest.cc | 22 v8::Handle<v8::Context> v8_context( 23 v8::Context::New(v8::Isolate::GetCurrent())); 29 ChromeV8Context* context = new ChromeV8Context( local 35 context_set.Add(context); 36 EXPECT_EQ(1u, context_set.GetAll().count(context)); 37 EXPECT_EQ(context, context_set.GetByV8Context(context->v8_context())); 40 context_set.Add(context); 41 EXPECT_EQ(1u, context_set.GetAll().count(context)); 45 EXPECT_EQ(1u, set_copy.count(context)); [all...] |
object_backed_native_handler.h | 26 explicit ObjectBackedNativeHandler(ChromeV8Context* context); 43 ChromeV8Context* context() { return context_; } function in class:extensions::ObjectBackedNativeHandler 58 // lifetime of webkit's involvement with it, not the life of the v8 context.
|
/external/chromium_org/chrome_frame/ |
sync_msg_reply_dispatcher.cc | 10 SyncMessageCallContext* context, 12 if (context) { 13 context->message_type_ = msg->type(); 14 context->id_ = IPC::SyncMessage::GetMessageId(*msg); 15 context->key_ = key; 18 message_queue_.push_back(context); 23 const IPC::Message& msg, SyncMessageCallContext* context) { 28 SyncMessageCallContext* context = GetContext(msg); local 29 // No context e.g. no return values and/or don't care 30 if (!context) { 42 SyncMessageCallContext* context = *it; local 61 SyncMessageCallContext* context = *it; local [all...] |
/external/chromium_org/content/browser/dom_storage/ |
dom_storage_context_wrapper.h | 60 friend class DOMStorageMessageFilter; // for access to context() 65 DOMStorageContextImpl* context() const { return context_.get(); } function in class:content::DOMStorageContextWrapper
|
/external/chromium_org/content/plugin/ |
plugin_main_linux.cc | 23 ucontext_t* context = static_cast<ucontext_t*>(void_context); local 24 greg_t* regs = context->uc_mcontext.gregs;
|
webplugin_accelerated_surface_proxy_mac.cc | 67 CGLContextObj WebPluginAcceleratedSurfaceProxy::context() { function in class:content::WebPluginAcceleratedSurfaceProxy 68 return surface_ ? surface_->context() : NULL;
|
/external/chromium_org/jingle/glue/ |
xmpp_client_socket_factory.cc | 46 net::SSLClientSocketContext context; local 47 context.cert_verifier = 49 context.transport_security_state = request_context_getter_-> 51 DCHECK(context.transport_security_state); 52 // TODO(rkn): context.server_bound_cert_service is NULL because the 55 transport_socket, host_and_port, ssl_config_, context);
|
/external/chromium_org/net/socket_stream/ |
socket_stream_job.h | 52 URLRequestContext* context() const { function in class:net::SocketStreamJob 53 return socket_.get() ? socket_->context() : 0; 55 void set_context(URLRequestContext* context) { 57 socket_->set_context(context);
|