Home
last modified time | relevance | path

Searched refs:sandboxContext (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DFolderIconLoadTest.kt91 val idp = LauncherAppState.getIDP(modelHelper.sandboxContext) in folderLoadedWithHighRes_max_3x3()
104 val idp = LauncherAppState.getIDP(modelHelper.sandboxContext) in folderLoadedWithHighRes_max_4x4()
117 val idp = LauncherAppState.getIDP(modelHelper.sandboxContext) in folderLoadedWithHighRes_differentFolderConfigurations()
143 val app = LauncherAppState.getInstance(modelHelper.sandboxContext) in setupAndLoadFolder()
179 LauncherAppState.getIDP(modelHelper.sandboxContext).supportedProfiles = in recreateSupportedDeviceProfiles()
180 LauncherAppState.getIDP(modelHelper.sandboxContext).supportedProfiles.map { in recreateSupportedDeviceProfiles()
181 it.copy(modelHelper.sandboxContext) in recreateSupportedDeviceProfiles()
DCacheDataUpdatedTaskTest.java63 mContext = mModelHelper.sandboxContext; in setup()
DDefaultLayoutProviderTest.java58 mTargetContext = mModelHelper.sandboxContext; in setUp()
DAsyncBindingTest.kt82 View(modelHelper.sandboxContext) in <lambda>()
DLoaderCursorTest.java93 mContext = mModelHelper.sandboxContext; in setup()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DLauncherModelHelper.java94 public final SandboxModelContext sandboxContext; field in LauncherModelHelper
101 sandboxContext = new SandboxModelContext(); in LauncherModelHelper()
105 sandboxContext.setupProvider(authority, provider); in setupProvider()
109 return LauncherAppState.getInstance(sandboxContext).getModel(); in getModel()
131 PackageInstaller pi = sandboxContext.getPackageManager().getPackageInstaller(); in createInstallerSession()
147 sandboxContext.onDestroy(); in destroy()
166 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(sandboxContext); in setupDefaultLayoutProvider()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DTaskViewSimulatorTest.java190 Context configurationContext = helper.sandboxContext.createConfigurationContext( in verifyNoTransforms()
198 helper.sandboxContext.putObject(DisplayController.INSTANCE, mockController); in verifyNoTransforms()
200 mDeviceProfile = InvariantDeviceProfile.INSTANCE.get(helper.sandboxContext) in verifyNoTransforms()
204 TaskViewSimulator tvs = new TaskViewSimulator(helper.sandboxContext, in verifyNoTransforms()
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/
DQuickstepModelDelegateTest.kt42 underTest = QuickstepModelDelegate(modelHelper.sandboxContext) in setUp()
46 underTest.mApp = LauncherAppState.getInstance(modelHelper.sandboxContext) in setUp()
DWidgetsPredicationUpdateTaskTest.java112 mLauncherApps = mModelHelper.sandboxContext.spyService(LauncherApps.class); in setup()
124 AppWidgetManager manager = mModelHelper.sandboxContext.spyService(AppWidgetManager.class); in setup()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/
DAbstractWorkspaceModelTest.kt54 mTargetContext = mModelHelper.sandboxContext in <lambda>()
DGridSizeMigrationUtilTest.kt66 context = modelHelper.sandboxContext in <lambda>()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAutoInstallsLayoutTest.kt85 targetContext = modelHelper.sandboxContext in setup()
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/
DRestoreDbTaskTest.java99 mContext = mModelHelper.sandboxContext; in setup()