HomeSort by relevance Sort by last modified time
    Searched full:mcontext (Results 251 - 275 of 1648) sorted by null

<<11121314151617181920>>

  /frameworks/support/v4/jellybean-mr2/android/support/v4/media/
TransportMediatorJellybeanMR2.java 34 final Context mContext;
87 mContext = context;
111 mContext.registerReceiver(mMediaButtonReceiver, mReceiverFilter);
112 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, mIntent,
201 mContext.unregisterReceiver(mMediaButtonReceiver);
  /frameworks/support/v7/mediarouter/src/android/support/v7/media/
RegisteredMediaRouteProviderWatcher.java 39 private final Context mContext;
49 mContext = context;
66 mContext.registerReceiver(mScanPackagesReceiver, filter, null, mHandler);
78 mContext.unregisterReceiver(mScanPackagesReceiver);
103 new RegisteredMediaRouteProvider(mContext,
  /packages/apps/Browser/src/com/android/browser/
BrowserBookmarksAdapter.java 38 Context mContext;
48 mContext = context;
65 bindGridView(view, mContext, object);
73 return mContext.getText(R.string.other_bookmarks);
117 item.thumbnail = new BitmapDrawable(mContext.getResources(), thumbnail);
HttpAuthenticationDialog.java 34 private final Context mContext;
50 mContext = context;
111 LayoutInflater factory = LayoutInflater.from(mContext);
126 String title = mContext.getText(R.string.sign_in_to).toString().replace(
129 mDialog = new AlertDialog.Builder(mContext)
  /packages/apps/Camera/src/com/android/camera/
PreferenceInflater.java 44 private Context mContext;
47 mContext = context;
51 return inflate(mContext.getResources().getXml(resId));
61 Class<?> clazz = mContext.getClassLoader().loadClass(name);
79 Object args[] = new Object[]{mContext, attrs};
  /packages/apps/Camera2/src/com/android/camera/
PreferenceInflater.java 44 private Context mContext;
47 mContext = context;
51 return inflate(mContext.getResources().getXml(resId));
61 Class<?> clazz = mContext.getClassLoader().loadClass(name);
79 Object args[] = new Object[]{mContext, attrs};
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
DetailsAddressResolver.java 35 private final AbstractGalleryActivity mContext;
48 ReverseGeocoder geocoder = new ReverseGeocoder(mContext.getAndroidContext());
58 mContext = context;
64 mAddressLookupJob = mContext.getThreadPool().submit(
85 Context context = mContext.getAndroidContext();
  /packages/apps/LegacyCamera/src/com/android/camera/
PreferenceInflater.java 44 private Context mContext;
47 mContext = context;
51 return inflate(mContext.getResources().getXml(resId));
61 Class<?> clazz = mContext.getClassLoader().loadClass(name);
79 Object args[] = new Object[]{mContext, attrs};
  /packages/apps/Nfc/src/com/android/nfc/
P2pEventManager.java 33 final Context mContext;
48 mContext = context;
51 mNotificationManager = (NotificationManager) mContext.getSystemService(
55 final int uiModeType = mContext.getResources().getConfiguration().uiMode
105 mContext.getString(R.string.beam_handover_not_supported));
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
AbstractSource.java 39 private final Context mContext;
47 mContext = context;
53 return mContext;
60 new PackageIconLoader(mContext, iconPackage, mUiThread, mIconLoaderExecutor));
103 return QsbApplication.get(mContext).getVoiceSearch()
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/
OAuth2TokenServiceIntegrationTest.java 39 private AdvancedMockContext mContext;
52 mContext = new AdvancedMockContext(getInstrumentation().getTargetContext());
53 mAccountManager = new MockAccountManager(mContext, getInstrumentation().getContext());
54 AccountManagerHelper.overrideAccountManagerHelperForTests(mContext, mAccountManager);
55 mChromeSigninController = ChromeSigninController.get(mContext);
161 mOAuth2TokenService.validateAccounts(mContext);
176 mOAuth2TokenService.validateAccounts(mContext);
194 mOAuth2TokenService.validateAccounts(mContext);
213 mOAuth2TokenService.validateAccounts(mContext);
229 mOAuth2TokenService.validateAccounts(mContext);
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/
SimpleCursorAdapterTest.java 42 Context mContext;
58 mContext = getContext();
90 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo);
101 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, mFrom, mTo);
112 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo);
131 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo);
150 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2,
176 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, null, null);
186 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, null, null, null);
209 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2,
    [all...]
  /frameworks/base/services/java/com/android/server/
