Home
last modified time | relevance | path

Searched refs:AppEntry (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridgeTest.java68 private ArrayList<ApplicationsState.AppEntry> mApps;
103 ApplicationsState.AppEntry app = in test_appInstalledSameDayNeverUsed_isInvalid()
117 ApplicationsState.AppEntry app = in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid()
131 ApplicationsState.AppEntry app = in test_unusedApp_isValid()
145 ApplicationsState.AppEntry app = in test_noThresholdFilter_unusedApp_isValid()
159 ApplicationsState.AppEntry app = in test_unknownLastUse_isFilteredOut()
174 ApplicationsState.AppEntry app = in test_noThresholdFilter_unknownLastUse_isFilteredOut()
189 ApplicationsState.AppEntry app = in test_oldAppRecentlyUsed_isNotValid()
204 ApplicationsState.AppEntry app = in test_noThresholdFilter_oldAppRecentlyUsed_isValid()
219 ApplicationsState.AppEntry app = in test_oldUnusedApp_isValid()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsFragment.java58 ArrayList<ApplicationsState.AppEntry>> mUpdateMap = new ArrayMap<>(3);
64 final ArrayList<ApplicationsState.AppEntry> entries = mUpdateMap.get(group);
115 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { in onActivityCreated()
128 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { in onActivityCreated()
186 ArrayList<ApplicationsState.AppEntry> apps = in rebuildSystem()
194 ArrayList<ApplicationsState.AppEntry> apps = in rebuildDownloaded()
202 ArrayList<ApplicationsState.AppEntry> entries) { in updateAppList()
227 ArrayList<ApplicationsState.AppEntry> entries) {
230 for (final ApplicationsState.AppEntry entry : entries) {
258 ApplicationsState.AppEntry entry) {
[all …]
DAppInfo.java32 private ApplicationsState.AppEntry mEntry;
34 public AppInfo(Context context, ApplicationsState.AppEntry entry) { in AppInfo()
39 public void setEntry(ApplicationsState.AppEntry entry) { in setEntry()
DAppActionPreference.java31 protected ApplicationsState.AppEntry mEntry;
33 public AppActionPreference(Context context, ApplicationsState.AppEntry entry) { in AppActionPreference()
42 public void setEntry(@NonNull ApplicationsState.AppEntry entry) { in setEntry()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppDetailsTest.java48 import com.android.settingslib.applications.ApplicationsState.AppEntry;
154 final AppEntry appEntry = mock(AppEntry.class); in shouldShowUninstallForAll_installForOneOtherUserOnly_shouldReturnTrue()
171 final AppEntry appEntry = mock(AppEntry.class); in shouldShowUninstallForAll_installForSelfOnly_shouldReturnFalse()
255 final AppEntry appEntry = mock(AppEntry.class); in instantApps_noUninstallForAllButton()
275 final AppEntry appEntry = mock(AppEntry.class); in instantApps_noUninstallButton()
298 final AppEntry appEntry = mock(AppEntry.class); in instantApps_noForceStop()
474 final AppEntry appEntry = mock(AppEntry.class); in handleDisableable_appIsHomeApp_buttonShouldNotWork()
495 final AppEntry appEntry = mock(AppEntry.class); in handleDisableable_appIsEnabled_buttonShouldWork()
517 final AppEntry appEntry = mock(AppEntry.class); in handleDisableable_appIsEnabledAndInKeepEnabledWhitelist_buttonShouldNotWork()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DBackupAppsStepFragment.java61 private final List<ApplicationsState.AppEntry> mEntries = new ArrayList<>();
90 public boolean filterApp(ApplicationsState.AppEntry info) { in onCreate()
136 final List<ApplicationsState.AppEntry> entries = mSession.rebuild(mAppFilter, in onCreateActions()
144 List<ApplicationsState.AppEntry> entries) { in getAppActions()
172 for (final ApplicationsState.AppEntry entry : entries) { in getAppActions()
203 final List<ApplicationsState.AppEntry> entries = mSession.rebuild(mAppFilter, in updateActions()
223 final ApplicationsState.AppEntry entry = in onGuidedActionClicked()
245 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { in onRebuildComplete()
275 private final List<ApplicationsState.AppEntry> mEntries;
277 public IconLoaderTask(List<ApplicationsState.AppEntry> entries) { in IconLoaderTask()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DManageApplicationsTest.java45 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in getCompositeFilter_filtersVolumeForAudio()
61 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in getCompositeFilter_filtersVolumeForVideo()
77 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in getCompositeFilter_filtersVolumeForGames()
110 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in getCompositeFilter_worksWithInstantApps()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java224 public static class AppEntry { class in AppOpsState
236 public AppEntry(AppOpsState state, ApplicationInfo info) { in AppEntry() method in AppOpsState.AppEntry
314 private final AppEntry mApp;
318 public AppOpEntry(AppOpsManager.PackageOps pkg, AppOpsManager.OpEntry op, AppEntry app, in AppOpEntry()
354 public AppEntry getAppEntry() { in getAppEntry()
472 AppEntry appEntry, AppOpsManager.OpEntry opEntry, boolean allowMerge, int switchOrder) { in addOp()
505 private AppEntry getAppEntry(final Context context, final HashMap<String, AppEntry> appEntries, in getAppEntry()
507 AppEntry appEntry = appEntries.get(packageName); in getAppEntry()
519 appEntry = new AppEntry(this, appInfo); in getAppEntry()
534 final HashMap<String, AppEntry> appEntries = new HashMap<String, AppEntry>(); in buildState()
[all …]
DManageApplications.java85 import com.android.settingslib.applications.ApplicationsState.AppEntry;
700 ApplicationsState.AppEntry entry = mApplications.getAppEntry(position); in onItemClick()
841 private ArrayList<ApplicationsState.AppEntry> mBaseEntries;
842 private ArrayList<ApplicationsState.AppEntry> mEntries;
866 ArrayList<ApplicationsState.AppEntry> entries
878 mEntries = (ArrayList<ApplicationsState.AppEntry>) results.values;
983 Comparator<AppEntry> comparatorObj; in rebuild()
1025 final ArrayList<AppEntry> entries = mSession.rebuild(finalFilterObj, in rebuild()
1044 private ArrayList<ApplicationsState.AppEntry> removeDuplicateIgnoringUser( in removeDuplicateIgnoringUser()
1045 ArrayList<ApplicationsState.AppEntry> entries) in removeDuplicateIgnoringUser()
[all …]
DManageDomainUrls.java41 import com.android.settingslib.applications.ApplicationsState.AppEntry;
105 public void onRebuildComplete(ArrayList<AppEntry> apps) { in onRebuildComplete()
174 final ArrayList<AppEntry> apps = mSession.rebuild( in rebuild()
181 private void rebuildAppList(PreferenceGroup group, ArrayList<AppEntry> apps) { in rebuildAppList()
185 AppEntry entry = apps.get(i); in rebuildAppList()
230 ApplicationsState.AppEntry entry = ((DomainAppPreference) preference).mEntry; in onPreferenceClick()
240 private final AppEntry mEntry;
243 public DomainAppPreference(final Context context, AppEntry entry) { in DomainAppPreference()
DAppStatePowerBridge.java20 import com.android.settingslib.applications.ApplicationsState.AppEntry;
39 ArrayList<AppEntry> apps = mAppSession.getAllApps(); in loadAllExtraInfo()
42 AppEntry app = apps.get(i); in loadAllExtraInfo()
49 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { in updateExtraInfo()
65 public boolean filterApp(AppEntry info) {
DAppStateNotificationBridge.java29 import com.android.settingslib.applications.ApplicationsState.AppEntry;
54 ArrayList<AppEntry> apps = mAppSession.getAllApps(); in loadAllExtraInfo()
57 AppEntry app = apps.get(i); in loadAllExtraInfo()
63 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { in updateExtraInfo()
73 public boolean filterApp(AppEntry info) {
DAppStateSmsPremBridge.java22 import com.android.settingslib.applications.ApplicationsState.AppEntry;
43 ArrayList<AppEntry> apps = mAppSession.getAllApps(); in loadAllExtraInfo()
46 AppEntry app = apps.get(i); in loadAllExtraInfo()
52 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { in updateExtraInfo()
91 public boolean filterApp(AppEntry info) {
DAppStateBaseBridge.java23 import com.android.settingslib.applications.ApplicationsState.AppEntry;
84 public void onRebuildComplete(ArrayList<AppEntry> apps) { in onRebuildComplete()
109 protected abstract void updateExtraInfo(AppEntry app, String pkg, int uid); in updateExtraInfo()
140 ArrayList<AppEntry> apps = mAppSession.getAllApps(); in handleMessage()
145 AppEntry app = apps.get(i); in handleMessage()
DAppStateInstallAppsBridge.java30 import com.android.settingslib.applications.ApplicationsState.AppEntry;
55 protected void updateExtraInfo(AppEntry app, String packageName, int uid) { in updateExtraInfo()
62 final List<AppEntry> allApps = mAppSession.getAllApps(); in loadAllExtraInfo()
64 AppEntry currentEntry = allApps.get(i); in loadAllExtraInfo()
145 public boolean filterApp(AppEntry info) {
DPremiumSmsAccess.java39 import com.android.settingslib.applications.ApplicationsState.AppEntry;
115 private void updatePrefs(ArrayList<AppEntry> apps) { in updatePrefs()
151 public void onRebuildComplete(ArrayList<AppEntry> apps) { in onRebuildComplete()
191 private final AppEntry mAppEntry;
193 public PremiumSmsPreference(AppEntry appEntry, Context context) { in PremiumSmsPreference()
DAppStateUsageBridge.java23 import com.android.settingslib.applications.ApplicationsState.AppEntry;
46 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { in updateExtraInfo()
72 public boolean filterApp(AppEntry info) {
DAppStateWriteSettingsBridge.java23 import com.android.settingslib.applications.ApplicationsState.AppEntry;
47 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { in updateExtraInfo()
82 public boolean filterApp(AppEntry info) {
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridge.java31 import com.android.settingslib.applications.ApplicationsState.AppEntry;
70 ArrayList<AppEntry> apps = mAppSession.getAllApps(); in loadAllExtraInfo()
74 for (AppEntry entry : apps) { in loadAllExtraInfo()
83 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { in updateExtraInfo()
129 private static boolean isBundled(AppEntry info) { in isBundled()
133 private static boolean isPersistentProcess(AppEntry info) { in isPersistentProcess()
163 public boolean filterApp(AppEntry info) {
189 public boolean filterApp(AppEntry info) {
DAppStateBaseBridge.java23 import com.android.settingslib.applications.ApplicationsState.AppEntry;
84 public void onRebuildComplete(ArrayList<AppEntry> apps) { in onRebuildComplete()
109 protected abstract void updateExtraInfo(AppEntry app, String pkg, int uid); in updateExtraInfo()
140 ArrayList<AppEntry> apps = mAppSession.getAllApps(); in handleMessage()
145 AppEntry app = apps.get(i); in handleMessage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DManageExternalSources.java69 public boolean filterApp(ApplicationsState.AppEntry entry) { in getFilter()
81 public Comparator<ApplicationsState.AppEntry> getComparator() {
99 ApplicationsState.AppEntry entry) {
118 private boolean canChange(ApplicationsState.AppEntry entry) {
133 private CharSequence getPreferenceSummary(ApplicationsState.AppEntry entry) {
157 private void setCanInstallApps(ApplicationsState.AppEntry entry, boolean newState) {
189 private void loadInstallAppsState(ApplicationsState.AppEntry entry) {
DManageApplications.java56 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) {
116 ArrayList<ApplicationsState.AppEntry> apps = mAppSession.rebuild(filter, getComparator()); in updateAppList()
122 private void updateAppList(ArrayList<ApplicationsState.AppEntry> apps) { in updateAppList()
127 for (final ApplicationsState.AppEntry entry : apps) { in updateAppList()
161 public abstract @Nullable Comparator<ApplicationsState.AppEntry> getComparator(); in getComparator()
167 ApplicationsState.AppEntry entry); in bindPreference()
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccess.java38 import com.android.settingslib.applications.ApplicationsState.AppEntry;
142 ArrayList<AppEntry> apps = mSession.rebuild(mFilter, ApplicationsState.ALPHA_COMPARATOR); in rebuild()
159 public void onRebuildComplete(ArrayList<AppEntry> apps) { in onRebuildComplete()
164 AppEntry entry = apps.get(i); in onRebuildComplete()
237 boolean shouldAddPreference(AppEntry app) { in shouldAddPreference()
242 private final AppEntry mEntry;
245 public AccessPreference(final Context context, AppEntry entry) { in AccessPreference()
DAppStateDataUsageBridge.java18 import com.android.settingslib.applications.ApplicationsState.AppEntry;
36 ArrayList<AppEntry> apps = mAppSession.getAllApps(); in loadAllExtraInfo()
39 AppEntry app = apps.get(i); in loadAllExtraInfo()
46 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { in updateExtraInfo()
DDataSaverSummary.java31 import com.android.settingslib.applications.ApplicationsState.AppEntry;
136 final ArrayList<AppEntry> allApps = mSession.getAllApps(); in onExtraInfoUpdated()
139 final AppEntry entry = allApps.get(i); in onExtraInfoUpdated()
163 public void onRebuildComplete(ArrayList<AppEntry> apps) { in onRebuildComplete()

123