/device/sample/apps/upgrade/src/com/example/android/platform/upgrade/ |
Upgrade.java | 21 import android.content.Context; 34 public void onReceive(Context context, Intent intent) { 42 context.getPackageManager().setComponentEnabledSetting( 43 new ComponentName(context, getClass()),
|
/external/bluetooth/glib/gobject/ |
gobjectnotifyqueue.c | 47 GObjectNotifyContext *context; member in struct:_GObjectNotifyQueue 69 GObjectNotifyContext *context) 73 nqueue = g_datalist_id_get_data (&object->qdata, context->quark_notify_queue); 78 nqueue->context = context; 79 g_datalist_id_set_data_full (&object->qdata, context->quark_notify_queue, 93 GObjectNotifyContext *context = nqueue->context; local 122 g_datalist_id_set_data (&object->qdata, context->quark_notify_queue, NULL); 125 context->dispatcher (object, n_pspecs, pspecs) [all...] |
/external/dbus/dbus/ |
dbus-sha.h | 45 void _dbus_sha_init (DBusSHAContext *context); 46 void _dbus_sha_update (DBusSHAContext *context, 48 dbus_bool_t _dbus_sha_final (DBusSHAContext *context,
|
/external/webkit/WebCore/bindings/v8/custom/ |
V8XMLHttpRequestConstructor.cpp | 52 ScriptExecutionContext* context = getScriptExecutionContext(); 53 if (!context) 54 return throwError("XMLHttpRequest constructor's associated context is not available", V8Proxy::ReferenceError); 55 RefPtr<XMLHttpRequest> xmlHttpRequest = XMLHttpRequest::create(context);
|
V8CustomApplicationInstalledCallback.cpp | 51 v8::Handle<v8::Context> context = V8Proxy::context(m_frame.get()); local 52 if (context.IsEmpty()) 55 v8::Context::Scope scope(context);
|
V8CustomPositionCallback.cpp | 50 v8::Handle<v8::Context> context = V8Proxy::context(m_frame.get()); local 51 if (context.IsEmpty()) 54 v8::Context::Scope scope(context);
|
V8CustomPositionErrorCallback.cpp | 50 v8::Handle<v8::Context> context = V8Proxy::context(m_frame.get()); local 51 if (context.IsEmpty()) 54 v8::Context::Scope scope(context);
|
V8CustomSQLStatementCallback.cpp | 59 v8::Handle<v8::Context> context = V8Proxy::context(m_frame.get()); local 60 if (context.IsEmpty()) 63 v8::Context::Scope scope(context);
|
/frameworks/base/core/java/android/database/sqlite/ |
SqliteWrapper.java | 22 import android.content.Context; 47 public static void checkSQLiteException(Context context, SQLiteException e) { 49 Toast.makeText(context, com.android.internal.R.string.low_memory, 56 public static Cursor query(Context context, ContentResolver resolver, Uri uri, 62 checkSQLiteException(context, e); 67 public static boolean requery(Context context, Cursor cursor) { 72 checkSQLiteException(context, e) [all...] |
/frameworks/base/core/jni/ |
android_media_ToneGenerator.cpp | 37 jfieldID context; member in struct:fields_t 45 fields.context); 58 fields.context); 70 fields.context); 73 env->SetIntField(thiz, fields.context, 0); 84 env->SetIntField(thiz, fields.context, 0); 102 env->SetIntField(thiz, fields.context, (int)lpToneGen); 104 LOGV("ToneGenerator fields.context: %x\n", env->GetIntField(thiz, fields.context)); 112 fields.context); [all...] |
android_os_StatFs.cpp | 36 jfieldID context; member in struct:android::fields_t 45 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); 52 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); 59 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); 66 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); 79 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); 96 env->SetIntField(thiz, fields.context, 0); 116 env->SetIntField(thiz, fields.context, (int)stat); 123 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); 126 env->SetIntField(thiz, fields.context, 0) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/ |
SecurityUtils.java | 65 * @throws SecurityException if a context for the passed 68 * @throws Error if context is null AND if null context is already stored 71 public static void putContext(Thread thread, AccessControlContext context) 80 if (context == null) { 83 throw new Error("null context may be stored only once"); 86 ACC_CACHE.put(thread, context); 93 * by the VM which does not have inherited context.<br>
|
/libcore/luni/src/main/java/org/apache/xpath/patterns/ |
FunctionPattern.java | 92 * @param xctxt XPath runtime context. 102 public XObject execute(XPathContext xctxt, int context) 106 DTMIterator nl = m_functionExpr.asIterator(xctxt, context); 115 score = (n == context) ? SCORE_OTHER : SCORE_NONE; 119 context = n; 135 * @param xctxt XPath runtime context. 145 public XObject execute(XPathContext xctxt, int context, 150 DTMIterator nl = m_functionExpr.asIterator(xctxt, context); 159 score = (n == context) ? SCORE_OTHER : SCORE_NONE; 163 context = n 192 int context = xctxt.getCurrentNode(); local [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLSessionContextTest.java | 43 SSLContext context = SSLContext.getInstance("TLS"); local 44 context.init(null, null, null); 45 SSLSessionContext sc = context 81 SSLContext context = SSLContext.getInstance("TLS"); local 82 context.init(null, null, null); 83 SSLSessionContext sc = context 110 SSLContext context = SSLContext.getInstance("TLS"); local 111 context.init(null, null, null); 112 SSLSessionContext sc = context 134 SSLContext context = SSLContext.getInstance("TLS") local [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
CameraHeadUpDisplay.java | 19 import android.content.Context; 33 private Context mContext; 37 public CameraHeadUpDisplay(Context context) { 38 super(context); 39 mContext = context; 42 public void initialize(Context context, PreferenceGroup group, 46 super.initialize(context, group); 51 Context context, PreferenceGroup group) [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
ExchangeSender.java | 21 import android.content.Context; 32 public static Sender newInstance(Context context, String uri) { 33 return new ExchangeSender(context, uri); 36 private ExchangeSender(Context context, String _uri) {
|
/packages/apps/Stk/src/com/android/stk/ |
BootCompletedReceiver.java | 20 import android.content.Context; 31 public void onReceive(Context context, Intent intent) { 38 context.startService(new Intent(context, StkAppService.class)
|
/external/webkit/WebCore/platform/graphics/win/ |
GraphicsContextCGWin.cpp | 50 CGContextRef context = CGBitmapContextCreate(info.bmBits, info.bmWidth, info.bmHeight, 8, local 55 CGContextTranslateCTM(context, 0, info.bmHeight); 56 CGContextScaleCTM(context, 1, -1); 61 return context; 72 // Make sure the context starts in sync with our state. 89 // it into our context. 146 CGContextRef context = platformContext(); local 147 CGContextSaveGState(context); 149 CGContextBeginPath(context); 150 CGContextAddPath(context, focusRingPath) 201 CGContextRef context = platformContext(); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AlertReceiver.java | 23 import android.content.Context; 49 public void onReceive(Context context, Intent intent) { 60 Intent serviceIntent = new Intent(context, DismissAllAlarmsService.class); 61 context.startService(serviceIntent); 64 i.setClass(context, AlertService.class); 73 beginStartingService(context, i); 81 public static void beginStartingService(Context context, Intent intent) { 85 (PowerManager)context.getSystemService(Context.POWER_SERVICE) [all...] |
/external/webkit/WebKitTools/DumpRenderTree/gtk/ |
EventSender.cpp | 87 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) 89 return JSValueMakeBoolean(context, dragMode); 92 static bool setDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception) 94 dragMode = JSValueToBoolean(context, value); 98 static JSValueRef leapForwardCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 101 return JSValueMakeUndefined(context); 104 static JSValueRef contextClickCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 110 return JSValueMakeUndefined(context); 128 return JSValueMakeUndefined(context); 155 static JSValueRef mouseDownCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], (…) [all...] |
/external/icu4c/samples/layout/ |
cgnomelayout.c | 21 struct Context 28 typedef struct Context Context; 80 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); local 92 if (context->paragraph != NULL) { 93 pf_close(context->paragraph); 96 context->paragraph = newPara 226 Context *context = NEW_ARRAY(Context, 1); local 240 gtk_object_set_data(GTK_OBJECT(app), "context", context); local 265 context); local 270 context); local 281 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); local [all...] |
/external/apache-http/src/org/apache/http/ |
HttpRequestInterceptor.java | 47 * <!-- empty lines above to avoid 'svn diff' context problems --> 61 * @param context the context for the request 66 void process(HttpRequest request, HttpContext context)
|
HttpResponseInterceptor.java | 46 * <!-- empty lines above to avoid 'svn diff' context problems --> 60 * @param context the context for the request 65 void process(HttpResponse response, HttpContext context)
|
/external/apache-http/src/org/apache/http/client/ |
HttpRequestRetryHandler.java | 59 * @param context the context for the request execution 64 boolean retryRequest(IOException exception, int executionCount, HttpContext context);
|
/external/apache-http/src/org/apache/http/protocol/ |
HttpRequestExecutor.java | 106 final HttpContext context) 114 if (context == null) { 115 throw new IllegalArgumentException("HTTP context may not be null"); 119 HttpResponse response = doSendRequest(request, conn, context); 121 response = doReceiveResponse(request, conn, context); 141 * @param context the context for sending the request 149 final HttpContext context) 157 if (context == null) { 158 throw new IllegalArgumentException("HTTP context may not be null") [all...] |