Home
last modified time | relevance | path

Searched refs:mApp (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsDetail.java86 private ProcStatsPackageEntry mApp; field in ProcessStatsDetail
105 mApp = args.getParcelable(EXTRA_PACKAGE_ENTRY); in onCreate()
106 mApp.retrieveUiData(getActivity(), mPm); in onCreate()
123 mApp.mUiTargetApp != null ? mApp.mUiTargetApp.loadIcon(mPm) : new ColorDrawable(0), in onViewCreated()
124 mApp.mUiLabel, mApp.mPackage.equals(Utils.OS_PKG) ? null in onViewCreated()
125 : AppInfoWithHeader.getInfoIntent(this, mApp.mPackage)); in onViewCreated()
185 boolean statsForeground = mApp.mRunWeight > mApp.mBgWeight; in createDetails()
186 double avgRam = (statsForeground ? mApp.mRunWeight : mApp.mBgWeight) * mWeightToRam; in createDetails()
197 long duration = Math.max(mApp.mRunDuration, mApp.mBgDuration); in createDetails()
201 double max = Math.max(mApp.mMaxBgMem, mApp.mMaxRunMem) * mTotalScale * 1024; in createDetails()
[all …]
DAppOpsState.java307 private final AppEntry mApp; field in AppOpsState.AppOpEntry
313 mApp = app; in AppOpEntry()
315 mApp.addOp(this, op); in AppOpEntry()
339 mApp.addOp(this, op); in addOp()
341 if (mApp.getOpSwitch(AppOpsManager.opToSwitch(op.getOp())) == null) { in addOp()
347 return mApp; in getAppEntry()
416 return mApp.getLabel(); in toString()
/packages/services/Telephony/src/com/android/phone/
DCallController.java71 final private PhoneGlobals mApp; field in CallController
124 mApp = app; in CallController()
138 if (mApp.cdmaPhoneCallState.getCurrentCallState() in handleMessage()
141 mApp.cdmaPhoneCallState.setThreeWayCallOrigState(false); in handleMessage()
211 String number = PhoneNumberUtils.getNumberFromIntent(intent, mApp); in placeCall()
232 Phone phone = mApp.mCM.getDefaultPhone(); in placeCall()
245 mApp.setRestoreMuteOnInCallResume(false); in placeCall()
359 boolean isEmergencyNumber = PhoneNumberUtils.isLocalEmergencyNumber(mApp, number); in placeCallInternal()
361 PhoneNumberUtils.isPotentialLocalEmergencyNumber(mApp, number); in placeCallInternal()
446 int callStatus = PhoneUtils.placeCall(mApp, in placeCallInternal()
[all …]
DEmergencyCallHelper.java68 private PhoneGlobals mApp; field in EmergencyCallHelper
79 mApp = PhoneGlobals.getInstance(); in EmergencyCallHelper()
80 mCM = mApp.mCM; in EmergencyCallHelper()
157 PowerManager pm = (PowerManager) mApp.getSystemService(Context.POWER_SERVICE); in startSequenceInternal()
328 if (Settings.Global.getInt(mApp.getContentResolver(), in powerOnRadio()
333 Settings.Global.putInt(mApp.getContentResolver(), in powerOnRadio()
339 mApp.sendBroadcastAsUser(intent, UserHandle.ALL); in powerOnRadio()
369 int callStatus = PhoneUtils.placeCall(mApp, in placeEmergencyCall()
DPhoneInterfaceManager.java145 private PhoneGlobals mApp; field in PhoneInterfaceManager
848 mApp = app; in PhoneInterfaceManager()
899 mApp.startActivity(intent); in dialForSubscriber()
942 mApp.startActivity(intent); in callForSubscriber()
1444 mApp.enforceCallingOrSelfPermission( in enforceFineOrCoarseLocationPermission()
1450 mApp.enforceCallingOrSelfPermission( in enforceFineOrCoarseLocationPermission()
1463 mApp.enforceCallingOrSelfPermission( in enableLocationUpdatesForSubscriber()
1478 mApp.enforceCallingOrSelfPermission( in disableLocationUpdatesForSubscriber()
1592 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.MODIFY_PHONE_STATE, null); in enforceModifyPermission()
1601 int permission = mApp.checkCallingOrSelfPermission( in enforceModifyPermissionOrCarrierPrivilege()
[all …]
DNotificationMgr.java91 private PhoneGlobals mApp; field in NotificationMgr
116 mApp = app; in NotificationMgr()
DPhoneUtils.java734 final PhoneGlobals mApp = PhoneGlobals.getInstance(); in swap() local
735 if (!okToSwapCalls(mApp.mCM)) { in swap()
743 PhoneUtils.switchHoldingAndActive(mApp.mCM.getFirstActiveBgCall()); in swap()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiScanModeActivity.java38 private String mApp; field in WifiScanModeActivity
48 mApp = getCallingPackage(); in onCreate()
51 ai = pm.getApplicationInfo(mApp, 0); in onCreate()
52 mApp = (String)pm.getApplicationLabel(ai); in onCreate()
59 mApp = savedInstanceState.getString("app"); in onCreate()
66 mDialog = AlertDialogFragment.newInstance(mApp); in createDialog()
93 outState.putString("app", mApp); in onSaveInstanceState()
113 private final String mApp; field in WifiScanModeActivity.AlertDialogFragment
116 mApp = app; in AlertDialogFragment()
121 mApp = null; in AlertDialogFragment()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetService.java58 private final GalleryApp mApp; field in WidgetService.PhotoRVFactory
63 mApp = app; in PhotoRVFactory()
72 mSource = new MediaSetSource(mApp.getDataManager(), mAlbumPath); in onCreate()
74 mSource = new LocalPhotoSource(mApp.getAndroidContext()); in onCreate()
77 AppWidgetManager.getInstance(mApp.getAndroidContext()) in onCreate()
111 mApp.getAndroidContext().getPackageName(), in getLoadingView()
122 mApp.getAndroidContext().getPackageName(), in getViewAt()
138 AppWidgetManager.getInstance(mApp.getAndroidContext()) in onContentDirty()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplicationWrapper.java23 private QsbApplication mApp; field in QsbApplicationWrapper
28 if (mApp != null) { in onTerminate()
29 mApp.close(); in onTerminate()
36 if (mApp == null) { in getApp()
37 mApp = createQsbApplication(); in getApp()
39 return mApp; in getApp()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardMoveConfirm.java34 private ApplicationInfo mApp; field in StorageWizardMoveConfirm
47 mApp = getPackageManager().getApplicationInfo(mPackageName, 0); in onCreate()
55 getPackageManager().getPackageCandidateVolumes(mApp).contains(mVolume)); in onCreate()
57 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onCreate()
70 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onNavigateNext()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java342 ApplicationInfo mApp; field in PowerUsageDetail
372 mHighPower.setSummary(HighPowerDetail.getSummary(getActivity(), mApp.packageName)); in onResume()
382 mHighPower.setSummary(HighPowerDetail.getSummary(getActivity(), mApp.packageName)); in onActivityResult()
414 mApp = context.getPackageManager().getApplicationInfo( in createDetails()
425 if (mApp != null) { in createDetails()
427 context, mPackages[0], mApp.flags); in createDetails()
433 if (mApp != null in createDetails()
434 && PowerWhitelistBackend.getInstance().isWhitelisted(mApp.packageName)) { in createDetails()
439 HighPowerDetail.show(PowerUsageDetail.this, mApp.packageName, 0, false); in createDetails()
738 report.systemApp = (mApp.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in reportBatteryUse()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java83 private final LauncherApplication mApp; field in LauncherModel
180 mApp = app; in LauncherModel()
950 mLoaderTask = new LoaderTask(mApp, isLaunching); in startLoader()
1276 mApp.getLauncherProvider().loadDefaultFavoritesIfNecessary(0, false); in loadWorkspace()
2040 final Context context = mApp; in run()
2250 info.contentDescription = mApp.getPackageManager().getUserBadgedLabel(info.title, user); in getShortcutInfo()
2287 info.contentDescription = mApp.getPackageManager().getUserBadgedLabel( in getShortcutInfo()
2470 info.contentDescription = mApp.getPackageManager().getUserBadgedLabel(name, info.user); in infoFromShortcutIntent()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java104 @Thunk final LauncherAppState mApp; field in LauncherModel
239 mApp = app; in LauncherModel()
1359 mLoaderTask = new LoaderTask(mApp.getContext(), loadFlags); in startLoader()
2951 .getInstance(mApp.getContext());
3009 final Context context = mApp.getContext();
3032 mApp.getWidgetCache().removePackage(packages[i], mUser);
3050 mApp.getWidgetCache().removePackage(packages[i], mUser);
3419 PackageManager packageManager = mApp.getContext().getPackageManager();
3421 widgetsAndShortcuts.addAll(getWidgetProviders(mApp.getContext(), refresh));