/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipService.java | 70 private Context mContext; field in class:SipService 108 mContext = context; 125 mContext.enforceCallingOrSelfPermission( 139 mContext.enforceCallingOrSelfPermission( 154 mContext.enforceCallingOrSelfPermission( 192 mContext.enforceCallingOrSelfPermission( 210 mContext.enforceCallingOrSelfPermission( 224 mContext.enforceCallingOrSelfPermission( 239 mContext.enforceCallingOrSelfPermission( 254 mContext [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | RemoteControlClientCompat.java | 31 protected final Context mContext; field in class:RemoteControlClientCompat 36 mContext = context;
|
/frameworks/base/services/java/com/android/server/ |
H A D | ConnectivityService.java | 258 private Context mContext; field in class:ConnectivityService 487 mContext = checkNotNull(context, "missing Context"); 491 mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); 503 mNetTransitionWakeLockTimeout = mContext.getResources().getInteger( 647 mTethering = new Tethering(mContext, mNetd, statsService, this, mHandler.getLooper()); 653 mContext.registerReceiverAsUser( 655 mClat = new Nat464Xlat(mContext, mNetd, this, mTrackerHandler); 670 mSettingsObserver.observe(mContext); 672 mDataConnectionStats = new DataConnectionStats(mContext); 677 mSampleIntervalElapsedIntent = PendingIntent.getBroadcast(mContext, 716 private final Context mContext; field in class:ConnectivityService.DefaultNetworkFactory 4206 private Context mContext; field in class:ConnectivityService.CheckMp [all...] |
H A D | LockSettingsService.java | 83 private final Context mContext; field in class:LockSettingsService 87 mContext = context; 89 mOpenHelper = new DatabaseHelper(mContext); 103 final ContentResolver cr = mContext.getContentResolver(); 117 final UserManager um = (UserManager) mContext.getSystemService(USER_SERVICE); 118 final ContentResolver cr = mContext.getContentResolver(); 157 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsWrite"); 161 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsRead"); 168 if (key.equals(requestedKey) && mContext.checkCallingOrSelfPermission(READ_PROFILE) 479 final UserManager um = (UserManager) mContext [all...] |
H A D | CommonTimeManagementService.java | 96 private final Context mContext; field in class:CommonTimeManagementService 150 mContext = context; 175 mContext.registerReceiver(mConnectivityMangerObserver, filter); 183 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP)
|
/frameworks/base/core/java/android/widget/ |
H A D | ActivityChooserView.java | 224 LayoutInflater inflater = LayoutInflater.from(mContext); 321 CharSequence contentDescription = mContext.getString(resourceId); 386 popupWindow.getListView().setContentDescription(mContext.getString( 537 PackageManager packageManager = mContext.getPackageManager(); 541 String contentDescription = mContext.getString( 643 mContext.startActivity(intent); 645 CharSequence appLabel = resolveInfo.loadLabel(mContext.getPackageManager()); 646 String message = mContext.getString( 649 Toast.makeText(mContext, message, Toast.LENGTH_SHORT).show(); 746 titleView.setText(mContext [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | AppCacheTest.java | 76 File testDir = mContext.getCacheDir(); 128 File cacheDir = mContext.getCacheDir(); 145 File cacheDir = mContext.getCacheDir(); 229 File cacheDir = mContext.getCacheDir(); 289 File testDir = new File(mContext.getCacheDir(), testDirName); 463 String packageName = mContext.getPackageName(); 489 String packageName = mContext.getPackageName(); 541 File cacheDir = mContext.getCacheDir(); 569 String packageName = mContext.getPackageName(); 647 File cacheDir = mContext [all...] |
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 112 private final Context mContext; field in class:InputManagerService 245 this.mContext = context; 252 mPtr = nativeInit(this, mContext, mHandler.getLooper().getQueue()); 273 mContext.registerReceiver(new BroadcastReceiver() { 290 mNotificationManager = (NotificationManager)mContext.getSystemService( 299 mContext.registerReceiver(new BroadcastReceiver() { 307 mContext.registerReceiver(new BroadcastReceiver() { 702 mKeyboardLayoutIntent = PendingIntent.getActivityAsUser(mContext, 0, 706 Resources r = mContext.getResources(); 707 Notification notification = new Notification.Builder(mContext) [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindowManager.java | 207 Context mContext; field in class:PhoneWindowManager 515 ContentResolver resolver = mContext.getContentResolver(); 722 mLongPressOnPowerBehavior = mContext.getResources().getInteger( 761 mGlobalActions = new GlobalActions(mContext, mWindowManagerFuncs); 774 mContext.getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 0) != 0; 816 mRecentAppsDialog = new RecentApplicationsDialog(mContext); 857 mContext = context; 862 mOrientationListener = new MyOrientationListener(mContext, mHandler); 897 mCarDockEnablesAccelerometer = mContext.getResources().getBoolean( 899 mDeskDockEnablesAccelerometer = mContext [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
H A D | CardEmulation.java | 130 final Context mContext; field in class:CardEmulation 133 mContext = context.getApplicationContext(); 260 String defaultComponent = Settings.Secure.getString(mContext.getContentResolver(), 341 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext);
|
/frameworks/base/core/java/com/android/internal/notification/ |
H A D | DemoContactNotificationScorer.java | 54 private Context mContext; field in class:DemoContactNotificationScorer 125 c = mContext.getContentResolver().query( 164 mContext = context; 166 mContext.getContentResolver(), SETTING_ENABLE_SCORER, 0);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DialogTitle.java | 58 final TypedArray a = mContext.obtainStyledAttributes(null,
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | AssetTest.java | 32 mAssets = mContext.getAssets();
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | ColorStateListTest.java | 38 mResources = mContext.getResources();
|
/frameworks/base/location/java/android/location/ |
H A D | LocationManager.java | 60 private final Context mContext; field in class:LocationManager 311 mContext = context; 854 String packageName = mContext.getPackageName(); 877 String packageName = mContext.getPackageName(); 902 String packageName = mContext.getPackageName(); 966 mService.requestGeofence(request, fence, intent, mContext.getPackageName()); 1013 mService.requestGeofence(request, fence, intent, mContext.getPackageName()); 1037 String packageName = mContext.getPackageName(); 1065 String packageName = mContext.getPackageName(); 1087 String packageName = mContext [all...] |
/frameworks/base/location/tests/locationtests/src/android/location/ |
H A D | GeocoderTest.java | 36 Geocoder g = new Geocoder(mContext, locale);
|
/frameworks/base/media/lib/java/com/android/media/remotedisplay/ |
H A D | RemoteDisplayProvider.java | 100 private final Context mContext; field in class:RemoteDisplayProvider 148 mContext = context; 157 return mContext; 295 mContext, 0, settingsIntent, 0, null);
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | MtpClient.java | 53 private final Context mContext; field in class:MtpClient 154 mContext = context; 156 mPermissionIntent = PendingIntent.getBroadcast(mContext, 0, new Intent(ACTION_USB_PERMISSION), 0); 193 mContext.unregisterReceiver(mUsbReceiver);
|
H A D | ObjectViewer.java | 59 private final Context mContext; field in class:ObjectViewer.ScannerClient 63 mContext = context; 82 mContext.startActivity(intent); 84 Toast.makeText(mContext, R.string.start_activity_failed_message,
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | SimplePlayer.java | 51 Context mContext; field in class:SimplePlayer 80 mContext = context; 118 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(mFileResId); 195 mContext = context;
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLImpl.java | 27 private EGLContextImpl mContext = new EGLContextImpl(-1); field in class:EGLImpl 123 if (mContext.mEGLContext != value) 124 mContext = new EGLContextImpl(value); 125 return mContext;
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
H A D | FusionEngine.java | 50 private final Context mContext; field in class:FusionEngine 66 mContext = context; 82 Log.i(TAG, "engine started (" + mContext.getPackageName() + ")"); 95 Log.i(TAG, "engine stopped (" + mContext.getPackageName() + ")");
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardMultiUserAvatar.java | 94 Resources res = mContext.getResources(); 107 mUserManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE); 140 icon = BitmapFactory.decodeResource(mContext.getResources(), 166 + ". " + mContext.getString(R.string.user_switched, ""));
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
H A D | DataVerify.java | 38 public Context mContext; field in class:DataVerify.IDataVerifyStub
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | FlpHardwareProvider.java | 51 private final Context mContext; field in class:FlpHardwareProvider 72 mContext = context; 75 LocationManager manager = (LocationManager) mContext.getSystemService( 392 mGeofenceHardwareSink = GeofenceHardwareImpl.getInstance(mContext);
|