/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardSecurityContainer.java | 3 import android.content.Context; 11 public KeyguardSecurityContainer(Context context, AttributeSet attrs) { 12 this(context, attrs, 0); 15 public KeyguardSecurityContainer(Context context) { 19 public KeyguardSecurityContainer(Context context, AttributeSet attrs, int defStyle) { 20 super(context, attrs, defStyle);
|
/frameworks/rs/ |
rs_hal.h | 27 class Context; 81 bool (*initGraphics)(const Context *); 82 void (*shutdownGraphics)(const Context *); 83 bool (*setSurface)(const Context *, uint32_t w, uint32_t h, RsNativeWindow); 84 void (*swap)(const Context *); 86 void (*shutdownDriver)(Context *); 88 void (*setPriority)(const Context *, int32_t priority); 94 bool (*init)(const Context *rsc, ScriptC *s, 100 bool (*initIntrinsic)(const Context *rsc, Script *s, 104 void (*invokeFunction)(const Context *rsc, Script *s [all...] |
rsRuntime.h | 31 // Context 34 void rsrAllocationSyncAll(Context *, Script *, Allocation *); 37 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *); 38 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *); 39 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *); 40 void rsrBindSampler(Context *, ProgramFragment *, uint32_t slot, Sampler *); 41 void rsrBindProgramStore(Context *, ProgramStore *); 42 void rsrBindProgramFragment(Context *, ProgramFragment *); 43 void rsrBindProgramVertex(Context *, ProgramVertex *); 44 void rsrBindProgramRaster(Context *, ProgramRaster *) [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouterThemeHelper.java | 19 import android.content.Context; 29 public static Context createThemedContext(Context context, boolean forceDark) { 30 boolean isLightTheme = isLightTheme(context); 32 context = new ContextThemeWrapper(context, R.style.Theme_AppCompat); 35 return new ContextThemeWrapper(context, isLightTheme ? 39 public static int getThemeResource(Context context, int attr) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
ClientSessionContextTest.java | 29 ClientSessionContext context = new ClientSessionContext(); local 33 context.putSession(a); 34 assertSessionContextContents(context, new SSLSession[] { a }, new SSLSession[] { b }); 36 context.putSession(b); 37 assertSessionContextContents(context, new SSLSession[] { a, b }, new SSLSession[0]); 41 ClientSessionContext context = new ClientSessionContext(); local 47 context.putSession(a); 48 assertSessionContextContents(context, new SSLSession[] { a }, new SSLSession[] { b, c, d }); 50 context.putSession(b); 51 assertSessionContextContents(context, new SSLSession[] { a, b }, new SSLSession[] { c, d }) 64 ClientSessionContext context = new ClientSessionContext(); local [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
LocalBluetoothPreferences.java | 20 import android.content.Context; 51 private static SharedPreferences getSharedPreferences(Context context) { 52 return context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE); 55 static long getDiscoverableEndTimestamp(Context context) { 56 return getSharedPreferences(context).getLong( 60 static boolean shouldShowDialogInForeground(Context context, [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
StopProgressView.java | 6 import android.content.Context; 21 * @param context 26 public StopProgressView(Context context, AttributeSet attrs, int defStyle, int styleRes) { 27 super(context, attrs, defStyle, styleRes); 32 * @param context 36 public StopProgressView(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle); 42 * @param context [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
GoNegReqTestSuite.java | 21 import android.content.Context; 32 * @param context 35 public static ArrayList<ReqTestCase> getTestSuite(Context context) { 36 initialize(context); 42 * @param context 46 public static ReqTestCase getTestCase(Context context, 48 initialize(context); 58 private static void initialize(Context context) [all...] |
P2pClientTestSuite.java | 21 import android.content.Context; 32 * @param context 35 public static ArrayList<ReqTestCase> getTestSuite(Context context) { 36 initialize(context); 42 * @param context 46 public static ReqTestCase getTestCase(Context context, 48 initialize(context); 58 private static void initialize(Context context) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowProgressDialog.java | 5 import android.content.Context; 18 public static ProgressDialog show(Context context, CharSequence title, CharSequence message) { 19 return show(context, title, message, false); 23 public static ProgressDialog show(Context context, CharSequence title, CharSequence message, boolean indeterminate) { 24 return show(context, title, message, indeterminate, false, null); 28 public static ProgressDialog show(Context context, CharSequence title, CharSequence message, boolean indeterminate, boolean cancelable) { 29 return show(context, title, message, indeterminate, cancelable, null) [all...] |
ShadowArrayAdapter.java | 3 import android.content.Context; 35 private Context context; field in class:ShadowArrayAdapter 50 public void __constructor__(Context context, int textViewResourceId) { 51 init(context, textViewResourceId, 0, new ArrayList<T>()); 54 public void __constructor__(Context context, int resource, int textViewResourceId) { 55 init(context, resource, textViewResourceId, new ArrayList<T>()); 58 public void __constructor__(Context context, int textViewResourceId, T[] objects) [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
Recycler.java | 21 import android.content.Context; 65 public static boolean checkForThreadsOverLimit(Context context) { 69 return smsRecycler.anyThreadOverLimit(context) || mmsRecycler.anyThreadOverLimit(context); 72 public void deleteOldMessages(Context context) { 76 if (!isAutoDeleteEnabled(context)) { 80 Cursor cursor = getAllThreads(context); 82 int limit = getMessageLimit(context); [all...] |
/external/libsepol/src/ |
context.h | 6 #include <sepol/policydb/context.h> 10 /* Create a context structure from high level representation */ 18 const context_struct_t * context, 21 /* Create a context structure from string representation */ 27 /* Check if the provided context is valid for this policy */ 29 const context_struct_t * context); 31 /* Extract the context as string */ 34 const context_struct_t * context,
|
/external/webkit/Tools/DumpRenderTree/ |
AccessibilityUIElement.cpp | 39 static JSValueRef allAttributesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 42 return JSValueMakeString(context, attributes.get()); 45 static JSValueRef attributesOfLinkedUIElementsCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 48 return JSValueMakeString(context, linkedUIDescription.get()); 51 static JSValueRef attributesOfDocumentLinksCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 54 return JSValueMakeString(context, linkedUIDescription.get()); 57 static JSValueRef attributesOfChildrenCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 60 return JSValueMakeString(context, childrenDescription.get()); 63 static JSValueRef parameterizedAttributeNamesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 66 return JSValueMakeString(context, parameterizedAttributeNames.get()) [all...] |
/external/sepolicy/ |
servicemanager.te | 1 # servicemanager - the Binder context manager
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
glslang.h | 8 extern int glslang_initialize(TParseContext* context); 9 extern int glslang_finalize(TParseContext* context); 14 TParseContext* context); 15 extern int glslang_parse(TParseContext* context);
|
/packages/apps/Browser/src/com/android/browser/search/ |
SearchEngines.java | 20 import android.content.Context; 32 public static SearchEngine getDefaultSearchEngine(Context context) { 33 return DefaultSearchEngine.create(context); 36 public static List<SearchEngineInfo> getSearchEngineInfos(Context context) { 38 Resources res = context.getResources(); 42 SearchEngineInfo info = new SearchEngineInfo(context, name); 48 public static SearchEngine get(Context context, String name) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
PackageChangedReceiver.java | 4 import android.content.Context; 9 public void onReceive(final Context context, Intent intent) { 16 LauncherApplication app = (LauncherApplication) context.getApplicationContext();
|
/sdk/templates/other/AppWidget/root/src/app_package/ |
AppWidget.java.ftl | 5 import android.content.Context; 17 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { 21 updateAppWidget(context, appWidgetManager, appWidgetIds[i]); 27 public void onDeleted(Context context, int[] appWidgetIds) { 31 ${className}ConfigureActivity.deleteTitlePref(context, appWidgetIds[i]); 37 public void onEnabled(Context context) { 42 public void onDisabled(Context context) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
Version.java | 19 import android.content.Context; 26 static String getVersionName(Context context) { 27 return getPackageInfo(context).versionName; 30 static int getVersionCode(Context context) { 31 return getPackageInfo(context).versionCode; 34 static PackageInfo getPackageInfo(Context context) { 36 PackageManager packageManager = context.getPackageManager() [all...] |
/dalvik/libdex/ |
sha1.h | 15 void SHA1Init(SHA1_CTX* context); 16 void SHA1Update(SHA1_CTX* context, const unsigned char* data, 18 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
|
/external/libselinux/src/ |
fsetfilecon.c | 10 int fsetfilecon(int fd, const security_context_t context) 12 return fsetxattr(fd, XATTR_NAME_SELINUX, context, strlen(context) + 1,
|
lsetfilecon.c | 10 int lsetfilecon(const char *path, const security_context_t context) 12 return lsetxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1,
|
setfilecon.c | 10 int setfilecon(const char *path, const security_context_t context) 12 return setxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1,
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
RobolectricConfigs.java | 4 import android.content.Context; 11 public void onReceive(Context context, Intent intent) {
|