IT. Expert System.

Android Reference

PackageManagerTests


android.content.pm

Class PackageManagerTests

    • Constructor Detail

      • PackageManagerTests

        public PackageManagerTests()
    • Method Detail

      • invokeInstallPackage

        public void invokeInstallPackage(Uri packageURI,
                                int flags,
                                android.content.pm.PackageManagerTests.GenericReceiver receiver,
                                boolean shouldSucceed)
      • invokeInstallPackageFail

        public void invokeInstallPackageFail(Uri packageURI,
                                    int flags,
                                    int expectedResult)
      • testInstallNormalInternal

        public void testInstallNormalInternal()
                                       throws Exception
        Throws:
        Exception
      • testInstallFwdLockedInternal

        public void testInstallFwdLockedInternal()
                                          throws Exception
        Throws:
        Exception
      • testReplaceFailNormalInternal

        public void testReplaceFailNormalInternal()
                                           throws Exception
        Throws:
        Exception
      • testReplaceFailFwdLockedInternal

        public void testReplaceFailFwdLockedInternal()
                                              throws Exception
        Throws:
        Exception
      • testReplaceFailSdcard

        public void testReplaceFailSdcard()
                                   throws Exception
        Throws:
        Exception
      • testReplaceNormalInternal

        public void testReplaceNormalInternal()
                                       throws Exception
        Throws:
        Exception
      • testReplaceFwdLockedInternal

        public void testReplaceFwdLockedInternal()
                                          throws Exception
        Throws:
        Exception
      • invokeDeletePackage

        public boolean invokeDeletePackage(String pkgName,
                                  int flags,
                                  android.content.pm.PackageManagerTests.GenericReceiver receiver)
                                    throws Exception
        Throws:
        Exception
      • deleteFromRawResource

        public void deleteFromRawResource(int iFlags,
                                 int dFlags)
                                   throws Exception
        Throws:
        Exception
      • testDeleteNormalInternal

        public void testDeleteNormalInternal()
                                      throws Exception
        Throws:
        Exception
      • testDeleteFwdLockedInternal

        public void testDeleteFwdLockedInternal()
                                         throws Exception
        Throws:
        Exception
      • testDeleteNormalInternalRetainData

        public void testDeleteNormalInternalRetainData()
                                                throws Exception
        Throws:
        Exception
      • testDeleteFwdLockedInternalRetainData

        public void testDeleteFwdLockedInternalRetainData()
                                                   throws Exception
        Throws:
        Exception
      • testDeleteSdcardRetainData

        public void testDeleteSdcardRetainData()
                                        throws Exception
        Throws:
        Exception
      • testMountSdNormalInternal

        public void testMountSdNormalInternal()
                                       throws Exception
        Throws:
        Exception
      • testManifestInstallLocationInternal

        public void testManifestInstallLocationInternal()
                                                 throws Exception
        Throws:
        Exception
      • testManifestInstallLocationSdcard

        public void testManifestInstallLocationSdcard()
                                               throws Exception
        Throws:
        Exception
      • testManifestInstallLocationAuto

        public void testManifestInstallLocationAuto()
                                             throws Exception
        Throws:
        Exception
      • testManifestInstallLocationUnspecified

        public void testManifestInstallLocationUnspecified()
                                                    throws Exception
        Throws:
        Exception
      • testManifestInstallLocationFwdLockedFlagSdcard

        public void testManifestInstallLocationFwdLockedFlagSdcard()
                                                            throws Exception
        Throws:
        Exception
      • testManifestInstallLocationFwdLockedSdcard

        public void testManifestInstallLocationFwdLockedSdcard()
                                                        throws Exception
        Throws:
        Exception
      • testReplaceFlagInternalSdcard

        public void testReplaceFlagInternalSdcard()
                                           throws Exception
        Throws:
        Exception
      • testReplaceFlagSdcardInternal

        public void testReplaceFlagSdcardInternal()
                                           throws Exception
        Throws:
        Exception
      • testManifestInstallLocationReplaceInternalSdcard

        public void testManifestInstallLocationReplaceInternalSdcard()
                                                              throws Exception
        Throws:
        Exception
      • testManifestInstallLocationReplaceSdcardInternal

        public void testManifestInstallLocationReplaceSdcardInternal()
                                                              throws Exception
        Throws:
        Exception
      • invokeMovePackage

        public boolean invokeMovePackage(String pkgName,
                                int flags,
                                android.content.pm.PackageManagerTests.GenericReceiver receiver)
                                  throws Exception
        Throws:
        Exception
      • testMoveAppInternalToExternal

        public void testMoveAppInternalToExternal()
                                           throws Exception
        Throws:
        Exception
      • testMoveAppInternalToInternal

        public void testMoveAppInternalToInternal()
                                           throws Exception
        Throws:
        Exception
      • testMoveAppExternalToExternal

        public void testMoveAppExternalToExternal()
                                           throws Exception
        Throws:
        Exception
      • testMoveAppExternalToInternal

        public void testMoveAppExternalToInternal()
                                           throws Exception
        Throws:
        Exception
      • testMoveAppForwardLocked

        public void testMoveAppForwardLocked()
                                      throws Exception
        Throws:
        Exception
      • testMoveAppFailInternalToExternalDelete

        public void testMoveAppFailInternalToExternalDelete()
                                                     throws Exception
        Throws:
        Exception
      • testInstallSdcardUnmount

        public void testInstallSdcardUnmount()
                                      throws Exception
        Throws:
        Exception
      • testInstallManifestSdcardUnmount

        public void testInstallManifestSdcardUnmount()
                                              throws Exception
        Throws:
        Exception
      • testManifestIExistingI

        public void testManifestIExistingI()
                                    throws Exception
        Throws:
        Exception
      • testManifestIExistingE

        public void testManifestIExistingE()
                                    throws Exception
        Throws:
        Exception
      • testManifestEExistingI

        public void testManifestEExistingI()
                                    throws Exception
        Throws:
        Exception
      • testManifestEExistingE

        public void testManifestEExistingE()
                                    throws Exception
        Throws:
        Exception
      • testManifestAExistingI

        public void testManifestAExistingI()
                                    throws Exception
        Throws:
        Exception
      • testManifestAExistingE

        public void testManifestAExistingE()
                                    throws Exception
        Throws:
        Exception
      • testUserPrefOffUserI

        public void testUserPrefOffUserI()
                                  throws Exception
        Throws:
        Exception
      • testUserPrefOffUserE

        public void testUserPrefOffUserE()
                                  throws Exception
        Throws:
        Exception
      • testInstallDeclaresPermissions

        public void testInstallDeclaresPermissions()
                                            throws Exception
        Throws:
        Exception
      • testInstallOnSdPermissionsUnmount

        public void testInstallOnSdPermissionsUnmount()
                                               throws Exception
        Throws:
        Exception
      • testInstallSdcardStaleContainer

        public void testInstallSdcardStaleContainer()
                                             throws Exception
        Throws:
        Exception
      • testInstallSdcardStaleContainerReinstall

        public void testInstallSdcardStaleContainerReinstall()
                                                      throws Exception
        Throws:
        Exception
      • testReplaceMatchAllCerts

        public void testReplaceMatchAllCerts()
                                      throws Exception
        Throws:
        Exception
      • testReplaceMatchNoCerts1

        public void testReplaceMatchNoCerts1()
                                      throws Exception
        Throws:
        Exception
      • testReplaceMatchNoCerts2

        public void testReplaceMatchNoCerts2()
                                      throws Exception
        Throws:
        Exception
      • testReplaceMatchSomeCerts1

        public void testReplaceMatchSomeCerts1()
                                        throws Exception
        Throws:
        Exception
      • testReplaceMatchSomeCerts2

        public void testReplaceMatchSomeCerts2()
                                        throws Exception
        Throws:
        Exception
      • testReplaceMatchMoreCerts

        public void testReplaceMatchMoreCerts()
                                       throws Exception
        Throws:
        Exception
      • testReplaceMatchMoreCertsReplaceSomeCerts

        public void testReplaceMatchMoreCertsReplaceSomeCerts()
                                                       throws Exception
        Throws:
        Exception
      • testCheckSignaturesAllMatch

        public void testCheckSignaturesAllMatch()
                                         throws Exception
        Throws:
        Exception
      • testCheckSignaturesNoMatch

        public void testCheckSignaturesNoMatch()
                                        throws Exception
        Throws:
        Exception
      • testCheckSignaturesSomeMatch1

        public void testCheckSignaturesSomeMatch1()
                                           throws Exception
        Throws:
        Exception
      • testCheckSignaturesSomeMatch2

        public void testCheckSignaturesSomeMatch2()
                                           throws Exception
        Throws:
        Exception
      • testCheckSignaturesMoreMatch

        public void testCheckSignaturesMoreMatch()
                                          throws Exception
        Throws:
        Exception
      • testCheckSignaturesUnknown

        public void testCheckSignaturesUnknown()
                                        throws Exception
        Throws:
        Exception
      • testInstallNoCertificates

        public void testInstallNoCertificates()
                                       throws Exception
        Throws:
        Exception
      • testCheckSignaturesSharedAllMatch

        public void testCheckSignaturesSharedAllMatch()
                                               throws Exception
        Throws:
        Exception
      • testCheckSignaturesSharedNoMatch

        public void testCheckSignaturesSharedNoMatch()
                                              throws Exception
        Throws:
        Exception
      • testCheckSignaturesSharedSomeMatch1

        public void testCheckSignaturesSharedSomeMatch1()
                                                 throws Exception
        Throws:
        Exception
      • testCheckSignaturesSharedSomeMatch2

        public void testCheckSignaturesSharedSomeMatch2()
                                                 throws Exception
        Throws:
        Exception
      • testCheckSignaturesSharedUnknown

        public void testCheckSignaturesSharedUnknown()
                                              throws Exception
        Throws:
        Exception
      • testReplaceFirstSharedMatchAllCerts

        public void testReplaceFirstSharedMatchAllCerts()
                                                 throws Exception
        Throws:
        Exception
      • testReplaceSecondSharedMatchAllCerts

        public void testReplaceSecondSharedMatchAllCerts()
                                                  throws Exception
        Throws:
        Exception
      • testReplaceFirstSharedMatchSomeCerts

        public void testReplaceFirstSharedMatchSomeCerts()
                                                  throws Exception
        Throws:
        Exception
      • testReplaceSecondSharedMatchSomeCerts

        public void testReplaceSecondSharedMatchSomeCerts()
                                                   throws Exception
        Throws:
        Exception
      • testReplaceFirstSharedMatchNoCerts

        public void testReplaceFirstSharedMatchNoCerts()
                                                throws Exception
        Throws:
        Exception
      • testReplaceSecondSharedMatchNoCerts

        public void testReplaceSecondSharedMatchNoCerts()
                                                 throws Exception
        Throws:
        Exception
      • testReplaceFirstSharedMatchMoreCerts

        public void testReplaceFirstSharedMatchMoreCerts()
                                                  throws Exception
        Throws:
        Exception
      • testReplaceSecondSharedMatchMoreCerts

        public void testReplaceSecondSharedMatchMoreCerts()
                                                   throws Exception
        Throws:
        Exception
      • testUsesFeatureUnknownFeature

        public void testUsesFeatureUnknownFeature()
                                           throws Exception
        Unknown features should be allowed to install. This prevents older phones from rejecting new packages that specify features that didn't exist when an older phone existed. All older phones are assumed to have those features.

        Right now we allow all packages to be installed regardless of their features.

        Throws:
        Exception
      • testInstallNonexistentFile

        public void testInstallNonexistentFile()
                                        throws Exception
        Throws:
        Exception
      • testGetVerifierDeviceIdentity

        public void testGetVerifierDeviceIdentity()
                                           throws Exception
        Throws:
        Exception
      • testGetInstalledPackages

        public void testGetInstalledPackages()
                                      throws Exception
        Throws:
        Exception
      • testGetUnInstalledPackages

        public void testGetUnInstalledPackages()
                                        throws Exception
        Throws:
        Exception
      • testGetInstalledPackagesAll

        public void testGetInstalledPackagesAll()
                                         throws Exception
        Test that getInstalledPackages returns all the data specified in flags.
        Throws:
        Exception
      • testGetUnInstalledPackagesAll

        public void testGetUnInstalledPackagesAll()
                                           throws Exception
        Test that getInstalledPackages returns all the data specified in flags when the GET_UNINSTALLED_PACKAGES flag is set.
        Throws:
        Exception
      • testInstall_BadDex_CleanUp

        public void testInstall_BadDex_CleanUp()
                                        throws Exception
        Throws:
        Exception


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 626 / . Delta: 0.03539 с