/frameworks/base/services/java/com/android/server/am/ |
BroadcastFilter.java | 28 final String packageName; 37 packageName = _packageName;
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestGrouping.java | 116 for (String packageName : packageNames) { 117 List<Class<? extends TestCase>> addedClasses = testCaseClassesInPackage(packageName); 119 Log.w(LOG_TAG, "Invalid Package: '" + packageName 124 firstIncludedPackage = packageName; 138 for (String packageName : packageNames) { 139 testCaseClasses.removeAll(testCaseClassesInPackage(packageName)); 152 private List<Class<? extends TestCase>> testCaseClassesInPackage(String packageName) { 154 ClassPathPackageInfo packageInfo = source.getPackageInfo(packageName);
|
/packages/apps/Settings/src/com/android/settings/ |
WallpaperTypeSettings.java | 53 info.activityInfo.packageName, info.activityInfo.name)); 56 if (label == null) label = info.activityInfo.packageName;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PackageIntentReceiver.java | 36 String packageName = packageUri.getSchemeSpecificPart(); 41 ((ContactsProvider2)provider).onPackageChanged(packageName);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsMockResources.java | 30 public void addResource(int resId, String packageName, String typeName, String entryName) { 31 mPackages.put(resId, packageName);
|
/sdk/templates/activities/MasterDetailFlow/root/src/app_package/ |
ContentDetailFragment.java.ftl | 1 package ${packageName}; 10 import ${packageName}.dummy.DummyContent;
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
ObbBackupService.java | 56 public void backupObbs(String packageName, ParcelFileDescriptor data, 60 File obbDir = Environment.getExternalStorageAppObbDirectory(packageName); 76 FullBackup.backupToTar(packageName, FullBackup.OBB_TREE_TOKEN, null, 83 Log.w(TAG, "Exception backing up OBBs for " + packageName, e); 105 public void restoreObbFile(String packageName, ParcelFileDescriptor data, 109 File outFile = Environment.getExternalStorageAppObbDirectory(packageName);
|
/libcore/luni/src/main/java/java/net/ |
URLClassLoader.java | 161 Class<?> findClass(String packageName, String name, String origName) { 166 return createClass(is, packageName, origName); 174 Class<?> createClass(InputStream is, String packageName, String origName) { 184 if (packageName != null) { 185 String packageDotName = packageName.replace('/', '.'); 292 Class<?> findClass(String packageName, String name, String origName) { 303 return createClass(entry, manifest, packageName, origName); 309 if (packageName == null) { 312 urls = index.get(packageName); 319 Class<?> res = h.findClass(packageName, name, origName) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
LocalizedNameResolver.java | 71 return resolveAllContactsNameFromMetaData(context, auth.packageName); 82 private static String resolveAllContactsNameFromMetaData(Context context, String packageName) { 85 PackageInfo pi = pm.getPackageInfo(packageName, PackageManager.GET_SERVICES 91 return loadAllContactsNameFromXml(context, parser, packageName); 102 String packageName) { 140 resources = packageManager.getResourcesForApplication(packageName);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowIntent.java | 34 private String packageName; 61 packageName = other.packageName; 128 public Intent setPackage(String packageName) { 129 this.packageName = packageName; 135 return packageName; 150 public Intent setClassName(String packageName, String className) { 151 componentName = new ComponentName(packageName, className); 451 if (other.packageName != nul [all...] |
/frameworks/base/core/java/android/widget/ |
AppSecurityPermissions.java | 92 name = perm.packageName; 93 packageName = perm.packageName; 106 appInfo = pm.getApplicationInfo(packageName, 0); 152 boolean first, CharSequence newPermPrefix, String packageName, 157 mPackageName = packageName; 202 ApplicationInfo app = pm.getApplicationInfo(mPerm.packageName, 0); 205 appName = mPerm.packageName; 263 public AppSecurityPermissions(Context context, String packageName) { 265 mPackageName = packageName; [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
PackageManagerService.java | 433 public ArrayList<String> get(int userId, String packageName) { 435 return packages.get(packageName); 438 public void put(int userId, String packageName, ArrayList<String> components) { 440 packages.put(packageName, components); 443 public void remove(int userId, String packageName) { 446 packages.remove(packageName); 763 final String packageName = (String)msg.obj; 771 new PackageCleanItem(user, packageName, andCode)); 775 new PackageCleanItem(userId, packageName, andCode)); [all...] |
/frameworks/base/services/java/com/android/server/ |
LocationManagerService.java | 226 public void opChanged(int op, String packageName) { 276 String packageName = rInfo.serviceInfo.packageName; 282 pInfo = pm.getPackageInfo(packageName, PackageManager.GET_SIGNATURES); 284 Log.w(TAG, packageName + " resolves service " + FUSED_LOCATION_SERVICE_ACTION + 289 Log.e(TAG, "missing package: " + packageName); 295 Log.w(TAG, "Found fused provider without metadata: " + packageName); 306 if (D) Log.d(TAG, "Fallback candidate not in /system: " + packageName); 312 if (pm.checkSignatures(systemPackageName, packageName) 315 + packageName); [all...] |
AppWidgetService.java | 125 public int allocateAppWidgetId(String packageName, int hostId, int userId) 127 return getImplForUser(userId).allocateAppWidgetId(packageName, hostId); 158 String packageName, int appWidgetId, ComponentName provider, Bundle options, int userId) 161 packageName, appWidgetId, provider, options); 165 public boolean hasBindAppWidgetPermission(String packageName, int userId) 167 return getImplForUser(userId).hasBindAppWidgetPermission(packageName); 171 public void setBindAppWidgetPermission(String packageName, boolean permission, int userId) 173 getImplForUser(userId).setBindAppWidgetPermission(packageName, permission); 183 public int[] startListening(IAppWidgetHost host, String packageName, int hostId, 185 return getImplForUser(userId).startListening(host, packageName, hostId, updatedViews) [all...] |
AppWidgetServiceImpl.java | 113 String packageName; 359 pw.print(host.packageName); pw.print('/'); 371 pw.print(id.host.packageName); pw.print('/'); 442 public int allocateAppWidgetId(String packageName, int hostId) { 443 int callingUid = enforceSystemOrCallingUid(packageName); 451 Host host = lookupOrAddHostLocked(callingUid, packageName, hostId); 461 if (DBG) log("Allocating AppWidgetId for " + packageName + " host=" + hostId 646 String packageName, int appWidgetId, ComponentName provider, Bundle options) { 653 if (!callerHasBindAppWidgetPermission(packageName)) { 661 private boolean callerHasBindAppWidgetPermission(String packageName) { [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
WallpaperChooserDialogFragment.java | 200 final String packageName = resources.getResourcePackageName(R.array.wallpapers); 202 addWallpapers(resources, packageName, R.array.wallpapers); 203 addWallpapers(resources, packageName, R.array.extra_wallpapers); 206 private void addWallpapers(Resources resources, String packageName, int list) { 209 int res = resources.getIdentifier(extra, "drawable", packageName); 212 "drawable", packageName); 217 // Log.d(TAG, "add: [" + packageName + "]: " + extra + " (" + res + ")");
|
ItemInfo.java | 125 String packageName = intent.getPackage(); 126 if (packageName == null && intent.getComponent() != null) { 127 packageName = intent.getComponent().getPackageName(); 129 if (packageName != null) { 130 return packageName;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
InstallAppProgress.java | 99 mAppInfo.packageName); 210 public void packageInstalled(String packageName, int returnCode) { 222 PackageInfo pi = pm.getPackageInfo(mAppInfo.packageName, 230 Log.w(TAG, "Replacing package:" + mAppInfo.packageName); 267 pm.installExistingPackage(mAppInfo.packageName); 268 observer.packageInstalled(mAppInfo.packageName, 271 observer.packageInstalled(mAppInfo.packageName, 287 if (mAppInfo.packageName != null) { 288 Log.i(TAG, "Finished installing "+mAppInfo.packageName);
|
/cts/tools/signature-tools/src/signature/model/util/ |
TypePool.java | 55 public SigClassDefinition getClass(String packageName, String className) { 56 String key = packageName + "<>" + className; 59 clazz = new SigClassDefinition(packageName, className); 65 public IClassReference getClassReference(String packageName, 67 return new SigClassReference(getClass(packageName, className));
|
/frameworks/base/core/java/android/os/ |
Environment.java | 158 public File getExternalStorageAppDataDirectory(String packageName) { 159 return new File(mExternalStorageAndroidData, packageName); 162 public File getExternalStorageAppMediaDirectory(String packageName) { 163 return new File(mExternalStorageAndroidMedia, packageName); 166 public File getExternalStorageAppObbDirectory(String packageName) { 167 return new File(mExternalStorageAndroidObb, packageName); 170 public File getExternalStorageAppFilesDirectory(String packageName) { 171 return new File(new File(mExternalStorageAndroidData, packageName), "files"); 174 public File getExternalStorageAppCacheDirectory(String packageName) { 175 return new File(new File(mExternalStorageAndroidData, packageName), "cache") [all...] |
/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
InputMethodTest.java | 89 private static InputMethodInfo createDummyInputMethodInfo(String packageName, String name, 95 ai.packageName = packageName; 100 si.packageName = packageName;
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationsProvider.java | 157 public void onPackageModified(String packageName) { 158 postUpdatePackage(packageName); 231 private void postUpdatePackage(String packageName) { 234 msg.obj = packageName; 497 * @param packageName Name of package whose activities to update. 500 private synchronized void updateApplicationsList(String packageName) { 501 if (DBG) Log.d(TAG, "Updating database (packageName = " + packageName + ")..."); 517 removeApplications(packageName); 522 if (packageName != null) [all...] |
/external/icu4c/common/unicode/ |
ures.h | 137 * @param packageName The packageName and locale together point to an ICU udata object, 138 * as defined by <code> udata_open( packageName, "res", locale, err) </code> 139 * or equivalent. Typically, packageName will refer to a (.dat) file, or to 141 * pathname for packageName is deprecated. If NULL, ICU data will be used. 161 ures_open(const char* packageName, 169 * @param packageName The packageName and locale together point to an ICU udata object, 170 * as defined by <code> udata_open( packageName, "res", locale, err) </code> 171 * or equivalent. Typically, packageName will refer to a (.dat) file, or t [all...] |
/cts/tools/signature-tools/src/signature/converter/dex/ |
DexToSigConverter.java | 160 String packageName = getPackageName(dexName); 161 SigPackage aPackage = packageNameToPackage.get(packageName); 163 aPackage = convertPackage(packageName); 164 packageNameToPackage.put(packageName, aPackage); 250 * @param packageName 254 protected SigPackage convertPackage(String packageName) { 255 SigPackage sigPackage = new SigPackage(packageName); 292 String packageName = getPackageName(dexClass.getName()); 294 SigClassDefinition sigClass = factory.getClass(packageName, className); 737 String packageName = getPackageName(exTypeName) [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
AccessibilityTestRunner.java | 85 private void uninstallAndAssert(String packageName) throws DeviceNotAvailableException { 86 String errorMessage = getDevice().uninstallPackage(packageName); 87 TestCase.assertNull("Error uninstalling: " + packageName, errorMessage);
|