/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | RankingConfig.java | 19 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 D | INotificationSideChannel.aidl | 31 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 D | NotificationCompatSideChannelService.java | 61 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 D | IPackageDataObserver.aidl | 27 void onRemoveCompleted(in String packageName, boolean succeeded);
|
H A D | IPackageInstallObserver.aidl | 25 void packageInstalled(in String packageName, int returnCode);
|
H A D | IPackageMoveObserver.aidl | 25 void packageMoved(in String packageName, int returnCode);
|
H A D | VerifierInfo.java | 32 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 D | PackageCleanItem.java | 25 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 D | IPackageDeleteObserver.aidl | 26 void packageDeleted(in String packageName, in int returnCode);
|
H A D | IPackageDeleteObserver2.aidl | 24 void onPackageDeleted(String packageName, int returnCode, String msg);
|
H A D | IOnAppsChangedListener.aidl | 25 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 D | IAppOpsCallback.aidl | 22 void opChanged(int op, String packageName);
|
H A D | IAppOpsService.aidl | 26 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 D | IRestrictionsManager.aidl | 28 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 D | IConsumerIrService.aidl | 23 void transmit(String packageName, int carrierFrequency, in int[] pattern);
|
/frameworks/base/core/java/com/android/server/ |
H A D | WidgetBackupProvider.java | 30 public byte[] getWidgetState(String packageName, int userId); argument 32 public void restoreWidgetState(String packageName, byte[] restoredState, int userId); argument
|
H A D | AppWidgetBackupBridge.java | 40 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 D | PersistentPreferredIntentResolver.java | 31 protected boolean isPackageForFilter(String packageName, PersistentPreferredActivity filter) { argument 32 return packageName.equals(filter.mComponent.getPackageName());
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ClassPathPackageInfo.java | 33 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 D | RecentsPackageMonitor.java | 35 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 D | 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/tests/Compatibility/src/com/android/compatibilitytest/ |
H A D | AppCompatibility.java | 97 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 D | LocationRequestStatistics.java | 23 * @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 D | NetworkScorerAppManager.java | 67 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 D | AuthenticatorDescription.java | 45 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...] |