Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c178d2ea authored by TYM Tsai's avatar TYM Tsai
Browse files

Move interfaces to framework internal

Move interfaces under pasring/pkg/ and pkg/parsing/ to
the framework internal path.

Bug: 309596860
Test: build pass and boot to home
Test: atest PackageManagerServiceServerTests
Test: atest PackageManagerComponentOverrideTests
Test: atest PermissionServiceMockingTests
Test: atest PackageManagerServiceUnitTests
Change-Id: I7bc4eae1c9feaca725f9b8bc4e11764d978ef6c6
parent abf72bd8
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.server.pm.parsing.pkg;
package com.android.internal.pm.parsing.pkg;

import android.annotation.Nullable;
import android.content.pm.ApplicationInfo;
@@ -22,16 +22,18 @@ import android.content.pm.PackageInfo;

/**
 * Methods that normal consumers should not have access to. This usually means the field is stateful
 * or deprecated and should be access through {@link AndroidPackageUtils} or a system manager
 * class.
 * or deprecated and should be access through
 * {@link com.android.server.pm.parsing.pkg.AndroidPackageUtils} or a system manager class.
 * <p>
 * This is a separate interface, not implemented by the base {@link AndroidPackage} because Java
 * doesn't support non-public interface methods. The class must be cast to this interface.
 * <p>
 * Because they exist in different packages, some methods are duplicated from
 * android.content.pm.parsing.ParsingPackageHidden.
 * @hide
 */
interface AndroidPackageHidden {
// TODO: remove public after moved PackageImpl and AndroidPackageUtils
public interface AndroidPackageHidden {

    /**
     * @see ApplicationInfo#primaryCpuAbi
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.server.pm.parsing.pkg;
package com.android.internal.pm.parsing.pkg;

import android.annotation.NonNull;

+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.server.pm.parsing.pkg;
package com.android.internal.pm.parsing.pkg;

import android.content.pm.SigningDetails;

+2 −2
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.server.pm.pkg.parsing;
package com.android.internal.pm.pkg.parsing;

import android.annotation.CallSuper;
import android.annotation.NonNull;
@@ -32,6 +32,7 @@ import android.util.SparseArray;
import android.util.SparseIntArray;

import com.android.internal.R;
import com.android.internal.pm.parsing.pkg.ParsedPackage;
import com.android.internal.pm.pkg.component.ParsedActivity;
import com.android.internal.pm.pkg.component.ParsedApexSystemService;
import com.android.internal.pm.pkg.component.ParsedAttribution;
@@ -43,7 +44,6 @@ import com.android.internal.pm.pkg.component.ParsedProcess;
import com.android.internal.pm.pkg.component.ParsedProvider;
import com.android.internal.pm.pkg.component.ParsedService;
import com.android.internal.pm.pkg.component.ParsedUsesPermission;
import com.android.server.pm.parsing.pkg.ParsedPackage;

import java.security.PublicKey;
import java.util.List;
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.server.pm.pkg.parsing;
package com.android.internal.pm.pkg.parsing;

import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
Loading