Home
last modified time | relevance | path

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

12

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java72 private ApplicationsState mApplicationsState; field in AppManagementFragment
108 mApplicationsState = ApplicationsState.getInstance(activity.getApplication()); in onCreate()
109 mSession = mApplicationsState.newSession(mCallbacks, getLifecycle()); in onCreate()
110 mEntry = mApplicationsState.getEntry(mPackageName, UserHandle.myUserId()); in onCreate()
150 mApplicationsState.removePackage(mPackageName, userId); in onActivityResult()
160 mApplicationsState.requestSize(mPackageName, userId); in onActivityResult()
360 mApplicationsState.ensureIcon(mEntry); in getAppIcon()
409 mApplicationsState.requestSize(mPackageName, userId); in dataCleared()
438 mApplicationsState.requestSize(mPackageName, userId); in cacheCleared()
460 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()
231 final ApplicationsState.AppEntry appEntry = mApplicationsState.getEntry( in getDisplayableRecentAppList()
265 mApplicationsState.getEntry(pkgName, mUserId); in shouldIncludePkgInRecents()
DAllAppsFragment.java57 private ApplicationsState mApplicationsState; field in AllAppsFragment
104 mApplicationsState = ApplicationsState.getInstance(getActivity().getApplication()); in onActivityCreated()
127 mSessionInstalled = mApplicationsState.newSession(new RowUpdateCallbacks() { in onActivityCreated()
140 mSessionDisabled = mApplicationsState.newSession(new RowUpdateCallbacks() { in onActivityCreated()
153 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()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeAllBypassingAppsPreferenceController.java51 @VisibleForTesting ApplicationsState mApplicationsState; field in ZenModeAllBypassingAppsPreferenceController
68 mApplicationsState = appState; in ZenModeAllBypassingAppsPreferenceController()
71 if (mApplicationsState != null && host != null) { in ZenModeAllBypassingAppsPreferenceController()
72 mAppSession = mApplicationsState.newSession(mAppSessionCallbacks, host.getLifecycle()); in ZenModeAllBypassingAppsPreferenceController()
119 mApplicationsState.ensureIcon(entry); in updateNotificationChannelList()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeAllBypassingAppsPreferenceController.java51 @VisibleForTesting ApplicationsState mApplicationsState; field in ZenModeAllBypassingAppsPreferenceController
68 mApplicationsState = appState; in ZenModeAllBypassingAppsPreferenceController()
71 if (mApplicationsState != null && host != null) { in ZenModeAllBypassingAppsPreferenceController()
72 mAppSession = mApplicationsState.newSession(mAppSessionCallbacks, host.getLifecycle()); in ZenModeAllBypassingAppsPreferenceController()
119 mApplicationsState.ensureIcon(entry); in updateNotificationChannelList()
DRecentNotifyingAppsPreferenceController.java86 private final ApplicationsState mApplicationsState; field in RecentNotifyingAppsPreferenceController
108 mApplicationsState = appState; in RecentNotifyingAppsPreferenceController()
247 mApplicationsState.getEntry(app.getPackage(), app.getUserId()); in displayRecentApps()
305 final ApplicationsState.AppEntry appEntry = mApplicationsState.getEntry( in getDisplayableRecentAppList()
333 mApplicationsState.getEntry(pkgName, userId); in shouldIncludePkgInRecents()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DUnrestrictedDataAccessPreferenceController.java50 private final ApplicationsState mApplicationsState; field in UnrestrictedDataAccessPreferenceController
61 mApplicationsState = ApplicationsState.getInstance( in UnrestrictedDataAccessPreferenceController()
64 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in UnrestrictedDataAccessPreferenceController()
76 mSession = mApplicationsState.newSession(this, lifecycle); in setSession()
144 mApplicationsState, mDataSaverBackend, mParentFragment); in onRebuildComplete()
DDataSaverSummary.java54 private ApplicationsState mApplicationsState; field in DataSaverSummary
69 mApplicationsState = ApplicationsState.getInstance( in onCreate()
72 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in onCreate()
73 mSession = mApplicationsState.newSession(this, getSettingsLifecycle()); in onCreate()
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceController.java50 private final ApplicationsState mApplicationsState; field in UnrestrictedDataAccessPreferenceController
61 mApplicationsState = ApplicationsState.getInstance( in UnrestrictedDataAccessPreferenceController()
64 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in UnrestrictedDataAccessPreferenceController()
76 mSession = mApplicationsState.newSession(this, lifecycle); in setSession()
144 mApplicationsState, mDataSaverBackend, mParentFragment); in onRebuildComplete()
DDataSaverSummary.java54 private ApplicationsState mApplicationsState; field in DataSaverSummary
69 mApplicationsState = ApplicationsState.getInstance( in onCreate()
72 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in onCreate()
73 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/
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()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/premiumsms/
DPremiumSmsAccess.java58 private ApplicationsState mApplicationsState; field in PremiumSmsAccess
65 mApplicationsState = ApplicationsState.getInstance((Application) in onCreate()
67 mSession = mApplicationsState.newSession(this, getSettingsLifecycle()); in onCreate()
68 mSmsBackend = new AppStateSmsPremBridge(getContext(), mApplicationsState, this); in onCreate()
246 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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()
DRecentAppsPreferenceController.java65 private final ApplicationsState mApplicationsState; field in RecentAppsPreferenceController
74 mApplicationsState = ApplicationsState.getInstance( in RecentAppsPreferenceController()
153 mApplicationsState.getEntry(pkgName, mUserId); in createAppEntity()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/premiumsms/
DPremiumSmsAccess.java58 private ApplicationsState mApplicationsState; field in PremiumSmsAccess
65 mApplicationsState = ApplicationsState.getInstance((Application) in onCreate()
67 mSession = mApplicationsState.newSession(this, getSettingsLifecycle()); in onCreate()
68 mSmsBackend = new AppStateSmsPremBridge(getContext(), mApplicationsState, this); in onCreate()
246 mApplicationsState.ensureIcon(mAppEntry); in onBindViewHolder()
/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()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DDomainAppPreferenceController.java42 private final ApplicationsState mApplicationsState; field in DomainAppPreferenceController
91 mApplicationsState = ApplicationsState.getInstance( in DomainAppPreferenceController()
111 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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()

12