Home
last modified time | relevance | path

Searched refs:SessionParams (Results 1 – 25 of 41) 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.java21 import com.android.ide.common.rendering.api.SessionParams;
22 import com.android.ide.common.rendering.api.SessionParams.Key;
43 public static RemoteSessionParams create(@NotNull SessionParams params) throws RemoteException { in create()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DSessionParamsBuilder.java25 import com.android.ide.common.rendering.api.SessionParams;
26 import com.android.ide.common.rendering.api.SessionParams.RenderingMode;
58 private Map<SessionParams.Key, Object> mFlags = new HashMap<>();
137 public SessionParamsBuilder setFlag(@NonNull SessionParams.Key flag, Object value) { in setFlag()
149 public SessionParams build() { in build()
166 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;
144 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID); in resolveInstallVolume()
160 public static String resolveInstallVolume(Context context, SessionParams params) in resolveInstallVolume()
168 public static String resolveInstallVolume(Context context, SessionParams params, in resolveInstallVolume()
259 public static boolean fitsOnInternal(Context context, SessionParams params) throws IOException { in fitsOnInternal()
266 public static boolean fitsOnExternal(Context context, SessionParams params) { in fitsOnExternal()
277 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID); in resolveInstallLocation()
293 public static int resolveInstallLocation(Context context, SessionParams params) in resolveInstallLocation()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java22 import com.android.ide.common.rendering.api.SessionParams;
23 import com.android.ide.common.rendering.api.SessionParams.RenderingMode;
111 SessionParams params = getSessionParamsBuilder() in testActivityOnOldTheme()
127 SessionParams params = getSessionParamsBuilder() in testTranslucentBars()
196 SessionParams params = getSessionParamsBuilder() in testActivityActionBar()
252 SessionParams params = getSessionParamsBuilder() in testOnApplyInsetsCall()
280 SessionParams params = getSessionParamsBuilder() in testExpand()
327 SessionParams params = getSessionParamsBuilder() in testVectorAnimation()
369 SessionParams params = getSessionParamsBuilder() in testVectorDrawable()
405 SessionParams params = getSessionParamsBuilder() in testVectorDrawable91383()
[all …]
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()
535 SessionParams params = createSessionParams(layoutFileName, deviceConfig); in renderAndVerify()
539 protected SessionParams createSessionParams(String layoutFileName, ConfigGenerator deviceConfig) in createSessionParams()
/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.java20 import com.android.ide.common.rendering.api.SessionParams.Key;
DRemoteLayoutlibCallback.java24 import com.android.ide.common.rendering.api.SessionParams.Key;
/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()
90 SessionParams params = createSessionParams("activity.xml", ConfigGenerator.NEXUS_5); in testActivity()
114 SessionParams params = in testCustomClassLoading()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRestoreUtils.java31 import android.content.pm.PackageInstaller.SessionParams;
87 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/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/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DBridgeActionBar.java23 import com.android.ide.common.rendering.api.SessionParams;
42 @NonNull protected final SessionParams mParams;
52 public BridgeActionBar(@NonNull BridgeContext context, @NonNull SessionParams params) { in BridgeActionBar()
DFrameworkActionBar.java21 import com.android.ide.common.rendering.api.SessionParams;
63 public FrameworkActionBar(@NonNull BridgeContext context, @NonNull SessionParams params) { in FrameworkActionBar()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java325 public int createSession(@NonNull SessionParams params) throws IOException { in createSession()
1067 public static class SessionParams implements Parcelable { class in PackageInstaller
1132 public SessionParams(int mode) { in SessionParams() method in PackageInstaller.SessionParams
1137 public SessionParams(Parcel source) { in SessionParams() method in PackageInstaller.SessionParams
1403 public static final Parcelable.Creator<SessionParams>
1404 CREATOR = new Parcelable.Creator<SessionParams>() {
1406 public SessionParams createFromParcel(Parcel p) {
1407 return new SessionParams(p);
1411 public SessionParams[] newArray(int size) {
1412 return new SessionParams[size];
DPackageInstaller.aidl19 parcelable PackageInstaller.SessionParams;
DIPackageInstaller.aidl31 …int createSession(in PackageInstaller.SessionParams params, String installerPackageName, int userI… in createSession()
/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;
105 public class RenderSessionImpl extends RenderAction<SessionParams> {
148 public RenderSessionImpl(SessionParams params) { in RenderSessionImpl()
149 super(new SessionParams(params)); in RenderSessionImpl()
170 SessionParams params = getParams(); in init()
191 private void measureLayout(@NonNull SessionParams params) { in measureLayout()
291 SessionParams params = getParams(); in inflate()
460 SessionParams params = getParams(); in renderAndBuildResult()
630 SessionParams params = getParams(); in postInflateProcess()
[all …]
DLayout.java22 import com.android.ide.common.rendering.api.SessionParams;
227 private SessionParams getParams() { in getParams()
257 @NonNull SessionParams params, boolean appCompatActionBar) { in createActionBar()
367 private final SessionParams mParams;
383 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;
106 public RenderSession createSession(SessionParams params) { in createSession()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DRenderParamsFlags.java21 import com.android.ide.common.rendering.api.SessionParams.Key;
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java56 import android.content.pm.PackageInstaller.SessionParams;
169 final SessionParams params;
382 String installerPackageName, int installerUid, SessionParams params, long createdMillis, in PackageInstallerSession()
963 if (params.mode == SessionParams.MODE_INHERIT_EXISTING) { in commitLocked()
1061 params.mode == SessionParams.MODE_INHERIT_EXISTING && in mayInheritNativeLibs()
1204 if (params.mode == SessionParams.MODE_FULL_INSTALL) { in validateInstallLocked()
1780 final SessionParams params = new SessionParams( in readFromXml()
1781 SessionParams.MODE_INVALID); in readFromXml()
1791 readIntAttribute(in, ATTR_ORIGINATING_UID, SessionParams.UID_UNKNOWN); in readFromXml()

12