Searched refs:mContext (Results 326 - 350 of 1175) sorted by relevance

<<11121314151617181920>>

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceManager.java35 private Context mContext; field in class:CachedBluetoothDeviceManager
41 mContext = context;
89 CachedBluetoothDevice newDevice = new CachedBluetoothDevice(mContext, adapter,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTileView.java35 protected final Context mContext; field in class:QSTileView
49 mContext = context;
87 View view = LayoutInflater.from(mContext).inflate(R.layout.qs_tile_label, null);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcuts.java88 private final Context mContext; field in class:KeyboardShortcuts
121 this.mContext = new ContextThemeWrapper(context, android.R.style.Theme_DeviceDefault_Light);
135 if (sInstance != null && !sInstance.mContext.equals(context)) {
360 Recents.getSystemServices().requestKeyboardShortcuts(mContext,
384 mContext.getString(R.string.keyboard_shortcut_group_system), true);
386 mContext.getString(R.string.keyboard_shortcut_group_system_home),
390 mContext.getString(R.string.keyboard_shortcut_group_system_back),
394 mContext.getString(R.string.keyboard_shortcut_group_system_recents),
398 mContext.getString(
403 mContext
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DEmergencyCryptkeeperText.java59 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext);
73 boolean hasMobile = ConnectivityManager.from(mContext)
75 boolean airplaneMode = (Settings.Global.getInt(mContext.getContentResolver(),
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
H A DWapPushManager.java153 public Context mContext; field in class:WapPushManager.IWapPushManagerStub
163 PackageManager pm = mContext.getPackageManager();
164 int match = pm.checkSignatures(mContext.getPackageName(), package_name);
166 if (LOCAL_LOGV) Log.v(LOG_TAG, "compare signature " + mContext.getPackageName()
185 WapPushManDBHelper dbh = getDatabase(mContext);
209 mContext.startActivity(intent);
216 intent.setClassName(mContext, lastapp.className);
219 if (mContext.startService(intent) == null) {
246 WapPushManDBHelper dbh = getDatabase(mContext);
306 WapPushManDBHelper dbh = getDatabase(mContext);
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DDiskStatsService.java39 private final Context mContext; field in class:DiskStatsService
42 mContext = context;
47 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
H A DMmsServiceBroker.java68 private Context mContext; field in class:MmsServiceBroker
208 pendingIntent.send(mContext, SmsManager.MMS_ERROR_UNSPECIFIED, null);
217 mContext = context;
240 if (!mContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE)) {
298 mAppOpsManager = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE);
305 mPackageManager = mContext.getPackageManager();
312 mTelephonyManager = (TelephonyManager) mContext.getSystemService(
335 mContext.enforceCallingPermission(Manifest.permission.SEND_SMS, "Send MMS message");
352 mContext.enforceCallingPermission(Manifest.permission.RECEIVE_MMS,
508 mContext
[all...]
H A DSamplingProfilerService.java42 private final Context mContext; field in class:SamplingProfilerService
46 mContext = context;
99 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DClientMonitor.java45 private Context mContext; field in class:ClientMonitor
62 mContext = context;
181 return mContext;
/frameworks/base/services/core/java/com/android/server/policy/
H A DImmersiveModeConfirmation.java66 private final Context mContext; field in class:ImmersiveModeConfirmation
82 mContext = context;
88 mContext.getSystemService(Context.WINDOW_SERVICE);
92 Animation exit = AnimationUtils.loadAnimation(mContext, R.anim.dock_bottom_exit);
102 value = Settings.Secure.getStringForUser(mContext.getContentResolver(),
116 Settings.Secure.putStringForUser(mContext.getContentResolver(),
150 && !UserManager.isDeviceInDemoMode(mContext)) {
207 mContext.getResources().getDimensionPixelSize(
274 .loadInterpolator(mContext, android.R.interpolator.linear_out_slow_in);
333 mContext
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DKeyguardDisableHandler.java47 final Context mContext; field in class:KeyguardDisableHandler
52 mContext = context;
99 DevicePolicyManager dpm = (DevicePolicyManager) mContext.getSystemService(
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp121 std::unique_ptr<llvm::LLVMContext> mContext(new llvm::LLVMContext());
131 MOrErr = llvm_3_0::parseBitcodeFile(*MBOrErr, *mContext);
133 MOrErr = llvm_2_7::parseBitcodeFile(*MBOrErr, *mContext);
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DObservableListAdapter.java32 private final Context mContext; field in class:ObservableListAdapter
40 mContext = context;
124 convertView = new TextView(mContext);
/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/
H A DWifiScannerTest.java51 private Context mContext; field in class:WifiScannerTest
70 mContext, mLooper.getLooper(), mHandler);
72 mWifiScanner = new WifiScanner(mContext, mService, mLooper.getLooper());
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DDropDownPreference.java37 private final Context mContext; field in class:DropDownPreference
57 mContext = context;
85 return new ArrayAdapter<>(mContext, android.R.layout.simple_spinner_dropdown_item);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java130 private final Context mContext; field in class:WifiServiceImpl
197 ac.connect(mContext, this, msg.replyTo);
210 + mContext.getPackageManager().getNameForUid(msg.sendingUid));
217 + mContext.getPackageManager().getNameForUid(msg.sendingUid));
278 mWsmChannel.connect(mContext, this, mWifiStateMachine.getHandler());
297 mWsmChannel.connect(mContext, this, mWifiStateMachine.getHandler());
314 mContext = context;
320 mTrafficPoller = new WifiTrafficPoller(mContext, wifiThread.getLooper(),
322 mUserManager = UserManager.get(mContext);
328 mFacade.getStringSetting(mContext, Setting
[all...]
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java147 private Context mContext; field in class:BugreportReceiverTest
155 mContext = instrumentation.getTargetContext();
157 mListener = ActionSendMultipleConsumerActivity.getListener(mContext);
177 setWarningState(mContext, STATE_HIDE);
237 UiObject cancelButton = mUiBot.getVisibleObject(mContext.getString(
467 mContext.sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS));
501 mContext.getSharedPreferences(PREFS_BUGREPORT, Context.MODE_PRIVATE)
505 getWarningState(mContext, STATE_UNKNOWN));
507 setWarningState(mContext, propertyState);
515 mUiBot.getVisibleObject(mContext
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DZenModePanel.java89 private final Context mContext; field in class:ZenModePanel
127 mContext = context;
129 mInflater = LayoutInflater.from(mContext.getApplicationContext());
130 mForeverId = Condition.newId(mContext).appendPath("forever").build();
131 mSpTexts = new SpTexts(mContext);
132 mVoiceCapable = Util.isVoiceCapable(mContext);
211 Prefs.putBoolean(mContext, prefKey, true);
296 mTimeCondition = parseExistingTimeCondition(mContext, mExitCondition);
301 mTimeCondition = ZenModeConfig.toTimeCondition(mContext,
466 final boolean is24 = DateFormat.is24HourFormat(mContext, ActivityManage
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java81 Context mContext; field in class:AppWidgetHostView
122 mContext = context;
152 Rect padding = getDefaultPaddingForWidget(mContext, info.provider, null);
295 padding = getDefaultPaddingForWidget(mContext, mInfo.provider, padding);
307 AppWidgetManager widgetManager = AppWidgetManager.getInstance(mContext);
336 AppWidgetManager.getInstance(mContext).updateAppWidgetOptions(mAppWidgetId, options);
345 final Context context = mRemoteContext != null ? mRemoteContext : mContext;
439 remoteViews.reapply(mContext, mView, mOnClickHandler);
451 content = remoteViews.apply(mContext, this, mOnClickHandler);
524 mLastExecutionSignal = remoteViews.reapplyAsync(mContext,
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DStandaloneActionMode.java34 private Context mContext; field in class:StandaloneActionMode
45 mContext = context;
67 setTitle(resId != 0 ? mContext.getString(resId) : null);
72 setSubtitle(resId != 0 ? mContext.getString(resId) : null);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DSetTimeZonePermissionsTest.java38 mAlarm = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE);
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java44 private Context mContext; field in class:MediaScannerConnection
103 mContext = context;
119 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE);
135 mContext.unbindService(this);
/frameworks/base/media/java/android/media/projection/
H A DMediaProjection.java50 private final Context mContext; field in class:MediaProjection
56 mContext = context;
103 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE);
136 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE);
/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/
H A DTvRemoteProvider.java55 private final Context mContext; field in class:TvRemoteProvider
68 mContext = context.getApplicationContext();
70 mHandler = new ProviderHandler(mContext.getMainLooper());
77 return mContext;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DSimTonesTest.java34 Context mContext; field in class:SimTonesTest

Completed in 1062 milliseconds

<<11121314151617181920>>