/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | AppManagementActivity.java | 92 private AppInfo mAppInfo; field in AppManagementActivity 111 final int userId = UserHandle.getUserId(mAppInfo.getUid()); 144 mAppInfo = new AppInfo(this, entry); in onCreate() 145 mOpenManager = new OpenManager(this, mAppInfo); in onCreate() 146 mForceStopManager = new ForceStopManager(this, mAppInfo); in onCreate() 147 mUninstallManager = new UninstallManager(this, mAppInfo); in onCreate() 148 mNotificationSetter = new NotificationSetter(mAppInfo); in onCreate() 149 mDataClearer = new DataClearer(this, mAppInfo); in onCreate() 150 mDefaultClearer = new DefaultClearer(this, mAppInfo); in onCreate() 151 mCacheClearer = new CacheClearer(this, mAppInfo); in onCreate() [all …]
|
D | ForceStopManager.java | 36 private final AppInfo mAppInfo; field in ForceStopManager 41 mAppInfo = appInfo; in ForceStopManager() 52 am.forceStopPackage(mAppInfo.getPackageName()); in forceStop() 53 final int userId = UserHandle.getUserId(mAppInfo.getUid()); in forceStop() 54 state.invalidatePackage(mAppInfo.getPackageName(), userId); in forceStop() 55 ApplicationsState.AppEntry newEnt = state.getEntry(mAppInfo.getPackageName(), userId); in forceStop() 57 mAppInfo.setEntry(newEnt); in forceStop() 64 if (dpm.packageHasActiveAdmins(mAppInfo.getPackageName())) { in checkForceStop() 67 } else if (!mAppInfo.isStopped()) { in checkForceStop() 73 Uri.fromParts("package", mAppInfo.getPackageName(), null)); in checkForceStop() [all …]
|
D | UninstallManager.java | 40 private final AppInfo mAppInfo; field in UninstallManager 45 mAppInfo = appInfo; in UninstallManager() 49 return !mAppInfo.isUpdatedSystemApp() && !mAppInfo.isSystemApp(); in canUninstall() 53 return mAppInfo.isEnabled(); in isEnabled() 124 packageInfo = pm.getPackageInfo(mAppInfo.getPackageName(), in canDisable() 131 return ! (homePackages.contains(mAppInfo.getPackageName()) || in canDisable() 136 return mAppInfo.isUpdatedSystemApp(); in canUninstallUpdates() 147 uninstallPackage(!mAppInfo.isInstalled(), requestId); in uninstall() 152 Uri packageURI = Uri.parse("package:" + mAppInfo.getPackageName()); in uninstallPackage()
|
D | DataClearer.java | 37 private final AppInfo mAppInfo; field in DataClearer 42 mAppInfo = appInfo; in DataClearer() 57 String spaceManagementActivityName = mAppInfo.getSpaceManagerActivityName(); in clearData() 61 intent.setClassName(mAppInfo.getPackageName(), spaceManagementActivityName); in clearData() 68 mAppInfo.getPackageName(), new IPackageDataObserver.Stub() { in clearData() 88 intent.putExtra("packageName", mAppInfo.getPackageName()); in clearData() 94 : mAppInfo.getDataSize(); in getDataSize()
|
D | NotificationSetter.java | 28 private final AppInfo mAppInfo; field in NotificationSetter 32 mAppInfo = appInfo; in NotificationSetter() 35 .areNotificationsEnabledForPackage(mAppInfo.getPackageName(), in NotificationSetter() 36 mAppInfo.getUid()); in NotificationSetter() 60 mAppInfo.getPackageName(), mAppInfo.getUid(), enabled); in setNotificationsEnabled()
|
D | DefaultClearer.java | 44 private final AppInfo mAppInfo; field in DefaultClearer 49 mAppInfo = appInfo; in DefaultClearer() 56 packageManager.clearPackagePreferredActivities(mAppInfo.getPackageName()); in clearDefault() 61 usbManager.clearDefaults(mAppInfo.getPackageName(), UserHandle.myUserId()); in clearDefault() 80 intentList, prefActList, mAppInfo.getPackageName()); in isDefault() 89 .hasDefaults(mAppInfo.getPackageName(), UserHandle.myUserId()); in isDefault()
|
D | CacheClearer.java | 36 private final AppInfo mAppInfo; field in CacheClearer 41 mAppInfo = appInfo; in CacheClearer() 49 packageManager.deleteApplicationCacheFiles(mAppInfo.getPackageName(), in clearCache() 61 intent.putExtra("packageName", mAppInfo.getPackageName()); in clearCache() 67 : mAppInfo.getCacheSize(); in getCacheSize()
|
D | OpenManager.java | 29 private final AppInfo mAppInfo; field in OpenManager 34 mAppInfo = appInfo; in OpenManager() 46 mLaunchIntent = pm.getLeanbackLaunchIntentForPackage(mAppInfo.getPackageName()); in getLaunchIntent() 48 mLaunchIntent = pm.getLaunchIntentForPackage(mAppInfo.getPackageName()); in getLaunchIntent()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallAppProgress.java | 62 private ApplicationInfo mAppInfo; field in InstallAppProgress 103 mAppInfo.packageName); 170 mAppInfo = intent.getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate() 231 PackageInfo pi = pm.getPackageInfo(mAppInfo.packageName, 239 Log.w(TAG, "Replacing package:" + mAppInfo.packageName); 244 as = new PackageUtil.AppSnippet(pm.getApplicationLabel(mAppInfo), 245 pm.getApplicationIcon(mAppInfo)); 248 as = PackageUtil.getAppSnippet(this, mAppInfo, sourceFile); 276 pm.installExistingPackage(mAppInfo.packageName); 277 observer.packageInstalled(mAppInfo.packageName, [all …]
|
D | PackageInstallerActivity.java | 86 private ApplicationInfo mAppInfo = null; field in PackageInstallerActivity 140 if (mAppInfo != null) { in startInstallConfirm() 141 msg = (mAppInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0 in startInstallConfirm() 185 if (mAppInfo != null) { in startInstallConfirm() 188 msg = (mAppInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0 in startInstallConfirm() 415 mAppInfo = mPm.getApplicationInfo(pkgName, 417 if ((mAppInfo.flags&ApplicationInfo.FLAG_INSTALLED) == 0) { 418 mAppInfo = null; 421 mAppInfo = null; 424 mInstallFlowAnalytics.setReplace(mAppInfo != null); [all …]
|
D | UninstallAppProgress.java | 59 private ApplicationInfo mAppInfo; field in UninstallAppProgress 92 observer.onPackageDeleted(mAppInfo.packageName, mResultCode, 217 mAppInfo = intent.getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate() 252 boolean isUpdate = ((mAppInfo.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0); in initView() 258 PackageUtil.initSnippetForInstalledApp(this, mAppInfo, snippetView); in initView() 285 packageManager.deletePackageAsUser(mAppInfo.packageName, observer, in initView() 296 Log.i(TAG, "Finished uninstalling pkg: " + mAppInfo.packageName); in onClick()
|