/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | CurrentUserTracker.java | 28 private Context mContext; field in class:CurrentUserTracker 35 mContext = context; 54 mContext.unregisterReceiver(this);
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Service.java | 34 private final Context mContext; field in class:Service 39 mContext = context; 45 return mContext;
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | CountryDetectorBase.java | 35 protected final Context mContext; field in class:CountryDetectorBase 40 mContext = ctx;
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareService.java | 35 private Context mContext; field in class:GeofenceHardwareService 39 mContext = this; 40 mGeofenceHardwareImpl = GeofenceHardwareImpl.getInstance(mContext); 77 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 84 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 92 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 101 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 109 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 117 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 126 mContext [all...] |
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetManager.java | 324 Context mContext; field in class:AppWidgetManager 353 mContext = context; 378 sService.updateAppWidgetIds(appWidgetIds, views, mContext.getUserId()); 398 sService.updateAppWidgetOptions(appWidgetId, options, mContext.getUserId()); 418 return sService.getAppWidgetOptions(appWidgetId, mContext.getUserId()); 474 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views, mContext.getUserId()); 523 sService.updateAppWidgetProvider(provider, views, mContext.getUserId()); 539 sService.notifyAppWidgetViewDataChanged(appWidgetIds, viewId, mContext.getUserId()); 574 mContext.getUserId()); 602 mContext [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | SharedPreferencesBackupHelper.java | 74 private Context mContext; field in class:SharedPreferencesBackupHelper 88 mContext = context; 97 Context context = mContext; 120 Context context = mContext;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | ManagedEGLContext.java | 54 final EGLContext mContext; field in class:ManagedEGLContext 60 mContext = context; 70 return mContext; 84 onTerminate(mContext);
|
/frameworks/base/services/java/com/android/server/ |
H A D | SerialService.java | 28 private final Context mContext; field in class:SerialService 32 mContext = context; 38 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.SERIAL_PORT, null); 53 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.SERIAL_PORT, null);
|
H A D | DeviceStorageMonitorService.java | 89 private Context mContext; field in class:DeviceStorageMonitorService 317 mContext = context; 318 mResolver = mContext.getContentResolver(); 366 (NotificationManager)mContext.getSystemService( 368 CharSequence title = mContext.getText( 370 CharSequence details = mContext.getText( 372 PendingIntent intent = PendingIntent.getActivityAsUser(mContext, 0, lowMemIntent, 0, 378 notification.setLatestEventInfo(mContext, title, details, intent); 381 mContext.sendStickyBroadcastAsUser(mStorageLowIntent, UserHandle.ALL); 390 (NotificationManager)mContext [all...] |
H A D | UpdateLockService.java | 43 Context mContext; field in class:UpdateLockService 66 mContext = context; 82 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); 94 mContext.enforceCallingOrSelfPermission(PERMISSION, "acquireUpdateLock"); 104 mContext.enforceCallingOrSelfPermission(PERMISSION, "releaseUpdateLock"); 116 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP)
|
H A D | NetworkTimeUpdateService.java | 69 private Context mContext; field in class:NetworkTimeUpdateService 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 [all...] |
/frameworks/testing/uiautomator/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
H A D | AlarmImpl.java | 33 private Context mContext; field in class:AlarmImpl 37 mContext = context; 51 AlarmManager am = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); 53 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, wakupIntent, 0);
|
/frameworks/base/core/java/android/text/style/ |
H A D | ImageSpan.java | 33 private Context mContext; field in class:ImageSpan 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/ |
H A D | SearchManagerTest.java | 76 Context mContext; field in class:SearchManagerTest 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);
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
H A D | NotificationStressTest.java | 52 private Context mContext; field in class:NotificationStressTest 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/ |
H A D | SymbolResolvers.h | 110 ContextTy mContext; member in class:bcc::LookupFunctionSymbolResolver 115 : mLookupFunc(pLookupFunc), mContext(pContext) { } 118 return ((mLookupFunc != NULL) ? mLookupFunc(mContext, pName) : NULL); 124 { return mContext; } 129 { mContext = pContext; }
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 69 private BridgeContext mContext; field in class:RenderAction 123 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, 156 if (mContext == null) { 199 // If this is called by init, mContext will be null and so should sCurrentContext 201 if (mContext != sCurrentContext) { 233 mContext.initResources(); 234 sCurrentContext = mContext; 241 mContext.getRenderResources().setFrameworkResourceIdProvider(this); 242 mContext.getRenderResources().setLogger(currentLog); 252 if (mContext ! [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NotificationManager.java | 89 mContext = context; 127 String pkg = mContext.getPackageName(); 136 service.enqueueNotificationWithTag(pkg, mContext.getOpPackageName(), tag, id, 152 String pkg = mContext.getPackageName(); 161 service.enqueueNotificationWithTag(pkg, mContext.getOpPackageName(), tag, id, 188 String pkg = mContext.getPackageName(); 202 String pkg = mContext.getPackageName(); 217 String pkg = mContext.getPackageName(); 225 private Context mContext; field in class:NotificationManager
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | Recents.java | 52 TaskDescription firstTask = RecentTasksLoader.getInstance(mContext).getFirstTask(); 61 if (RecentsActivity.forceOpaqueBackground(mContext)) { 62 ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext, 65 mContext.startActivityAsUser(intent, opts.toBundle(), new UserHandle( 69 mContext.startActivityAsUser(intent, new UserHandle( 79 Drawable d = RecentTasksLoader.getInstance(mContext).getDefaultThumbnail(); 82 final Resources res = mContext.getResources(); 180 mContext.sendBroadcastAsUser(intent, 185 mContext.startActivityAsUser(intent, opts.toBundle(), new UserHandle( 199 mContext [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | StandaloneActionMode.java | 34 private Context mContext; field in class:StandaloneActionMode 45 mContext = context; 66 setTitle(mContext.getString(resId)); 71 setSubtitle(mContext.getString(resId)); 129 return new MenuInflater(mContext); 144 new MenuPopupHelper(mContext, subMenu).show();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
H A D | NotificationController.java | 60 private final Context mContext; field in class:NotificationController 64 mContext = context; 66 mContext.getSystemService(Context.NOTIFICATION_SERVICE); 118 Notification.Builder builder = new Notification.Builder(mContext) 122 .addAction(R.drawable.stat_notify_cancelling, mContext.getString(R.string.cancel), 132 Notification.Builder builder = new Notification.Builder(mContext) 136 .addAction(R.drawable.stat_notify_cancelling, mContext.getString(R.string.cancel), 138 .addAction(R.drawable.ic_restart, mContext.getString(R.string.restart), 148 Notification.Builder builder = new Notification.Builder(mContext) 152 .addAction(R.drawable.stat_notify_cancelling, mContext [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsStorageMonitor.java | 50 private final Context mContext; field in class:SmsStorageMonitor 71 mContext = phone.getContext(); 84 mContext.registerReceiver(mResultReceiver, filter); 90 mContext.unregisterReceiver(mResultReceiver); 129 PowerManager pm = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE); 142 mContext.sendBroadcast(intent, android.Manifest.permission.RECEIVE_SMS);
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbService.java | 48 private final Context mContext; field in class:UsbService 64 settings = new UsbSettingsManager(mContext, new UserHandle(userId)); 72 mContext = context; 74 final PackageManager pm = mContext.getPackageManager(); 87 mContext.registerReceiver(mUserReceiver, userFilter, null, null); 164 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 170 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 201 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 208 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 215 mContext [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsHelper.java | 39 private Context mContext; field in class:SettingsHelper 43 mContext = context; 106 ringtoneUri = mContext.getContentResolver().uncanonicalize(canonicalUri); 114 RingtoneManager.setActualDefaultRingtoneUri(mContext, ringtoneType, ringtoneUri); 119 final Uri canonicalUri = mContext.getContentResolver().canonicalize(ringtoneUri); 133 return Settings.Secure.getInt(mContext.getContentResolver(), name, 0) != 0; 137 mContext.getContentResolver(), name)); 153 UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); 164 mContext.getContentResolver(), GPS, enabled); 188 Configuration conf = mContext [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneFallbackEventHandler.java | 42 Context mContext; field in class:PhoneFallbackEventHandler 51 mContext = context; 125 mContext.startActivity(intent); 146 mContext.sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT_OR_SELF, 159 Configuration config = mContext.getResources().getConfiguration(); 169 mContext.startActivity(intent); 200 AudioManager audioManager = (AudioManager)mContext.getSystemService( 253 mContext.startActivity(intent); 261 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); 268 mTelephonyManager = (TelephonyManager)mContext [all...] |