UiModeManagerService.java 60 private final Context mContext;
154 mContext = context;
159 mContext.registerReceiver(mDockModeReceiver,
161 mContext.registerReceiver(mBatteryReceiver,
178 mNightMode = Settings.Secure.getInt(mContext.getContentResolver(),
241 Settings.Secure.putInt(mContext.getContentResolver(),
362 mContext.sendBroadcastAsUser(new Intent(oldAction), UserHandle.ALL);
370 mContext.sendBroadcastAsUser(new Intent(oldAction), UserHandle.ALL);
396 mContext.sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT, null,
494 if (Sandman.shouldStartDockApp(mContext, homeIntent))
    [all...]
NetworkTimeUpdateService.java 69 private Context mContext;
94 mContext = context;
96 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE);
98 mPendingPollIntent = PendingIntent.getBroadcast(mContext, POLL_REQUEST, pollIntent, 0);
100 mPollingIntervalMs = mContext.getResources().getInteger(
102 mPollingIntervalShorterMs = mContext.getResources().getInteger(
104 mTryAgainTimesMax = mContext.getResources().getInteger(
106 mTimeErrorThresholdMs = mContext.getResources().getInteger(
123 mSettingsObserver.observe(mContext);
130 mContext.registerReceiver(mNitzReceiver, intentFilter)
    [all...]
  /frameworks/base/services/java/com/android/server/print/
PrintManagerService.java 70 private final Context mContext;
77 mContext = context;
355 if (mContext.checkCallingOrSelfPermission(Manifest.permission.DUMP)
395 mContext.getContentResolver().registerContentObserver(enabledPrintServicesUri,
468 List<ResolveInfo> installedServices = mContext.getPackageManager()
481 String label = serviceInfo.loadLabel(mContext.getPackageManager()).toString();
496 Settings.Secure.putStringForUser(mContext.getContentResolver(),
502 monitor.register(mContext, BackgroundThread.getHandler().getLooper(),
510 mContext.registerReceiverAsUser(new BroadcastReceiver() {
530 userState = new UserState(mContext, userId, mLock)
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/handover/
HandoverTransfer.java 100 final Context mContext;
124 mContext = context;
146 mNotificationManager = (NotificationManager) mContext.getSystemService(
154 mContext.sendBroadcastAsUser(intent, UserHandle.CURRENT);
180 mimeType = BluetoothOppHandover.getMimeTypeForUri(mContext, uri);
230 Builder notBuilder = new Notification.Builder(mContext);
234 beamString = mContext.getString(R.string.beam_progress);
236 beamString = mContext.getString(R.string.beam_outgoing);
246 mContext.getString(R.string.cancel), mCancelIntent);
261 notBuilder.setTicker(mContext.getString(R.string.beam_complete))
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
SystemFeaturesTest.java 53 private Context mContext;
67 mContext = instrumentation.getTargetContext();
68 mPackageManager = mContext.getPackageManager();
75 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
76 mLocationManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE);
77 mSensorManager = (SensorManager) mContext.getSystemService(Context.SENSOR_SERVICE);
78 mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE);
79 mWifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
177 mContext.startActivity(intent);
201 if (NfcAdapter.getDefaultAdapter(mContext) != null)
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
SharedPreferencesTest.java 46 private Context mContext;
54 mContext = getContext();
55 mContextWrapper = new ContextWrapper(mContext);
68 return PreferenceManager.getDefaultSharedPreferences(mContext);
232 SharedPreferences prefs = mContext.getSharedPreferences("torture", Context.MODE_PRIVATE);
236 prefs = mContext.getSharedPreferences("torture", Context.MODE_PRIVATE);
273 SharedPreferences prefs = mContext.getSharedPreferences(prefsName, Context.MODE_PRIVATE);
290 File prefsFile = mContext.getSharedPrefsFile(prefsName);
291 File prefsFileClone = mContext.getSharedPrefsFile(clonePrefsName);
306 SharedPreferences clonePrefs = mContext.getSharedPreferences
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ArrayAdapterTest.java 43 mArrayAdapter = new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line);
48 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line);
49 new ArrayAdapter<String>(mContext, INVALD_ID);// invalid resource id
51 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, R.id.text1);
52 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, INVALD_ID);
54 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line,
57 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, R.id.text1,
64 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, list);
66 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, R.id.text1, list);
121 final TextView textView = new TextView(mContext);
    [all...]
  /frameworks/base/core/java/android/appwidget/
AppWidgetHost.java 57 Context mContext;
131 mContext = context;
157 final int userId = mContext.getUserId();
160 mPackageName = mContext.getPackageName();
184 sService.stopListening(mHostId, mContext.getUserId());
203 mPackageName = mContext.getPackageName();
205 return sService.allocateAppWidgetId(mPackageName, mHostId, mContext.getUserId());
240 return sService.getAppWidgetIdsForHost(mHostId, mContext.getUserId());
265 sService.deleteAppWidgetId(appWidgetId, mContext.getUserId());
299 sService.deleteHost(mHostId, mContext.getUserId())
    [all...]
  /frameworks/base/core/java/android/widget/
ShareActionProvider.java 122 private final Context mContext;
140 mContext = context;
164 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName);
165 ActivityChooserView activityChooserView = new ActivityChooserView(mContext);
170 mContext.getTheme().resolveAttribute(R.attr.actionModeShareDrawable, outTypedValue, true);
171 Drawable drawable = mContext.getResources().getDrawable(outTypedValue.resourceId);
200 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName);
201 PackageManager packageManager = mContext.getPackageManager();
218 mContext.getString(R.string.activity_chooser_view_see_all));
277 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext,
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ShareActionProvider.java 138 private final Context mContext;
156 mContext = context;
180 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName);
181 ActivityChooserView activityChooserView = new ActivityChooserView(mContext);
186 mContext.getTheme().resolveAttribute(R.attr.actionModeShareDrawable, outTypedValue, true);
187 Drawable drawable = mContext.getResources().getDrawable(outTypedValue.resourceId);
216 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName);
217 PackageManager packageManager = mContext.getPackageManager();
234 mContext.getString(R.string.abc_activity_chooser_view_see_all));
300 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext,
    [all...]
  /frameworks/base/core/java/android/app/
