/frameworks/base/core/java/android/content/pm/ |
PackageInstaller.aidl | 19 parcelable PackageInstaller.SessionParams;
|
IPackageInstaller.aidl | 31 int createSession(in PackageInstaller.SessionParams params, String installerPackageName, int userId);
|
PackageInstaller.java | 317 * @throws IllegalArgumentException when {@link SessionParams} is invalid. 322 public int createSession(@NonNull SessionParams params) throws IOException { [all...] |
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
PerformanceTests.java | 19 import com.android.ide.common.rendering.api.SessionParams; 45 SessionParams params = createSessionParams(layoutFileName, ConfigGenerator.NEXUS_5);
|
RenderTests.java | 21 import com.android.ide.common.rendering.api.SessionParams; 22 import com.android.ide.common.rendering.api.SessionParams.RenderingMode; 102 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, 116 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, 178 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, 225 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, 251 SessionParams params = getSessionParams(parser, customConfigGenerator, 290 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, 326 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5, 359 SessionParams params = getSessionParams(parser, ConfigGenerator.NEXUS_5 [all...] |
RenderTestBase.java | 22 import com.android.ide.common.rendering.api.SessionParams; 23 import com.android.ide.common.rendering.api.SessionParams.RenderingMode; 324 protected static RenderResult render(SessionParams params, long frameTimeNanos) { 363 protected static RenderResult renderAndVerify(SessionParams params, String goldenFileName, 382 protected static RenderResult renderAndVerify(SessionParams params, String goldenFileName) 509 SessionParams params = createSessionParams(layoutFileName, deviceConfig); 513 protected SessionParams createSessionParams(String layoutFileName, ConfigGenerator deviceConfig) 530 protected SessionParams getSessionParams(LayoutPullParser layoutParser, 539 SessionParams sessionParams [all...] |
/frameworks/layoutlib/legacy/src/com/android/layoutlib/bridge/ |
Bridge.java | 20 import com.android.ide.common.rendering.api.SessionParams; 67 public RenderSession createSession(SessionParams params) {
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
RenderParamsFlags.java | 21 import com.android.ide.common.rendering.api.SessionParams.Key;
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
InstallSessionTransferTest.java | 19 import static android.content.pm.PackageInstaller.SessionParams.MODE_FULL_INSTALL; 32 import android.content.pm.PackageInstaller.SessionParams; 119 SessionParams params = new SessionParams(MODE_FULL_INSTALL); 133 SessionParams params = new SessionParams(MODE_FULL_INSTALL);
|
InstallSessionParamsUnitTest.java | 23 import static android.content.pm.PackageInstaller.SessionParams.MODE_FULL_INSTALL; 24 import static android.content.pm.PackageInstaller.SessionParams.MODE_INHERIT_EXISTING; 38 import android.content.pm.PackageInstaller.SessionParams; 199 private int createSession(SessionParams params) throws Exception { 214 SessionParams params = new SessionParams(mode.get());
|
/frameworks/base/core/java/com/android/internal/content/ |
PackageHelper.java | 25 import android.content.pm.PackageInstaller.SessionParams; 359 public boolean fitsOnInternalStorage(Context context, SessionParams params) 413 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID); 429 public static String resolveInstallVolume(Context context, SessionParams params) 437 public static String resolveInstallVolume(Context context, SessionParams params, 526 public static boolean fitsOnInternal(Context context, SessionParams params) throws IOException { 533 public static boolean fitsOnExternal(Context context, SessionParams params) { 544 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID) [all...] |
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
BasePackageInstallTest.java | 137 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( 138 PackageInstaller.SessionParams.MODE_FULL_INSTALL);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
BridgeActionBar.java | 23 import com.android.ide.common.rendering.api.SessionParams; 42 @NonNull protected final SessionParams mParams; 52 public BridgeActionBar(@NonNull BridgeContext context, @NonNull SessionParams params) {
|
AppCompatActionBar.java | 23 import com.android.ide.common.rendering.api.SessionParams; 58 public AppCompatActionBar(@NonNull BridgeContext context, @NonNull SessionParams params) {
|
FrameworkActionBar.java | 21 import com.android.ide.common.rendering.api.SessionParams; 63 public FrameworkActionBar(@NonNull BridgeContext context, @NonNull SessionParams params) {
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
RawDocumentsHelper.java | 57 intent.putExtra(Intent.EXTRA_ORIGINATING_UID, PackageInstaller.SessionParams.UID_UNKNOWN);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
InstallInstalling.java | 19 import static android.content.pm.PackageInstaller.SessionParams.UID_UNKNOWN; 112 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( 113 PackageInstaller.SessionParams.MODE_FULL_INSTALL);
|
InstallStart.java | 75 if (!isTrustedSource && originatingUid != PackageInstaller.SessionParams.UID_UNKNOWN) { 184 * {@link android.content.pm.PackageInstaller.SessionParams#UID_UNKNOWN} if not available 193 PackageInstaller.SessionParams.UID_UNKNOWN); 206 return PackageInstaller.SessionParams.UID_UNKNOWN;
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
BasePackageInstallTest.java | 166 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( 167 PackageInstaller.SessionParams.MODE_FULL_INSTALL);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
Layout.java | 22 import com.android.ide.common.rendering.api.SessionParams; 227 private SessionParams getParams() { 257 @NonNull SessionParams params, boolean appCompatActionBar) { 367 private final SessionParams mParams; 383 public Builder(@NonNull SessionParams params, @NonNull BridgeContext context) {
|
RenderSessionImpl.java | 28 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> { 146 * @see Bridge#createSession(SessionParams) 148 public RenderSessionImpl(SessionParams params) { 149 super(new SessionParams(params)); 170 SessionParams params = getParams(); 191 private void measureLayout(@NonNull SessionParams params) { 291 SessionParams params = getParams(); 420 * @see SessionParams#getRenderingMode( [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderService.java | 37 import com.android.ide.common.rendering.api.SessionParams; 38 import com.android.ide.common.rendering.api.SessionParams.RenderingMode; 456 SessionParams params = new SessionParams( 613 SessionParams params = new SessionParams(
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
PackageInstallerImpl.java | 207 PackageInstaller.SessionParams params = new PackageInstaller.SessionParams( 208 PackageInstaller.SessionParams.MODE_FULL_INSTALL);
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
BindWidgetTest.java | 23 import android.content.pm.PackageInstaller.SessionParams; 226 SessionParams params = new SessionParams(SessionParams.MODE_FULL_INSTALL);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/ |
ApiDemosRenderingTest.java | 29 import com.android.ide.common.rendering.api.SessionParams; 30 import com.android.ide.common.rendering.api.SessionParams.RenderingMode; 270 RenderSession session = layoutLib.createSession(new SessionParams(
|