/cts/tests/tests/security/src/android/security/cts/ |
PackageSignatureTest.java | 52 String packageName = packageInfo.packageName; 53 if (packageName != null && !isWhitelistedPackage(packageName)) { 56 badPackages.add(packageInfo.packageName); 108 private boolean isWhitelistedPackage(String packageName) { 111 return packageName.startsWith("com.android.cts") 112 || WHITELISTED_PACKAGES.contains(packageName); 146 private void writeSignature(String packageName, String fileName) 149 PackageInfo packageInfo = packageManager.getPackageInfo(packageName, [all...] |
/external/javassist/src/main/javassist/ |
URLClassPath.java | 32 protected String packageName; 38 * class name starts with the name specified by <code>packageName</code>. 39 * If <code>packageName</code> is "org.javassist." and a requested class is 49 * <p>If <code>packageName</code> is <code>null</code>, the URL is used 57 * @param packageName package name. It must end with "." (dot). 60 String directory, String packageName) { 64 this.packageName = packageName; 87 if (packageName == null || classname.startsWith(packageName)) { [all...] |
/frameworks/base/core/jni/ |
android_app_backup_FullBackup.cpp | 46 * apps/packagename/a/Filename.apk - this is an actual application binary, which will be 49 * apps/packagename/obb/[relpath] - OBB containers belonging the app 50 * apps/packagename/r/[relpath] - these are files at the root of the app's data tree 51 * apps/packagename/f/[relpath] - this is a file within the app's getFilesDir() tree, stored 53 * apps/packagename/db/[relpath] - as with "files" but for the getDatabasePath() tree 54 * apps/packagename/sp/[relpath] - as with "files" but for the getSharedPrefsFile() tree 55 * apps/packagename/c/[relpath] - as with "files" but for the getCacheDir() tree 66 * packagename: the package name to use as the top level directory tag 84 String8 packageName(packagenamechars ? packagenamechars : ""); 110 return write_tarfile(packageName, domain, rootpath, path, writer) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
TestTargetPage.java | 204 String packageName = manifestData.getPackage(); 211 if (packageName == null) { 212 packageName = ""; //$NON-NLS-1$ 214 mLastExistingPackageName = packageName; 225 packageName += ".test"; //$NON-NLS-1$ 226 mValues.packageName = packageName; 250 * When using the "self-test" option, the packageName argument is ignored and the 253 * Otherwise the packageName is used if it is not null. 255 private void updateTestTargetPackageField(String packageName) { [all...] |
/frameworks/base/core/java/android/content/pm/ |
IPackageManager.aidl | 56 PackageInfo getPackageInfo(String packageName, int flags, int userId); 57 int getPackageUid(String packageName, int userId); 58 int[] getPackageGids(String packageName); 71 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); 89 void grantPermission(String packageName, String permissionName); 91 void revokePermission(String packageName, String permissionName); 199 * @param packageName The fully qualified name of the package to delete. 204 void deletePackageAsUser(in String packageName, IPackageDeleteObserver observer, 207 String getInstallerPackageName(in String packageName); 209 void addPackageToPreferred(String packageName); [all...] |
PackageInfoLite.java | 32 public String packageName; 57 + " " + packageName + "}"; 65 dest.writeString(packageName); 90 packageName = source.readString();
|
/frameworks/base/services/java/com/android/server/usb/ |
UsbSettingsManager.java | 363 public void onPackageAdded(String packageName, int uid) { 364 handlePackageUpdate(packageName); 368 public boolean onPackageChanged(String packageName, int uid, String[] components) { 369 handlePackageUpdate(packageName); 374 public void onPackageRemoved(String packageName, int uid) { 375 clearDefaults(packageName); 410 String packageName = null; 414 packageName = parser.getAttributeValue(i); 421 mDevicePreferenceMap.put(filter, packageName); 424 mAccessoryPreferenceMap.put(filter, packageName); [all...] |
UsbService.java | 163 public void setDevicePackage(UsbDevice device, String packageName, int userId) { 165 getSettingsForUser(userId).setDevicePackage(device, packageName); 169 public void setAccessoryPackage(UsbAccessory accessory, String packageName, int userId) { 171 getSettingsForUser(userId).setAccessoryPackage(accessory, packageName); 187 public void requestDevicePermission(UsbDevice device, String packageName, PendingIntent pi) { 189 getSettingsForUser(userId).requestPermission(device, packageName, pi); 194 UsbAccessory accessory, String packageName, PendingIntent pi) { 196 getSettingsForUser(userId).requestPermission(accessory, packageName, pi); 214 public boolean hasDefaults(String packageName, int userId) { 216 return getSettingsForUser(userId).hasDefaults(packageName); [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
AppRestrictionsFragment.java | 163 String packageName; 171 return packageName + ": appName=" + appName + "; activityName=" + activityName 363 String packageName = entry.getKey(); 367 ApplicationInfo info = ipm.getApplicationInfo(packageName, 0, userId); 369 ipm.installExistingPackageAsUser(packageName, mUser.getIdentifier()); 371 Log.d(TAG, "Installing " + packageName); 379 ApplicationInfo info = ipm.getApplicationInfo(packageName, 0, userId); 384 Log.d(TAG, "Uninstalling " + packageName); 393 private boolean isSystemPackage(String packageName) { 395 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0) [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
IUsbManager.aidl | 47 void setDevicePackage(in UsbDevice device, String packageName, int userId); 52 void setAccessoryPackage(in UsbAccessory accessory, String packageName, int userId); 64 void requestDevicePermission(in UsbDevice device, String packageName, in PendingIntent pi); 70 void requestAccessoryPermission(in UsbAccessory accessory, String packageName, 80 boolean hasDefaults(String packageName, int userId); 83 void clearDefaults(String packageName, int userId);
|
/frameworks/base/location/java/android/location/ |
ILocationManager.aidl | 41 in PendingIntent intent, String packageName); 42 void removeUpdates(in ILocationListener listener, in PendingIntent intent, String packageName); 45 in PendingIntent intent, String packageName); 46 void removeGeofence(in Geofence fence, in PendingIntent intent, String packageName); 48 Location getLastLocation(in LocationRequest request, String packageName); 50 boolean addGpsStatusListener(IGpsStatusListener listener, String packageName);
|
/frameworks/base/services/java/com/android/server/ |
AttributeCache.java | 78 public void removePackage(String packageName) { 80 mPackages.remove(packageName); 98 public Entry get(String packageName, int resId, int[] styleable, int userId) { 100 Package pkg = mPackages.get(packageName); 114 context = mContext.createPackageContextAsUser(packageName, 0, 123 mPackages.put(packageName, pkg);
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/ |
AccountTypeTest.java | 35 final String packageName = getTestContext().getPackageName(); 44 assertEquals(DEFAULT, AccountType.getResourceText(c, packageName, -1, DEFAULT)); 49 AccountType.getResourceText(c, packageName, externalResID, DEFAULT)); 62 final String packageName = getTestContext().getPackageName(); 69 resourcePackageName = packageName; 70 syncAdapterPackageName = packageName;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ApplicationInfo.java | 67 final String packageName = info.activityInfo.applicationInfo.packageName; 69 this.componentName = new ComponentName(packageName, info.activityInfo.name); 75 int appFlags = pm.getApplicationInfo(packageName, 0).flags; 83 firstInstallTime = pm.getPackageInfo(packageName, 0).firstInstallTime; 85 Log.d(TAG, "PackageManager.getApplicationInfo failed for " + packageName);
|
/cts/tests/tests/content/src/android/content/cts/ |
Intent_ShortcutIconResourceTest.java | 60 mShortcutIconResource.packageName); 73 assertEquals(mShortcutIconResource.packageName, target.packageName);
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageStatsTest.java | 35 assertEquals(PACKAGE_NAME, stats.packageName); 57 assertEquals(expected.packageName, actual.packageName);
|
/external/webkit/Source/WebCore/platform/android/ |
PackageNotifier.h | 49 void addPackageName(const String& packageName); 50 void removePackageName(const String& packageName); 53 bool isPackageInstalled(const String& packageName);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
TaskDescription.java | 29 final String packageName; // used to override animations (see onClick()) 46 packageName = _packageName; 56 packageName = null;
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerRegistry.cpp | 28 StringRef packageName) { 30 if (!checker.FullName.startswith(packageName)) 34 if (checker.FullName.size() == packageName.size()) 38 if (checker.FullName[packageName.size()] == PackageSeparator) 86 StringRef packageName, leafName; 87 llvm::tie(packageName, leafName) = name.rsplit(PackageSeparator); 89 Packages[packageName] += 1; 90 llvm::tie(packageName, leafName) = packageName.rsplit(PackageSeparator);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContextWrapper.java | 39 private String packageName; 97 return realContextWrapper == getApplicationContext() ? packageName : getApplicationContext().getPackageName(); 104 appInfo.packageName = packageName; 105 appInfo.processName = packageName; 213 * @param packageName the package name 215 public void setPackageName(String packageName) { 216 this.packageName = packageName;
|
/frameworks/native/libs/binder/ |
IAppOpsCallback.cpp | 40 virtual void opChanged(int32_t op, const String16& packageName) { 44 data.writeString16(packageName); 60 String16 packageName = data.readString16(); 61 opChanged(op, packageName);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccSmsInterfaceManagerProxy.java | 101 public int getPremiumSmsPermission(String packageName) { 102 return mIccSmsInterfaceManager.getPremiumSmsPermission(packageName); 106 public void setPremiumSmsPermission(String packageName, int permission) { 107 mIccSmsInterfaceManager.setPremiumSmsPermission(packageName, permission);
|
/packages/apps/Launcher2/res/xml/ |
update_workspace.xml | 22 launcher:packageName="com.android.dialer" 29 launcher:packageName="com.android.contacts" 36 launcher:packageName="com.android.mms" 43 launcher:packageName="com.android.browser"
|
/sdk/templates/activities/MasterDetailFlow/root/res/layout/ |
activity_content_list.xml.ftl | 4 android:name="${packageName}.${CollectionName}Fragment"
|
/sdk/templates/other/CustomView/ |
template.xml | 11 id="packageName"
|