Home
last modified time | relevance | path

Searched refs:KeySet (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DKeySet.java29 public class KeySet implements Parcelable { class
34 public KeySet(IBinder token) { in KeySet() method in KeySet
49 if (o instanceof KeySet) { in equals()
50 KeySet ks = (KeySet) o; in equals()
66 public static final @android.annotation.NonNull Parcelable.Creator<KeySet> CREATOR
67 = new Parcelable.Creator<KeySet>() {
74 public KeySet createFromParcel(Parcel source) {
81 public KeySet[] newArray(int size) {
82 return new KeySet[size];
89 private static KeySet readFromParcel(Parcel in) { in readFromParcel()
[all …]
DKeySet.aidl19 parcelable KeySet;
DIPackageManager.aidl38 import android.content.pm.KeySet;
678 KeySet getKeySetByAlias(String packageName, String alias); in getKeySetByAlias()
679 KeySet getSigningKeySet(String packageName); in getSigningKeySet()
680 boolean isPackageSignedByKeySet(String packageName, in KeySet ks); in isPackageSignedByKeySet()
681 boolean isPackageSignedByKeySetExactly(String packageName, in KeySet ks); in isPackageSignedByKeySetExactly()
DPackageManager.java6442 public abstract KeySet getKeySetByAlias(@NonNull String packageName, @NonNull String alias); in getKeySetByAlias()
6449 public abstract KeySet getSigningKeySet(@NonNull String packageName); in getSigningKeySet()
6459 public abstract boolean isSignedBy(@NonNull String packageName, @NonNull KeySet ks); in isSignedBy()
6468 public abstract boolean isSignedByExactly(@NonNull String packageName, @NonNull KeySet ks); in isSignedByExactly()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java17 import android.content.pm.KeySet;
863 public KeySet getKeySetByAlias(String packageName, String alias) { in getKeySetByAlias()
868 public KeySet getSigningKeySet(String packageName) { in getSigningKeySet()
873 public boolean isSignedBy(String packageName, KeySet ks) { in isSignedBy()
878 public boolean isSignedByExactly(String packageName, KeySet ks) { in isSignedByExactly()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java35 import android.content.pm.KeySet;
822 public KeySet getKeySetByAlias(String packageName, String alias) { in getKeySetByAlias()
827 public KeySet getSigningKeySet(String packageName) { in getSigningKeySet()
832 public boolean isSignedBy(String packageName, KeySet ks) { in isSignedBy()
837 public boolean isSignedByExactly(String packageName, KeySet ks) { in isSignedByExactly()
/frameworks/base/core/java/android/util/
DMapCollections.java34 KeySet mKeySet;
269 final class KeySet implements Set<K> { class in MapCollections
540 mKeySet = new KeySet(); in getKeySet()
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java35 import android.content.pm.KeySet;
956 public KeySet getKeySetByAlias(String packageName, String alias) { in getKeySetByAlias()
962 public KeySet getSigningKeySet(String packageName) { in getSigningKeySet()
968 public boolean isSignedBy(String packageName, KeySet ks) { in isSignedBy()
974 public boolean isSignedByExactly(String packageName, KeySet ks) { in isSignedByExactly()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java2227 KeySet ks; in testGetSigningKeySet()
2259 KeySet ks; in testGetKeySetByAlias()
2305 KeySet mSigningKS = pm.getSigningKeySet(mPkgName); in testIsSignedBy()
2306 KeySet mDefinedKS = pm.getKeySetByAlias(mPkgName, "A"); in testIsSignedBy()
2328 assertFalse(pm.isSignedBy(mPkgName, new KeySet(new Binder()))); in testIsSignedBy()
2354 KeySet mSigningKS = pm.getSigningKeySet(mPkgName); in testIsSignedByExactly()
2355 KeySet mDefinedKS = pm.getKeySetByAlias(mPkgName, "A"); in testIsSignedByExactly()
2376 assertFalse(pm.isSignedByExactly(mPkgName, new KeySet(new Binder()))); in testIsSignedByExactly()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java46 import android.content.pm.KeySet;
2620 public KeySet getKeySetByAlias(String packageName, String alias) { in getKeySetByAlias()
2632 public KeySet getSigningKeySet(String packageName) { in getSigningKeySet()
2643 public boolean isSignedBy(String packageName, KeySet ks) { in isSignedBy()
2655 public boolean isSignedByExactly(String packageName, KeySet ks) { in isSignedByExactly()
/frameworks/base/config/
Dpreloaded-classes3656 android.util.MapCollections$KeySet
6521 java.util.EnumMap$KeySet
6546 java.util.HashMap$KeySet
6558 java.util.Hashtable$KeySet
6566 java.util.IdentityHashMap$KeySet
6673 java.util.TreeMap$KeySet
6696 java.util.WeakHashMap$KeySet
6772 java.util.concurrent.ConcurrentSkipListMap$KeySet
Dboot-image-profile.txt15589 HSPLandroid/util/MapCollections$KeySet;->contains(Ljava/lang/Object;)Z
15590 HSPLandroid/util/MapCollections$KeySet;->containsAll(Ljava/util/Collection;)Z
15591 HSPLandroid/util/MapCollections$KeySet;->equals(Ljava/lang/Object;)Z
15592 HSPLandroid/util/MapCollections$KeySet;->isEmpty()Z
15593 HSPLandroid/util/MapCollections$KeySet;->iterator()Ljava/util/Iterator;
15594 HSPLandroid/util/MapCollections$KeySet;->size()I
15595 HSPLandroid/util/MapCollections$KeySet;->toArray()[Ljava/lang/Object;
15596 HSPLandroid/util/MapCollections$KeySet;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
28761 HSPLjava/util/EnumMap$KeySet;->contains(Ljava/lang/Object;)Z
28762 HSPLjava/util/EnumMap$KeySet;->iterator()Ljava/util/Iterator;
[all …]
Dhiddenapi-greylist-max-o.txt3963 …nPackageManager;->getKeySetByAlias(Ljava/lang/String;Ljava/lang/String;)Landroid/content/pm/KeySet;
3977 …oid/app/ApplicationPackageManager;->getSigningKeySet(Ljava/lang/String;)Landroid/content/pm/KeySet;
3997 Landroid/app/ApplicationPackageManager;->isSignedBy(Ljava/lang/String;Landroid/content/pm/KeySet;)Z
3998 …d/app/ApplicationPackageManager;->isSignedByExactly(Ljava/lang/String;Landroid/content/pm/KeySet;)Z
15483 …ager$Stub$Proxy;->getKeySetByAlias(Ljava/lang/String;Ljava/lang/String;)Landroid/content/pm/KeySet;
15508 …ent/pm/IPackageManager$Stub$Proxy;->getSigningKeySet(Ljava/lang/String;)Landroid/content/pm/KeySet;
15529 …PackageManager$Stub$Proxy;->isPackageSignedByKeySet(Ljava/lang/String;Landroid/content/pm/KeySet;)Z
15530 …Manager$Stub$Proxy;->isPackageSignedByKeySetExactly(Ljava/lang/String;Landroid/content/pm/KeySet;)Z
15842 …IPackageManager;->getKeySetByAlias(Ljava/lang/String;Ljava/lang/String;)Landroid/content/pm/KeySet;
15856 …ndroid/content/pm/IPackageManager;->getSigningKeySet(Ljava/lang/String;)Landroid/content/pm/KeySet;
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java161 import android.content.pm.KeySet;
23877 public KeySet getKeySetByAlias(String packageName, String alias) {
23893 return new KeySet(ksms.getKeySetByAliasAndPackageNameLPr(packageName, alias));
23898 public KeySet getSigningKeySet(String packageName) {
23922 return new KeySet(ksms.getSigningKeySetByPackageNameLPr(packageName));
23927 public boolean isPackageSignedByKeySet(String packageName, KeySet ks) {
23953 public boolean isPackageSignedByKeySetExactly(String packageName, KeySet ks) {