Searched refs:packageName (Results 1 - 25 of 982) sorted by relevance

1234567891011>>

/frameworks/base/services/backup/java/com/android/server/backup/params/
H A DClearRetryParams.java21 public String packageName; field in class:ClearRetryParams
23 public ClearRetryParams(String transportName, String packageName) { argument
25 this.packageName = packageName;
/frameworks/base/services/backup/java/com/android/server/backup/internal/
H A DBackupRequest.java24 public String packageName; field in class:BackupRequest
27 packageName = pkgName;
31 return "BackupRequest{pkg=" + packageName + "}";
/frameworks/base/core/java/android/os/storage/
H A DStorageManagerInternal.java34 * @param packageName The package in the UID for making the call.
42 public int getMountMode(int uid, String packageName); argument
48 * @param packageName The package in the UID for making the call.
53 public boolean hasExternalStorage(int uid, String packageName); argument
69 * @param packageName The package in the UID for making the call.
71 public abstract void onExternalStoragePolicyChanged(int uid, String packageName); argument
78 * @param packageName The package in the UID for making the call.
81 public abstract int getExternalStorageMountMode(int uid, String packageName); argument
/frameworks/base/core/java/android/content/pm/
H A DIShortcutService.aidl28 boolean setDynamicShortcuts(String packageName, in ParceledListSlice shortcutInfoList,
31 ParceledListSlice getDynamicShortcuts(String packageName, int userId);
33 ParceledListSlice getManifestShortcuts(String packageName, int userId);
35 boolean addDynamicShortcuts(String packageName, in ParceledListSlice shortcutInfoList,
38 void removeDynamicShortcuts(String packageName, in List shortcutIds, int userId);
40 void removeAllDynamicShortcuts(String packageName, int userId);
42 ParceledListSlice getPinnedShortcuts(String packageName, int userId);
44 boolean updateShortcuts(String packageName, in ParceledListSlice shortcuts, int userId);
46 boolean requestPinShortcut(String packageName, in ShortcutInfo shortcut,
49 Intent createShortcutResultIntent(String packageName, i
[all...]
H A DIPackageDataObserver.aidl27 void onRemoveCompleted(in String packageName, boolean succeeded);
H A DVerifierInfo.java32 public final String packageName; field in class:VerifierInfo
40 * @param packageName the package name in Java-style. Must not be {@code
46 public VerifierInfo(String packageName, PublicKey publicKey) { argument
47 if (packageName == null || packageName.length() == 0) {
48 throw new IllegalArgumentException("packageName must not be null or empty");
53 this.packageName = packageName;
58 packageName = source.readString();
69 dest.writeString(packageName);
[all...]
H A DPackageCleanItem.java25 public final String packageName; field in class:PackageCleanItem
28 public PackageCleanItem(int userId, String packageName, boolean andCode) { argument
30 this.packageName = packageName;
42 return userId == other.userId && packageName.equals(other.packageName)
54 result = 31 * result + packageName.hashCode();
65 dest.writeString(packageName);
82 packageName = source.readString();
/frameworks/support/compat/src/main/aidl/android/support/v4/app/
H A DINotificationSideChannel.aidl31 void notify(String packageName, int id, String tag, in Notification notification);
36 void cancel(String packageName, int id, String tag);
41 void cancelAll(String packageName);
/frameworks/base/core/java/android/content/pm/permission/
H A DIRuntimePermissionPresenter.aidl27 void getAppPermissions(String packageName, in RemoteCallback callback);
28 void revokeRuntimePermission(String packageName, String permissionName);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
H A DPackagesChangedEvent.java30 public final String packageName; field in class:PackagesChangedEvent
33 public PackagesChangedEvent(String packageName, int userId) { argument
34 this.packageName = packageName;
/frameworks/native/libs/binder/aidl/android/content/pm/
H A DIPackageManagerNative.aidl48 @utf8InCpp String getInstallerForPackage(in String packageName);
55 long getVersionCodeForPackage(in String packageName);
/frameworks/base/media/java/android/media/session/
H A DISessionCallback.aidl29 void onCommand(String packageName, int pid, int uid, ISessionControllerCallback caller,
31 void onMediaButton(String packageName, int pid, int uid, in Intent mediaButtonIntent,
33 void onMediaButtonFromController(String packageName, int pid, int uid,
37 void onPrepare(String packageName, int pid, int uid, ISessionControllerCallback caller);
38 void onPrepareFromMediaId(String packageName, int pid, int uid,
40 void onPrepareFromSearch(String packageName, int pid, int uid,
42 void onPrepareFromUri(String packageName, int pid, int uid, ISessionControllerCallback caller,
44 void onPlay(String packageName, int pid, int uid, ISessionControllerCallback caller);
45 void onPlayFromMediaId(String packageName, int pid, int uid, ISessionControllerCallback caller,
47 void onPlayFromSearch(String packageName, in
[all...]
H A DISessionController.aidl39 void sendCommand(String packageName, ISessionControllerCallback caller,
41 boolean sendMediaButton(String packageName, ISessionControllerCallback caller,
43 void registerCallbackListener(String packageName, ISessionControllerCallback cb);
51 void adjustVolume(String packageName, ISessionControllerCallback caller,
53 void setVolumeTo(String packageName, ISessionControllerCallback caller,
57 void prepare(String packageName, ISessionControllerCallback caller);
58 void prepareFromMediaId(String packageName, ISessionControllerCallback caller,
60 void prepareFromSearch(String packageName, ISessionControllerCallback caller,
62 void prepareFromUri(String packageName, ISessionControllerCallback caller,
64 void play(String packageName, ISessionControllerCallbac
[all...]
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationCompatSideChannelService.java62 public abstract void notify(String packageName, int id, String tag, Notification notification); argument
67 public abstract void cancel(String packageName, int id, String tag); argument
72 public abstract void cancelAll(String packageName); argument
79 public void notify(String packageName, int id, String tag, Notification notification) argument
81 checkPermission(getCallingUid(), packageName);
84 NotificationCompatSideChannelService.this.notify(packageName, id, tag, notification);
91 public void cancel(String packageName, int id, String tag) throws RemoteException { argument
92 checkPermission(getCallingUid(), packageName);
95 NotificationCompatSideChannelService.this.cancel(packageName, id, tag);
102 public void cancelAll(String packageName) { argument
113 checkPermission(int callingUid, String packageName) argument
[all...]
/frameworks/base/core/java/android/content/om/
H A DIOverlayManager.aidl58 * @param packageName The name of the overlay package.
63 OverlayInfo getOverlayInfo(in String packageName, in int userId);
83 * @param packageName The name of the overlay package.
88 boolean setEnabled(in String packageName, in boolean enable, in int userId);
96 * @param packageName the name of the overlay package to enable.
101 boolean setEnabledExclusive(in String packageName, in boolean enable, in int userId);
109 * @param packageName the name of the overlay package to enable.
113 boolean setEnabledExclusiveInCategory(in String packageName, in int userId);
122 * @param packageName The name of the overlay package whose priority should
128 boolean setPriority(in String packageName, i
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DIntentFilterVerificationKey.java27 public String packageName; field in class:IntentFilterVerificationKey
30 public IntentFilterVerificationKey(String[] domains, String packageName, String className) { argument
36 this.packageName = packageName;
50 if (packageName != null ? !packageName.equals(that.packageName) : that.packageName != null)
59 result = 31 * result + (packageName != null ? packageName
[all...]
H A DProtectedPackages.java73 private synchronized boolean hasDeviceOwnerOrProfileOwner(int userId, String packageName) { argument
74 if (packageName == null) {
79 && (packageName.equals(mDeviceOwnerPackage))) {
84 if (packageName.equals(mProfileOwnerPackages.get(userId))) {
104 private synchronized boolean isProtectedPackage(String packageName) { argument
105 return packageName != null && packageName.equals(mDeviceProvisioningPackage);
114 public boolean isPackageStateProtected(@UserIdInt int userId, String packageName) { argument
115 return hasDeviceOwnerOrProfileOwner(userId, packageName)
116 || isProtectedPackage(packageName);
123 isPackageDataProtected(@serIdInt int userId, String packageName) argument
[all...]
/frameworks/base/core/java/android/app/usage/
H A DUsageStatsManagerInternal.java47 * @param packageName The package for which this event occurred.
52 public abstract void reportEvent(String packageName, @UserIdInt int userId, int eventType); argument
64 * @param packageName The package name of the app that posted the notification
68 public abstract void reportInterruptiveNotification(String packageName, String channelId, argument
74 * @param packageName The package name of the shortcut publisher
80 public abstract void reportShortcutUsage(String packageName, String shortcutId, argument
101 * @param packageName
106 public abstract boolean isAppIdle(String packageName, int uidForAppId, @UserIdInt int userId); argument
112 * @param packageName
118 @StandbyBuckets public abstract int getAppStandbyBucket(String packageName, argument
151 onAppIdleStateChanged(String packageName, @UserIdInt int userId, boolean idle, int bucket, int reason) argument
164 onUserInteractionStarted(String packageName, @UserIdInt int userId) argument
186 onActiveAdminAdded(String packageName, int userId) argument
220 setLastJobRunTime(String packageName, @UserIdInt int userId, long elapsedRealtime) argument
232 getTimeSinceLastJobRun(String packageName, @UserIdInt int userId) argument
244 reportAppJobState(String packageName, @UserIdInt int userId, int numDeferredJobs, long timeSinceLastJobRun) argument
253 reportExemptedSyncScheduled(String packageName, @UserIdInt int userId) argument
261 reportExemptedSyncStart(String packageName, @UserIdInt int userId) argument
[all...]
/frameworks/base/core/java/android/content/
H A DIRestrictionsManager.aidl28 Bundle getApplicationRestrictions(in String packageName);
30 void requestPermission(in String packageName, in String requestType, in String requestId,
32 void notifyPermissionResponse(in String packageName, in PersistableBundle response);
/frameworks/base/services/core/java/com/android/server/timezone/
H A DPackageManagerHelper.java29 long getInstalledPackageVersion(String packageName) argument
32 boolean isPrivilegedApp(String packageName) throws PackageManager.NameNotFoundException; argument
34 boolean usesPermission(String packageName, String requiredPermissionName) argument
/frameworks/base/core/java/android/os/
H A DIPermissionController.aidl23 int noteOp(String op, int uid, String packageName);
26 int getPackageUid(String packageName, int flags);
H A DIStatsManager.aidl83 byte[] getData(in long key, in String packageName);
90 byte[] getMetadata(in String packageName);
100 void addConfiguration(in long configKey, in byte[] config, in String packageName);
109 void setDataFetchOperation(long configKey, in IBinder intentSender, in String packageName);
116 void removeDataFetchOperation(long configKey, in String packageName);
124 void removeConfiguration(in long configKey, in String packageName);
145 in String packageName);
154 void unsetBroadcastSubscriber(long configKey, long subscriberId, in String packageName);
/frameworks/base/services/core/java/com/android/server/am/
H A DPendingRemoteAnimationRegistry.java46 void addPendingAnimation(String packageName, RemoteAnimationAdapter adapter) { argument
47 mEntries.put(packageName, new Entry(packageName, adapter));
70 final String packageName; field in class:PendingRemoteAnimationRegistry.Entry
73 Entry(String packageName, RemoteAnimationAdapter adapter) { argument
74 this.packageName = packageName;
78 final Entry entry = mEntries.get(packageName);
80 mEntries.remove(packageName);
/frameworks/base/services/core/java/com/android/server/utils/
H A DAppInstallerUtil.java30 .setClassName(result.activityInfo.packageName, result.activityInfo.name) : null;
34 * Returns the package name of the app which installed a given packageName, if available.
36 public static String getInstallerPackageName(Context context, String packageName) { argument
40 context.getPackageManager().getInstallerPackageName(packageName);
42 Log.e(LOG_TAG, "Exception while retrieving the package installer of " + packageName, e);
54 String packageName) {
58 result.putExtra(Intent.EXTRA_PACKAGE_NAME, packageName);
68 public static Intent createIntent(Context context, String packageName) { argument
69 String installerPackageName = getInstallerPackageName(context, packageName);
70 return createIntent(context, installerPackageName, packageName);
53 createIntent(Context context, String installerPackageName, String packageName) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DIAppOpsService.aidl27 int checkOperation(int code, int uid, String packageName);
28 int noteOperation(int code, int uid, String packageName);
29 int startOperation(IBinder token, int code, int uid, String packageName,
31 void finishOperation(IBinder token, int code, int uid, String packageName);
32 void startWatchingMode(int op, String packageName, IAppOpsCallback callback);
40 int checkPackage(int uid, String packageName);
42 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops);
45 void setMode(int code, int uid, String packageName, int mode);
47 int checkAudioOperation(int code, int usage, int uid, String packageName);
56 boolean isOperationActive(int code, int uid, String packageName);
[all...]

Completed in 452 milliseconds

1234567891011>>