/frameworks/native/services/powermanager/ |
H A D | IPowerManager.cpp | 39 const String16& packageName, bool isOneWay) 47 data.writeString16(packageName); 55 const String16& packageName, int uid, bool isOneWay) 63 data.writeString16(packageName); 38 acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag, const String16& packageName, bool isOneWay) argument 54 acquireWakeLockWithUid(int flags, const sp<IBinder>& lock, const String16& tag, const String16& packageName, int uid, bool isOneWay) argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/ |
H A D | Settings.java | 118 public Customizations(Resources resources, String packageName) { argument 120 mPackageName = packageName; 137 String packageName = null; 139 packageName = info.activityInfo.packageName; 140 if (DEBUG) Log.v(TAG, "got package " + packageName); 141 if (packageName != null && isSystemApp(info)) try { 142 resources = pm.getResourcesForApplication(packageName); 147 if (DEBUG) Log.v(TAG, "found customization package: " + packageName); 151 return resources == null ? null : new Customizations(resources, packageName); [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ApplicationErrorReport.java | 98 public String packageName; field in class:ApplicationErrorReport 161 String packageName, int appFlags) { 176 candidate = pm.getInstallerPackageName(packageName); 182 result = getErrorReportReceiver(pm, packageName, candidate); 192 result = getErrorReportReceiver(pm, packageName, candidate); 200 return getErrorReportReceiver(pm, packageName, candidate); 234 dest.writeString(packageName); 261 packageName = in.readString(); 680 pw.println(prefix + "packageName: " + packageName); 160 getErrorReportReceiver(Context context, String packageName, int appFlags) argument [all...] |
H A D | UiAutomationConnection.java | 239 public void grantRuntimePermission(String packageName, String permission, int userId) argument 248 mPackageManager.grantRuntimePermission(packageName, permission, userId); 255 public void revokeRuntimePermission(String packageName, String permission, int userId) argument 264 mPackageManager.revokeRuntimePermission(packageName, permission, userId);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupTransport.java | 501 * @param packageName ID of package to provide the quota. 506 public long getBackupQuota(String packageName, boolean isFullBackup) { argument 693 public long getBackupQuota(String packageName, boolean isFullBackup) { argument 694 return BackupTransport.this.getBackupQuota(packageName, isFullBackup);
|
H A D | RestoreSession.java | 204 * @param packageName The name of the package whose data to restore. If this is 213 public int restorePackage(String packageName, RestoreObserver observer, argument 225 err = mBinder.restorePackage(packageName, mObserver, monitorWrapper); 242 * @param packageName The name of the package whose data to restore. If this is 248 public int restorePackage(String packageName, RestoreObserver observer) { argument 249 return restorePackage(packageName, observer, null);
|
/frameworks/base/core/java/android/content/ |
H A D | RestrictionsManager.java | 500 * @param packageName the application to deliver the response to. Cannot be null. 506 public void notifyPermissionResponse(String packageName, PersistableBundle response) { argument 507 if (packageName == null) { 508 throw new NullPointerException("packageName cannot be null"); 521 mService.notifyPermissionResponse(packageName, response); 532 * @param packageName The application for which to fetch the restrictions list. 536 public List<RestrictionEntry> getManifestRestrictions(String packageName) { argument 539 appInfo = mContext.getPackageManager().getApplicationInfo(packageName, 542 throw new IllegalArgumentException("No such package " + packageName); 550 return loadManifestRestrictions(packageName, xm 553 loadManifestRestrictions(String packageName, XmlResourceParser xml) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInfo.java | 31 public String packageName; field in class:PackageInfo 287 + " " + packageName + "}"; 297 dest.writeString(packageName); 350 packageName = source.readString();
|
H A D | PackageItemInfo.java | 53 public String packageName; field in class:PackageItemInfo 108 packageName = orig.packageName; 135 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo()); 143 return packageName; 193 return packageName; 248 Drawable dr = pm.getDrawable(packageName, banner, getApplicationInfo()); 299 Drawable d = pm.getDrawable(packageName, logo, getApplicationInfo()); 339 return pm.getXml(packageName, resid, getApplicationInfo()); 364 pw.println(prefix + "packageName [all...] |
H A D | ShortcutManager.java | 1058 public void onApplicationActive(@NonNull String packageName, @UserIdInt int userId) { argument 1060 mService.onApplicationActive(packageName, userId);
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbManager.java | 507 * @param packageName of package to grant permissions 511 public void grantPermission(UsbDevice device, String packageName) { argument 514 .getPackageUidAsUser(packageName, mContext.getUserId()); 517 Log.e(TAG, "Package " + packageName + " not found.", e);
|
/frameworks/base/core/java/android/metrics/ |
H A D | LogMaker.java | 130 /** @param packageName to replace the existing setting. */ 131 public LogMaker setPackageName(String packageName) { argument 132 entries.put(MetricsEvent.RESERVED_FOR_LOGBUILDER_PACKAGENAME, packageName);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkScoreManager.java | 65 public static final String EXTRA_PACKAGE_NAME = "packageName"; 320 public boolean setActiveScorer(String packageName) throws SecurityException { argument 322 return mService.setActiveScorer(packageName);
|
H A D | VpnService.java | 184 String packageName = context.getPackageName(); 188 if (!cm.prepareVpn(packageName, null, userId)) { 189 cm.prepareVpn(null, packageName, userId); 191 cm.setVpnPackageAuthorization(packageName, userId, true); 604 private void verifyApp(String packageName) throws PackageManager.NameNotFoundException { argument 608 pm.getApplicationInfo(packageName, 0, UserHandle.getCallingUserId()); 626 * {@code packageName} must be the canonical name of a currently installed application. 631 * @param packageName The full name (e.g.: "com.google.apps.contacts") of an application. 635 public Builder addAllowedApplication(String packageName) argument 640 verifyApp(packageName); 667 addDisallowedApplication(String packageName) argument [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | TtsEngines.java | 137 public EngineInfo getEngineInfo(String packageName) { argument 140 intent.setPackage(packageName); 283 engine.name = service.packageName;
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | EditorInfo.java | 413 public String packageName; field in class:EditorInfo 524 pw.println(prefix + "packageName=" + packageName 549 dest.writeString(packageName); 578 res.packageName = source.readString();
|
H A D | InputMethodInfo.java | 116 return new ComponentName(si.packageName, si.name).flattenToShortString(); 231 "Unable to create context for: " + si.packageName); 273 public InputMethodInfo(String packageName, String className, argument 275 this(buildDummyResolveInfo(packageName, className, label), false /* isAuxIme */, 300 mId = new ComponentName(si.packageName, si.name).flattenToShortString(); 309 private static ResolveInfo buildDummyResolveInfo(String packageName, String className, argument 314 ai.packageName = packageName; 318 si.packageName = packageName; [all...] |
/frameworks/base/core/java/android/view/textservice/ |
H A D | SpellCheckerSubtype.java | 236 * @param packageName The package name of the spell checker 245 Context context, String packageName, ApplicationInfo appInfo) { 252 packageName, mSubtypeNameResId, appInfo); 244 getDisplayName( Context context, String packageName, ApplicationInfo appInfo) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | Toast.java | 370 TN(String packageName, @Nullable Looper looper) { argument 384 mPackageName = packageName; 462 String packageName = mView.getContext().getOpPackageName(); 482 mParams.packageName = packageName;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverListController.java | 140 newInfo.activityInfo.packageName, newInfo.activityInfo.name); 260 return ai.packageName.equals(b.name.getPackageName()) 286 public void updateChooserCounts(String packageName, int userId, String action) { argument 288 mResolverComparator.updateChooserCounts(packageName, userId, action);
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | VpnConfig.java | 72 public static CharSequence getVpnLabel(Context context, String packageName) argument 76 intent.setPackage(packageName); 83 return pm.getApplicationInfo(packageName, 0).loadLabel(pm);
|
/frameworks/base/core/java/com/android/server/ |
H A D | SystemConfig.java | 218 public ArraySet<String> getPrivAppPermissions(String packageName) { argument 219 return mPrivAppPermissions.get(packageName); 646 String packageName = parser.getAttributeValue(null, "package"); 647 if (TextUtils.isEmpty(packageName)) { 653 ArraySet<String> permissions = mPrivAppPermissions.get(packageName); 670 mPrivAppPermissions.put(packageName, permissions);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | TextGraphReader.java | 55 public ImportPackageCommand(String packageName) { argument 56 mPackageName = packageName; 234 String packageName = scanner.eat(packageNamePattern, "<package-name>"); 235 mCommands.add(new ImportPackageCommand(packageName));
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockUtils.java | 193 String packageName, int userId) { 206 if (ipm.getBlockUninstallForUser(packageName, userId)) { 221 public static EnforcedAdmin checkIfApplicationIsSuspended(Context context, String packageName, argument 225 if (ipm.isPackageSuspendedForUser(packageName, userId)) { 235 String packageName, int userId) { 245 packageName, userId); 252 packageName, managedProfileId); 288 String packageName, int userId) { 298 packageName, userId); 305 profileAdmin.component, packageName, managedProfileI 192 checkIfUninstallBlocked(Context context, String packageName, int userId) argument 234 checkIfInputMethodDisallowed(Context context, String packageName, int userId) argument 287 checkIfAccessibilityServiceDisallowed(Context context, String packageName, int userId) argument [all...] |
H A D | Utils.java | 240 || pkg.packageName.equals(sPermissionControllerPackageName) 241 || pkg.packageName.equals(sServicesSystemSharedLibPackageName) 242 || pkg.packageName.equals(sSharedSystemSharedLibPackageName) 243 || pkg.packageName.equals(PrintManager.PRINT_SPOOLER_PACKAGE_NAME) 244 || isDeviceProvisioningPackage(resources, pkg.packageName); 267 public static boolean isDeviceProvisioningPackage(Resources resources, String packageName) { argument 270 return deviceProvisioningPackage != null && deviceProvisioningPackage.equals(packageName);
|