Searched refs:Context (Results 1 - 25 of 1136) sorted by path

1234567891011>>

/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java28 import android.content.Context;
1078 Context.WINDOW_SERVICE));
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DDataCommand.java23 import android.content.Context;
56 IConnectivityManager.Stub.asInterface(ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
66 = ITelephony.Stub.asInterface(ServiceManager.getService(Context.TELEPHONY_SERVICE));
H A DPowerCommand.java26 import android.content.Context;
64 = IPowerManager.Stub.asInterface(ServiceManager.getService(Context.POWER_SERVICE));
H A DWifiCommand.java24 import android.content.Context;
56 IConnectivityManager.Stub.asInterface(ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
66 = IWifiManager.Stub.asInterface(ServiceManager.getService(Context.WIFI_SERVICE));
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityServiceInfo.java20 import android.content.Context;
200 * @param context Context for accessing resources.
206 public AccessibilityServiceInfo(ResolveInfo resolveInfo, Context context)
/frameworks/base/core/java/android/accounts/
H A DAbstractAccountAuthenticator.java24 import android.content.Context;
111 private final Context mContext;
113 public AbstractAccountAuthenticator(Context context) {
H A DAccountAuthenticatorCache.java24 import android.content.Context;
46 public AccountAuthenticatorCache(Context context) {
H A DAccountManager.java21 import android.content.Context;
74 * <li>Get an instance of AccountManager using {@link #get(Context)}.
225 private final Context mContext;
242 public AccountManager(Context context, IAccountManager service) {
251 public AccountManager(Context context, IAccountManager service, Handler handler) {
273 * Gets an AccountManager instance associated with a Context.
274 * The {@link Context} will be used as long as the AccountManager is
275 * active, so make sure to use a {@link Context} whose lifetime is
283 * @param context The {@link Context} to use when necessary
286 public static AccountManager get(Context contex
[all...]
H A DAccountManagerService.java27 import android.content.Context;
85 private final Context mContext;
185 public AccountManagerService(Context context) {
189 public AccountManagerService(Context context, PackageManager packageManager,
212 public void onReceive(Context context1, Intent intent) {
1056 final Context authContext;
1666 if (!mContext.bindService(intent, this, Context.BIND_AUTO_CREATE)) {
1708 public DatabaseHelper(Context context) {
1911 ((NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE))
1918 ((NotificationManager) mContext.getSystemService(Context
[all...]
H A DChooseAccountActivity.java19 import android.content.Context;
102 Context authContext = createPackageContext(desc.packageName, 0);
159 public AccountArrayAdapter(Context context, int textViewResourceId, AccountInfo[] infos) {
163 Context.LAYOUT_INFLATER_SERVICE);
H A DChooseAccountTypeActivity.java19 import android.content.Context;
131 Context authContext = createPackageContext(desc.packageName, 0);
175 public AccountArrayAdapter(Context context, int textViewResourceId,
180 Context.LAYOUT_INFLATER_SERVICE);
H A DChooseTypeAndAccountActivity.java19 import android.content.Context;
367 Context authContext = createPackageContext(desc.packageName, 0);
442 public AccountArrayAdapter(Context context, int textViewResourceId,
447 Context.LAYOUT_INFLATER_SERVICE);
H A DGrantCredentialsPermissionActivity.java27 import android.content.Context;
58 mInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java18 import android.content.Context;
66 public static Animator loadAnimator(Context context, int id)
90 private static Animator createAnimatorFromXml(Context c, XmlPullParser parser)
96 private static Animator createAnimatorFromXml(Context c, XmlPullParser parser,
156 private static ObjectAnimator loadObjectAnimator(Context context, AttributeSet attrs)
182 private static ValueAnimator loadAnimator(Context context, AttributeSet attrs, ValueAnimator anim)
/frameworks/base/core/java/android/app/
H A DActionBar.java19 import android.content.Context;
662 * Returns a {@link Context} with an appropriate theme for creating views that
664 * that will appear in an action bar, you should use the Context returned by this method.
668 * @return A themed Context for creating views
670 public Context getThemedContext() { return null; }
920 public LayoutParams(Context c, AttributeSet attrs) {
H A DActivity.java25 import android.content.Context;
109 * <p>To be of use with {@link android.content.Context#startActivity Context.startActivity()}, all
528 * {@link Context#getSharedPreferences Context.getSharedPreferences()} method
4180 * should use {@link #onCreateView(View, String, Context, AttributeSet)}.
4185 public View onCreateView(String name, Context context, AttributeSet attrs) {
4191 * {@link android.view.LayoutInflater.Factory2#onCreateView(View, String, Context, AttributeSet)}
4199 public View onCreateView(View parent, String name, Context context, AttributeSet attrs) {
4409 final void attach(Context contex
[all...]
H A DActivityManager.java24 import android.content.Context;
58 private final Context mContext;
61 /*package*/ ActivityManager(Context context, Handler handler) {
H A DActivityThread.java24 import android.content.Context;
1290 Context context = getSystemContext();
1527 if ((flags&Context.CONTEXT_INCLUDE_CODE) != 0) {
1539 && (flags&Context.CONTEXT_IGNORE_SECURITY) == 0) {
1567 boolean includeCode = (flags&Context.CONTEXT_INCLUDE_CODE) != 0;
1571 if ((flags&(Context.CONTEXT_INCLUDE_CODE
1572 |Context.CONTEXT_IGNORE_SECURITY))
1573 == Context.CONTEXT_INCLUDE_CODE) {
1853 Context.CONTEXT_INCLUDE_CODE);
2390 Context contex
[all...]
H A DAlarmManager.java19 import android.content.Context;
38 * called {@link android.content.Context#startService Context.startService()}, it
52 * {@link android.content.Context#getSystemService
53 * Context.getSystemService(Context.ALARM_SERVICE)}.
108 * you registered with {@link android.content.Context#registerReceiver}
129 * @see android.content.Context#sendBroadcast
130 * @see android.content.Context#registerReceiver
182 * @see android.content.Context#sendBroadcas
[all...]
H A DAlertDialog.java21 import android.content.Context;
68 * Special theme constant for {@link #AlertDialog(Context, int)}: use
74 * Special theme constant for {@link #AlertDialog(Context, int)}: use
80 * Special theme constant for {@link #AlertDialog(Context, int)}: use
86 * Special theme constant for {@link #AlertDialog(Context, int)}: use
92 * Special theme constant for {@link #AlertDialog(Context, int)}: use
97 protected AlertDialog(Context context) {
109 protected AlertDialog(Context context, int theme) {
113 AlertDialog(Context context, int theme, boolean createContextWrapper) {
119 protected AlertDialog(Context contex
[all...]
H A DApplication.java23 import android.content.Context;
39 * given a {@link android.content.Context} which internally uses
40 * {@link android.content.Context#getApplicationContext() Context.getApplicationContext()}
145 /* package */ final void attach(Context context) {
H A DApplicationErrorReport.java20 import android.content.Context;
158 public static ComponentName getErrorReportReceiver(Context context,
H A DContextImpl.java24 import android.content.Context;
104 ReceiverRestrictedContext(Context base) {
135 * Common implementation of Context API, which provides the base
138 class ContextImpl extends Context {
149 private Context mOuterContext;
155 private Context mReceiverRestrictedContext = null;
188 // cached per-Context.
205 * Override this to create a new per-Context instance of the
361 final Context outerContext = ctx.getOuterContext();
374 // it to be a regular Context
[all...]
H A DDatePickerDialog.java21 import android.content.Context;
68 public DatePickerDialog(Context context,
84 public DatePickerDialog(Context context,
94 Context themeContext = getContext();
101 (LayoutInflater) themeContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
H A DDialog.java23 import android.content.Context;
84 final Context mContext;
126 * @param context The Context the Dialog is to run it. In particular, it
130 public Dialog(Context context) {
137 * @param context The Context in which the Dialog should run. In particular, it
146 public Dialog(Context context, int theme) {
150 Dialog(Context context, int theme, boolean createContextWrapper) {
159 mWindowManager = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE);
174 protected Dialog(Context context, boolean cancelable,
181 protected Dialog(Context contex
[all...]

Completed in 185 milliseconds

1234567891011>>