/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/ |
D | PackageSessionTests.kt | 25 import android.content.pm.PackageInstaller.SessionParams in <lambda>() 123 val params = SessionParams(SessionParams.MODE_FULL_INSTALL).apply { in <lambda>() 136 val params = SessionParams(SessionParams.MODE_FULL_INSTALL).apply { in <lambda>() 149 val params = SessionParams(SessionParams.MODE_FULL_INSTALL).apply { in <lambda>() 162 val params = SessionParams(SessionParams.MODE_FULL_INSTALL).apply { in <lambda>() 174 val params = SessionParams(SessionParams.MODE_FULL_INSTALL) in <lambda>() 216 installer.createSession(SessionParams(SessionParams.MODE_FULL_INSTALL) in <lambda>() 224 private fun invalidPackageName(maxLength: Int = SessionParams.MAX_PACKAGE_NAME_LENGTH): String { in <lambda>() 249 private fun createAndAbandonSession(params: SessionParams, block: (Int) -> Unit = {}) { in <lambda>()
|
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/ |
D | RemoteSessionParamsAdapter.java | 22 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()
|
D | RemoteRenderParamsAdapter.java | 22 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/ |
D | RenderTests.java | 23 import com.android.ide.common.rendering.api.SessionParams; 24 import com.android.ide.common.rendering.api.SessionParams.RenderingMode; 113 SessionParams params = getSessionParamsBuilder() in testActivityOnOldTheme() 129 SessionParams params = getSessionParamsBuilder() in testTranslucentBars() 160 SessionParams params = getSessionParamsBuilder() in testAllWidgets() 188 SessionParams params = getSessionParamsBuilder() in testAllWidgetsTablet() 224 SessionParams params = getSessionParamsBuilder() in testActivityActionBar() 280 SessionParams params = getSessionParamsBuilder() in testOnApplyInsetsCall() 308 SessionParams params = getSessionParamsBuilder() in testExpand() 349 SessionParams params = getSessionParamsBuilder() in testShrink() [all …]
|
D | HighQualityShadowsRenderTests.java | 19 import com.android.ide.common.rendering.api.SessionParams; 39 SessionParams params = getSessionParamsBuilder() in testHighQualityRectangleShadow() 58 SessionParams params = getSessionParamsBuilder() in testRoundedEdgeRectangle() 76 SessionParams params = getSessionParamsBuilder() in testLargeView() 94 SessionParams params = getSessionParamsBuilder() in testShadowSizes() 111 SessionParams params = getSessionParamsBuilder() in testWidgetWithScroll()
|
D | PerformanceTests.java | 19 import com.android.ide.common.rendering.api.SessionParams; 45 SessionParams params = createSessionParams(layoutFileName, ConfigGenerator.NEXUS_5); in render()
|
D | RenderTestBase.java | 22 import com.android.ide.common.rendering.api.SessionParams; 23 import com.android.ide.common.rendering.api.SessionParams.RenderingMode; 354 SessionParams params, in render() 361 SessionParams params, in render() 417 protected static RenderResult renderAndVerify(SessionParams params, String goldenFileName, in renderAndVerify() 431 protected static RenderResult renderAndVerify(SessionParams params, String goldenFileName) in renderAndVerify() 563 SessionParams params = createSessionParams(layoutFileName, deviceConfig); in renderAndVerify() 570 protected SessionParams createSessionParams(String layoutFileName, ConfigGenerator deviceConfig) in createSessionParams()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 24 import android.content.pm.PackageInstaller.SessionParams; 143 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID); in resolveInstallVolume() 159 public static String resolveInstallVolume(Context context, SessionParams params) in resolveInstallVolume() 167 SessionParams params) throws IOException { in checkFitOnVolume() 184 public static String resolveInstallVolume(Context context, SessionParams params, in resolveInstallVolume() 291 public static boolean fitsOnInternal(Context context, SessionParams params) throws IOException { in fitsOnInternal() 311 public static boolean fitsOnExternal(Context context, SessionParams params) { in fitsOnExternal() 322 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID); in resolveInstallLocation() 338 public static int resolveInstallLocation(Context context, SessionParams params) in resolveInstallLocation()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | SessionParamsBuilder.java | 26 import com.android.ide.common.rendering.api.SessionParams; 27 import com.android.ide.common.rendering.api.SessionParams.RenderingMode; 60 private Map<SessionParams.Key, Object> mFlags = new HashMap<>(); 145 public SessionParamsBuilder setFlag(@NonNull SessionParams.Key flag, Object value) { in setFlag() 193 public SessionParams build() { in build() 210 SessionParams params = new SessionParams(mLayoutParser, mRenderingMode, mProjectKey /* for in build()
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/ |
D | RemoteSessionParams.java | 22 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;
|
/frameworks/layoutlib/remote/tests/src/ |
D | RemoteBridgeTest.java | 19 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/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | BridgeActionBar.java | 22 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/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 31 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/ |
D | BridgeContextTest.java | 19 import com.android.ide.common.rendering.api.SessionParams; 50 SessionParams params = getSessionParamsBuilder() in basic() 97 SessionParams params = getSessionParamsBuilder() in checkNoErrorWhenUsingDefaults()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | TestPackageInstaller.java | 62 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( in installPackage() 63 PackageInstaller.SessionParams.MODE_FULL_INSTALL); in installPackage()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInstaller.java | 443 public int createSession(@NonNull SessionParams params) throws IOException { in createSession() 1495 public static class SessionParams implements Parcelable { class in PackageInstaller 1632 public SessionParams(int mode) { in SessionParams() method in PackageInstaller.SessionParams 1637 public SessionParams(Parcel source) { in SessionParams() method in PackageInstaller.SessionParams 1670 public SessionParams copy() { in copy() 1671 SessionParams ret = new SessionParams(mode); in copy() 2144 @SessionParams.UserActionRequirement int requireUserAction) { in setRequireUserAction() 2231 public static final Parcelable.Creator<SessionParams> 2232 CREATOR = new Parcelable.Creator<SessionParams>() { 2234 public SessionParams createFromParcel(Parcel p) { [all …]
|
D | PackageInstaller.aidl | 19 parcelable PackageInstaller.SessionParams;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.java | 148 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( in createSession() 149 PackageInstaller.SessionParams.MODE_FULL_INSTALL); in createSession() 260 private void assertSessionParamsEquivalent(PackageInstaller.SessionParams expected, in assertSessionParamsEquivalent() 261 PackageInstaller.SessionParams actual) { in assertSessionParamsEquivalent()
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/ |
D | RemoteBridgeImpl.java | 22 import com.android.ide.common.rendering.api.SessionParams; 101 SessionParams params = new SessionParams( in createSession()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderSessionImpl.java | 28 import com.android.ide.common.rendering.api.SessionParams; 29 import com.android.ide.common.rendering.api.SessionParams.RenderingMode; 30 import com.android.ide.common.rendering.api.SessionParams.RenderingMode.SizeAction; 109 public class RenderSessionImpl extends RenderAction<SessionParams> { 152 public RenderSessionImpl(SessionParams params) { in RenderSessionImpl() 153 super(new SessionParams(params)); in RenderSessionImpl() 174 SessionParams params = getParams(); in init() 192 private void measureLayout(@NonNull SessionParams params) { in measureLayout() 293 SessionParams params = getParams(); in inflate() 458 SessionParams params = getParams(); in renderAndBuildResult() [all …]
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallStart.java | 86 if (!isTrustedSource && originatingUid != PackageInstaller.SessionParams.UID_UNKNOWN) { in onCreate() 195 PackageInstaller.SessionParams.UID_UNKNOWN); in getOriginatingUid() 208 return PackageInstaller.SessionParams.UID_UNKNOWN; in getOriginatingUid()
|
D | InstallInstalling.java | 19 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/bridge/tests/src/com/android/tools/idea/validator/ |
D | LayoutValidatorTests.java | 19 import com.android.ide.common.rendering.api.SessionParams; 50 SessionParams params = getSessionParamsBuilder() in testRenderAndVerify() 169 private SessionParams generateParams() throws Exception { in generateParams()
|
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/ |
D | RemoteBridgeClient.java | 24 import com.android.ide.common.rendering.api.SessionParams; 81 public RenderSession createSession(SessionParams params) { in createSession()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 531 PackageInstaller.SessionParams parentParams = new PackageInstaller.SessionParams( in commit() 532 PackageInstaller.SessionParams.MODE_FULL_INSTALL); in commit() 553 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( in commit() 554 PackageInstaller.SessionParams.MODE_FULL_INSTALL); in commit()
|