ApplicationPackageManager.java 74 PackageInfo pi = mPM.getPackageInfo(packageName, flags, mContext.getUserId());
219 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, mContext.getUserId());
234 ActivityInfo ai = mPM.getActivityInfo(className, flags, mContext.getUserId());
249 ActivityInfo ai = mPM.getReceiverInfo(className, flags, mContext.getUserId());
264 ServiceInfo si = mPM.getServiceInfo(className, flags, mContext.getUserId());
279 ProviderInfo pi = mPM.getProviderInfo(className, flags, mContext.getUserId());
424 return getInstalledPackages(flags, mContext.getUserId());
442 final int userId = mContext.getUserId();
455 final int userId = mContext.getUserId();
466 return resolveActivityAsUser(intent, flags, mContext.getUserId())
    [all...]
  /packages/apps/MusicFX/src/com/android/musicfx/
ActivityMusic.java 159 private Context mContext;
219 mContext = this;
241 ControlPanelEffect.initEffectsPreferences(mContext, mCallingPackageName, mAudioSession);
270 final int numPresets = ControlPanelEffect.getParameterInt(mContext, mCallingPackageName,
274 mEQPresetNames[i] = ControlPanelEffect.getParameterString(mContext,
294 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageName,
331 ControlPanelEffect.setParameterInt(mContext, mCallingPackageName,
339 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageName,
349 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageName,
360 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageName
    [all...]
  /hardware/ti/wpan/tools/FM/service/src/java/com/ti/server/
StubFmService.java 116 private Context mContext = null;
284 mContext = context;
292 tmgr = (TelephonyManager) mContext
314 mRemoteControlResponder = new ComponentName(mContext.getPackageName(),
358 mContext.sendBroadcast(fm_intent);
364 mContext.sendBroadcast(fm_intent);
380 mContext.enforceCallingOrSelfPermission(FMRX_PERM,
391 mContext.enforceCallingOrSelfPermission(FMRX_PERM,
401 mContext.enforceCallingOrSelfPermission(FMRX_PERM,
440 mContext.enforceCallingOrSelfPermission(FMRX_ADMIN_PERM
    [all...]

Completed in 1570 milliseconds

<<11121314151617181920>>