Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/util/
DMockTvSingletons.java55 private final TvApplication mApp; field in MockTvSingletons
64 mApp = (TvApplication) context.getApplicationContext(); in MockTvSingletons()
69 return mApp.getAnalytics(); in getAnalytics()
77 return mApp.getChannelDataManager(); in getChannelDataManager()
82 return mApp.isChannelDataManagerLoadFinished(); in isChannelDataManagerLoadFinished()
87 return mApp.getProgramDataManager(); in getProgramDataManager()
92 return mApp.isProgramDataManagerCurrentProgramsLoadFinished(); in isProgramDataManagerCurrentProgramsLoadFinished()
97 return mApp.getPreviewDataManager(); in getPreviewDataManager()
102 return mApp.getDvrDataManager(); in getDvrDataManager()
112 return mApp.getRecordingStorageStatusManager(); in getRecordingStorageStatusManager()
[all …]
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java273 private PhoneGlobals mApp; field in PhoneInterfaceManager
841 mApp.onNetworkSelectionChanged(request.subId); in handleMessage()
1326 mApp = app; in PhoneInterfaceManager()
1333 PreferenceManager.getDefaultSharedPreferences(mApp); in PhoneInterfaceManager()
1397 mApp.startActivity(intent); in dialForSubscriber()
1445 mApp.startActivity(intent); in callForSubscriber()
1632 mApp, subId, callingPackage, "isRadioOnForSubscriber")) { in isRadioOnForSubscriber()
1909 mApp.getSystemService(AppOpsManager.class) in getCellLocation()
1913 LocationAccessPolicy.checkLocationPermission(mApp, in getCellLocation()
1957 == getVoiceNetworkTypeForSubscriber(subId, mApp.getPackageName())) { in getNetworkCountryIsoForPhone()
[all …]
DNotificationMgr.java107 private PhoneGlobals mApp; field in NotificationMgr
153 mApp = app; in NotificationMgr()
214 mApp.notifier.updatePhoneStateListeners(true); in refreshMwi()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcessStatsDetail.java91 private ProcStatsPackageEntry mApp; field in ProcessStatsDetail
108 mApp = args.getParcelable(EXTRA_PACKAGE_ENTRY); in onCreate()
109 mApp.retrieveUiData(getActivity(), mPm); in onCreate()
125 if (mApp.mUiTargetApp == null) { in onViewCreated()
133 .setIcon(mApp.mUiTargetApp != null in onViewCreated()
134 ? IconDrawableFactory.newInstance(activity).getBadgedIcon(mApp.mUiTargetApp) in onViewCreated()
136 .setLabel(mApp.mUiLabel) in onViewCreated()
137 .setPackageName(mApp.mPackage) in onViewCreated()
138 .setUid(mApp.mUiTargetApp != null in onViewCreated()
139 ? mApp.mUiTargetApp.uid in onViewCreated()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsDetail.java91 private ProcStatsPackageEntry mApp; field in ProcessStatsDetail
108 mApp = args.getParcelable(EXTRA_PACKAGE_ENTRY); in onCreate()
109 mApp.retrieveUiData(getActivity(), mPm); in onCreate()
125 if (mApp.mUiTargetApp == null) { in onViewCreated()
133 .setIcon(mApp.mUiTargetApp != null in onViewCreated()
134 ? IconDrawableFactory.newInstance(activity).getBadgedIcon(mApp.mUiTargetApp) in onViewCreated()
136 .setLabel(mApp.mUiLabel) in onViewCreated()
137 .setPackageName(mApp.mPackage) in onViewCreated()
138 .setUid(mApp.mUiTargetApp != null in onViewCreated()
139 ? mApp.mUiTargetApp.uid in onViewCreated()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiScanModeActivity.java42 private String mApp; field in WifiScanModeActivity
52 mApp = getCallingPackage(); in onCreate()
55 ai = pm.getApplicationInfo(mApp, 0); in onCreate()
56 mApp = (String)pm.getApplicationLabel(ai); in onCreate()
63 mApp = savedInstanceState.getString("app"); in onCreate()
70 mDialog = AlertDialogFragment.newInstance(mApp); in createDialog()
97 outState.putString("app", mApp); in onSaveInstanceState()
117 private final String mApp; field in WifiScanModeActivity.AlertDialogFragment
120 mApp = app; in AlertDialogFragment()
125 mApp = null; in AlertDialogFragment()
[all …]
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppDeletionPreference.java29 private PackageInfo mApp; field in AppDeletionPreference
34 mApp = item; in AppDeletionPreference()
38 setItemSize(mApp.size); in AppDeletionPreference()
51 return mApp.packageName; in getPackageName()
55 if (mApp == null) return; in updateSummary()
56 if (mApp.daysSinceLastUse == AppsAsyncLoader.NEVER_USED) { in updateSummary()
58 } else if (mApp.daysSinceLastUse == AppsAsyncLoader.UNKNOWN_LAST_USE) { in updateSummary()
62 if (mApp.daysSinceLastUse <= 1) { in updateSummary()
64 final long lastUse = now - TimeUnit.DAYS.toMillis(mApp.daysSinceLastUse); in updateSummary()
71 R.string.deletion_helper_app_summary, mApp.daysSinceLastUse)); in updateSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiScanModeActivity.java41 private String mApp; field in WifiScanModeActivity
51 mApp = getCallingPackage(); in onCreate()
54 ai = pm.getApplicationInfo(mApp, 0); in onCreate()
55 mApp = (String)pm.getApplicationLabel(ai); in onCreate()
62 mApp = savedInstanceState.getString("app"); in onCreate()
69 mDialog = AlertDialogFragment.newInstance(mApp); in createDialog()
96 outState.putString("app", mApp); in onSaveInstanceState()
116 private final String mApp; field in WifiScanModeActivity.AlertDialogFragment
119 mApp = app; in AlertDialogFragment()
124 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/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java96 private final LauncherAppState mApp; field in LoaderTask
115 mApp = app; in LoaderTask()
120 mLauncherApps = LauncherAppsCompat.getInstance(mApp.getContext()); in LoaderTask()
121 mUserManager = UserManagerCompat.getInstance(mApp.getContext()); in LoaderTask()
122 mShortcutManager = DeepShortcutManager.getInstance(mApp.getContext()); in LoaderTask()
123 mPackageInstaller = PackageInstallerCompat.getInstance(mApp.getContext()); in LoaderTask()
124 mAppWidgetManager = AppWidgetManagerCompat.getInstance(mApp.getContext()); in LoaderTask()
125 mIconCache = mApp.getIconCache(); in LoaderTask()
157 mFirstScreenBroadcast.sendBroadcasts(mApp.getContext(), firstScreenItems); in sendFirstScreenActiveInstallsBroadcast()
169 try (LauncherModel.LoaderTransaction transaction = mApp.getModel().beginLoader(this)) { in run()
[all …]
DBaseModelUpdateTask.java43 private LauncherAppState mApp; field in BaseModelUpdateTask
51 mApp = app; in init()
67 execute(mApp, mDataModel, mAllAppsList); in run()
115 dataModel.widgetsModel.getWidgetsList(mApp.getContext()); in bindUpdatedWidgets()
DModelPreload.java37 private LauncherAppState mApp; field in ModelPreload
45 mApp = app; in init()
54 new LoaderResults(mApp, mBgDataModel, mAllAppsList, 0, null)); in run()
DBaseLoaderResults.java57 protected final LauncherAppState mApp; field in BaseLoaderResults
69 mApp = app; in BaseLoaderResults()
220 final InvariantDeviceProfile profile = mApp.getInvariantDeviceProfile(); in sortWorkspaceItemsSpatially()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageWizardMoveConfirm.java45 private ApplicationInfo mApp; field in StorageWizardMoveConfirm
58 mApp = getPackageManager().getApplicationInfo(mPackageName, 0); in onCreate()
66 getPackageManager().getPackageCandidateVolumes(mApp).contains(mVolume)); in onCreate()
68 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onCreate()
95 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onNavigateNext()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardMoveConfirm.java45 private ApplicationInfo mApp; field in StorageWizardMoveConfirm
58 mApp = getPackageManager().getApplicationInfo(mPackageName, 0); in onCreate()
66 getPackageManager().getPackageCandidateVolumes(mApp).contains(mVolume)); in onCreate()
68 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onCreate()
96 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onNavigateNext()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java86 @Thunk final LauncherAppState mApp; field in LauncherModel
128 DeepShortcutManager.getInstance(mApp.getContext()).hasHostPermission();
164 mApp = app; in LauncherModel()
194 return new ModelWriter(mApp.getContext(), this, sBgDataModel, in getWriter()
356 LoaderResults loaderResults = new LoaderResults(mApp, sBgDataModel, in startLoader()
392 mLoaderTask = new LoaderTask(mApp, mBgAllAppsList, sBgDataModel, results); in startLoaderForResults()
500 task.init(mApp, this, sBgDataModel, mBgAllAppsList, mUiExecutor); in enqueueModelUpdateTask()
534 si.updateFromDeepShortcutInfo(info, mApp.getContext()); in updateAndBindWorkspaceItem()
535 LauncherIcons li = LauncherIcons.obtain(mApp.getContext()); in updateAndBindWorkspaceItem()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java78 private LauncherAppState mApp; field in AddItemActivity
102 mApp = LauncherAppState.getInstance(this); in onCreate()
103 mIdp = mApp.getInvariantDeviceProfile(); in onCreate()
198 () -> new WidgetItem(shortcutInfo, mApp.getIconCache(), getPackageManager())); in setupShortcut()
219 applyWidgetItemAsync(() -> new WidgetItem(widgetInfo, mIdp, mApp.getIconCache())); in setupWidget()
232 mWidgetCell.applyFromCellItem(item, mApp.getWidgetCache()); in applyWidgetItemAsync()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appops/
DAppOpsState.java312 private final AppEntry mApp; field in AppOpsState.AppOpEntry
319 mApp = app; in AppOpEntry()
321 mApp.addOp(this, op); in AppOpEntry()
345 mApp.addOp(this, op); in addOp()
347 if (mApp.getOpSwitch(AppOpsManager.opToSwitch(op.getOp())) == null) { in addOp()
353 return mApp; in getAppEntry()
430 return mApp.getLabel(); in toString()
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java312 private final AppEntry mApp; field in AppOpsState.AppOpEntry
319 mApp = app; in AppOpEntry()
321 mApp.addOp(this, op); in AppOpEntry()
345 mApp.addOp(this, op); in addOp()
347 if (mApp.getOpSwitch(AppOpsManager.opToSwitch(op.getOp())) == null) { in addOp()
353 return mApp; in getAppEntry()
430 return mApp.getLabel(); in toString()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DLoaderResults.java51 mBgDataModel.widgetsModel.getWidgetsList(mApp.getContext()); in bindWidgets()