HomeSort by relevance Sort by last modified time
    Searched refs:mContext (Results 126 - 150 of 1619) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/testing/uiautomator/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
AlarmImpl.java 33 private Context mContext;
37 mContext = context;
51 AlarmManager am = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE);
53 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, wakupIntent, 0);
  /packages/apps/Browser/src/com/android/browser/
BrowserWebViewFactory.java 29 private final Context mContext;
32 mContext = context;
37 return new BrowserWebView(mContext, attrs, defStyle, privateBrowsing);
58 final PackageManager pm = mContext.getPackageManager();
  /packages/apps/Calculator/src/com/android/calculator2/
Persist.java 33 private Context mContext;
39 this.mContext = context;
52 InputStream is = new BufferedInputStream(mContext.openFileInput(FILE_NAME), 8192);
71 OutputStream os = new BufferedOutputStream(mContext.openFileOutput(FILE_NAME, 0), 8192);
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
TestSyncAdapter.java 37 private final Context mContext;
41 mContext = context.getApplicationContext();
42 mAccountManager = AccountManager.get(mContext);
54 ContentResolver cr = mContext.getContentResolver();
  /packages/apps/Dialer/tests/src/com/android/dialer/util/
LocaleTestUtils.java 60 private final Context mContext;
71 mContext = context;
86 mSavedContextLocale = setResourcesLocale(mContext.getResources(), locale);
100 setResourcesLocale(mContext.getResources(), mSavedContextLocale);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
CacheStorageUsageInfo.java 44 private Context mContext;
49 mContext = activity.getAndroidContext();
57 File cacheDir = mContext.getExternalCacheDir();
59 cacheDir = mContext.getCacheDir();
  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherAppWidgetHostView.java 35 private Context mContext;
40 mContext = context;
53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation;
58 int orientation = mContext.getResources().getConfiguration().orientation;
  /packages/apps/Mms/src/com/android/mms/layout/
LayoutManager.java 32 private final Context mContext;
38 mContext = context;
57 return new HVGALayoutParameters(mContext, LayoutParameters.HVGA_LANDSCAPE);
59 return new HVGALayoutParameters(mContext, LayoutParameters.HVGA_PORTRAIT);
  /packages/apps/Mms/src/com/android/mms/util/
