Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/util/
DMockTvSingletons.java56 private final TvApplication mApp; field in MockTvSingletons
63 mApp = (TvApplication) context.getApplicationContext(); in MockTvSingletons()
68 return mApp.getAnalytics(); in getAnalytics()
76 return mApp.getChannelDataManager(); in getChannelDataManager()
81 return mApp.getProgramDataManager(); in getProgramDataManager()
86 return mApp.getPreviewDataManager(); in getPreviewDataManager()
91 return mApp.getDvrDataManager(); in getDvrDataManager()
101 return mApp.getRecordingStorageStatusManager(); in getRecordingStorageStatusManager()
106 return mApp.getDvrScheduleManager(); in getDvrScheduleManager()
111 return mApp.getDvrManager(); in getDvrManager()
[all …]
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java302 private PhoneGlobals mApp; field in PhoneInterfaceManager
1023 mApp.onNetworkSelectionChanged(request.subId); in handleMessage()
1654 mApp = app; in PhoneInterfaceManager()
1662 PreferenceManager.getDefaultSharedPreferences(mApp); in PhoneInterfaceManager()
1711 mApp, phone.getSubId(), "eraseModemConfig"); in sendEraseModemConfig()
1754 mApp.startActivity(intent); in dialForSubscriber()
1802 mApp.startActivity(intent); in callForSubscriber()
1986 mApp, subId, callingPackage, callingFeatureId, "isRadioOnForSubscriber")) { in isRadioOnForSubscriberWithFeature()
2274 mApp.getSystemService(AppOpsManager.class) in getCellLocation()
2278 LocationAccessPolicy.checkLocationPermission(mApp, in getCellLocation()
[all …]
DImsRcsController.java55 private PhoneGlobals mApp; field in ImsRcsController
76 mApp = app; in ImsRcsController()
290 mApp, subId, callingPackage, callingFeatureId, "isUceSettingEnabled")) { in isUceSettingEnabled()
298 SubscriptionManager.IMS_RCS_UCE_ENABLED, false /*defaultValue*/, mApp); in isUceSettingEnabled()
322 mApp.enforceCallingOrSelfPermission( in enforceReadPrivilegedPermission()
332 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.MODIFY_PHONE_STATE, null); in enforceModifyPermission()
343 if (!ImsManager.isImsSupportedOnDevice(mApp)) { in getImsPhone()
368 if (!ImsManager.isImsSupportedOnDevice(mApp)) { in getRcsFeatureController()
DNotificationMgr.java112 private PhoneGlobals mApp; field in NotificationMgr
160 mApp = app; in NotificationMgr()
219 mApp.notifier.updatePhoneStateListeners(true); in refreshMwi()
/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/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/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()
95 outState.putString("app", mApp); in onSaveInstanceState()
115 private final String mApp; field in WifiScanModeActivity.AlertDialogFragment
118 mApp = app; in AlertDialogFragment()
123 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.java40 private String mApp; field in WifiScanModeActivity
50 mApp = getCallingPackage(); in onCreate()
53 ai = pm.getApplicationInfo(mApp, 0); in onCreate()
54 mApp = (String)pm.getApplicationLabel(ai); in onCreate()
61 mApp = savedInstanceState.getString("app"); in onCreate()
68 mDialog = AlertDialogFragment.newInstance(mApp); in createDialog()
94 outState.putString("app", mApp); in onSaveInstanceState()
114 private final String mApp; field in WifiScanModeActivity.AlertDialogFragment
117 mApp = app; in AlertDialogFragment()
122 mApp = null; in AlertDialogFragment()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java112 protected final LauncherAppState mApp; field in LoaderTask
133 mApp = app; in LoaderTask()
138 mLauncherApps = mApp.getContext().getSystemService(LauncherApps.class); in LoaderTask()
139 mUserManager = mApp.getContext().getSystemService(UserManager.class); in LoaderTask()
140 mUserCache = UserCache.INSTANCE.get(mApp.getContext()); in LoaderTask()
141 mSessionHelper = InstallSessionHelper.INSTANCE.get(mApp.getContext()); in LoaderTask()
142 mIconCache = mApp.getIconCache(); in LoaderTask()
174 mFirstScreenBroadcast.sendBroadcasts(mApp.getContext(), firstScreenItems); in sendFirstScreenActiveInstallsBroadcast()
187 try (LauncherModel.LoaderTransaction transaction = mApp.getModel().beginLoader(this)) { in run()
218 LauncherActivityCachingLogic.newInstance(mApp.getContext()), in run()
[all …]
DBaseLoaderResults.java54 protected final LauncherAppState mApp; field in BaseLoaderResults
65 mApp = app; in BaseLoaderResults()
89 new WorkspaceBinder(cb, mUiExecutor, mApp, mBgDataModel, mMyBindingId, in bindWorkspace()
131 private final LauncherAppState mApp; field in BaseLoaderResults.WorkspaceBinder
150 mApp = app; in WorkspaceBinder()
184 final InvariantDeviceProfile idp = mApp.getInvariantDeviceProfile(); in bind()
DBaseModelUpdateTask.java43 private LauncherAppState mApp; field in BaseModelUpdateTask
51 mApp = app; in init()
67 execute(mApp, mDataModel, mAllAppsList); in run()
106 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, new Callbacks[0])); in run()
/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/Launcher3/src/com/android/launcher3/
DLauncherModel.java86 private final LauncherAppState mApp; field in LauncherModel
119 if (mModelLoaded && hasShortcutsPermission(mApp.getContext())
127 mApp = app; in LauncherModel()
142 return new ModelWriter(mApp.getContext(), this, mBgDataModel, in getWriter()
209 Context context = mApp.getContext(); in onAppIconChanged()
337 mApp, mBgDataModel, mBgAllAppsList, callbacksList, mMainExecutor); in startLoader()
375 mLoaderTask = new LoaderTask(mApp, mBgAllAppsList, mBgDataModel, results); in startLoaderForResults()
443 mApp.getIconCache().updateSessionCache(key, info); in onUpdateSessionDisplay()
523 task.init(mApp, this, mBgDataModel, mBgAllAppsList, mMainExecutor); in enqueueModelUpdateTask()
551 si.updateFromDeepShortcutInfo(info, mApp.getContext()); in updateAndBindWorkspaceItem()
[all …]
/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/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/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appops/
DAppOpsState.java313 private final AppEntry mApp; field in AppOpsState.AppOpEntry
320 mApp = app; in AppOpEntry()
322 mApp.addOp(this, op); in AppOpEntry()
346 mApp.addOp(this, op); in addOp()
348 if (mApp.getOpSwitch(AppOpsManager.opToSwitch(op.getOp())) == null) { in addOp()
354 return mApp; in getAppEntry()
431 return mApp.getLabel(); in toString()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DLoaderCursorTest.java75 private LauncherAppState mApp; field in LoaderCursorTest
87 mApp = LauncherAppState.getInstance(mContext); in setup()
95 mLoaderCursor = new LoaderCursor(mCursor, LauncherSettings.Favorites.CONTENT_URI, mApp, in setup()
154 assertTrue(mApp.getIconCache().isDefaultIcon(info.bitmap, info.user)); in loadSimpleShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java511 private LauncherAppState mApp;
519 mApp = app;
540 new LoaderResults(mApp, mBgDataModel, mAllAppsList, new Callbacks[0]));
572 mBgDataModel.widgetsModel.update(mApp, null);
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DLoaderResults.java57 mBgDataModel.widgetsModel.getWidgetsList(mApp.getContext()); in bindWidgets()