Searched defs:packageName (Results 151 - 175 of 445) sorted by relevance

1234567891011>>

/frameworks/native/services/powermanager/
H A DIPowerManager.cpp39 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 DSettings.java118 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 DApplicationErrorReport.java98 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 DUiAutomationConnection.java239 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 DBackupTransport.java501 * @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 DRestoreSession.java204 * @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 DRestrictionsManager.java500 * @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 DPackageInfo.java31 public String packageName; field in class:PackageInfo
287 + " " + packageName + "}";
297 dest.writeString(packageName);
350 packageName = source.readString();
H A DPackageItemInfo.java53 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 DShortcutManager.java1058 public void onApplicationActive(@NonNull String packageName, @UserIdInt int userId) { argument
1060 mService.onApplicationActive(packageName, userId);
/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java507 * @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 DLogMaker.java130 /** @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 DNetworkScoreManager.java65 public static final String EXTRA_PACKAGE_NAME = "packageName";
320 public boolean setActiveScorer(String packageName) throws SecurityException { argument
322 return mService.setActiveScorer(packageName);
H A DVpnService.java184 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 DTtsEngines.java137 public EngineInfo getEngineInfo(String packageName) { argument
140 intent.setPackage(packageName);
283 engine.name = service.packageName;
/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java413 public String packageName; field in class:EditorInfo
524 pw.println(prefix + "packageName=" + packageName
549 dest.writeString(packageName);
578 res.packageName = source.readString();
H A DInputMethodInfo.java116 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 DSpellCheckerSubtype.java236 * @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 DToast.java370 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 DResolverListController.java140 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 DVpnConfig.java72 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 DSystemConfig.java218 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 DTextGraphReader.java55 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 DRestrictedLockUtils.java193 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 DUtils.java240 || 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);

Completed in 2930 milliseconds

1234567891011>>