Home
last modified time | relevance | path

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

12

/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java20 import com.android.ide.common.rendering.api.SessionParams;
21 import com.android.ide.common.rendering.api.SessionParams.RenderingMode;
68 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, in testActivityOnOldTheme()
82 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, in testTranslucentBars()
128 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, in testActivityActionBar()
165 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, in testOnApplyInsetsCall()
191 SessionParams params = getSessionParams(parser, customConfigGenerator, in testExpand()
220 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, in testVectorAnimation()
246 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, in testVectorDrawable()
265 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, in testVectorDrawable91383()
[all …]
DRenderTestBase.java22 import com.android.ide.common.rendering.api.SessionParams;
23 import com.android.ide.common.rendering.api.SessionParams.RenderingMode;
323 protected static RenderResult render(SessionParams params, long frameTimeNanos) { in render()
362 protected static RenderResult renderAndVerify(SessionParams params, String goldenFileName, in renderAndVerify()
381 protected static RenderResult renderAndVerify(SessionParams params, String goldenFileName) in renderAndVerify()
507 SessionParams params = createSessionParams(layoutFileName, deviceConfig); in renderAndVerify()
511 protected SessionParams createSessionParams(String layoutFileName, ConfigGenerator deviceConfig) in createSessionParams()
528 protected SessionParams getSessionParams(LayoutPullParser layoutParser, in getSessionParams()
537 SessionParams sessionParams = in getSessionParams()
538 new SessionParams(layoutParser, renderingMode, null /*used for caching*/, in getSessionParams()
DPerformanceTests.java19 import com.android.ide.common.rendering.api.SessionParams;
42 SessionParams params = createSessionParams(layoutFileName, ConfigGenerator.NEXUS_5); in render()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java23 import android.content.pm.PackageInstaller.SessionParams;
358 public boolean fitsOnInternalStorage(Context context, SessionParams params) in fitsOnInternalStorage()
412 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID); in resolveInstallVolume()
428 public static String resolveInstallVolume(Context context, SessionParams params) in resolveInstallVolume()
436 public static String resolveInstallVolume(Context context, SessionParams params, in resolveInstallVolume()
524 public static boolean fitsOnInternal(Context context, SessionParams params) throws IOException { in fitsOnInternal()
531 public static boolean fitsOnExternal(Context context, SessionParams params) { in fitsOnExternal()
542 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID); in resolveInstallLocation()
558 public static int resolveInstallLocation(Context context, SessionParams params) in resolveInstallLocation()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java319 public int createSession(@NonNull SessionParams params) throws IOException { in createSession()
921 public static class SessionParams implements Parcelable { class in PackageInstaller
984 public SessionParams(int mode) { in SessionParams() method in PackageInstaller.SessionParams
989 public SessionParams(Parcel source) { in SessionParams() method in PackageInstaller.SessionParams
1210 public static final Parcelable.Creator<SessionParams>
1211 CREATOR = new Parcelable.Creator<SessionParams>() {
1213 public SessionParams createFromParcel(Parcel p) {
1214 return new SessionParams(p);
1218 public SessionParams[] newArray(int size) {
1219 return new SessionParams[size];
DPackageInstaller.aidl19 parcelable PackageInstaller.SessionParams;
DIPackageInstaller.aidl31 …int createSession(in PackageInstaller.SessionParams params, String installerPackageName, int userI… in createSession()
/frameworks/base/tools/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/tools/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()
DAppCompatActionBar.java23 import com.android.ide.common.rendering.api.SessionParams;
58 public AppCompatActionBar(@NonNull BridgeContext context, @NonNull SessionParams params) { in AppCompatActionBar()
DFrameworkActionBar.java21 import com.android.ide.common.rendering.api.SessionParams;
63 public FrameworkActionBar(@NonNull BridgeContext context, @NonNull SessionParams params) { in FrameworkActionBar()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java22 import com.android.ide.common.rendering.api.SessionParams;
206 private SessionParams getParams() { in getParams()
236 @NonNull SessionParams params) { in createActionBar()
325 private final SessionParams mParams;
340 public Builder(@NonNull SessionParams params, @NonNull BridgeContext context) { in Builder()
DRenderSessionImpl.java31 import com.android.ide.common.rendering.api.SessionParams;
32 import com.android.ide.common.rendering.api.SessionParams.RenderingMode;
118 public class RenderSessionImpl extends RenderAction<SessionParams> {
161 public RenderSessionImpl(SessionParams params) { in RenderSessionImpl()
162 super(new SessionParams(params)); in RenderSessionImpl()
183 SessionParams params = getParams(); in init()
211 private void measureLayout(@NonNull SessionParams params) { in measureLayout()
311 SessionParams params = getParams(); in inflate()
478 SessionParams params = getParams(); in renderAndBuildResult()
1049 SessionParams params = getParams(); in postInflateProcess()
[all …]
/frameworks/base/tools/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/
DPackageInstallerService.java52 import android.content.pm.PackageInstaller.SessionParams;
420 final SessionParams params = new SessionParams( in readSessionLocked()
421 SessionParams.MODE_INVALID); in readSessionLocked()
431 readIntAttribute(in, ATTR_ORIGINATING_UID, SessionParams.UID_UNKNOWN); in readSessionLocked()
478 final SessionParams params = session.params; in writeSessionLocked()
592 public int createSession(SessionParams params, String installerPackageName, int userId) { in createSession()
600 private int createSessionInternal(SessionParams params, String installerPackageName, int userId) in createSessionInternal()
648 case SessionParams.MODE_FULL_INSTALL: in createSessionInternal()
649 case SessionParams.MODE_INHERIT_EXISTING: in createSessionInternal()
DPackageManagerShellCommand.java41 import android.content.pm.PackageInstaller.SessionParams;
931 final SessionParams sessionParams = new SessionParams(SessionParams.MODE_INHERIT_EXISTING); in runRemoveSplit()
1137 SessionParams sessionParams;
1143 final SessionParams sessionParams = new SessionParams(SessionParams.MODE_FULL_INSTALL); in makeInstallParams()
1186 sessionParams.mode = SessionParams.MODE_INHERIT_EXISTING; in makeInstallParams()
1339 private int doCreateSession(SessionParams params, String installerPackageName, int userId) in doCreateSession()
DPackageInstallerSession.java41 import android.content.pm.PackageInstaller.SessionParams;
113 final SessionParams params;
236 String installerPackageName, int installerUid, SessionParams params, long createdMillis, in PackageInstallerSession()
616 if (params.mode == SessionParams.MODE_INHERIT_EXISTING) { in commitLocked()
795 if (params.mode == SessionParams.MODE_FULL_INSTALL) { in validateInstallLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java458 final PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( in installApp()
459 PackageInstaller.SessionParams.MODE_FULL_INSTALL); in installApp()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java41 import android.content.pm.PackageInstaller.SessionParams;
498 SessionParams sessionParams;
504 final SessionParams sessionParams = new SessionParams(SessionParams.MODE_FULL_INSTALL); in makeInstallParams()
547 sessionParams.mode = SessionParams.MODE_INHERIT_EXISTING; in makeInstallParams()
599 private int doCreateSession(SessionParams params, String installerPackageName, int userId) in doCreateSession()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutLibTestCallback.java27 import com.android.ide.common.rendering.api.SessionParams.Key;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java26 import com.android.ide.common.rendering.api.SessionParams;
423 public RenderSession createSession(SessionParams params) { in createSession()
/frameworks/base/
Dcompiled-classes-phone1033 android.content.pm.PackageInstaller$SessionParams
1034 android.content.pm.PackageInstaller$SessionParams$1
/frameworks/base/services/
Dprofile-classes564 Landroid/content/pm/PackageInstaller$SessionParams;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8577 …method public int createSession(android.content.pm.PackageInstaller.SessionParams) throws java.io.…
8640 public static class PackageInstaller.SessionParams implements android.os.Parcelable {
8641 ctor public PackageInstaller.SessionParams(int);
8651 …tic final android.os.Parcelable.Creator<android.content.pm.PackageInstaller.SessionParams> CREATOR;
/frameworks/base/api/
Dcurrent.txt10427 …method public int createSession(android.content.pm.PackageInstaller.SessionParams) throws java.io.…
10496 public static class PackageInstaller.SessionParams implements android.os.Parcelable {
10497 ctor public PackageInstaller.SessionParams(int);
10509 …tic final android.os.Parcelable.Creator<android.content.pm.PackageInstaller.SessionParams> CREATOR;

12