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

1234567891011>>

/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingConfig.java19 int getPackagePriority(String packageName, int uid); argument
21 void setPackagePriority(String packageName, int uid, int priority); argument
23 int getPackageVisibilityOverride(String packageName, int uid); argument
25 void setPackageVisibilityOverride(String packageName, int uid, int visibility); argument
/frameworks/support/v4/java/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);
H A DNotificationCompatSideChannelService.java61 public abstract void notify(String packageName, int id, String tag, Notification notification); argument
66 public abstract void cancel(String packageName, int id, String tag); argument
71 public abstract void cancelAll(String packageName); argument
75 public void notify(String packageName, int id, String tag, Notification notification) argument
77 checkPermission(getCallingUid(), packageName);
80 NotificationCompatSideChannelService.this.notify(packageName, id, tag, notification);
87 public void cancel(String packageName, int id, String tag) throws RemoteException { argument
88 checkPermission(getCallingUid(), packageName);
91 NotificationCompatSideChannelService.this.cancel(packageName, id, tag);
98 public void cancelAll(String packageName) { argument
109 checkPermission(int callingUid, String packageName) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DIPackageDataObserver.aidl27 void onRemoveCompleted(in String packageName, boolean succeeded);
H A DIPackageInstallObserver.aidl25 void packageInstalled(in String packageName, int returnCode);
H A DIPackageMoveObserver.aidl25 void packageMoved(in String packageName, int returnCode);
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();
H A DIPackageDeleteObserver.aidl26 void packageDeleted(in String packageName, in int returnCode);
H A DIPackageDeleteObserver2.aidl24 void onPackageDeleted(String packageName, int returnCode, String msg);
H A DIOnAppsChangedListener.aidl25 void onPackageRemoved(in UserHandle user, String packageName);
26 void onPackageAdded(in UserHandle user, String packageName);
27 void onPackageChanged(in UserHandle user, String packageName);
/frameworks/base/core/java/com/android/internal/app/
H A DIAppOpsCallback.aidl22 void opChanged(int op, String packageName);
H A DIAppOpsService.aidl26 int checkOperation(int code, int uid, String packageName);
27 int noteOperation(int code, int uid, String packageName);
28 int startOperation(IBinder token, int code, int uid, String packageName);
29 void finishOperation(IBinder token, int code, int uid, String packageName);
30 void startWatchingMode(int op, String packageName, IAppOpsCallback callback);
35 int checkPackage(int uid, String packageName);
37 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops);
38 void setMode(int code, int uid, String packageName, int mode);
40 int checkAudioOperation(int code, int usage, int uid, String packageName);
/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/core/java/android/hardware/
H A DIConsumerIrService.aidl23 void transmit(String packageName, int carrierFrequency, in int[] pattern);
/frameworks/base/core/java/com/android/server/
H A DWidgetBackupProvider.java30 public byte[] getWidgetState(String packageName, int userId); argument
32 public void restoreWidgetState(String packageName, byte[] restoredState, int userId); argument
H A DAppWidgetBackupBridge.java40 public static byte[] getWidgetState(String packageName, int userId) { argument
42 ? sAppWidgetService.getWidgetState(packageName, userId)
52 public static void restoreWidgetState(String packageName, byte[] restoredState, int userId) { argument
54 sAppWidgetService.restoreWidgetState(packageName, restoredState, userId);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPersistentPreferredIntentResolver.java31 protected boolean isPackageForFilter(String packageName, PersistentPreferredActivity filter) { argument
32 return packageName.equals(filter.mComponent.getPackageName());
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfo.java33 private final String packageName; field in class:ClassPathPackageInfo
37 ClassPathPackageInfo(ClassPathPackageInfoSource source, String packageName, argument
40 this.packageName = packageName;
70 return (this.packageName).equals(that.packageName);
77 return packageName.hashCode();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsPackageMonitor.java35 public void onPackagesChanged(RecentsPackageMonitor monitor, String packageName, argument
68 public void onPackageRemoved(String packageName, int uid) { argument
73 mCb.onPackagesChanged(this, packageName, eventUserId);
77 public boolean onPackageChanged(String packageName, int uid, String[] components) { argument
78 onPackageModified(packageName);
83 public void onPackageModified(String packageName) { argument
88 mCb.onPackagesChanged(this, packageName, eventUserId);
96 String packageName, int userId) {
106 if (cn.getPackageName().equals(packageName)) {
95 computeComponentsRemoved(List<Task.TaskKey> taskKeys, String packageName, int userId) argument
/frameworks/base/core/java/android/hardware/usb/
H A DIUsbManager.aidl47 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/tests/Compatibility/src/com/android/compatibilitytest/
H A DAppCompatibility.java97 String packageName = mArgs.getString(PACKAGE_TO_LAUNCH);
98 if (packageName != null) {
99 Log.d(TAG, "Launching app " + packageName);
100 ProcessErrorStateInfo err = launchActivity(packageName);
105 assertTrue("App crashed after launch.", processStillUp(packageName));
129 * @param packageName name of the package
132 private String getProcessName(String packageName) { argument
134 PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0);
137 return packageName;
144 * @param packageName {
149 launchActivity(String packageName) argument
207 processStillUp(String packageName) argument
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationRequestStatistics.java23 * @param packageName Name of package that has requested locations.
27 public void startRequesting(String packageName, String providerName, long intervalMs) { argument
28 PackageProviderKey key = new PackageProviderKey(packageName, providerName);
40 * @param packageName Name of package that has stopped requesting locations.
43 public void stopRequesting(String packageName, String providerName) { argument
44 PackageProviderKey key = new PackageProviderKey(packageName, providerName);
61 public final String packageName; field in class:LocationRequestStatistics.PackageProviderKey
67 public PackageProviderKey(String packageName, String providerName) { argument
68 this.packageName = packageName;
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkScorerAppManager.java67 public NetworkScorerAppData(String packageName, CharSequence scorerName, argument
70 mPackageName = packageName;
106 if (pm.checkPermission(permission.SCORE_NETWORKS, receiverInfo.packageName) !=
116 intent.setPackage(receiverInfo.packageName);
127 scorers.add(new NetworkScorerAppData(receiverInfo.packageName,
153 * @param packageName the packageName of the new scorer to use. If null, scoring will be
157 public static boolean setActiveScorer(Context context, String packageName) { argument
160 if (TextUtils.equals(oldPackageName, packageName)) {
165 Log.i(TAG, "Changing network scorer from " + oldPackageName + " to " + packageName);
204 getScorer(Context context, String packageName) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DAuthenticatorDescription.java45 final public String packageName; field in class:AuthenticatorDescription
51 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
54 if (packageName == null) throw new IllegalArgumentException("packageName cannot be null");
56 this.packageName = packageName;
64 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
66 this(type, packageName, labelId, iconId, smallIconId, prefId, false);
81 this.packageName = null;
91 this.packageName
[all...]

Completed in 1302 milliseconds

1234567891011>>