DownloadManager.java 62 private final Context mContext;
113 mContext = context;
190 NotificationInd nInd = (NotificationInd) PduPersister.getPduPersister(mContext)
196 Toast.makeText(mContext, R.string.service_message_not_found,
200 SqliteWrapper.delete(mContext, mContext.getContentResolver(), uri, null, null);
213 Toast.makeText(mContext, getMessage(uri),
228 SqliteWrapper.update(mContext, mContext.getContentResolver(),
237 Toast.makeText(mContext, errStr, Toast.LENGTH_LONG).show()
    [all...]
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
MockIconLoader.java 34 private final Context mContext;
37 mContext = context;
45 mContext.getResources().getDrawable(android.R.drawable.star_on));
55 .authority(mContext.getPackageName())
  /packages/apps/Settings/src/com/android/settings/wifi/
WpsDialog.java 65 private Context mContext;
79 mContext = context;
86 mContext.getString(R.string.wifi_wps_onstart_pin), pin));
88 updateDialog(DialogState.WPS_START, mContext.getString(
94 mContext.getString(R.string.wifi_wps_complete));
101 msg = mContext.getString(R.string.wifi_wps_failed_overlap);
104 msg = mContext.getString(R.string.wifi_wps_failed_wep);
107 msg = mContext.getString(R.string.wifi_wps_failed_tkip);
110 msg = mContext.getString(R.string.wifi_wps_in_progress);
113 msg = mContext.getString(R.string.wifi_wps_failed_generic)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
AbstractDictionaryWriter.java 35 private final Context mContext;
39 mContext = context;
68 final File file = new File(mContext.getFilesDir(), fileName);
69 final File tempFile = new File(mContext.getFilesDir(), tempFileName);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
TargetPackageInfoGetterTask.java 44 private Context mContext;
49 mContext = context;
55 final PackageManager pm = mContext.getPackageManager();
56 mContext = null; // Bazooka-powered anti-leak device
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
VoicemailPermissions.java 28 private final Context mContext;
31 mContext = context;
85 return mContext.getPackageManager().checkPermission(permission, packageName)
96 return mContext.checkCallingOrSelfPermission(permission)
  /external/chromium_org/ui/android/java/src/org/chromium/ui/autofill/
AutofillListAdapter.java 27 private Context mContext;
35 mContext = context;
43 (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
51 int height = mContext.getResources().getDimensionPixelSize(R.dimen.autofill_text_height);
55 int dividerHeight = mContext.getResources().getDimensionPixelSize(
60 divider.setColor(mContext.getResources().getColor(
63 divider.setColor(mContext.getResources().getColor(
  /frameworks/base/core/java/android/text/style/
ImageSpan.java 33 private Context mContext;
62 mContext = context;
108 mContext = context;
123 mContext = context;
136 InputStream is = mContext.getContentResolver().openInputStream(
139 drawable = new BitmapDrawable(mContext.getResources(), bitmap);
148 drawable = mContext.getResources().getDrawable(mResourceId);
  /frameworks/base/core/tests/coretests/src/android/app/
SearchManagerTest.java 76 Context mContext;
90 mContext = testActivity;
115 mContext.getSystemService(Context.SEARCH_SERVICE);
118 mContext.getSystemService(Context.SEARCH_SERVICE);
129 mContext.getSystemService(Context.SEARCH_SERVICE);
143 mContext.getSystemService(Context.SEARCH_SERVICE);
158 mContext.getSystemService(Context.SEARCH_SERVICE);
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
SyncAdapterTestCase.java 37 public Context mContext;
51 mContext = getContext();
53 mProviderContext = mContext;
54 mResolver = mContext.getContentResolver();
87 service.mContext = mContext;
90 service.mContentResolver = mContext.getContentResolver();
  /packages/apps/Gallery/tests/src/com/android/camera/
BitmapManagerUnitTests.java 33 Context mContext;
53 mContext = getContext();
56 mContext.getContentResolver(),
78 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver());
99 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver());
111 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver());
126 mBitmapManager.cancelThreadDecoding(t2, mContext.getContentResolver());
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SuppressNotificationReceiver.java 43 private Context mContext;
54 mContext = context;
83 return mContext != null;
91 if (mContext != null) {
92 mContext.unregisterReceiver(this);
93 mContext = null;
105 return mContext != null && TextUtils.equals(account.mimeType, mMimeType);
  /cts/tests/tests/permission/src/android/permission/cts/
NoSystemFunctionPermissionTest.java 46 ActivityManager activityManager = (ActivityManager) mContext.getSystemService(
64 AlarmManager alarmManager = (AlarmManager) mContext.getSystemService(
88 mContext.setWallpaper(bitmap);
95 mContext.setWallpaper((InputStream) null);
102 mContext.clearWallpaper();
  /external/chromium_org/ui/android/java/src/org/chromium/ui/base/
Clipboard.java 25 private final Context mContext;
35 mContext = context;
72 final CharSequence sequence = clip.getItemAt(0).coerceToText(mContext);
161 String text = mContext.getString(R.string.copy_to_clipboard_failure_message);
162 Toast.makeText(mContext, text, Toast.LENGTH_SHORT).show();
  /frameworks/base/core/tests/notificationtests/src/android/app/
NotificationStressTest.java 52 private Context mContext;
59 mContext = getInstrumentation().getContext();
60 mNotificationManager = (NotificationManager) mContext.getSystemService(
85 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0);
88 notification.setLatestEventInfo(mContext, title, subtitle, pendingIntent);
  /frameworks/compile/libbcc/include/bcc/ExecutionEngine/
SymbolResolvers.h 110 ContextTy mContext;
115 : mLookupFunc(pLookupFunc), mContext(pContext) { }
118 return ((mLookupFunc != NULL) ? mLookupFunc(mContext, pName) : NULL);
124 { return mContext; }
129 { mContext = pContext; }
  /packages/apps/Settings/src/com/android/settings/nfc/
PaymentBackend.java 41 private final Context mContext;
46 mContext = context;
53 PackageManager pm = mContext.getPackageManager();
78 String componentString = Settings.Secure.getString(mContext.getContentResolver(),
88 Settings.Secure.putString(mContext.getContentResolver(),

Completed in 1197 milliseconds

1 2 3 4 56 7 8 91011>>