/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardBottomAreaView.java | 189 mLockPatternUtils = new LockPatternUtils(mContext); 202 mPreviewInflater = new PreviewInflater(mContext, new LockPatternUtils(mContext)); 260 KeyguardUpdateMonitor updateMonitor = KeyguardUpdateMonitor.getInstance(mContext); 272 ResolveInfo resolved = mContext.getPackageManager().resolveActivityAsUser(getCameraIntent(), 295 mLeftAffordanceView.setImageDrawable(mContext.getDrawable(drawableId)); 296 mLeftAffordanceView.setContentDescription(mContext.getString(contentDescription)); 304 PackageManager pm = mContext.getPackageManager(); 332 KeyguardUpdateMonitor.getInstance(mContext).registerCallback(mUpdateMonitorCallback); 377 ActivityInfo targetInfo = PreviewInflater.getTargetActivityInfo(mContext, inten [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 73 private final BridgeContext mContext; field in class:BridgeTypedArray 89 mContext = context; 298 mResourceData[index], mContext); 335 parser, mContext, resValue.isFramework()); 337 return ColorStateList.createFromXml(mContext.getResources(), blockParser, 338 mContext.getTheme()); 608 return mContext.getDynamicIdByStyle((StyleResourceValue)resValue); 619 return mContext.getFrameworkResourceValue( 624 return mContext.getProjectResourceValue( 668 idValue = mContext [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SubscriptionInfoUpdater.java | 100 private static Context mContext = null; field in class:SubscriptionInfoUpdater 112 mContext = context; 114 mSubscriptionManager = SubscriptionManager.from(mContext); 119 mContext.registerReceiver(sReceiver, intentFilter); 121 mCarrierServiceBindHelper = new CarrierServiceBindHelper(mContext); 138 CarrierAppUtils.disableCarrierAppsUntilPrivileged(mContext.getOpPackageName(), 163 CarrierAppUtils.disableCarrierAppsUntilPrivileged(mContext.getOpPackageName(), 387 MccTable.updateMccMncConfiguration(mContext, operator, false); 395 ContentResolver contentResolver = mContext.getContentResolver(); 427 PreferenceManager.getDefaultSharedPreferences(mContext); [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsService.java | 156 private final Context mContext; field in class:NetworkStatsService 262 mContext = checkNotNull(context, "missing Context"); 316 mContext.registerReceiver(mTetherReceiver, tetherFilter, null, mHandler); 320 mContext.registerReceiver(mPollReceiver, pollFilter, READ_NETWORK_USAGE_HISTORY, mHandler); 324 mContext.registerReceiver(mRemovedReceiver, removedFilter, null, mHandler); 328 mContext.registerReceiver(mUserReceiver, userFilter, null, mHandler); 332 mContext.registerReceiver(mShutdownReceiver, shutdownFilter); 346 final DropBoxManager dropBox = (DropBoxManager) mContext.getSystemService( 354 mContext.unregisterReceiver(mTetherReceiver); 355 mContext [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageInstallerService.java | 155 private final Context mContext; field in class:PackageInstallerService 204 mContext = context; 242 mAppOps = mContext.getSystemService(AppOpsManager.class); 243 mStorage = mContext.getSystemService(StorageManager.class); 419 return new PackageInstallerSession(mInternalCallback, mContext, mPm, 595 && mContext.checkCallingOrSelfPermission(Manifest.permission 604 final ActivityManager am = (ActivityManager) mContext.getSystemService( 625 if (!PackageHelper.fitsOnInternal(mContext, params.sizeBytes)) { 630 if (!PackageHelper.fitsOnExternal(mContext, params.sizeBytes)) { 648 params.volumeUuid = PackageHelper.resolveInstallVolume(mContext, 937 private final Context mContext; field in class:PackageInstallerService.PackageDeleteObserverAdapter 992 private final Context mContext; field in class:PackageInstallerService.PackageInstallObserverAdapter [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | TtsEngines.java | 73 private final Context mContext; field in class:TtsEngines 105 mContext = ctx; 114 String engine = getString(mContext.getContentResolver(), 138 PackageManager pm = mContext.getPackageManager(); 159 PackageManager pm = mContext.getPackageManager(); 198 PackageManager pm = mContext.getPackageManager(); 332 getString(mContext.getContentResolver(), Settings.Secure.TTS_DEFAULT_LOCALE)); 368 getString(mContext.getContentResolver(), Settings.Secure.TTS_DEFAULT_LOCALE), 520 final String prefList = Settings.Secure.getString(mContext.getContentResolver(), 532 Settings.Secure.putString(mContext [all...] |
/frameworks/base/core/java/android/view/ |
H A D | MenuInflater.java | 69 private Context mContext; field in class:MenuInflater 78 mContext = context; 90 mContext = context; 108 parser = mContext.getResources().getLayout(menuRes); 226 return mContext; 266 mRealOwner = findRealOwner(mContext); 365 TypedArray a = mContext.obtainStyledAttributes(attrs, 382 TypedArray a = mContext.obtainStyledAttributes(attrs, 455 if (mContext.isRestricted()) { 513 Class<?> clazz = mContext [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RootsCache.java | 66 private final Context mContext; field in class:RootsCache 83 mContext = context; 109 mRecentsRoot.title = mContext.getString(R.string.root_recent); 126 final ProviderInfo info = mContext.getPackageManager().resolveContentProvider(authority, 0); 148 final ContentResolver resolver = mContext.getContentResolver(); 191 final ContentResolver resolver = mContext.getContentResolver(); 192 final PackageManager pm = mContext.getPackageManager(); 235 loadRootsForAuthority(mContext.getContentResolver(), info.authority)); 250 mContext.getContentResolver().registerContentObserver(rootsUri, true, mObserver); 285 authority, loadRootsForAuthority(mContext [all...] |
/frameworks/wilhelm/src/ |
H A D | itfstruct.h | 31 void *mContext; member in struct:Object_interface 232 void *mContext; member in struct:BufferQueue_interface 259 void *mContext; member in struct:__anon1686 441 void *mContext; member in struct:__anon1700 471 void *mContext; member in struct:Play_interface 502 void *mContext; member in struct:__anon1704 539 void *mContext; member in struct:__anon1707 585 void *mContext; member in struct:__anon1712 609 void *mContext; member in struct:__anon1715 672 void *mContext; member in struct:__anon1721 [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ApplicationPackageManager.java | 119 mUserManager = UserManager.get(mContext); 129 PackageInfo pi = mPM.getPackageInfo(packageName, flags, mContext.getUserId()); 208 int[] gids = mPM.getPackageGids(packageName, mContext.getUserId()); 292 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, mContext.getUserId()); 334 ActivityInfo ai = mPM.getActivityInfo(className, flags, mContext.getUserId()); 349 ActivityInfo ai = mPM.getReceiverInfo(className, flags, mContext.getUserId()); 364 ServiceInfo si = mPM.getServiceInfo(className, flags, mContext.getUserId()); 379 ProviderInfo pi = mPM.getProviderInfo(className, flags, mContext.getUserId()); 420 return mPM.checkPermission(permName, pkgName, mContext.getUserId()); 429 return mPM.isPermissionRevokedByPolicy(permName, pkgName, mContext 2199 private final ContextImpl mContext; field in class:ApplicationPackageManager [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | AccessPoint.java | 108 private final Context mContext; field in class:AccessPoint 128 mContext = context; 160 mContext = context; 165 mContext = context; 294 Context context = mContext; 353 PackageManager pm = mContext.getPackageManager(); 358 appInfo = mContext.getApplicationInfo(); 367 !appInfo.packageName.equals(mContext.getString(R.string.settings_package)) && 369 mContext.getString(R.string.certinstaller_package))) { 370 return mContext [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | ContentService.java | 65 private Context mContext; field in class:ContentService 79 if (mSyncManager == null) mSyncManager = new SyncManager(mContext, mFactoryTest); 89 mContext.enforceCallingOrSelfPermission(Manifest.permission.DUMP, 156 mContext = context; 197 mContext.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION) 258 mContext.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_WRITE_URI_PERMISSION) 397 mContext.enforceCallingOrSelfPermission( 493 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS, 565 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS, 592 mContext [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ScreenRotationAnimation.java | 47 final Context mContext; field in class:ScreenRotationAnimation 204 mContext = context; 394 mStartExitAnimation = AnimationUtils.loadAnimation(mContext, 396 mStartEnterAnimation = AnimationUtils.loadAnimation(mContext, 399 mStartFrameAnimation = AnimationUtils.loadAnimation(mContext, 402 mFinishExitAnimation = AnimationUtils.loadAnimation(mContext, 404 mFinishEnterAnimation = AnimationUtils.loadAnimation(mContext, 407 mFinishFrameAnimation = AnimationUtils.loadAnimation(mContext, 419 mRotateExitAnimation = AnimationUtils.loadAnimation(mContext, exitAnim); 420 mRotateEnterAnimation = AnimationUtils.loadAnimation(mContext, enterAni [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationManagerCompat.java | 94 private final Context mContext; field in class:NotificationManagerCompat 107 mContext = context; 108 mNotificationManager = (NotificationManager) mContext.getSystemService( 191 pushSideChannelQueue(new CancelTask(mContext.getPackageName(), id, tag)); 199 pushSideChannelQueue(new CancelTask(mContext.getPackageName())); 220 pushSideChannelQueue(new NotifyTask(mContext.getPackageName(), id, tag, notification)); 269 sSideChannelManager = new SideChannelManager(mContext.getApplicationContext()); 287 private final Context mContext; field in class:NotificationManagerCompat.SideChannelManager 295 mContext = context; 383 Set<String> enabledPackages = getEnabledListenerPackages(mContext); [all...] |
/frameworks/base/core/java/android/content/ |
H A D | RestrictionsManager.java | 402 private final Context mContext; field in class:RestrictionsManager 409 mContext = context; 422 return mService.getApplicationRestrictions(mContext.getPackageName()); 476 mService.requestPermission(mContext.getPackageName(), requestType, requestId, 537 appInfo = mContext.getPackageManager().getApplicationInfo(packageName, 547 appInfo.loadXmlMetaData(mContext.getPackageManager(), META_DATA_APP_RESTRICTIONS); 555 appContext = mContext.createPackageContext(packageName, 0 /* flags */);
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | IInputMethodWrapper.java | 72 final Context mContext; field in class:IInputMethodWrapper 83 final Context mContext; field in class:IInputMethodWrapper.InputMethodSessionCallbackWrapper 89 mContext = context; 99 new IInputMethodSessionWrapper(mContext, session, mChannel); 115 mContext = context.getApplicationContext(); 116 mCaller = new HandlerCaller(mContext, null, this, true /*asyncHandler*/); 190 mContext, (InputChannel)args.arg1,
|
/frameworks/base/core/java/android/net/ |
H A D | DhcpStateMachine.java | 59 private Context mContext; field in class:DhcpStateMachine 114 mContext = context; 118 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); 120 mDhcpRenewalIntent = PendingIntent.getBroadcast(mContext, DHCP_RENEW, dhcpRenewalIntent, 0); 122 PowerManager powerManager = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE); 136 mContext.registerReceiver(mBroadcastReceiver, new IntentFilter(ACTION_DHCP_RENEW)); 186 mContext.unregisterReceiver(mBroadcastReceiver);
|
/frameworks/base/core/java/android/preference/ |
H A D | GenericInflater.java | 48 protected final Context mContext; field in class:GenericInflater 110 mContext = context; 122 mContext = newContext; 166 return mContext; 295 mConstructorArgs[0] = mContext; 376 Class clazz = mContext.getClassLoader().loadClass( 426 T item = (mFactory == null) ? null : mFactory.onCreateItem(name, mContext, attrs);
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
H A D | BackupRestoreConfirmation.java | 81 Context mContext; field in class:BackupRestoreConfirmation.ObserverHandler 83 mContext = context; 91 Toast.makeText(mContext, R.string.toast_backup_started, Toast.LENGTH_LONG).show(); 102 Toast.makeText(mContext, R.string.toast_backup_ended, Toast.LENGTH_LONG).show(); 108 Toast.makeText(mContext, R.string.toast_restore_started, Toast.LENGTH_LONG).show(); 119 Toast.makeText(mContext, R.string.toast_restore_ended, Toast.LENGTH_SHORT).show(); 125 Toast.makeText(mContext, R.string.toast_timeout, Toast.LENGTH_LONG).show();
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSimPukView.java | 119 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); 196 KeyguardUpdateMonitor.getInstance(mContext).registerCallback(mUpdateMonitorCallback); 202 KeyguardUpdateMonitor.getInstance(mContext).removeCallback(mUpdateMonitorCallback); 262 mSimUnlockProgressDialog = new ProgressDialog(mContext); 264 mContext.getString(R.string.kg_sim_unlock_progress_dialog_message)); 267 if (!(mContext instanceof Activity)) { 278 AlertDialog.Builder builder = new AlertDialog.Builder(mContext);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | ServiceWatcher.java | 53 private final Context mContext; field in class:ServiceWatcher 101 mContext = context; 104 mPm = mContext.getPackageManager(); 137 mContext.registerReceiverAsUser(new BroadcastReceiver() { 149 mPackageMonitor.register(mContext, null, UserHandle.ALL, true); 231 mContext.unbindService(this); 244 mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 55 final Context mContext; field in class:VoiceInteractionManagerServiceImpl 109 mContext = context; 141 mContext.registerReceiver(mBroadcastReceiver, filter, null, handler); 148 mUser, mContext, this, mInfo.getServiceInfo().applicationInfo.uid, mHandler); 280 mBound = mContext.bindServiceAsUser(intent, mConnection, 315 mContext.unbindService(mConnection); 319 mContext.unregisterReceiver(mBroadcastReceiver);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | SmartCamera.java | 67 private MffContext mContext; field in class:SmartCamera 151 mContext = new MffContext(this); 236 if (mContext != null) { 237 mContext.onPause(); 245 if (mContext != null) { 246 mContext.onResume(); 263 mGraph = GraphReader.readXmlGraphResource(mContext, R.raw.camera_graph);
|
/frameworks/compile/slang/ |
H A D | slang_backend.cpp | 226 mBufferOutStream(*mpOS), mContext(Context), 231 mRSObjectSlotsMetadata(nullptr), mRefCount(mContext->getASTContext()), 434 mContext->ReportError(FD->getLocation(), 452 mContext->ReportError( 473 mContext->addPragma("rs_fp_relaxed", ""); 476 int version = mContext->getVersion(); 488 if (mContext->getReflectJavaPackageName().empty()) { 529 for (RSContext::const_export_var_iterator I = mContext->export_vars_begin(), 530 E = mContext->export_vars_end(); 612 I = mContext [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialog.java | 94 private final Context mContext; field in class:VolumeDialog 133 mContext = context; 136 mSpTexts = new SpTexts(mContext); 139 mDialog = new CustomDialog(mContext); 152 final Resources res = mContext.getResources(); 218 return ColorStateList.valueOf(mContext.getColor(colorResId)); 223 final DisplayMetrics dm = mContext.getResources().getDisplayMetrics(); 226 final int max = mContext.getResources() 231 w -= mContext.getResources().getDimensionPixelSize(R.dimen.notification_side_padding) * 2; 261 final View v = new View(mContext); [all...] |