Home
last modified time | relevance | path

Searched refs:SessionParams (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteSessionParamsAdapter.java22 import com.android.ide.common.rendering.api.SessionParams;
23 import com.android.ide.common.rendering.api.SessionParams.Key;
24 import com.android.ide.common.rendering.api.SessionParams.RenderingMode;
39 private final SessionParams mDelegate;
41 private RemoteSessionParamsAdapter(@NotNull SessionParams params) { in RemoteSessionParamsAdapter()
46 public static RemoteSessionParams create(@NotNull SessionParams params) throws RemoteException { in create()
DRemoteRenderParamsAdapter.java22 import com.android.ide.common.rendering.api.SessionParams;
23 import com.android.ide.common.rendering.api.SessionParams.Key;
44 public static RemoteSessionParams create(@NotNull SessionParams params) throws RemoteException { in create()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DSessionParamsBuilder.java26 import com.android.ide.common.rendering.api.SessionParams;
27 import com.android.ide.common.rendering.api.SessionParams.RenderingMode;
59 private Map<SessionParams.Key, Object> mFlags = new HashMap<>();
140 public SessionParamsBuilder setFlag(@NonNull SessionParams.Key flag, Object value) { in setFlag()
164 public SessionParams build() { in build()
181 SessionParams params = new SessionParams(mLayoutParser, mRenderingMode, mProjectKey /* for in build()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java24 import android.content.pm.PackageInstaller.SessionParams;
146 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID); in resolveInstallVolume()
162 public static String resolveInstallVolume(Context context, SessionParams params) in resolveInstallVolume()
170 public static String resolveInstallVolume(Context context, SessionParams params, in resolveInstallVolume()
261 public static boolean fitsOnInternal(Context context, SessionParams params) throws IOException { in fitsOnInternal()
268 public static boolean fitsOnExternal(Context context, SessionParams params) { in fitsOnExternal()
279 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID); in resolveInstallLocation()
295 public static int resolveInstallLocation(Context context, SessionParams params) in resolveInstallLocation()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteSessionParams.java22 import com.android.ide.common.rendering.api.SessionParams;
23 import com.android.ide.common.rendering.api.SessionParams.Key;
24 import com.android.ide.common.rendering.api.SessionParams.RenderingMode;
DRemoteRenderParams.java21 import com.android.ide.common.rendering.api.SessionParams.Key;
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DPerformanceTests.java19 import com.android.ide.common.rendering.api.SessionParams;
45 SessionParams params = createSessionParams(layoutFileName, ConfigGenerator.NEXUS_5); in render()
DRenderTestBase.java22 import com.android.ide.common.rendering.api.SessionParams;
23 import com.android.ide.common.rendering.api.SessionParams.RenderingMode;
341 SessionParams params, in render()
393 protected static RenderResult renderAndVerify(SessionParams params, String goldenFileName, in renderAndVerify()
407 protected static RenderResult renderAndVerify(SessionParams params, String goldenFileName) in renderAndVerify()
538 SessionParams params = createSessionParams(layoutFileName, deviceConfig); in renderAndVerify()
545 protected SessionParams createSessionParams(String layoutFileName, ConfigGenerator deviceConfig) in createSessionParams()
/frameworks/layoutlib/remote/tests/src/
DRemoteBridgeTest.java19 import com.android.ide.common.rendering.api.SessionParams;
50 protected static RenderResult renderAndVerify(Bridge bridge, SessionParams params, in renderAndVerify()
95 SessionParams params = createSessionParams("activity.xml", ConfigGenerator.NEXUS_5); in testActivity()
119 SessionParams params = in testCustomClassLoading()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTestUtils.java187 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( in installSplit()
188 PackageInstaller.SessionParams.MODE_FULL_INSTALL); in installSplit()
240 PackageInstaller.SessionParams multiPackageParams = new PackageInstaller.SessionParams( in install()
241 PackageInstaller.SessionParams.MODE_FULL_INSTALL); in install()
254 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( in install()
255 PackageInstaller.SessionParams.MODE_FULL_INSTALL); in install()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DBridgeActionBar.java22 import com.android.ide.common.rendering.api.SessionParams;
41 @NonNull protected final SessionParams mParams;
51 public BridgeActionBar(@NonNull BridgeContext context, @NonNull SessionParams params) { in BridgeActionBar()
/frameworks/layoutlib/legacy/src/com/android/layoutlib/bridge/
DBridge.java20 import com.android.ide.common.rendering.api.SessionParams;
67 public RenderSession createSession(SessionParams params) { in createSession()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRestoreUtils.java31 import android.content.pm.PackageInstaller.SessionParams;
89 SessionParams params = new SessionParams(SessionParams.MODE_FULL_INSTALL); in installApk()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeContextTest.java19 import com.android.ide.common.rendering.api.SessionParams;
50 SessionParams params = getSessionParamsBuilder() in basic()
97 SessionParams params = getSessionParamsBuilder() in checkNoErrorWhenUsingDefaults()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java363 public int createSession(@NonNull SessionParams params) throws IOException { in createSession()
1251 public static class SessionParams implements Parcelable { class in PackageInstaller
1336 public SessionParams(int mode) { in SessionParams() method in PackageInstaller.SessionParams
1341 public SessionParams(Parcel source) { in SessionParams() method in PackageInstaller.SessionParams
1364 public SessionParams copy() { in copy()
1365 SessionParams ret = new SessionParams(mode); in copy()
1763 public static final Parcelable.Creator<SessionParams>
1764 CREATOR = new Parcelable.Creator<SessionParams>() {
1766 public SessionParams createFromParcel(Parcel p) {
1767 return new SessionParams(p);
[all …]
DPackageInstaller.aidl19 parcelable PackageInstaller.SessionParams;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java143 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( in createSession()
144 PackageInstaller.SessionParams.MODE_FULL_INSTALL); in createSession()
250 private void assertSessionParamsEquivalent(PackageInstaller.SessionParams expected, in assertSessionParamsEquivalent()
251 PackageInstaller.SessionParams actual) { in assertSessionParamsEquivalent()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java79 if (!isTrustedSource && originatingUid != PackageInstaller.SessionParams.UID_UNKNOWN) { in onCreate()
184 PackageInstaller.SessionParams.UID_UNKNOWN); in getOriginatingUid()
197 return PackageInstaller.SessionParams.UID_UNKNOWN; in getOriginatingUid()
DInstallInstalling.java19 import static android.content.pm.PackageInstaller.SessionParams.UID_UNKNOWN;
131 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( in onCreate()
132 PackageInstaller.SessionParams.MODE_FULL_INSTALL); in onCreate()
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/
DRemoteBridgeImpl.java22 import com.android.ide.common.rendering.api.SessionParams;
115 SessionParams params = new SessionParams( in createSession()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java28 import com.android.ide.common.rendering.api.SessionParams;
29 import com.android.ide.common.rendering.api.SessionParams.RenderingMode;
104 public class RenderSessionImpl extends RenderAction<SessionParams> {
147 public RenderSessionImpl(SessionParams params) { in RenderSessionImpl()
148 super(new SessionParams(params)); in RenderSessionImpl()
169 SessionParams params = getParams(); in init()
192 private void measureLayout(@NonNull SessionParams params) { in measureLayout()
292 SessionParams params = getParams(); in inflate()
463 SessionParams params = getParams(); in renderAndBuildResult()
647 SessionParams params = getParams(); in postInflateProcess()
[all …]
DLayout.java24 import com.android.ide.common.rendering.api.SessionParams;
248 private SessionParams getParams() { in getParams()
279 @NonNull SessionParams params, boolean appCompatActionBar) { in createActionBar()
392 private final SessionParams mParams;
408 public Builder(@NonNull SessionParams params, @NonNull BridgeContext context) { in Builder()
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/
DRemoteBridgeClient.java24 import com.android.ide.common.rendering.api.SessionParams;
109 public RenderSession createSession(SessionParams params) { in createSession()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java207 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( in innerCreateSession()
208 PackageInstaller.SessionParams.MODE_FULL_INSTALL); in innerCreateSession()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DRenderParamsFlags.java22 import com.android.ide.common.rendering.api.SessionParams.Key;

12