Searched refs:mContext (Results 251 - 275 of 571) sorted by relevance

<<11121314151617181920>>

/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java112 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(
298 mContext.registerReceiver(new BroadcastReceiver() {
306 mContext.registerReceiver(new BroadcastReceiver() {
701 mKeyboardLayoutIntent = PendingIntent.getActivityAsUser(mContext, 0,
705 Resources r = mContext.getResources();
706 Notification notification = new Notification.Builder(mContext)
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java146 protected final Context mContext; field in class:SMSDispatcher
210 mContext = phone.getContext();
211 mResolver = mContext.getContentResolver();
215 mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE);
216 mSettingsObserver = new SettingsObserver(this, mPremiumSmsRule, mContext);
217 mContext.getContentResolver().registerContentObserver(Settings.Global.getUriFor(
222 mSmsCapable = mContext.getResources().getBoolean(
238 private final Context mContext; field in class:SMSDispatcher.SettingsObserver
242 mContext = context;
248 mPremiumSmsRule.set(Settings.Global.getInt(mContext
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DDialogTitle.java58 final TypedArray a = mContext.obtainStyledAttributes(null,
/frameworks/base/core/tests/coretests/src/android/content/
H A DAssetTest.java32 mAssets = mContext.getAssets();
/frameworks/base/core/tests/coretests/src/android/webkit/
H A DWebkitTest.java38 DateSorter dateSorter = new DateSorter(mContext);
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DColorStateListTest.java38 mResources = mContext.getResources();
/frameworks/base/location/tests/locationtests/src/android/location/
H A DGeocoderTest.java36 Geocoder g = new Geocoder(mContext, locale);
/frameworks/base/services/java/com/android/server/
H A DCommonTimeManagementService.java94 private final Context mContext; field in class:CommonTimeManagementService
153 mContext = context;
178 mContext.registerReceiver(mConnectivityMangerObserver, filter);
186 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP)
/frameworks/base/services/java/com/android/server/location/
H A DLocationFudger.java117 private final Context mContext; field in class:LocationFudger
146 mContext = context;
153 mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor(
371 String newSetting = Settings.Secure.getString(mContext.getContentResolver(),
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java106 private final Context mContext; field in class:UsbDeviceManager
151 mContext = context;
153 PackageManager pm = mContext.getPackageManager();
191 mContext.getSystemService(Context.NOTIFICATION_SERVICE);
196 final StorageManager storageManager = StorageManager.from(mContext);
370 mContext.registerReceiver(
372 mContext.registerReceiver(
563 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL);
586 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL);
658 Resources r = mContext
[all...]
/frameworks/compile/libbcc/include/bcc/AndroidBitcode/
H A DABCCompilerDriver.h35 BCCContext mContext; member in class:bcc::ABCCompilerDriver
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java48 Intents.newPhotoViewFragmentIntentBuilder(mContext);
/frameworks/base/media/java/android/media/
H A DRingtone.java57 private final Context mContext; field in class:Ringtone
72 mContext = context;
73 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);
187 mLocalPlayer.setDataSource(mContext, mUri);
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DMtpClient.java53 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 DObjectViewer.java58 private final Context mContext; field in class:ObjectViewer.ScannerClient
62 mContext = context;
81 mContext.startActivity(intent);
83 Toast.makeText(mContext, R.string.start_activity_failed_message,
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DSimplePlayer.java51 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 DEGLImpl.java27 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 DFusionEngine.java50 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/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DDataVerify.java38 public Context mContext; field in class:DataVerify.IDataVerifyStub
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java249 final Context mContext; field in class:NfcAdapter
432 mContext = context;
440 return mContext;
1230 if (mContext == null) {
1235 return sService.getNfcAdapterExtrasInterface(mContext.getPackageName());
1249 if (mContext == null) {
1252 return mContext.getApplicationInfo().targetSdkVersion;
/frameworks/base/core/java/android/view/
H A DWindow.java128 private final Context mContext; field in class:Window
391 mContext = context;
401 return mContext;
411 mWindowStyle = mContext.obtainStyledAttributes(
484 wm = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE);
529 wp.packageName = mContext.getPackageName();
1011 setBackgroundDrawable(mContext.getResources().getDrawable(resid));
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardViewManager.java59 private final Context mContext; field in class:KeyguardViewManager
85 mContext = context;
118 Resources res = mContext.getResources();
158 final boolean isActivity = (mContext instanceof Activity); // for test activity
167 mKeyguardHost = new ViewManagerHost(mContext);
218 if (false) Slog.d(TAG, "inflateKeyguardView: b/7094175 mContext.config="
219 + mContext.getResources().getConfiguration());
220 final LayoutInflater inflater = LayoutInflater.from(mContext);
/frameworks/base/services/java/com/android/server/display/
H A DDisplayManagerService.java110 private final Context mContext; field in class:DisplayManagerService
186 mContext = context;
514 return mContext.checkCallingPermission(android.Manifest.permission.CONFIGURE_WIFI_DISPLAY)
523 mSyncRoot, mContext, mHandler, mDisplayAdapterListener));
526 mSyncRoot, mContext, mHandler, mDisplayAdapterListener));
542 mSyncRoot, mContext, mHandler, mDisplayAdapterListener, mUiHandler));
546 if (mContext.getResources().getBoolean(
550 mSyncRoot, mContext, mHandler, mDisplayAdapterListener,
854 if (mContext == null
855 || mContext
[all...]
/frameworks/base/test-runner/src/android/test/
H A DTestRunner.java52 private Context mContext; field in class:TestRunner
162 mContext = context;
283 Class clazz = mContext.getClassLoader().loadClass(className);
299 testcase.setUp(mContext);
340 testcase.setContext(mContext);
341 testcase.setTestContext(mContext);
402 Class clazz = mContext.getClassLoader().loadClass(className);
492 Class clazz = mContext.getClassLoader().loadClass(className);
501 testcase.setContext(mContext);
674 Class clazz = mContext
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealth.java110 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);

Completed in 798 milliseconds

<<11121314151617181920>>