Home
last modified time | relevance | path

Searched refs:createAppEntry (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java115 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 …]
DAppOpsPreferenceControllerTest.java160 createAppEntry("test.package", /* uid= */ 1, /* isOpPermissible= */ true), in onAppEntryListChanged_addsPreferencesForEntries()
161 createAppEntry("another.test.package", /* uid= */ 2, /* isOpPermissible= */ false)); in onAppEntryListChanged_addsPreferencesForEntries()
177 createAppEntry(packageName, uid, /* isOpPermissible= */ false)); in onPreferenceChange_checkedState_setsAppOpModeAllowed()
194 createAppEntry(packageName, uid, /* isOpPermissible= */ true)); in onPreferenceChange_uncheckedState_setsNegativeAppOpMode()
209 createAppEntry("test.package", /* uid= */ 1, /* isOpPermissible= */ false)); in onPreferenceChange_updatesEntry()
238 ApplicationsState.AppEntry systemApp = createAppEntry("test.package", in appFilter_showingSystemApps_keepsSystemEntries()
255 ApplicationsState.AppEntry systemApp = createAppEntry("test.package", in appFilter_notShowingSystemApps_removesSystemEntries()
271 ApplicationsState.AppEntry appEntry = createAppEntry("test.package", in appFilter_removesNullExtraInfoEntries()
278 private ApplicationsState.AppEntry createAppEntry(String packageName, int uid, in createAppEntry() method in AppOpsPreferenceControllerTest
DPremiumSmsAccessPreferenceControllerTest.java132 createAppEntry("test.package", /* uid= */ 1, in onAppEntryListChanged_addsPreferencesForEntries()
134 createAppEntry("another.test.package", /* uid= */ 2, in onAppEntryListChanged_addsPreferencesForEntries()
151 createAppEntry(packageName, /* uid= */ 1, in onPreferenceChange_setsPremiumSmsPermission()
167 createAppEntry("test.package", /* uid= */ 1, in onPreferenceChange_updatesEntry()
185 ApplicationsState.AppEntry unknownStateApp = createAppEntry("test.package", /* uid= */ 1, in appFilter_removesUnknownStates()
191 private ApplicationsState.AppEntry createAppEntry(String packageName, int uid, int smsState) { in createAppEntry() method in PremiumSmsAccessPreferenceControllerTest
DAppStatePremiumSmsBridgeTest.java56 ApplicationsState.AppEntry appEntry1 = createAppEntry(package1); in loadExtraInfo()
61 ApplicationsState.AppEntry appEntry2 = createAppEntry(package2); in loadExtraInfo()
71 private ApplicationsState.AppEntry createAppEntry(String packageName) { in createAppEntry() method in AppStatePremiumSmsBridgeTest
/packages/apps/Settings/tests/componenttests/src/com/android/settingslib/applications/
DApplicationStateComponentTest.java53 private ApplicationsState.AppEntry createAppEntry(String label, String packageName, int id) { in createAppEntry() method in ApplicationStateComponentTest
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/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DRecentAppsListPreferenceControllerTest.java110 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() method in RecentAppsListPreferenceControllerTest
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/notifications/
DRecentNotificationsAppsPreferenceControllerTest.java133 ApplicationsState.AppEntry app1Entry = createAppEntry("app 1"); in areEvents_showValidRecents()
134 ApplicationsState.AppEntry app2Entry = createAppEntry("app 2"); in areEvents_showValidRecents()
173 ApplicationsState.AppEntry app1Entry = createAppEntry("app 1"); in areEvents_showMaximumRecents()
174 ApplicationsState.AppEntry app2Entry = createAppEntry("app 2"); in areEvents_showMaximumRecents()
175 ApplicationsState.AppEntry app3Entry = createAppEntry("app 3"); in areEvents_showMaximumRecents()
176 ApplicationsState.AppEntry app4Entry = createAppEntry("app 4"); in areEvents_showMaximumRecents()
220 private ApplicationsState.AppEntry createAppEntry(String label) { in createAppEntry() method in RecentNotificationsAppsPreferenceControllerTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeAppsLinkPreferenceControllerTest.java97 private ApplicationsState.AppEntry createAppEntry(String packageName, String label) { in createAppEntry() method in ZenModeAppsLinkPreferenceControllerTest
148 ApplicationsState.AppEntry entry = createAppEntry("test", "testLabel"); in testGetAppsBypassingDnd()
149 ApplicationsState.AppEntry entryConv = createAppEntry("test_conv", "test_convLabel"); in testGetAppsBypassingDnd()
168 appEntries.add(createAppEntry("test", "pkgLabel")); in testUpdateTriggersRebuild()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceControllerTest.java94 final AppEntry entry = createAppEntry(uid); in shouldAddPreference_forApps_shouldBeTrue()
101 final AppEntry entry = createAppEntry(uid); in shouldAddPreference_forNonApps_shouldBeFalse()
258 private AppEntry createAppEntry(int uid) { in createAppEntry() method in UnrestrictedDataAccessPreferenceControllerTest