/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...] |
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/ |
MockPackageManager.java | 78 ResolveInfo packageInfo = new ResolveInfo() { 86 packageInfo.activityInfo = new ActivityInfo(); 87 packageInfo.activityInfo.name = componentName.getClassName(); 88 packageInfo.activityInfo.applicationInfo = new ApplicationInfo(); 89 packageInfo.activityInfo.applicationInfo.packageName = componentName.getPackageName(); 91 mPackages.add(packageInfo);
|
/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);
|
/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...] |
/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...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
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;
|
/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...] |
/external/doclava/src/com/google/doclava/ |
LinkReference.java | 41 /** The {@link PackageInfo} if any. */ 42 public PackageInfo packageInfo; 50 /** The name of the referenced member PackageInfo} if any. */ 257 result.packageInfo = Converter.obtainPackage(ref); 312 + (result.packageInfo != null ? result.packageInfo.name() : "") + "/class=" 347 } else if (result.packageInfo != null) { 348 result.href = result.packageInfo.htmlPage(); 350 result.href = result.packageInfo.htmlPage() [all...] |
DoclavaDiff.java | 113 PackageInfo packageInfo = new PackageInfo(pkg); 122 data.setValue(siteBase + ".link", site.linkFor(packageInfo.htmlPage())); 196 Map<String, PackageInfo> packages = site.apiInfo().getPackages(); 213 PackageInfo packageInfo = site.apiInfo().getPackages().get(pkg); 214 if (packageInfo == null) { 217 HashMap<String, ClassInfo> classes = packageInfo.allClasses();
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsMockPackageManager.java | 22 import android.content.pm.PackageInfo; 41 private List<PackageInfo> mPackages; 76 public void setInstalledPackages(List<PackageInfo> packages) { 81 public List<PackageInfo> getInstalledPackages(int flags) { 86 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { 87 for (PackageInfo info : mPackages) { 104 for (PackageInfo packageInfo : mPackages) { 105 if (packageInfo.providers == null) continue; 106 for (ProviderInfo providerInfo : packageInfo.providers) [all...] |
/packages/apps/Settings/src/com/android/settings/net/ |
UidDetailProvider.java | 21 import android.content.pm.PackageInfo; 98 final PackageInfo packageInfo = pm.getPackageInfo(packageName, 0); 102 if (packageInfo.sharedUserLabel != 0) { 103 detail.label = pm.getText(packageName, packageInfo.sharedUserLabel, 104 packageInfo.applicationInfo).toString();
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactDirectoryManager.java | 27 import android.content.pm.PackageInfo; 260 final PackageInfo packageInfo; 262 packageInfo = mPackageManager.getPackageInfo(packageName, 264 if (packageInfo == null) continue; // Just in case... 269 List<DirectoryInfo> directories = updateDirectoriesForPackage(packageInfo, true); 329 PackageInfo packageInfo = null; 332 packageInfo = mPackageManager.getPackageInfo(packageName, 336 packageInfo = new PackageInfo() [all...] |
/development/apps/Development/src/com/android/development/ |
PackageBrowser.java | 26 import android.content.pm.PackageInfo; 47 PackageInfo info; 60 List<PackageInfo> pkgs = context.getPackageManager().getInstalledPackages(0); 143 final MyPackageInfo packageInfo = mAdapter.itemForPosition(curSelection); 144 if (packageInfo != null) { 145 getPackageManager().deletePackage(packageInfo.info.packageName, 158 final String dataPath = packageInfo.info.applicationInfo.dataDir;
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerRegistry.cpp | 46 CheckerRegistry::CheckerInfo packageInfo(NULL, opt.getName(), ""); 49 std::lower_bound(checkers.begin(), e, packageInfo, checkerNameLT);
|
/frameworks/base/core/java/android/app/ |
ActivityThread.java | 236 LoadedApk packageInfo; [all...] |
ContextImpl.java | [all...] |
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestGrouping.java | 154 ClassPathPackageInfo packageInfo = source.getPackageInfo(packageName); 156 return selectTestClasses(packageInfo.getTopLevelClassesRecursive());
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
ExternalAccountType.java | 25 import android.content.pm.PackageInfo; 190 PackageInfo packageInfo = pm.getPackageInfo(resPackageName, 192 for (ServiceInfo serviceInfo : packageInfo.services) {
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
DexToSigConverter.java | 185 IClassDefinition packageInfo = findPackageInfo(aPackage); 186 if (packageInfo != null) { 187 aPackage.setAnnotations(packageInfo.getAnnotations()); 188 aPackage.getClasses().remove(packageInfo); [all...] |
/frameworks/base/core/java/android/content/pm/ |
RegisteredServicesCache.java | 242 PackageInfo packageInfo = 244 if ((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
|
/frameworks/base/services/java/com/android/server/ |
BackupManagerService.java | 47 import android.content.pm.PackageInfo; 266 public PackageInfo pkgInfo; 272 long _token, PackageInfo _pkg, int _pmToken, boolean _needFullBackup) { 307 public PackageInfo packageInfo; 309 ClearParams(IBackupTransport _transport, PackageInfo _info) { 311 packageInfo = _info; 551 (new PerformClearTask(params.transport, params.packageInfo)).run(); [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManagerTest.java | 32 import android.content.pm.PackageInfo; 381 PackageInfo packageInfo = mPackageManager.getPackageInfo(PACKAGE_NAME, 383 assertEquals(PACKAGE_NAME, packageInfo.packageName); [all...] |
/frameworks/base/core/java/android/accounts/ |
AccountManagerService.java | 32 import android.content.pm.PackageInfo; [all...] |