/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealth.java | 110 mContext.unbindService(mConnection); 120 if (!mContext.bindService(new Intent(IBluetoothHealth.class.getName()), mConnection, 0)) { 465 private Context mContext; field in class:BluetoothHealth 474 mContext = context; 506 mContext.unbindService(mConnection);
|
H A D | BluetoothInputDevice.java | 185 private Context mContext; field in class:BluetoothInputDevice 199 mContext.unbindService(mConnection); 209 if (!mContext.bindService(new Intent(IBluetoothInputDevice.class.getName()), mConnection, 0)) { 227 mContext = context; 261 mContext.unbindService(mConnection);
|
/frameworks/base/core/java/android/net/ |
H A D | Proxy.java | 284 private Context mContext; field in class:Proxy.AndroidProxySelectorRoutePlanner 289 mContext = context; 295 return getProxy(mContext, target.getHostName()); 301 return getPreferredHttpHost(mContext, target.getHostName()); 307 HttpHost proxy = getPreferredHttpHost(mContext, target.getHostName());
|
/frameworks/base/core/java/android/preference/ |
H A D | VolumePreference.java | 225 private Context mContext; field in class:VolumePreference.SeekBarVolumizer 253 mContext = context; 267 mContext.getContentResolver().registerContentObserver( 281 mRingtone = RingtoneManager.getRingtone(mContext, defaultUri); 290 mContext.getContentResolver().unregisterContentObserver(mVolumeObserver);
|
/frameworks/base/core/java/android/server/search/ |
H A D | Searchables.java | 59 private Context mContext; field in class:Searchables 85 mContext = context; 237 SearchableInfo searchable = SearchableInfo.getActivityMetaData(mContext, ai, 378 return Settings.Secure.getString(mContext.getContentResolver(), 410 intent.resolveTypeIfNeeded(mContext.getContentResolver()),
|
/frameworks/base/core/java/android/speech/ |
H A D | SpeechRecognizer.java | 114 private final Context mContext; field in class:SpeechRecognizer 154 mContext = context; 267 String serviceComponent = Settings.Secure.getString(mContext.getContentResolver(), 281 if (!mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE)) { 394 mContext.unbindService(mConnection);
|
/frameworks/base/core/java/android/widget/ |
H A D | Toast.java | 77 final Context mContext; field in class:Toast 90 mContext = context; 105 String pkg = mContext.getPackageName(); 125 getService().cancelToast(mContext.getPackageName(), mTN); 273 setText(mContext.getText(resId));
|
H A D | ActivityChooserView.java | 217 LayoutInflater inflater = LayoutInflater.from(mContext); 287 CharSequence contentDescription = mContext.getString(resourceId); 352 popupWindow.getListView().setContentDescription(mContext.getString( 503 PackageManager packageManager = mContext.getPackageManager(); 507 String contentDescription = mContext.getString( 550 mContext.startActivity(launchIntent); 568 mContext.startActivity(launchIntent); 699 titleView.setText(mContext.getString( 708 PackageManager packageManager = mContext.getPackageManager();
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPopupHelper.java | 50 private Context mContext; field in class:MenuPopupHelper 77 mContext = context; 106 mPopup = new ListPopupWindow(mContext, null, com.android.internal.R.attr.popupMenuStyle); 184 mMeasureParent = new FrameLayout(mContext); 242 MenuPopupHelper subPopup = new MenuPopupHelper(mContext, subMenu, mAnchorView, false);
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | OverlayDisplayWindow.java | 61 private final Context mContext; field in class:OverlayDisplayWindow 96 mContext = context; 174 LayoutInflater inflater = LayoutInflater.from(mContext); 209 mGestureDetector = new GestureDetector(mContext, mOnGestureListener); 210 mScaleGestureDetector = new ScaleGestureDetector(mContext, mOnScaleGestureListener);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeofenceManager.java | 69 private final Context mContext; field in class:GeofenceManager 108 mContext = context; 109 mLocationManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); 110 PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); 355 pendingIntent.send(mContext, 0, intent, this, null,
|
H A D | GpsLocationProvider.java | 280 private final Context mContext; field in class:GpsLocationProvider 391 mContext.getSystemService(Context.CONNECTIVITY_SERVICE); 417 mContext = context; 425 PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); 429 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); 430 mWakeupIntent = PendingIntent.getBroadcast(mContext, 0, new Intent(ALARM_WAKEUP), 0); 431 mTimeoutIntent = PendingIntent.getBroadcast(mContext, 0, new Intent(ALARM_TIMEOUT), 0); 477 (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); 489 mContext.registerReceiver(mBroadcastReciever, intentFilter, null, mHandler); 498 mContext [all...] |
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | CompositeCursorAdapter.java | 57 private final Context mContext; field in class:CompositeCursorAdapter 70 mContext = context; 75 return mContext; 362 : newHeaderView(mContext, partition, cursor, parent); 390 view = newView(mContext, partition, cursor, position, parent);
|
/frameworks/base/services/java/com/android/server/ |
H A D | ConnectivityService.java | 193 private Context mContext; field in class:ConnectivityService 393 mContext = checkNotNull(context, "missing Context"); 408 mNetTransitionWakeLockTimeout = mContext.getResources().getInteger( 529 mTethering = new Tethering(mContext, mNetd, statsService, this, mHandler.getLooper()); 535 mVpn = new Vpn(mContext, mVpnCallback, mNetd); 536 mVpn.startMonitoring(mContext, mTrackerHandler); 550 mSettingsObserver.observe(mContext); 552 mCaptivePortalTracker = CaptivePortalTracker.makeCaptivePortalTracker(mContext, this); 565 private final Context mContext; field in class:ConnectivityService.DefaultNetworkFactory 569 mContext [all...] |
H A D | WallpaperManagerService.java | 136 BackupManager bm = new BackupManager(mContext); 157 final Context mContext; field in class:WallpaperManagerService 406 mContext.getPackageManager().getServiceInfo( 417 mContext.getPackageManager().getServiceInfo( 429 mContext = context; 462 mContext.registerReceiver(new BroadcastReceiver() { 611 users = ((UserManager) mContext.getSystemService(Context.USER_SERVICE)).getUsers(); 807 mContext.getString(com.android.internal.R.string.default_wallpaper_component); 842 intent.resolveTypeIfNeeded(mContext.getContentResolver()), 849 wi = new WallpaperInfo(mContext, ri [all...] |
H A D | TwilightService.java | 58 private final Context mContext; field in class:TwilightService 73 mContext = context; 75 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); 76 mLocationManager = (LocationManager)mContext.getSystemService(Context.LOCATION_SERVICE); 88 mContext.registerReceiver(mUpdateLocationReceiver, filter); 521 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, updateIntent, 0);
|
/frameworks/base/core/java/android/webkit/ |
H A D | BrowserFrame.java | 76 private final Context mContext; field in class:BrowserFrame 250 mContext = context; 366 description = ErrorStrings.getString(errorCode, mContext); 668 InputStream stream = mContext.getContentResolver() 689 InputStream stream = mContext.getContentResolver() 739 final Class<?> d = mContext.getApplicationContext() 741 mContext.getPackageName() + ".R$" 746 mContext.getResources().getValue(id, value, true); 748 return mContext.getAssets().openNonAsset( 763 AssetManager assets = mContext [all...] |
H A D | AccessibilityInjector.java | 60 private final Context mContext; field in class:AccessibilityInjector 137 mContext = webViewClassic.getContext(); 138 mAccessibilityManager = AccessibilityManager.getInstance(mContext); 470 mContext.getContentResolver(), Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION, 0); 480 mTextToSpeech = new TextToSpeechWrapper(mContext); 568 mContext.getContentResolver(), Settings.Secure.ACCESSIBILITY_SCREEN_READER_URL);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | TabletStatusBar.java | 183 public Context getContext() { return mContext; } 235 lp.packageName = mContext.getPackageName(); 240 final Context context = mContext; 241 final Resources res = mContext.getResources(); 370 final Resources res = mContext.getResources(); 387 mShowSearchHoldoff = mContext.getResources().getInteger( 393 final Resources res = mContext.getResources(); 444 final Context context = mContext; 484 mLocationController = new LocationController(mContext); // will post a notification 487 mDoNotDisturb = new DoNotDisturb(mContext); [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Dialog.java | 85 final Context mContext; field in class:Dialog 158 mContext = new ContextThemeWrapper(context, theme); 160 mContext = context; 164 Window w = PolicyManager.makeNewWindow(mContext); 197 return mContext; 525 setTitle(mContext.getText(titleId)); 620 if (mCancelable && mShowing && mWindow.shouldCloseOnTouch(mContext, event)) { 782 event.setPackageName(mContext.getPackageName()); 949 final SearchManager searchManager = (SearchManager) mContext
|
/frameworks/base/core/java/android/content/pm/ |
H A D | RegisteredServicesCache.java | 74 public final Context mContext; field in class:RegisteredServicesCache 115 mContext = context; 134 mContext.registerReceiverAsUser(mPackageReceiver, UserHandle.ALL, intentFilter, null, null); 140 mContext.registerReceiver(mExternalReceiver, sdFilter); 190 handler = new Handler(mContext.getMainLooper()); 275 String[] packages = mContext.getPackageManager().getPackagesForUid(callerUid); 279 mContext.getPackageManager().getPackageInfo(name, 0 /* flags */); 299 final PackageManager pm = mContext.getPackageManager(); 434 PackageManager pm = mContext.getPackageManager();
|
/frameworks/base/core/java/android/view/ |
H A D | VolumePanel.java | 102 protected Context mContext; field in class:VolumePanel 221 private Context mContext; field in class:VolumePanel.WarningDialogReceiver 225 mContext = context; 240 mContext.unregisterReceiver(this); 249 mContext = context; 300 lp.y = mContext.getResources().getDimensionPixelOffset( 325 boolean masterVolumeKeySounds = mContext.getResources().getBoolean( 336 mContext.registerReceiver(new BroadcastReceiver() { 390 LayoutInflater inflater = (LayoutInflater) mContext 393 Resources res = mContext [all...] |
/frameworks/base/location/java/android/location/ |
H A D | LocationManager.java | 60 private final Context mContext; field in class:LocationManager 287 mContext = context; 830 String packageName = mContext.getPackageName(); 853 String packageName = mContext.getPackageName(); 878 String packageName = mContext.getPackageName(); 942 mService.requestGeofence(request, fence, intent, mContext.getPackageName()); 989 mService.requestGeofence(request, fence, intent, mContext.getPackageName()); 1013 String packageName = mContext.getPackageName(); 1041 String packageName = mContext.getPackageName(); 1063 String packageName = mContext [all...] |
/frameworks/base/services/java/com/android/server/power/ |
H A D | ShutdownThread.java | 82 private Context mContext; field in class:ShutdownThread 155 private Context mContext; field in class:ShutdownThread.CloseDialogReceiver 159 mContext = context; 170 mContext.unregisterReceiver(this); 224 sInstance.mContext = context; 300 mContext.sendOrderedBroadcastAsUser(new Intent(Intent.ACTION_SHUTDOWN),
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 88 result.setLatestEventInfo(b.mContext, b.mContentTitle, 100 return NotificationCompatHoneycomb.add(b.mContext, b.mNotification, 108 return NotificationCompatIceCreamSandwich.add(b.mContext, b.mNotification, 118 b.mContext, b.mNotification, b.mContentTitle, b.mContentText, b.mContentInfo, 183 Context mContext; field in class:NotificationCompat.Builder 216 mContext = context;
|