/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/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/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 355 private PhoneGlobals mApp; field in PhoneInterfaceManager 1224 mApp.onNetworkSelectionChanged(request.subId); in handleMessage() 2166 mApp = app; in PhoneInterfaceManager() 2175 PreferenceManager.getDefaultSharedPreferences(mApp); in PhoneInterfaceManager() 2264 mApp.startActivity(intent); in dialForSubscriber() 2312 mApp.startActivity(intent); in callForSubscriber() 2478 mApp.getSystemService(AppOpsManager.class) in updateServiceLocationWithPackageName() 2481 final int targetSdk = TelephonyPermissions.getTargetSdk(mApp, callingPackage); in updateServiceLocationWithPackageName() 2488 LocationAccessPolicy.checkLocationPermission(mApp, in updateServiceLocationWithPackageName() 2542 mApp, subId, callingPackage, callingFeatureId, "isRadioOnForSubscriber")) { in isRadioOnForSubscriberWithFeature() [all …]
|
D | ImsRcsController.java | 69 private PhoneGlobals mApp; field in ImsRcsController 93 mApp = app; in ImsRcsController() 106 mApp, subId, "registerImsRegistrationCallback"); in registerImsRegistrationCallback() 124 mApp, subId, "unregisterImsRegistrationCallback"); in unregisterImsRegistrationCallback() 141 mApp, subId, "getImsRcsRegistrationState"); in getImsRcsRegistrationState() 163 mApp, subId, "getImsRcsRegistrationTransportType"); in getImsRcsRegistrationTransportType() 507 mApp, subId, callingPackage, callingFeatureId, "isUceSettingEnabled")) { in isUceSettingEnabled() 515 SubscriptionManager.IMS_RCS_UCE_ENABLED, false /*defaultValue*/, mApp); in isUceSettingEnabled() 535 TelephonyPermissions.enforceAnyPermissionGranted(mApp, Binder.getCallingUid(), in isSipDelegateSupported() 577 int remoteUid = mApp.getPackageManager().getPackageUid(packageName, 0 /*flags*/); in createSipDelegate() [all …]
|
D | NotificationMgr.java | 119 private PhoneGlobals mApp; field in NotificationMgr 167 mApp = app; in NotificationMgr() 226 mApp.notifier.updatePhoneStateListeners(true); in refreshMwi()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiScanModeActivity.java | 42 private String mApp; field in WifiScanModeActivity 54 mApp = getCallingPackage(); in onCreate() 57 ai = pm.getApplicationInfo(mApp, 0); in onCreate() 58 mApp = (String)pm.getApplicationLabel(ai); in onCreate() 65 mApp = savedInstanceState.getString("app"); in onCreate() 72 mDialog = AlertDialogFragment.newInstance(mApp); in createDialog() 98 outState.putString("app", mApp); in onSaveInstanceState() 118 private final String mApp; field in WifiScanModeActivity.AlertDialogFragment 121 mApp = app; in AlertDialogFragment() 126 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/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderTask.java | 117 protected final LauncherAppState mApp; field in LoaderTask 145 mApp = app; in LoaderTask() 151 mLauncherApps = mApp.getContext().getSystemService(LauncherApps.class); in LoaderTask() 152 mUserManager = mApp.getContext().getSystemService(UserManager.class); in LoaderTask() 153 mUserCache = UserCache.INSTANCE.get(mApp.getContext()); in LoaderTask() 154 mSessionHelper = InstallSessionHelper.INSTANCE.get(mApp.getContext()); in LoaderTask() 155 mIconCache = mApp.getIconCache(); in LoaderTask() 182 mFirstScreenBroadcast.sendBroadcasts(mApp.getContext(), firstScreenItems); in sendFirstScreenActiveInstallsBroadcast() 195 try (LauncherModel.LoaderTransaction transaction = mApp.getModel().beginLoader(this)) { in run() 204 if (mApp.getInvariantDeviceProfile().dbFile.equals(mDbName)) { in run() [all …]
|
D | ModelDelegate.java | 47 delegate.mApp = app; in newInstance() 53 protected LauncherAppState mApp; field in ModelDelegate 64 if (hasShortcutsPermission(mApp.getContext()) in validateData() 66 mApp.getModel().forceReload(); in validateData()
|
D | BaseLoaderResults.java | 54 protected final LauncherAppState mApp; field in BaseLoaderResults 65 mApp = app; in BaseLoaderResults() 91 new WorkspaceBinder(cb, mUiExecutor, mApp, mBgDataModel, mMyBindingId, in bindWorkspace() 133 private final LauncherAppState mApp; field in BaseLoaderResults.WorkspaceBinder 153 mApp = app; in WorkspaceBinder() 188 final InvariantDeviceProfile idp = mApp.getInvariantDeviceProfile(); in bind()
|
D | BaseModelUpdateTask.java | 48 private LauncherAppState mApp; field in BaseModelUpdateTask 56 mApp = app; in init() 72 execute(mApp, mDataModel, mAllAppsList); in run() 127 dataModel.widgetsModel.getWidgetsListForPicker(mApp.getContext()); in bindUpdatedWidgets()
|
/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/ |
D | LauncherModel.java | 88 private final LauncherAppState mApp; field in LauncherModel 129 mApp = app; in LauncherModel() 149 return new ModelWriter(mApp.getContext(), this, mBgDataModel, in getWriter() 225 Context context = mApp.getContext(); in onAppIconChanged() 354 ItemInstallQueue.INSTANCE.get(mApp.getContext()) in startLoader() 368 mApp, mBgDataModel, mBgAllAppsList, callbacksList); in startLoader() 382 mApp, mBgAllAppsList, mBgDataModel, mModelDelegate, loaderResults); in startLoader() 473 mApp.getIconCache().updateSessionCache(key, info); in onUpdateSessionDisplay() 553 task.init(mApp, this, mBgDataModel, mBgAllAppsList, MAIN_EXECUTOR); in enqueueModelUpdateTask() 581 si.updateFromDeepShortcutInfo(info, mApp.getContext()); in updateAndBindWorkspaceItem() [all …]
|
/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() 102 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onNavigateNext()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | QuickstepModelDelegate.java | 107 mApp, ums, pinnedShortcuts, mIDP.numDatabaseAllAppsColumns); in loadItems() 109 mAllAppsState.storage.read(mApp.getContext(), allAppsFactory, ums.allUsers::get)); in loadItems() 113 new WorkspaceItemFactory(mApp, ums, pinnedShortcuts, mIDP.numDatabaseHotseatIcons); in loadItems() 115 mHotseatState.storage.read(mApp.getContext(), hotseatFactory, ums.allUsers::get)); in loadItems() 135 SharedPreferences prefs = getDevicePrefs(mApp.getContext()); in modelLoadComplete() 197 Context context = mApp.getContext(); in recreatePredictors() 236 mApp.getModel().enqueueModelUpdateTask(new PredictionUpdateTask(state, targets)); in handleUpdate() 247 mApp.getModel().enqueueModelUpdateTask( in registerWidgetsPredictor()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/fcm/ |
D | FcmRegistrationService.java | 45 private FirebaseApp mApp = null; field in FcmRegistrationService 75 mApp = FirebaseApp.getInstance(); in onCreate() 78 mApp = FirebaseApp.initializeApp( in onCreate() 140 return (mFakeInstanceID != null) ? mFakeInstanceID : FirebaseInstanceId.getInstance(mApp); in getFirebaseInstanceId()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | AddItemActivity.java | 96 private LauncherAppState mApp; field in AddItemActivity 122 mApp = LauncherAppState.getInstance(this); in onCreate() 123 mIdp = mApp.getInvariantDeviceProfile(); in onCreate() 246 () -> new WidgetItem(shortcutInfo, mApp.getIconCache(), getPackageManager())); in setupShortcut() 268 applyWidgetItemAsync(() -> new WidgetItem(widgetInfo, mIdp, mApp.getIconCache())); in setupWidget() 282 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/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | LoaderCursorTest.java | 75 private LauncherAppState mApp; field in LoaderCursorTest 87 mApp = LauncherAppState.getInstance(mContext); in setup() 96 mLoaderCursor = new LoaderCursor(mCursor, Favorites.CONTENT_URI, mApp, ums); in setup() 154 assertTrue(mApp.getIconCache().isDefaultIcon(info.bitmap, info.user)); in loadSimpleShortcut()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/ |
D | LoaderResults.java | 51 mBgDataModel.widgetsModel.getWidgetsListForPicker(mApp.getContext()); in bindWidgets()
|