/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | SuggestionParser.java | 76 private final Context mContext; field in class:SuggestionParser 82 mContext = context; 83 mSuggestionList = (List<SuggestionCategory>) new SuggestionOrderInflater(mContext) 121 TileUtils.getTilesForIntent(mContext, new UserHandle(UserHandle.myUserId()), intent, 151 return mContext.getPackageManager().hasSystemFeature(featureRequired); 161 AccountManager accountManager = AccountManager.get(mContext); 172 final Resources res = mContext.getPackageManager().getResourcesForActivity( 186 return Settings.Secure.getInt(mContext.getContentResolver(), name, 0) != 0; 191 Settings.Secure.putInt(mContext.getContentResolver(), name, 1); 253 private final Context mContext; field in class:SuggestionParser.SuggestionOrderInflater [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardIndicationController.java | 60 private final Context mContext; field in class:KeyguardIndicationController 83 mContext = context; 129 showTransientIndication(mContext.getResources().getString(transientIndication)); 189 return mContext.getResources().getString(R.string.keyguard_charged); 223 mContext, chargingTimeRemaining); 224 return mContext.getResources().getString(chargingId, chargingTimeFormatted); 226 return mContext.getResources().getString(chargingId); 246 KeyguardUpdateMonitor updateMonitor = KeyguardUpdateMonitor.getInstance(mContext); 250 int errorColor = mContext.getResources().getColor(R.color.system_warning_color, null); 267 KeyguardUpdateMonitor updateMonitor = KeyguardUpdateMonitor.getInstance(mContext); [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | FusedLocationHardwareSecure.java | 31 private final Context mContext; field in class:FusedLocationHardwareSecure 39 mContext = context; 44 mContext.enforceCallingPermission(
|
H A D | GeocoderProxy.java | 38 private final Context mContext; field in class:GeocoderProxy 56 mContext = context; 58 mServiceWatcher = new ServiceWatcher(mContext, TAG, SERVICE_ACTION, overlaySwitchResId,
|
H A D | LocationBlacklist.java | 46 private final Context mContext; field in class:LocationBlacklist 57 mContext = context; 61 mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor( 63 // mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor( 129 flatString = Settings.Secure.getStringForUser(mContext.getContentResolver(), key,
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
H A D | DemoModeController.java | 40 private final Context mContext = this; field in class:DemoModeController 58 mContent = new View(mContext); 65 mTouchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop(); 83 mToast = Toast.makeText(mContext, R.string.help_text, Toast.LENGTH_LONG); 227 mContext.sendBroadcast(intent); 248 mContext.sendBroadcast(intent); 261 mContext.sendBroadcast(intent); 274 mContext.sendBroadcast(intent); 300 mContext.sendBroadcast(intent); 313 mContext [all...] |
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/ |
H A D | DetailsDescriptionPresenter.java | 35 private Context mContext; field in class:DetailsDescriptionPresenter 38 mContext = context; 42 View view = LayoutInflater.from(mContext).inflate(R.layout.detail_view_content, null);
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/ |
H A D | DetailsDescriptionPresenter.java | 35 private Context mContext; field in class:DetailsDescriptionPresenter 38 mContext = context; 42 View view = LayoutInflater.from(mContext).inflate(R.layout.detail_view_content, null);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkScoreManager.java | 126 private final Context mContext; field in class:NetworkScoreManager 131 mContext = context; 147 NetworkScorerAppData app = NetworkScorerAppManager.getActiveScorer(mContext); 251 mContext.sendBroadcastAsUser(intent, UserHandle.SYSTEM, Manifest.permission.SCORE_NETWORKS);
|
/frameworks/base/core/java/android/print/ |
H A D | PrintFileDocumentAdapter.java | 51 private final Context mContext; field in class:PrintFileDocumentAdapter 74 mContext = context; 134 mResultCallback.onWriteFailed(mContext.getString( 150 mResultCallback.onWriteFailed(mContext.getString(
|
/frameworks/base/core/java/android/provider/ |
H A D | SearchRecentSuggestions.java | 110 private final Context mContext; field in class:SearchRecentSuggestions 140 mContext = context; 189 ContentResolver cr = mContext.getContentResolver(); 219 ContentResolver cr = mContext.getContentResolver();
|
/frameworks/base/core/java/android/security/net/config/ |
H A D | ResourceCertificateSource.java | 42 private Context mContext; field in class:ResourceCertificateSource 47 mContext = context; 60 in = mContext.getResources().openRawResource(mResourceId); 75 mContext = null;
|
/frameworks/base/core/java/android/test/ |
H A D | AndroidTestCase.java | 41 protected Context mContext; field in class:AndroidTestCase 57 mContext); 61 mContext = context; 65 return mContext;
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityManagerTest.java | 32 protected Context mContext; field in class:ActivityManagerTest 38 mContext = getContext(); 39 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); 100 Configuration vconfig = mContext.getResources().getConfiguration();
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentResolverTest.java | 31 mContentResolver = mContext.getContentResolver();
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSessionManager.java | 58 private Context mContext; field in class:MediaSessionManager 66 mContext = context; 80 return mService.createSession(mContext.getPackageName(), cbStub, tag, userId); 123 MediaController controller = new MediaController(mContext, ISessionController.Stub 205 SessionsChangedWrapper wrapper = new SessionsChangedWrapper(mContext, sessionListener, 324 private Context mContext; field in class:MediaSessionManager.SessionsChangedWrapper 330 mContext = context; 347 controllers.add(new MediaController(mContext, tokens.get(i))); 358 mContext = null;
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/ |
H A D | KeyboardBot.java | 40 InputMethodManager inputManager = (InputMethodManager) mContext
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | NekoDialog.java | 62 private final Context mContext; field in class:NekoDialog.Adapter 66 mContext = context; 84 .setImageIcon(food.getIcon(mContext)); 86 .setText(food.getName(mContext));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
H A D | PowerUI.java | 61 mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); 63 mWarnings = new PowerNotificationWarnings(mContext, getComponent(PhoneStatusBar.class)); 71 final ContentResolver resolver = mContext.getContentResolver(); 80 int critLevel = mContext.getResources().getInteger( 83 final ContentResolver resolver = mContext.getContentResolver(); 84 int defWarnLevel = mContext.getResources().getInteger( 98 + mContext.getResources().getInteger( 139 mContext.registerReceiver(this, filter, null, mHandler); 234 pw.println(Settings.Global.getInt(mContext.getContentResolver(),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsSystemUser.java | 43 private Context mContext; field in class:RecentsSystemUser 49 mContext = context; 83 mImpl.onVisibilityChanged(mContext, visible); 90 mImpl.onStartScreenPinning(mContext, taskId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | ForcedResizableInfoActivityController.java | 44 private final Context mContext; field in class:ForcedResizableInfoActivityController 58 mContext = context; 112 Intent intent = new Intent(mContext, ForcedResizableInfoActivity.class); 116 mContext.startActivityAsUser(intent, options.toBundle(), UserHandle.CURRENT);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | MasterClearReceiver.java | 78 private final Context mContext; field in class:MasterClearReceiver.WipeAdoptableDisksTask 82 mContext = context; 91 mProgressDialog.setMessage(mContext.getText(R.string.progress_erasing)); 98 StorageManager sm = (StorageManager) mContext.getSystemService(
|
/frameworks/ex/common/java/com/android/common/ |
H A D | NetworkConnectivityListener.java | 44 private Context mContext; field in class:NetworkConnectivityListener 139 mContext = context; 153 mContext.unregisterReceiver(mReceiver); 154 mContext = null;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxAggregatorManager.java | 34 private Context mContext; field in class:BordeauxAggregatorManager 39 mAggregatorManager = BordeauxManagerService.getAggregatorManager(mContext); 49 mContext = context; 50 mAggregatorManager = BordeauxManagerService.getAggregatorManager(mContext);
|
H A D | BordeauxPredictor.java | 35 private Context mContext; field in class:BordeauxPredictor 40 mContext = context; 46 mContext = context; 66 mPredictor = BordeauxManagerService.getPredictor(mContext, mName);
|