/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateNotificationBridgeTest.java | 58 import com.android.settingslib.applications.ApplicationsState.AppEntry; 107 private AppEntry getMockAppEntry(String pkg) { in getMockAppEntry() 108 AppEntry entry = mock(AppEntry.class); in getMockAppEntry() 206 ArrayList<AppEntry> apps = new ArrayList<>(); in testLoadAllExtraInfo_noEvents() 234 ArrayList<AppEntry> apps = new ArrayList<>(); in testLoadAllExtraInfo_multipleEventsAgg() 267 ArrayList<AppEntry> apps = new ArrayList<>(); in testLoadAllExtraInfo_multiplePkgs() 318 ArrayList<AppEntry> apps = new ArrayList<>(); in testLoadAllExtraInfo_multipleUsers() 319 AppEntry owner = getMockAppEntry(PKG1); in testLoadAllExtraInfo_multipleUsers() 323 AppEntry profile = getMockAppEntry(PKG1); in testLoadAllExtraInfo_multipleUsers() 346 AppEntry entry = getMockAppEntry(PKG1); in testUpdateExtraInfo_noEvents() [all …]
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridgeTest.java | 66 private ArrayList<ApplicationsState.AppEntry> mApps; 99 ApplicationsState.AppEntry app = in test_appInstalledSameDayNeverUsed_isInvalid() 113 ApplicationsState.AppEntry app = in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid() 127 ApplicationsState.AppEntry app = in test_unusedApp_isValid() 141 ApplicationsState.AppEntry app = in test_noThresholdFilter_unusedApp_isValid() 155 ApplicationsState.AppEntry app = in test_unknownLastUse_isFilteredOut() 170 ApplicationsState.AppEntry app = in test_noThresholdFilter_unknownLastUse_isFilteredOut() 185 ApplicationsState.AppEntry app = in test_oldAppRecentlyUsed_isNotValid() 200 ApplicationsState.AppEntry app = in test_noThresholdFilter_oldAppRecentlyUsed_isValid() 215 ApplicationsState.AppEntry app = in test_oldUnusedApp_isValid() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateNotificationBridge.java | 33 import com.android.settingslib.applications.ApplicationsState.AppEntry; 73 ArrayList<AppEntry> apps = mAppSession.getAllApps(); in loadAllExtraInfo() 82 for (AppEntry entry : apps) { in loadAllExtraInfo() 95 protected void updateExtraInfo(AppEntry entry, String pkg, int uid) { in updateExtraInfo() 123 private void addBlockStatus(AppEntry entry, NotificationsSentState stats) { in addBlockStatus() 208 private static NotificationsSentState getNotificationsSentState(AppEntry entry) { in getNotificationsSentState() 222 public CompoundButton.OnCheckedChangeListener getSwitchOnCheckedListener(final AppEntry entry) { in getSwitchOnCheckedListener() 244 public boolean filterApp(AppEntry info) { 259 public boolean filterApp(AppEntry info) { 274 public boolean filterApp(AppEntry info) { [all …]
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/ |
D | ApplicationsState.java | 136 final SparseArray<HashMap<String, ApplicationsState.AppEntry>> mEntriesMap = 138 final ArrayList<ApplicationsState.AppEntry> mAppEntries = new ArrayList<>(); 325 final ApplicationsState.AppEntry entry = mEntriesMap.get(userId).get(info.packageName); in doResumeIfNeededLocked() 468 public ApplicationsState.AppEntry getEntry(String packageName, int userId) { in getEntry() 471 ApplicationsState.AppEntry entry = mEntriesMap.get(userId).get(packageName); in getEntry() 502 public void ensureIcon(ApplicationsState.AppEntry entry) { in ensureIcon() 517 ApplicationsState.AppEntry entry) { in ensureLabelDescription() 529 ApplicationsState.AppEntry entry = mEntriesMap.get(userId).get(packageName); in requestSize() 645 ApplicationsState.AppEntry entry = mEntriesMap.get(userId).get(pkgName); in removePackage() 690 mEntriesMap.put(userId, new HashMap<String, ApplicationsState.AppEntry>()); in addUser() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationListItemManager.java | 45 void onDataLoaded(ArrayList<ApplicationsState.AppEntry> apps); in onDataLoaded() 63 private Comparator<ApplicationsState.AppEntry> mAppEntryComparator; 65 private Set<ApplicationsState.AppEntry> mAppsToLoad = new HashSet<>(); 67 private ArrayList<ApplicationsState.AppEntry> mLoadedApps = new ArrayList<>(); 75 private ArrayList<ApplicationsState.AppEntry> mDeferredAppsToUpload; 129 Comparator<ApplicationsState.AppEntry> appEntryComparator) { in startLoading() 184 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { in onRebuildComplete() 195 for (ApplicationsState.AppEntry app : apps) { in onRebuildComplete() 221 private boolean isLoaded(ApplicationsState.AppEntry app) { in isLoaded() 232 Set<ApplicationsState.AppEntry> appsToLoadCopy = new HashSet(mAppsToLoad); in warnIfNotAllLoadedInTime() [all …]
|
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/ |
D | AppListLiveData.java | 31 class AppListLiveData extends LiveData<List<AppEntry>> { 44 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData() 46 protected List<AppEntry> doInBackground(Void... voids) { in loadData() 53 List<AppEntry> entries = new ArrayList<>(); in loadData() 56 AppEntry entry = new AppEntry(app, mPackageManager); in loadData() 60 Collections.sort(entries, AppEntry.LABEL_COMPARATOR); in loadData() 65 protected void onPostExecute(List<AppEntry> data) { in loadData()
|
D | PinnedAppListLiveData.java | 36 class PinnedAppListLiveData extends LiveData<List<AppEntry>> { 60 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData() 62 protected List<AppEntry> doInBackground(Void... voids) { in loadData() 63 List<AppEntry> entries = new ArrayList<>(); in loadData() 81 final AppEntry entry = new AppEntry(app, mPackageManager); in loadData() 91 protected void onPostExecute(List<AppEntry> data) { in loadData()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeBypassingAppsPreferenceControllerTest.java | 93 ApplicationsState.AppEntry entry = mock(ApplicationsState.AppEntry.class); in testUpdateBypassingApps() 99 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateBypassingApps() 123 ApplicationsState.AppEntry entry1 = mock(ApplicationsState.AppEntry.class); in testUpdateBypassingApps_multipleApps() 128 ApplicationsState.AppEntry entry2 = mock(ApplicationsState.AppEntry.class); in testUpdateBypassingApps_multipleApps() 134 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateBypassingApps_multipleApps() 164 ApplicationsState.AppEntry entry = mock(ApplicationsState.AppEntry.class); in testUpdateBypassingApps_conversation() 170 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateBypassingApps_conversation() 198 ApplicationsState.AppEntry entry = mock(ApplicationsState.AppEntry.class); in testUpdateBypassingApps_demotedConversation() 204 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateBypassingApps_demotedConversation() 259 ApplicationsState.AppEntry entry = mock(ApplicationsState.AppEntry.class); in testUpdateAppsBypassingDnd_alarmsOnly() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/ |
D | ApplicationListItemManagerTest.java | 87 ArrayList<ApplicationsState.AppEntry> apps = new ArrayList<>(); in onRebuildComplete_shouldNotifyRegisteredListener() 92 ApplicationsState.AppEntry appEntry = new ApplicationsState.AppEntry(mContext, appInfo, in onRebuildComplete_shouldNotifyRegisteredListener() 109 ArrayList<ApplicationsState.AppEntry> apps = new ArrayList<>(); in onRebuildComplete_unRegisterOneListener_shouldNotifyRegisteredListener() 114 ApplicationsState.AppEntry appEntry = new ApplicationsState.AppEntry(mContext, appInfo, in onRebuildComplete_unRegisterOneListener_shouldNotifyRegisteredListener() 132 ArrayList<ApplicationsState.AppEntry> apps = new ArrayList<>(); in onRebuildComplete_calledAgainImmediately_shouldNotRunSecondCallImmediately() 137 ApplicationsState.AppEntry appEntry = new ApplicationsState.AppEntry(mContext, appInfo, in onRebuildComplete_calledAgainImmediately_shouldNotRunSecondCallImmediately() 154 ArrayList<ApplicationsState.AppEntry> apps = new ArrayList<>(); in onRebuildComplete_calledAgainImmediately_shouldRunSecondCallAfterUpdateInterval() 159 ApplicationsState.AppEntry appEntry = new ApplicationsState.AppEntry(mContext, appInfo, in onRebuildComplete_calledAgainImmediately_shouldRunSecondCallAfterUpdateInterval()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/applications/manageapplications/ |
D | ManageApplicationsUnitTest.java | 52 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in getCompositeFilter_filtersVolumeForAudio() 68 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in getCompositeFilter_filtersVolumeForVideo() 84 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in getCompositeFilter_filtersVolumeForGames() 117 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in getCompositeFilter_worksWithInstantApps() 133 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in getCompositeFilter_worksForLegacyPrivateSettings()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/ |
D | AppLinkStatePreferenceControllerTest.java | 96 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isBrowserApp_isDisabled() 114 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_noDomainUrls_isDisabled() 132 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_hasDomainUrls_isEnabled() 150 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_hasDomainUrls_defaultState_entrySetToAsk() 171 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_hasDomainUrls_askState_entrySetToAsk() 192 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_hasDomainUrls_alwaysState_entrySetToAlways() 213 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_hasDomainUrls_neverState_entrySetToNever()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | ManageApplicationsController.java | 51 private final Comparator<ApplicationsState.AppEntry> mComparator; 55 private List<ApplicationsState.AppEntry> mApps; 70 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { 102 Comparator<ApplicationsState.AppEntry> comparator) { in ManageApplicationsController() 120 ArrayList<ApplicationsState.AppEntry> apps = mAppSession.rebuild(filter, mComparator); in updateAppList() 126 private void updateAppList(List<ApplicationsState.AppEntry> appsWithDuplicates) { in updateAppList() 127 List<ApplicationsState.AppEntry> apps = appsWithDuplicates in updateAppList() 137 for (final ApplicationsState.AppEntry entry : apps) { in updateAppList() 162 public List<ApplicationsState.AppEntry> getApps() { in getApps() 178 ApplicationsState.AppEntry entry); in bindPreference()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | AllAppsFragment.java | 78 ArrayList<ApplicationsState.AppEntry>> mUpdateMap = new ArrayMap<>(3); 84 final ArrayList<ApplicationsState.AppEntry> entries = mUpdateMap.get(group); 142 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { in onActivityCreated() 155 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { in onActivityCreated() 170 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { in onActivityCreated() 195 ArrayList<ApplicationsState.AppEntry> apps = in rebuildInstalled() 203 ArrayList<ApplicationsState.AppEntry> apps = in rebuildDisabled() 211 ArrayList<ApplicationsState.AppEntry> apps = in rebuildOther() 219 ArrayList<ApplicationsState.AppEntry> entries) { in updateAppList() 243 private ArrayList<ApplicationsState.AppEntry> filterAppsInstalledInParentProfile( [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | AllAppsSession.java | 57 private ArrayList<ApplicationsState.AppEntry> mAllApps = new ArrayList<>(); 66 public boolean filterApp(ApplicationsState.AppEntry info) { 78 public boolean filterApp(ApplicationsState.AppEntry info) { 134 void onUpdateAppList(@NonNull ArrayList<ApplicationsState.AppEntry> entries); in onUpdateAppList() 141 public ArrayList<ApplicationsState.AppEntry> getAllApps() { in getAllApps() 158 ArrayList<ApplicationsState.AppEntry> apps = in rebuildAllApps() 165 private void updateAppList(ArrayList<ApplicationsState.AppEntry> entries) { in updateAppList() 174 private ArrayList<ApplicationsState.AppEntry> filterAppsInstalledInParentProfile( 175 @Nullable ArrayList<ApplicationsState.AppEntry> appEntries) { 222 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { in onRebuildComplete()
|
D | BackupAppsStepFragment.java | 61 private final List<ApplicationsState.AppEntry> mEntries = new ArrayList<>(); 90 public boolean filterApp(ApplicationsState.AppEntry info) { in onCreate() 142 final List<ApplicationsState.AppEntry> entries = mSession.rebuild(mAppFilter, in onCreateActions() 150 List<ApplicationsState.AppEntry> entries) { in getAppActions() 178 for (final ApplicationsState.AppEntry entry : entries) { in getAppActions() 209 final List<ApplicationsState.AppEntry> entries = mSession.rebuild(mAppFilter, in updateActions() 229 final ApplicationsState.AppEntry entry = in onGuidedActionClicked() 250 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { in onRebuildComplete() 280 private final List<ApplicationsState.AppEntry> mEntries; 282 public IconLoaderTask(List<ApplicationsState.AppEntry> entries) { in IconLoaderTask() [all …]
|
/packages/apps/Settings/tests/componenttests/src/com/android/settingslib/applications/ |
D | ApplicationStateComponentTest.java | 53 private ApplicationsState.AppEntry createAppEntry(String label, String packageName, int id) { in createAppEntry() 55 ApplicationsState.AppEntry appEntry = new ApplicationsState.AppEntry(mRuntimeApplication, in createAppEntry() 84 ApplicationsState.AppEntry entry1 = createAppEntry("Info01", "Package1", 0); in test_all_apps_sorting_alpha() 85 ApplicationsState.AppEntry entry2 = createAppEntry("Info02", "Package1", 0); in test_all_apps_sorting_alpha() 86 ApplicationsState.AppEntry entry3 = createAppEntry("Info01", "Package2", 0); in test_all_apps_sorting_alpha() 87 ApplicationsState.AppEntry entry4 = createAppEntry("Info02", "Package2", 0); in test_all_apps_sorting_alpha() 88 ApplicationsState.AppEntry entry5 = createAppEntry("Info02", "Package2", 1); in test_all_apps_sorting_alpha()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppOpenByDefaultPreferenceControllerTest.java | 44 import com.android.settingslib.applications.ApplicationsState.AppEntry; 103 final AppEntry appEntry = mock(AppEntry.class); in displayPreference_noAppInfo_shouldDisablePreference() 113 final AppEntry appEntry = mock(AppEntry.class); in displayPreference_appNotInstalled_shouldDisablePreference() 124 final AppEntry appEntry = mock(AppEntry.class); in displayPreference_appDisabled_shouldDisablePreference() 137 final AppEntry appEntry = mock(AppEntry.class); in displayPreference_appEnabled_shouldNotDisablePreference() 200 final AppEntry appEntry = mock(AppEntry.class); in updateState_notBrowserApp_notInstantApp_shouldShowPreferenceAndSetSummary()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridgeTest.java | 115 ApplicationsState.AppEntry entry = createAppEntry(packageInfo); in androidPackagesIgnored() 127 ApplicationsState.AppEntry entry = createAppEntry(packageInfo); in selfPackageIgnored() 142 ApplicationsState.AppEntry entry = createAppEntry(packageInfo); in packagesNotRequestingPermissionIgnored() 157 ApplicationsState.AppEntry entry = createAppEntry(packageInfo); in additionalAppOpPermissionPackagesIncluded() 181 ApplicationsState.AppEntry entry = createAppEntry(packageInfo); in unavailablePackageIgnored() 193 ApplicationsState.AppEntry entry = createAppEntry(packageInfo); in loadsAppOpsExtraInfo_modeAllowed_isPermissible() 208 ApplicationsState.AppEntry entry = createAppEntry(packageInfo); in loadsAppOpsExtraInfo_modeDefault_isPermissible() 225 ApplicationsState.AppEntry entry = createAppEntry(packageInfo); in loadsAppOpsExtraInfo_modeIgnored_isNotPermissible() 242 ApplicationsState.AppEntry entry1 = createAppEntry(packageInfo1); in loadsAppOpsExtraInfo_multipleApps() 247 ApplicationsState.AppEntry entry2 = createAppEntry(packageInfo2); in loadsAppOpsExtraInfo_multipleApps() [all …]
|
D | AppEntryListManagerTest.java | 67 private ArgumentCaptor<List<ApplicationsState.AppEntry>> mEntriesCaptor; 121 ArrayList<ApplicationsState.AppEntry> entries = new ArrayList<>(); in forceUpdate_loadsExtraInfo() 122 entries.add(mock(ApplicationsState.AppEntry.class)); in forceUpdate_loadsExtraInfo() 133 ApplicationsState.AppEntry entry = mock(ApplicationsState.AppEntry.class); in forceUpdate_forEntry_loadsExtraInfo() 156 ArrayList<ApplicationsState.AppEntry> entries = new ArrayList<>(); in onRebuildComplete_callsCallback() 157 entries.add(mock(ApplicationsState.AppEntry.class)); in onRebuildComplete_callsCallback()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | PremiumSmsAccessPreferenceController.java | 32 import com.android.settingslib.applications.ApplicationsState.AppEntry; 58 public boolean filterApp(AppEntry info) { 71 AppEntry entry = appPreference.mEntry; 85 public void onAppEntryListChanged(List<AppEntry> entries) { 92 private List<AppEntry> mEntries; 142 for (AppEntry entry : mEntries) { in updateState() 151 private final AppEntry mEntry; 153 PremiumSmsPreference(Context context, AppEntry entry) { in PremiumSmsPreference()
|
D | AppEntryListManager.java | 54 void onAppEntryListChanged(List<ApplicationsState.AppEntry> entries); in onAppEntryListChanged() 73 void loadExtraInfo(List<ApplicationsState.AppEntry> entries); in loadExtraInfo() 90 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { 207 public void forceUpdate(ApplicationsState.AppEntry entry) { in forceUpdate() 228 private void loadInfo(List<ApplicationsState.AppEntry> entries) { in loadInfo() 232 for (ApplicationsState.AppEntry entry : entries) { in loadInfo() 260 ApplicationsState.AppEntry entry = (ApplicationsState.AppEntry) msg.obj; in handleMessage()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/ |
D | ManageApplicationsController.java | 44 private final Comparator<ApplicationsState.AppEntry> mComparator; 65 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { 97 Comparator<ApplicationsState.AppEntry> comparator, Callback callback, in ManageApplicationsController() 118 ArrayList<ApplicationsState.AppEntry> apps = mAppSession.rebuild(filter, mComparator); in updateAppList() 124 private void updateAppList(ArrayList<ApplicationsState.AppEntry> apps) { in updateAppList() 126 for (final ApplicationsState.AppEntry entry : apps) { in updateAppList() 148 PreferenceCompat createAppPreference(ApplicationsState.AppEntry entry); in createAppPreference()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | RecentAppsListPreferenceControllerTest.java | 110 ApplicationsState.AppEntry appEntry = createAppEntry(MOCK_APP_NAME_1); in onRecentAppsLoaded_displaysApps() 129 ApplicationsState.AppEntry appEntry = createAppEntry(MOCK_APP_NAME_1); in onRecentAppsLoaded_doesNotDisplayInvalidApps() 153 ApplicationsState.AppEntry appEntry1 = createAppEntry(MOCK_APP_NAME_1); in onRecentAppsLoaded_moreThanMaximumAllowed_maximumShown() 154 ApplicationsState.AppEntry appEntry2 = createAppEntry(MOCK_APP_NAME_2); in onRecentAppsLoaded_moreThanMaximumAllowed_maximumShown() 155 ApplicationsState.AppEntry appEntry3 = createAppEntry(MOCK_APP_NAME_3); in onRecentAppsLoaded_moreThanMaximumAllowed_maximumShown() 156 ApplicationsState.AppEntry appEntry4 = createAppEntry(MOCK_APP_NAME_4); in onRecentAppsLoaded_moreThanMaximumAllowed_maximumShown() 179 private ApplicationsState.AppEntry createAppEntry(String label) { in createAppEntry() 180 ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class); in createAppEntry()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridge.java | 31 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) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModeAppsLinkPreferenceControllerTest.java | 97 private ApplicationsState.AppEntry createAppEntry(String packageName, String label) { in createAppEntry() 98 ApplicationsState.AppEntry entry = mock(ApplicationsState.AppEntry.class); in createAppEntry() 148 ApplicationsState.AppEntry entry = createAppEntry("test", "testLabel"); in testGetAppsBypassingDnd() 149 ApplicationsState.AppEntry entryConv = createAppEntry("test_conv", "test_convLabel"); in testGetAppsBypassingDnd() 150 List<ApplicationsState.AppEntry> appEntries = List.of(entry, entryConv); in testGetAppsBypassingDnd() 166 ArrayList<ApplicationsState.AppEntry> appEntries = in testUpdateTriggersRebuild() 167 new ArrayList<ApplicationsState.AppEntry>(); in testUpdateTriggersRebuild()
|