/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
AsyncEmergencyContactNotifier.java | 33 private final Context mContext; 36 mContext = context; 42 BlockedNumberContract.SystemContract.notifyEmergencyContact(mContext);
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
MediaNowPlayingViewTest.java | 34 private Context mContext; 38 mContext = InstrumentationRegistry.getTargetContext(); 43 new MediaNowPlayingView(mContext, null);
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
TimeModel.java | 31 private final Context mContext; 34 mContext = context; 55 return DateFormat.is24HourFormat(mContext);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/ |
AppLabelPredicate.java | 31 private Context mContext; 35 mContext = context; 42 return Utils.getApplicationLabel(mContext, appInfo.packageName) == null;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AsyncRefreshTask.java | 25 private final Context mContext; 30 mContext = context; 37 mContext.getContentResolver().query(mRefreshUri, null, null, null, null);
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
CarPermission.java | 30 private final Context mContext; 35 mContext = context; 44 mContext.checkCallingOrSelfPermission(mName);
|
/packages/services/Car/car-support-lib/src/android/support/car/ |
CarServiceLoader.java | 28 private final Context mContext; 33 mContext = context; 55 return mContext;
|
/cts/tests/tests/text/src/android/text/style/cts/ |
ImageSpanTest.java | 44 private Context mContext; 48 mContext = InstrumentationRegistry.getTargetContext(); 62 new ImageSpan(mContext, b); 63 new ImageSpan(mContext, b, DynamicDrawableSpan.ALIGN_BOTTOM); 64 new ImageSpan(mContext, b, DynamicDrawableSpan.ALIGN_BASELINE); 66 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); 75 new ImageSpan(mContext, Uri.parse("content://user/a/b")); 76 new ImageSpan(mContext, Uri.parse("content://user/a/b"), 78 new ImageSpan(mContext, Uri.parse("content://user/a/b"), 81 new ImageSpan(mContext, R.drawable.pass) [all...] |
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/ |
SubheaderListItemActivity.java | 56 private Context mContext; 62 mContext = context; 68 subheaderItem = new SubheaderListItem(mContext, 74 item = new TextListItem(mContext); 78 item = new TextListItem(mContext); 82 item = new TextListItem(mContext); 89 item = new TextListItem(mContext); 96 subheaderItem = new SubheaderListItem(mContext, 103 item = new TextListItem(mContext); 108 item = new TextListItem(mContext); [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/ |
TimeFormatPreferenceControllerTest.java | 49 private Context mContext; 57 mContext = RuntimeEnvironment.application; 62 mController = new TimeFormatPreferenceController(mContext, mCallback, true); 69 mController = new TimeFormatPreferenceController(mContext, mCallback, false); 76 mController = new TimeFormatPreferenceController(mContext, mCallback, false); 77 mPreference = new SwitchPreference(mContext); 79 Settings.System.putString(mContext.getContentResolver(), Settings.System.TIME_12_24, 89 mController = new TimeFormatPreferenceController(mContext, mCallback, false); 90 mPreference = new SwitchPreference(mContext); 92 Settings.System.putString(mContext.getContentResolver(), Settings.System.TIME_12_24 [all...] |
/frameworks/support/compat/src/androidTest/java/androidx/core/content/ |
FileProviderTest.java | 63 private Context mContext; 67 mContext = InstrumentationRegistry.getTargetContext(); 68 mResolver = mContext.getContentResolver(); 74 strat.addRoot("tag", mContext.getFilesDir()); 76 File file = buildPath(mContext.getFilesDir(), "file.test"); 80 file = buildPath(mContext.getFilesDir(), "subdir", "file.test"); 95 strat.addRoot("tag", mContext.getFilesDir()); 97 File file = buildPath(mContext.getFilesDir(), "..", "file.test"); 108 strat.addRoot("tag1", mContext.getFilesDir()); 111 File file = buildPath(mContext.getFilesDir(), "file.test") [all...] |
PermissionCheckerTest.java | 37 private Context mContext; 41 mContext = InstrumentationRegistry.getTargetContext(); 47 mContext, Manifest.permission.ANSWER_PHONE_CALLS)); 49 mContext, Manifest.permission.VIBRATE));
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
BatteryStatsProcessStateTests.java | 37 intent.setClass(mContext, SimpleForegroundService.class); 39 mContext.startForegroundService(intent); 46 intent.setClass(mContext, SimpleActivity.class); 47 mContext.startActivity(intent);
|
/device/google/cuttlefish_common/guest/monitoring/vsoc_service/java/com/android/google/gce/gceservice/ |
PackageVerificationConsentEnforcer.java | 42 private final Context mContext; 50 mContext = context; 61 ContentResolver contentResolver = mContext.getContentResolver(); 68 Settings.Secure.putInt(mContext.getContentResolver(), PACKAGE_VERIFIER_USER_CONSENT, -1);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothBroadcastHelper.java | 29 private final Context mContext; 37 mContext = context; 50 mContext.registerReceiver(mReceiver, mIntentFilter); 67 mContext.unregisterReceiver(mReceiver);
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/ |
InstrumentationUiAutomatorBridge.java | 32 private final Context mContext; 36 mContext = context; 41 mContext.getSystemService(Service.WINDOW_SERVICE); 53 mContext.getSystemService(Service.POWER_SERVICE);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
MetaDataTest.java | 59 XmlResourceParser xml = ci.loadXmlMetaData(mContext.getPackageManager(), 88 TypedArray a = mContext.obtainStyledAttributes(xml, 99 ComponentName cn = new ComponentName(mContext, LocalActivity.class); 100 ActivityInfo ai = mContext.getPackageManager().getActivityInfo( 105 ai = mContext.getPackageManager().getActivityInfo(cn, 0); 112 ComponentName cn = new ComponentName(mContext, LocalReceiver.class); 113 ActivityInfo ai = mContext.getPackageManager().getReceiverInfo( 118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0); 125 ComponentName cn = new ComponentName(mContext, LocalService.class); 126 ServiceInfo si = mContext.getPackageManager().getServiceInfo [all...] |
/frameworks/layoutlib/bridge/src/com/android/internal/view/menu/ |
BridgeMenuItemImpl.java | 35 private BridgeContext mContext; 46 mContext = ((BridgeContext) context); 58 if (actionView != null && mContext != null) { 59 mContext.addViewKey(actionView, viewCookie);
|
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
TngPrimaryPlane.cpp | 54 mContext.type = DC_PRIMARY_PLANE; 55 mContext.ctx.prim_ctx.update_mask = SPRITE_UPDATE_ALL; 56 mContext.ctx.prim_ctx.index = mIndex; 57 mContext.ctx.prim_ctx.pipe = mDevice; 58 mContext.ctx.prim_ctx.stride = align_to((4 * align_to(mPosition.w, 32)), 64); 60 mContext.ctx.prim_ctx.linoff = (mPosition.h - 1) * mContext.ctx.prim_ctx.stride + (mPosition.w - 1)* 4; 62 mContext.ctx.prim_ctx.linoff = 0; 64 mContext.ctx.prim_ctx.pos = 0; 65 mContext.ctx.prim_ctx.size [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
ConfigMonitor.java | 32 private final Context mContext; 37 mContext = context; 49 mContext.unregisterReceiver(this); 55 mContext.registerReceiver(this, new IntentFilter(Intent.ACTION_CONFIGURATION_CHANGED));
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
DeviceAdminIconParser.java | 33 private final Context mContext; 37 mContext = context; 38 mFileIcon = new File(new File(mContext.getFilesDir(), DIR_PROVISIONING_PARAMS_FILE_CACHE), 52 boolean success = StoreUtils.copyUriIntoFile(mContext.getContentResolver(), uri, mFileIcon);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/ |
SwiperThemeMatcher.java | 26 private final Context mContext; 30 mContext = context; 44 return mContext.getResources().getIdentifier(styleName, STYLE_TAG, 45 mContext.getPackageName());
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
CachingIconLoaderTest.java | 30 return new CachingIconLoader(new MockIconLoader(mContext));
|
/packages/apps/Settings/src/com/android/settings/network/ |
NetworkResetRestrictionChecker.java | 28 private final Context mContext; 32 mContext = context; 38 return RestrictedLockUtils.hasBaseUserRestriction(mContext, 45 mContext, UserManager.DISALLOW_NETWORK_RESET, UserHandle.myUserId()) != null;
|
/packages/apps/Settings/src/com/android/settings/security/ |
ScreenPinningPreferenceController.java | 35 return mContext.getResources().getBoolean(R.bool.config_show_screen_pinning_settings) 41 return Settings.System.getInt(mContext.getContentResolver(), 43 ? mContext.getText(R.string.switch_on_text) 44 : mContext.getText(R.string.switch_off_text);
|