/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | UsageTracker.java | 33 private final Context mContext; field in class:UsageTracker 41 mContext = context; 43 mTimeToShowTile = MILLIS_PER_DAY * mContext.getResources().getInteger(timeoutResource); 50 mContext.registerReceiver(mReceiver, new IntentFilter(mResetAction)); 53 mContext.unregisterReceiver(mReceiver); 72 final SystemUIDialog d = new SystemUIDialog(mContext); 74 d.setMessage(mContext.getString(R.string.quick_settings_reset_confirmation_message)); 91 return mContext.getSharedPreferences(mContext.getPackageName(), 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | UserDetailView.java | 46 mAdapter = new Adapter(mContext, controller); 57 private Context mContext; field in class:UserDetailView.Adapter 61 mContext = context; 68 mContext, convertView, parent); 72 String name = getName(mContext, item); 74 v.bind(name, getDrawable(mContext, item));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | ReferenceCountedTrigger.java | 31 Context mContext; field in class:ReferenceCountedTrigger 53 mContext = context; 98 Console.logError(mContext, "Invalid ref count");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | ViewPool.java | 36 Context mContext; field in class:ViewPool 42 mContext = context; 57 v = mViewCreator.createView(mContext);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | PreviewInflater.java | 42 private Context mContext; field in class:PreviewInflater 46 mContext = context; 59 KeyguardPreviewContainer container = new KeyguardPreviewContainer(mContext, null); 67 Context appContext = mContext.createPackageContext( 81 PackageManager packageManager = mContext.getPackageManager();
|
H A D | RotationLockControllerImpl.java | 28 private final Context mContext; field in class:RotationLockControllerImpl 41 mContext = context; 55 return RotationPolicy.getRotationLockOrientation(mContext); 59 return RotationPolicy.isRotationLocked(mContext); 63 RotationPolicy.setRotationLock(mContext, locked); 67 return RotationPolicy.isRotationLockToggleVisible(mContext); 73 RotationPolicy.registerRotationPolicyListener(mContext, mRotationPolicyListener, 76 RotationPolicy.unregisterRotationPolicyListener(mContext, mRotationPolicyListener); 87 callback.onRotationLockStateChanged(RotationPolicy.isRotationLocked(mContext), 88 RotationPolicy.isRotationLockToggleVisible(mContext)); [all...] |
H A D | UserInfoController.java | 49 private final Context mContext; field in class:UserInfoController 59 mContext = context; 63 mContext.registerReceiver(mReceiver, filter); 68 mContext.registerReceiverAsUser(mProfileReceiver, UserHandle.ALL, profileFilter, 123 currentUserContext = mContext.createPackageContextAsUser("android", 0, 136 final Resources res = mContext.getResources(); 145 final UserManager um = UserManager.get(mContext); 153 avatar = new BitmapDrawable(mContext.getResources(),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | SegmentedButtons.java | 34 private final Context mContext; field in class:SegmentedButtons 42 mContext = context; 43 mInflater = LayoutInflater.from(mContext); 63 c.getCompoundDrawables()[1].setTint(mContext.getResources().getColor(selected
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
H A D | DataVerify.java | 38 public Context mContext; field in class:DataVerify.IDataVerifyStub
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | ShortcutManager.java | 46 private Context mContext; field in class:ShortcutManager 54 mContext = context; 60 mCursor = mContext.getContentResolver().query(
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AttributeCache.java | 39 private final Context mContext; field in class:AttributeCache 75 mContext = context; 114 context = mContext.createPackageContextAsUser(packageName, 0,
|
H A D | ConsumerIrService.java | 36 private final Context mContext; field in class:ConsumerIrService 42 mContext = context; 49 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_CONSUMER_IR)) { 72 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.TRANSMIT_IR) 104 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.TRANSMIT_IR)
|
H A D | SamplingProfilerService.java | 42 private final Context mContext; field in class:SamplingProfilerService 46 mContext = context; 99 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
|
H A D | SystemServiceManager.java | 35 private final Context mContext; field in class:SystemServiceManager 44 mContext = context; 89 service = constructor.newInstance(mContext);
|
H A D | UpdateLockService.java | 42 Context mContext; field in class:UpdateLockService 65 mContext = context; 81 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); 93 mContext.enforceCallingOrSelfPermission(PERMISSION, "acquireUpdateLock"); 103 mContext.enforceCallingOrSelfPermission(PERMISSION, "releaseUpdateLock"); 115 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP)
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | LockTaskNotify.java | 35 private final Context mContext; field in class:LockTaskNotify 41 mContext = context; 43 mContext.getSystemService(Context.ACCESSIBILITY_SERVICE); 52 String text = mContext.getString(isLocked 55 text = mContext.getString(R.string.lock_to_app_toast_accessible); 68 makeAllUserToastAndShow(mContext.getString(showString)); 72 Toast toast = Toast.makeText(mContext, text, Toast.LENGTH_LONG);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | DataConnectionStats.java | 40 private final Context mContext; field in class:DataConnectionStats 49 mContext = context; 55 (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); 66 mContext.registerReceiver(this, filter);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | KeyguardDisableHandler.java | 44 final Context mContext; field in class:KeyguardDisableHandler 49 mContext = context; 96 DevicePolicyManager dpm = (DevicePolicyManager) mContext.getSystemService(
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
H A D | RestrictionsManagerService.java | 75 final Context mContext; field in class:RestrictionsManagerService.RestrictionsManagerImpl 80 mContext = context; 134 mContext.sendBroadcastAsUser(intent, new UserHandle(userHandle)); 195 mContext.sendBroadcastAsUser(responseIntent, new UserHandle(userHandle));
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Service.java | 34 private final Context mContext; field in class:Service 39 mContext = context; 45 return mContext;
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
H A D | AppCompatibility.java | 50 private Context mContext; field in class:AppCompatibility 62 mContext = mRunner.getTargetContext(); 63 Assert.assertNotNull("Could not get the Context", mContext); 66 mContext.getSystemService(Context.ACTIVITY_SERVICE); 69 mPackageManager = mContext.getPackageManager(); 168 mContext.startActivity(intent); 177 mContext.startActivity(homeIntent);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerDataHelper.java | 30 private Context mContext; field in class:TrackerDataHelper 60 mContext = context; 76 mContext.getContentResolver().insert(TrackerProvider.CONTENT_URI, 98 mContext.getContentResolver().delete(TrackerProvider.CONTENT_URI, null, 111 Cursor cursor = mContext.getContentResolver().query(
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | BridgeXmlPullAttributes.java | 35 private final BridgeContext mContext; field in class:BridgeXmlPullAttributes 41 mContext = context; 72 if (mContext.getProjectCallback().getNamespace().equals(ns)) { 73 Integer v = mContext.getProjectCallback().getResourceId(ResourceType.ATTR, name); 262 RenderResources resources = mContext.getRenderResources(); 276 id = mContext.getProjectCallback().getResourceId(
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 69 private BridgeContext mContext; field in class:RenderAction 123 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, 156 if (mContext == null) { 199 // If this is called by init, mContext will be null and so should sCurrentContext 201 if (mContext != sCurrentContext) { 233 mContext.initResources(); 234 sCurrentContext = mContext; 241 mContext.getRenderResources().setFrameworkResourceIdProvider(this); 242 mContext.getRenderResources().setLogger(currentLog); 252 if (mContext ! [all...] |
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/ |
H A D | Camera2DeviceTester.java | 53 public Context mContext; field in class:Camera2DeviceTester 60 (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE);
|