HomeSort by relevance Sort by last modified time
    Searched refs:PackageInfo (Results 1 - 25 of 99) sorted by null

1 2 3 4

  /frameworks/base/core/java/android/content/pm/
PackageInfo.aidl 20 parcelable PackageInfo;
PackageInfo.java 26 public class PackageInfo implements Parcelable {
197 public PackageInfo() {
201 return "PackageInfo{"
238 public static final Parcelable.Creator<PackageInfo> CREATOR
239 = new Parcelable.Creator<PackageInfo>() {
240 public PackageInfo createFromParcel(Parcel source) {
241 return new PackageInfo(source);
244 public PackageInfo[] newArray(int size) {
245 return new PackageInfo[size];
249 private PackageInfo(Parcel source)
    [all...]
  /development/tools/apkcheck/src/com/android/apkcheck/
ApiList.java 26 private HashMap<String,PackageInfo> mPackageList;
36 mPackageList = new HashMap<String,PackageInfo>();
80 public PackageInfo getPackage(String name) {
88 public PackageInfo getOrCreatePackage(String name) {
89 PackageInfo pkgInfo = mPackageList.get(name);
91 pkgInfo = new PackageInfo(name);
100 public Iterator<PackageInfo> getPackageIterator() {
PackageInfo.java 25 public class PackageInfo {
29 public PackageInfo(String name) {
ApkCheck.java 230 Iterator<PackageInfo> pkgIter = pubList.getPackageIterator();
232 PackageInfo pubPkgInfo = pkgIter.next();
252 Iterator<PackageInfo> pkgIter = apkDescr.getPackageIterator();
254 PackageInfo apkPkgInfo = pkgIter.next();
255 PackageInfo pubPkgInfo = pubList.getPackage(apkPkgInfo.getName());
294 static boolean checkClass(PackageInfo pubPkgInfo, ClassInfo classInfo) {
363 static boolean isIgnorable(PackageInfo pkgInfo) {
393 Iterator<PackageInfo> iter = apiList.getPackageIterator();
395 PackageInfo pkgInfo = iter.next();
400 private static void dumpPackage(PackageInfo pkgInfo)
    [all...]
  /frameworks/base/core/java/com/android/internal/backup/
IBackupTransport.aidl 21 import android.content.pm.PackageInfo;
95 * @param packageInfo The identity of the application whose data is being backed up.
109 int performBackup(in PackageInfo packageInfo, in ParcelFileDescriptor inFd);
119 int clearBackupData(in PackageInfo packageInfo);
162 int startRestore(long token, in PackageInfo[] packages);
LocalTransport.java 24 import android.content.pm.PackageInfo;
61 private PackageInfo[] mRestorePackages = null;
93 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor data) {
94 if (DEBUG) Log.v(TAG, "performBackup() pkg=" + packageInfo.packageName);
96 File packageDir = new File(mDataDir, packageInfo.packageName);
165 public int clearBackupData(PackageInfo packageInfo) {
166 if (DEBUG) Log.v(TAG, "clearBackupData() pkg=" + packageInfo.packageName);
168 File packageDir = new File(mDataDir, packageInfo.packageName)
    [all...]
  /system/core/run-as/
package.h 33 } PackageInfo;
37 extern int get_package_info(const char* packageName, PackageInfo* info);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsMockPackageManager.java 20 import android.content.pm.PackageInfo;
38 private List<PackageInfo> mPackages;
73 public void setInstalledPackages(List<PackageInfo> packages) {
78 public List<PackageInfo> getInstalledPackages(int flags) {
83 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException {
84 for (PackageInfo info : mPackages) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
Version.java 20 import android.content.pm.PackageInfo;
34 static PackageInfo getPackageInfo(Context context) {
  /packages/apps/Calendar/src/com/android/calendar/
AboutPreferences.java 20 import android.content.pm.PackageInfo;
35 final PackageInfo packageInfo =
37 findPreference(BUILD_VERSION).setSummary(packageInfo.versionName);
  /external/doclava/src/com/google/doclava/apicheck/
ApiInfo.java 21 import com.google.doclava.PackageInfo;
28 private HashMap<String, PackageInfo> mPackages
29 = new HashMap<String, PackageInfo>();
59 for (PackageInfo pInfo : mPackages.values()) {
69 for (PackageInfo pInfo : otherApi.mPackages.values()) {
78 public HashMap<String, PackageInfo> getPackages() {
93 protected void addPackage(PackageInfo pInfo) {
  /development/apps/Development/src/com/android/development/
AppHwConfigList.java 24 import android.content.pm.PackageInfo;
69 PackageInfo app = mAdapter.appForPosition(position);
84 PackageInfo pkgInfo = null;
93 mList = new ArrayList<PackageInfo>();
103 public PackageInfo appForPosition(int position) {
134 private final void bindView(View view, PackageInfo info) {
141 protected List<PackageInfo> mList;
147 CharSequence sa = ((PackageInfo) a).applicationInfo.loadLabel(mPm);
148 CharSequence sb = ((PackageInfo) b).applicationInfo.loadLabel(mPm);
PermissionDetails.java 34 import android.content.pm.PackageInfo;
80 ArrayList<PackageInfo> appList = msg.getData().getParcelableArrayList(KEY_APPS_USING_PERM);
93 private List<PackageInfo> mList;
95 AppListAdapter(List<PackageInfo> list) {
111 public PackageInfo getPkg(int position) {
137 PackageInfo pInfo = mList.get(position);
143 private void createAppList(List<PackageInfo> list) {
145 for (PackageInfo pkg : list) {
158 List<PackageInfo> list = mPm.getInstalledPackages(PackageManager.GET_PERMISSIONS);
159 HashSet<PackageInfo> set = new HashSet<PackageInfo>()
    [all...]
  /packages/experimental/AndroidVendorSecurityTool/src/com/google/android/googlelogin/
GoogleAppsVerifier.java 20 import android.content.pm.PackageInfo;
69 PackageInfo packageInfo = packageManager.getPackageInfo(GOOGLEAPPS_PACKAGE_NAME,
72 if (packageInfo.services == null) {
76 int numServices = packageInfo.services.length;
78 String name = packageInfo.services[i].name;
110 PackageInfo packageInfo = packageManager.getPackageInfo(GOOGLEAPPS_PACKAGE_NAME,
113 if (packageInfo.signatures == null) {
118 int numSignatures = packageInfo.signatures.length
    [all...]
  /external/doclava/src/com/google/doclava/
PackageInfo.java 24 public class PackageInfo extends DocInfo implements ContainerInfo {
27 public static final Comparator<PackageInfo> comparator = new Comparator<PackageInfo>() {
28 public int compare(PackageInfo a, PackageInfo b) {
33 public PackageInfo(PackageDoc pkg, String name, SourcePositionInfo position) {
45 public PackageInfo(String name) {
51 public PackageInfo(String name, SourcePositionInfo position) {
270 public boolean isConsistent(PackageInfo pInfo) {
Stubs.java 120 HashMap<PackageInfo, List<ClassInfo>> packages = new HashMap<PackageInfo, List<ClassInfo>>();
280 PackageInfo pkg = cl.containingPackage();
297 && cl.containingPackage().name().equals(PackageInfo.DEFAULT_PACKAGE)) {
319 PackageInfo pkg = cl.containingPackage();
736 static void writeXML(PrintStream xmlWriter, HashMap<PackageInfo, List<ClassInfo>> allClasses,
739 Set<PackageInfo> allClassKeys = allClasses.keySet();
740 PackageInfo[] allPackages = allClassKeys.toArray(new PackageInfo[allClassKeys.size()]);
741 Arrays.sort(allPackages, PackageInfo.comparator)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
PackageManagerTests.java 308 if (expInstallLocation == PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL) {
317 if (expInstallLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY) {
323 if (expInstallLocation == PackageInfo.INSTALL_LOCATION_AUTO) {
459 false, -1, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
471 PackageInfo pkgInfo = null;
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageInfoTest.java 26 import android.content.pm.PackageInfo;
35 @TestTargetClass(PackageInfo.class)
38 private PackageInfo mPackageInfo;
39 private PackageInfo mPackageInfoCmp;
75 notes = "Test PackageInfo",
76 method = "PackageInfo",
82 new PackageInfo();
90 mPackageInfoCmp = PackageInfo.CREATOR.createFromParcel(p);
95 private void checkPkgInfoSame(PackageInfo expected, PackageInfo actual)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DebugSettings.java 20 import android.content.pm.PackageInfo;
73 PackageInfo info = getPackageManager().getPackageInfo(getPackageName(), 0);
DictionaryPackInstallBroadcastReceiver.java 22 import android.content.pm.PackageInfo;
54 final PackageInfo packageInfo;
56 packageInfo = manager.getPackageInfo(packageName, PackageManager.GET_PROVIDERS);
60 final ProviderInfo[] providers = packageInfo.providers;
  /frameworks/base/core/java/android/webkit/
PluginManager.java 27 import android.content.pm.PackageInfo;
73 private ArrayList<PackageInfo> mPackageInfoCache;
85 mPackageInfoCache = new ArrayList<PackageInfo>();
121 // clear the list of existing packageInfo objects
134 PackageInfo pkgInfo;
214 PackageInfo pkgInfo = pm.getPackageInfo(pluginAPKName, PackageManager.GET_PERMISSIONS
225 private static boolean containsPluginPermissionAndSignatures(PackageInfo pkgInfo) {
276 for (PackageInfo pkgInfo : mPackageInfoCache) {
  /cts/tests/tests/security/src/android/security/cts/
PackageSignatureTest.java 21 import android.content.pm.PackageInfo;
48 List<PackageInfo> allPackageInfos = packageManager.getInstalledPackages(
51 for (PackageInfo packageInfo : allPackageInfos) {
52 String packageName = packageInfo.packageName;
54 for (Signature signature : packageInfo.signatures) {
56 badPackages.add(packageInfo.packageName);
123 PackageInfo packageInfo = packageManager.getPackageInfo(packageName,
126 int numSignatures = packageInfo.signatures.length
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
SamplingProfilerIntegration.java 19 import android.content.pm.PackageInfo;
118 public static void writeSnapshot(final String processName, final PackageInfo packageInfo) {
137 writeSnapshotFile(processName, packageInfo);
160 * pass in PackageInfo to retrieve various values for snapshot header
162 private static void writeSnapshotFile(String processName, PackageInfo packageInfo) {
181 generateSnapshotHeader(name, packageInfo, out);
213 private static void generateSnapshotHeader(String processName, PackageInfo packageInfo,
    [all...]
  /frameworks/base/services/java/com/android/server/
PackageManagerBackupAgent.java 23 import android.content.pm.PackageInfo;
61 private List<PackageInfo> mAllPackages;
85 PackageManagerBackupAgent(PackageManager packageMgr, List<PackageInfo> packages) {
162 for (PackageInfo pkg : mAllPackages) {
168 PackageInfo info = null;
405 private void writeStateFile(List<PackageInfo> pkgs, ParcelFileDescriptor stateFile) {
416 for (PackageInfo pkg : pkgs) {

Completed in 1314 milliseconds

1 2 3 4