/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
D | MockTvSingletons.java | 56 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/ |
D | PhoneInterfaceManager.java | 300 private PhoneGlobals mApp; field in PhoneInterfaceManager 1017 mApp.onNetworkSelectionChanged(request.subId); in handleMessage() 1642 mApp = app; in PhoneInterfaceManager() 1650 PreferenceManager.getDefaultSharedPreferences(mApp); in PhoneInterfaceManager() 1695 mApp, phone.getSubId(), "eraseModemConfig"); in sendEraseModemConfig() 1738 mApp.startActivity(intent); in dialForSubscriber() 1786 mApp.startActivity(intent); in callForSubscriber() 1943 mApp.getSystemService(AppOpsManager.class) in updateServiceLocationWithPackageName() 1953 LocationAccessPolicy.checkLocationPermission(mApp, in updateServiceLocationWithPackageName() 2006 mApp, subId, callingPackage, callingFeatureId, "isRadioOnForSubscriber")) { in isRadioOnForSubscriberWithFeature() [all …]
|
D | ImsRcsController.java | 57 private PhoneGlobals mApp; field in ImsRcsController 78 mApp = app; in ImsRcsController() 325 mApp, subId, callingPackage, callingFeatureId, "isUceSettingEnabled")) { in isUceSettingEnabled() 333 SubscriptionManager.IMS_RCS_UCE_ENABLED, false /*defaultValue*/, mApp); in isUceSettingEnabled() 357 mApp.enforceCallingOrSelfPermission( in enforceReadPrivilegedPermission() 367 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.MODIFY_PHONE_STATE, null); in enforceModifyPermission() 378 if (!ImsManager.isImsSupportedOnDevice(mApp)) { in getImsPhone() 403 if (!ImsManager.isImsSupportedOnDevice(mApp)) { in getRcsFeatureController()
|
D | NotificationMgr.java | 112 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/ |
D | ProcessStatsDetail.java | 91 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/ |
D | ProcessStatsDetail.java | 91 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/ |
D | WifiScanModeActivity.java | 42 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/ |
D | AppDeletionPreference.java | 29 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/ |
D | WifiScanModeActivity.java | 41 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/ |
D | WidgetService.java | 58 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/ |
D | QsbApplicationWrapper.java | 23 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/model/ |
D | LoaderTask.java | 99 private final LauncherAppState mApp; field in LoaderTask 118 mApp = app; in LoaderTask() 123 mLauncherApps = LauncherAppsCompat.getInstance(mApp.getContext()); in LoaderTask() 124 mUserManager = UserManagerCompat.getInstance(mApp.getContext()); in LoaderTask() 125 mShortcutManager = DeepShortcutManager.getInstance(mApp.getContext()); in LoaderTask() 126 mPackageInstaller = PackageInstallerCompat.getInstance(mApp.getContext()); in LoaderTask() 127 mAppWidgetManager = AppWidgetManagerCompat.getInstance(mApp.getContext()); in LoaderTask() 128 mIconCache = mApp.getIconCache(); in LoaderTask() 160 mFirstScreenBroadcast.sendBroadcasts(mApp.getContext(), firstScreenItems); in sendFirstScreenActiveInstallsBroadcast() 172 try (LauncherModel.LoaderTransaction transaction = mApp.getModel().beginLoader(this)) { in run() [all …]
|
D | BaseModelUpdateTask.java | 44 private LauncherAppState mApp; field in BaseModelUpdateTask 52 mApp = app; in init() 68 execute(mApp, mDataModel, mAllAppsList); in run() 111 dataModel.widgetsModel.getWidgetsList(mApp.getContext()); in bindUpdatedWidgets()
|
D | ModelPreload.java | 36 private LauncherAppState mApp; field in ModelPreload 44 mApp = app; in init() 53 new LoaderResults(mApp, mBgDataModel, mAllAppsList, 0, null)); in run()
|
D | BaseLoaderResults.java | 57 protected final LauncherAppState mApp; field in BaseLoaderResults 69 mApp = app; in BaseLoaderResults() 220 final InvariantDeviceProfile profile = mApp.getInvariantDeviceProfile(); in sortWorkspaceItemsSpatially()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 83 @Thunk final LauncherAppState mApp; field in LauncherModel 117 DeepShortcutManager.getInstance(mApp.getContext()).hasHostPermission(); 126 mApp = app; in LauncherModel() 156 return new ModelWriter(mApp.getContext(), this, sBgDataModel, in getWriter() 342 LoaderResults loaderResults = new LoaderResults(mApp, sBgDataModel, in startLoader() 378 mLoaderTask = new LoaderTask(mApp, mBgAllAppsList, sBgDataModel, results); in startLoaderForResults() 477 task.init(mApp, this, sBgDataModel, mBgAllAppsList, MAIN_EXECUTOR); in enqueueModelUpdateTask() 505 si.updateFromDeepShortcutInfo(info, mApp.getContext()); in updateAndBindWorkspaceItem() 506 LauncherIcons li = LauncherIcons.obtain(mApp.getContext()); in updateAndBindWorkspaceItem()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | StorageWizardMoveConfirm.java | 45 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/ |
D | StorageWizardMoveConfirm.java | 45 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/dragndrop/ |
D | AddItemActivity.java | 77 private LauncherAppState mApp; field in AddItemActivity 101 mApp = LauncherAppState.getInstance(this); in onCreate() 102 mIdp = mApp.getInvariantDeviceProfile(); in onCreate() 199 () -> new WidgetItem(shortcutInfo, mApp.getIconCache(), getPackageManager())); in setupShortcut() 220 applyWidgetItemAsync(() -> new WidgetItem(widgetInfo, mIdp, mApp.getIconCache())); in setupWidget() 233 mWidgetCell.applyFromCellItem(item, mApp.getWidgetCache()); in applyWidgetItemAsync()
|
/packages/apps/Settings/src/com/android/settings/applications/appops/ |
D | AppOpsState.java | 312 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/ |
D | AppOpsState.java | 312 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/ |
D | LoaderResults.java | 50 mBgDataModel.widgetsModel.getWidgetsList(mApp.getContext()); in bindWidgets()
|