Home
last modified time | relevance | path

Searched refs:mApplicationsState (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java84 private ApplicationsState mApplicationsState; field in AppManagementFragment
115 mApplicationsState = ApplicationsState.getInstance(activity.getApplication()); in onCreate()
116 mSession = mApplicationsState.newSession(mCallbacks, getLifecycle()); in onCreate()
117 mEntry = mApplicationsState.getEntry(mPackageName, UserHandle.myUserId()); in onCreate()
157 mApplicationsState.removePackage(mPackageName, userId); in onActivityResult()
167 mApplicationsState.requestSize(mPackageName, userId); in onActivityResult()
430 mApplicationsState.ensureIcon(mEntry); in getAppIcon()
483 mApplicationsState.requestSize(mPackageName, userId); in dataCleared()
511 mApplicationsState.requestSize(mPackageName, userId); in cacheCleared()
549 mEntry = mApplicationsState.getEntry(mPackageName, userId); in onPackageListChanged()
[all …]
DRecentAppsPreferenceController.java66 private final ApplicationsState mApplicationsState; field in RecentAppsPreferenceController
97 mApplicationsState = appState; in RecentAppsPreferenceController()
159 mApplicationsState.getEntry(pkgName, mUserId); in displayRecentApps()
237 final ApplicationsState.AppEntry appEntry = mApplicationsState.getEntry( in getDisplayableRecentAppList()
271 mApplicationsState.getEntry(pkgName, mUserId); in shouldIncludePkgInRecents()
DAllAppsFragment.java63 private ApplicationsState mApplicationsState; field in AllAppsFragment
110 mApplicationsState = ApplicationsState.getInstance(getActivity().getApplication()); in onActivityCreated()
135 mSessionInstalled = mApplicationsState.newSession(new RowUpdateCallbacks() { in onActivityCreated()
148 mSessionDisabled = mApplicationsState.newSession(new RowUpdateCallbacks() { in onActivityCreated()
161 mSessionOther = mApplicationsState.newSession(new RowUpdateCallbacks() { in onActivityCreated()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationPreferenceController.java34 private ApplicationsState mApplicationsState; field in ApplicationPreferenceController
54 mApplicationsState = applicationsState; in setAppState()
60 if (mAppEntry == null || mApplicationsState == null) { in checkInitialized()
78 mApplicationsState.ensureIcon(mAppEntry); in getAppIcon()
DRecentAppsItemManager.java61 private final ApplicationsState mApplicationsState; field in RecentAppsItemManager
79 mApplicationsState = applicationsState; in RecentAppsItemManager()
142 ApplicationsState.AppEntry appEntry = mApplicationsState.getEntry( in loadDisplayableRecentApps()
181 mApplicationsState.getEntry(pkgName, mUserId); in shouldIncludePkgInRecents()
DApplicationActionButtonsPreferenceController.java111 private ApplicationsState mApplicationsState; field in ApplicationActionButtonsPreferenceController
126 mApplicationsState.invalidatePackage(mPackageName, userId);
250 mApplicationsState = applicationsState; in setAppState()
264 if (mAppEntry == null || mApplicationsState == null || mPackageName == null) { in checkInitialized()
290 mSession = mApplicationsState.newSession(mApplicationStateCallbacks); in onCreateInternal()
315 mAppEntry = mApplicationsState.getEntry(mPackageName, UserHandle.myUserId()); in refreshAppEntry()
DRecentAppsListPreferenceController.java45 private ApplicationsState mApplicationsState; field in RecentAppsListPreferenceController
61 mApplicationsState = applicationsState; in RecentAppsListPreferenceController()
100 ApplicationsState.AppEntry appEntry = mApplicationsState.getEntry(pkgName, mUserId); in createPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppEntryListManager.java121 private final ApplicationsState mApplicationsState; field in AppEntryListManager
134 mApplicationsState = ApplicationsState.getInstance( in AppEntryListManager()
139 mApplicationsState.getBackgroundLooper()); in AppEntryListManager()
159 mSession = mApplicationsState.newSession(mSessionCallbacks); in init()
227 mApplicationsState.ensureIcon(entry); in loadInfo()
/packages/apps/Settings/src/com/android/settings/applications/
DSpecialAppAccessPreferenceController.java44 private final ApplicationsState mApplicationsState; field in SpecialAppAccessPreferenceController
54 mApplicationsState = ApplicationsState.getInstance( in SpecialAppAccessPreferenceController()
57 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in SpecialAppAccessPreferenceController()
61 mSession = mApplicationsState.newSession(this, lifecycle); in setSession()
DRecentAppStatsMixin.java65 private final ApplicationsState mApplicationsState; field in RecentAppStatsMixin
87 mApplicationsState = ApplicationsState.getInstance( in RecentAppStatsMixin()
144 final ApplicationsState.AppEntry appEntry = mApplicationsState.getEntry( in loadDisplayableRecentApps()
181 mApplicationsState.getEntry(pkgName, mUserId); in shouldIncludePkgInRecents()
DAppsPreferenceController.java65 private final ApplicationsState mApplicationsState; field in AppsPreferenceController
84 mApplicationsState = ApplicationsState.getInstance( in AppsPreferenceController()
193 mApplicationsState.getEntry(pkgName, mUserId); in displayRecentApps()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeAddBypassingAppsPreferenceController.java57 @VisibleForTesting ApplicationsState mApplicationsState; field in ZenModeAddBypassingAppsPreferenceController
76 mApplicationsState = appState; in ZenModeAddBypassingAppsPreferenceController()
88 if (mApplicationsState != null && mHostFragment != null) { in displayPreference()
89 mAppSession = mApplicationsState.newSession(mAppSessionCallbacks, in displayPreference()
138 mApplicationsState.ensureIcon(entry); in updateAppList()
DZenModeAllBypassingAppsPreferenceController.java57 @VisibleForTesting ApplicationsState mApplicationsState; field in ZenModeAllBypassingAppsPreferenceController
74 mApplicationsState = appState; in ZenModeAllBypassingAppsPreferenceController()
77 if (mApplicationsState != null && host != null) { in ZenModeAllBypassingAppsPreferenceController()
78 mAppSession = mApplicationsState.newSession(mAppSessionCallbacks, host.getLifecycle()); in ZenModeAllBypassingAppsPreferenceController()
123 mApplicationsState.ensureIcon(app); in updateAppList()
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceController.java49 private final ApplicationsState mApplicationsState; field in UnrestrictedDataAccessPreferenceController
60 mApplicationsState = ApplicationsState.getInstance( in UnrestrictedDataAccessPreferenceController()
63 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in UnrestrictedDataAccessPreferenceController()
75 mSession = mApplicationsState.newSession(this, lifecycle); in setSession()
143 mApplicationsState, mDataSaverBackend, mParentFragment); in onRebuildComplete()
DDataSaverSummary.java51 private ApplicationsState mApplicationsState; field in DataSaverSummary
64 mApplicationsState = ApplicationsState.getInstance( in onCreate()
67 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in onCreate()
68 mSession = mApplicationsState.newSession(this, getSettingsLifecycle()); in onCreate()
DUnrestrictedDataAccessPreference.java36 private final ApplicationsState mApplicationsState; field in UnrestrictedDataAccessPreference
52 mApplicationsState = applicationsState; in UnrestrictedDataAccessPreference()
109 mApplicationsState.ensureIcon(mEntry); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/premiumsms/
DPremiumSmsAccess.java55 private ApplicationsState mApplicationsState; field in PremiumSmsAccess
62 mApplicationsState = ApplicationsState.getInstance((Application) in onCreate()
64 mSession = mApplicationsState.newSession(this, getSettingsLifecycle()); in onCreate()
65 mSmsBackend = new AppStateSmsPremBridge(getContext(), mApplicationsState, this); in onCreate()
243 mApplicationsState.ensureIcon(mAppEntry); in onBindViewHolder()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DManageApplicationsController.java52 private ApplicationsState mApplicationsState; field in ManageApplicationsController
105 mApplicationsState = ApplicationsState.getInstance( in ManageApplicationsController()
107 mAppSession = mApplicationsState.newSession(mAppSessionCallbacks, mLifecycle); in ManageApplicationsController()
128 mApplicationsState.ensureIcon(entry); in updateAppList()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppEntryListManagerTest.java54 private ApplicationsState mApplicationsState; field in AppEntryListManagerTest
73 ShadowApplicationsState.setInstance(mApplicationsState); in setUp()
74 when(mApplicationsState.newSession(mSessionCallbacksCaptor.capture())).thenReturn(mSession); in setUp()
75 when(mApplicationsState.getBackgroundLooper()).thenReturn(Looper.getMainLooper()); in setUp()
DPremiumSmsAccessPreferenceControllerTest.java68 private ApplicationsState mApplicationsState; field in PremiumSmsAccessPreferenceControllerTest
80 ShadowApplicationsState.setInstance(mApplicationsState); in setUp()
81 when(mApplicationsState.getBackgroundLooper()).thenReturn(Looper.getMainLooper()); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/
DRecentNotificationsAppsPreferenceController.java66 private ApplicationsState mApplicationsState; field in RecentNotificationsAppsPreferenceController
82 mApplicationsState = applicationsState; in setApplicationsState()
165 ApplicationsState.AppEntry appEntry = mApplicationsState.getEntry( in getDisplayableRecentAppList()
190 mApplicationsState.getEntry(app.getPackage(), app.getUserId()); in displayRecentApps()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DDomainAppPreferenceController.java41 private final ApplicationsState mApplicationsState; field in DomainAppPreferenceController
88 mApplicationsState = ApplicationsState.getInstance( in DomainAppPreferenceController()
107 mSession = mApplicationsState.newSession(mApplicationStateCallbacks, lifecycle); in setLifecycle()
/packages/apps/Settings/src/com/android/settings/applications/managedomainurls/
DDomainAppPreferenceController.java46 private ApplicationsState mApplicationsState; field in DomainAppPreferenceController
54 mApplicationsState = ApplicationsState.getInstance( in DomainAppPreferenceController()
84 mSession = mApplicationsState.newSession(this, mFragment.getSettingsLifecycle()); in setFragment()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DBridgedAppsPreferenceController.java43 private ApplicationsState mApplicationsState; field in BridgedAppsPreferenceController
58 mApplicationsState = appState; in setAppState()
83 mSession = mApplicationsState.newSession(this, lifecycle); in setSession()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DDomainAppPreferenceControllerTest.java76 private ApplicationsState mApplicationsState; field in DomainAppPreferenceControllerTest
81 ShadowApplicationsState.setInstance(mApplicationsState); in setUp()
87 when(mApplicationsState.newSession(any(), any())).thenReturn( in setUp()

12