/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | OMANode.java | 16 private final String mContext; field in class:OMANode 23 mContext = context; 51 return mContext;
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/ |
H A D | MDNSFilterPlugin.java | 58 private final @NonNull Context mContext; field in class:MDNSFilterPlugin 82 mContext = Preconditions.checkNotNull(context, "context"); 83 mName = mContext.getResources().getIdentifier(Preconditions.checkStringNotEmpty(name, 103 return (NsdManager) mContext.getSystemService(Context.NSD_SERVICE);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
H A D | AuthenticatorHelper.java | 57 private final Context mContext; field in class:AuthenticatorHelper 67 mContext = context; 107 icon = mContext.getPackageManager().getUserBadgedIcon( 202 updateAuthDescriptions(mContext); 204 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier()); 223 final Account[] accounts = AccountManager.get(mContext) 235 mContext.registerReceiverAsUser(this, mUserHandle, intentFilter, null, null); 242 mContext.unregisterReceiver(this);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | CachedBluetoothDeviceManager.java | 35 private Context mContext; field in class:CachedBluetoothDeviceManager 41 mContext = context; 89 CachedBluetoothDevice newDevice = new CachedBluetoothDevice(mContext, adapter,
|
H A D | LocalBluetoothManager.java | 34 private final Context mContext; field in class:LocalBluetoothManager 68 mContext = context; 83 return mContext;
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsHelper.java | 45 private Context mContext; field in class:SettingsHelper 95 mContext = context; 215 ringtoneUri = mContext.getContentResolver().uncanonicalize(canonicalUri); 223 RingtoneManager.setActualDefaultRingtoneUri(mContext, ringtoneType, ringtoneUri); 228 final Uri canonicalUri = mContext.getContentResolver().canonicalize(ringtoneUri); 247 return Settings.Secure.getInt(mContext.getContentResolver(), name, 0) != 0; 254 mContext.getContentResolver(), name)); 256 return Settings.System.getFloat(mContext.getContentResolver(), name, 1.0f) != 1.0f; 273 UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); 284 mContext [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | HumanInteractionClassifier.java | 45 private final Context mContext; field in class:HumanInteractionClassifier 64 mContext = context; 65 DisplayMetrics displayMetrics = mContext.getResources().getDisplayMetrics(); 92 mContext.getContentResolver().registerContentObserver( 109 mContext.getContentResolver(),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSDualTileLabel.java | 45 private final Context mContext; field in class:QSDualTileLabel 55 mContext = context; 58 mHorizontalPaddingPx = mContext.getResources() 63 final LinearLayout firstLineLayout = new LinearLayout(mContext); 69 mFirstLineCaret = new ImageView(mContext); 109 final TextView tv = new TextView(mContext);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
H A D | TileQueryHelper.java | 50 private final Context mContext; field in class:TileQueryHelper 54 mContext = context; 60 String possible = mContext.getString(R.string.quick_settings_tiles_default) 145 PackageManager pm = mContext.getPackageManager(); 169 icon.setTint(mContext.getColor(android.R.color.white)); 171 addTile(spec, icon, label != null ? label.toString() : "null", appLabel, mContext);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | ScreenPinningRequest.java | 49 private final Context mContext; field in class:ScreenPinningRequest 60 mContext = context; 62 mContext.getSystemService(Context.ACCESSIBILITY_SERVICE); 64 mContext.getSystemService(Context.WINDOW_SERVICE); 84 mRequestWindow = new RequestWindowView(mContext, allowCancel); 155 boolean isLandscape = isLandscapePhone(mContext); 158 int bgColor = mContext.getColor( 192 mContext.registerReceiver(mReceiver, filter); 196 Configuration config = mContext.getResources().getConfiguration(); 244 if (mContext [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | RecentsTaskLoadPlan.java | 70 Context mContext; field in class:RecentsTaskLoadPlan 78 mContext = context; 87 UserManager userManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE); 125 Resources res = mContext.getResources(); 133 String dismissDescFormat = mContext.getString( 135 String appInfoDescFormat = mContext.getString( 137 long lastStackActiveTime = Prefs.getLong(mContext, 192 Prefs.putLong(mContext, Prefs.Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME, 198 mStack.setTasks(mContext, allTasks, false /* notifyStackChanges */); 207 Resources res = mContext [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | SystemBarScrimViews.java | 40 private Context mContext; field in class:SystemBarScrimViews 51 mContext = activity;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyboardShortcutKeysLayout.java | 32 private final Context mContext; field in class:KeyboardShortcutKeysLayout 36 this.mContext = context; 41 this.mContext = context; 194 return mContext.getResources().getConfiguration().getLayoutDirection()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | AccessPointControllerImpl.java | 55 private final Context mContext; field in class:AccessPointControllerImpl 63 mContext = context; 64 mUserManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
|
H A D | BatteryControllerImpl.java | 48 private final Context mContext; field in class:BatteryControllerImpl 58 mContext = context; 72 mContext.registerReceiver(this, filter); 193 mContext.unregisterReceiver(this);
|
H A D | HotspotControllerImpl.java | 41 private final Context mContext; field in class:HotspotControllerImpl 46 mContext = context; 55 && UserManager.get(mContext).isUserAdmin(ActivityManager.getCurrentUser()); 141 mContext.registerReceiver(this, filter); 145 mContext.unregisterReceiver(this);
|
H A D | KeyguardMonitor.java | 34 private final Context mContext; field in class:KeyguardMonitor 46 mContext = context; 47 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); 48 mUserTracker = new CurrentUserTracker(mContext) {
|
H A D | LocationControllerImpl.java | 51 private Context mContext; field in class:LocationControllerImpl 64 mContext = context; 65 mSlotLocation = mContext.getString(com.android.internal.R.string.status_bar_location); 110 final ContentResolver cr = mContext.getContentResolver(); 125 ContentResolver resolver = mContext.getContentResolver(); 137 final UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); 177 0, mContext.getString(R.string.accessibility_location_active));
|
H A D | PreviewInflater.java | 45 private Context mContext; field in class:PreviewInflater 49 mContext = context; 71 KeyguardPreviewContainer container = new KeyguardPreviewContainer(mContext, null); 79 Context appContext = mContext.createPackageContext( 92 PackageManager packageManager = mContext.getPackageManager(); 121 PackageManager packageManager = mContext.getPackageManager();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | SegmentedButtons.java | 37 private final Context mContext; field in class:SegmentedButtons 46 mContext = context; 47 mInflater = LayoutInflater.from(mContext); 49 mSpTexts = new SpTexts(mContext);
|
H A D | ZenFooter.java | 40 private final Context mContext; field in class:ZenFooter 53 mContext = context; 54 mSpTexts = new SpTexts(mContext); 121 isZenPriority() ? mContext.getString(R.string.interruption_level_priority) 122 : isZenAlarms() ? mContext.getString(R.string.interruption_level_alarms) 123 : isZenNone() ? mContext.getString(R.string.interruption_level_none) 130 isForever ? mContext.getString(com.android.internal.R.string.zen_mode_forever_dnd) 131 : ZenModeConfig.getConditionSummary(mContext, mConfig, mController.getCurrentUser(), 137 Util.setText(mEndNowButton, mContext.getString(R.string.volume_zen_end_now));
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | CountryDetectorService.java | 87 private final Context mContext; field in class:CountryDetectorService 96 mContext = context; 176 mCountryDetector = new ComprehensiveCountryDetector(mContext); 211 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
|
H A D | SystemService.java | 83 private final Context mContext; field in class:SystemService 95 mContext = context; 102 return mContext;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityMetricsLogger.java | 47 private final Context mContext; field in class:ActivityMetricsLogger 57 mContext = context; 66 MetricsLogger.count(mContext, TRON_WINDOW_STATE_VARZ_STRINGS[mWindowState], 165 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_COMPONENT_NAME, 167 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_PROCESS_RUNNING, 169 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_DEVICE_UPTIME_SECONDS, 180 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS, 196 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_STARTING_WINDOW_DELAY_MS, 210 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_REASON, reason); 211 MetricsLogger.action(mContext, MetricsEven [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | PermissionMonitor.java | 61 private final Context mContext; field in class:PermissionMonitor 74 mContext = context; 108 mContext.registerReceiverAsUser(mIntentReceiver, UserHandle.ALL, intentFilter, null, null); 114 mContext.registerReceiverAsUser(mIntentReceiver, UserHandle.ALL, intentFilter, null, null);
|