/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 123 boolean isPackageUpdating(String packageName) { in isPackageUpdating() 135 public void onPackageAdded(String packageName, int uid) { in onPackageAdded() 141 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() 148 public void onPackageRemovedAllUsers(String packageName, int uid) { in onPackageRemovedAllUsers() 151 public void onPackageUpdateStarted(String packageName, int uid) { in onPackageUpdateStarted() 154 public void onPackageUpdateFinished(String packageName, int uid) { in onPackageUpdateFinished() 157 public void onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged() 184 public void onPackageDisappeared(String packageName, int reason) { in onPackageDisappeared() 190 public void onPackageAppeared(String packageName, int reason) { in onPackageAppeared() 193 public void onPackageModified(String packageName) { in onPackageModified() [all …]
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 59 public PackageInfo getPackageInfo(String packageName, int flags) in getPackageInfo() 75 public Intent getLaunchIntentForPackage(String packageName) { in getLaunchIntentForPackage() 80 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() 108 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() 170 public void grantPermission(String packageName, String permissionName) { in grantPermission() 176 public void revokePermission(String packageName, String permissionName) { in revokePermission() 292 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() 318 public Drawable getApplicationIcon(String packageName) throws NameNotFoundException { in getApplicationIcon() 338 public Drawable getApplicationLogo(String packageName) throws NameNotFoundException { in getApplicationLogo() 343 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { in getText() [all …]
|
/frameworks/base/core/java/android/hardware/usb/ |
D | IUsbManager.aidl | 47 void setDevicePackage(in UsbDevice device, String packageName, int userId); in setDevicePackage() 52 void setAccessoryPackage(in UsbAccessory accessory, String packageName, int userId); in setAccessoryPackage() 64 void requestDevicePermission(in UsbDevice device, String packageName, in PendingIntent pi); in requestDevicePermission() 70 void requestAccessoryPermission(in UsbAccessory accessory, String packageName, in requestAccessoryPermission() 80 boolean hasDefaults(String packageName, int userId); in hasDefaults() 83 void clearDefaults(String packageName, int userId); in clearDefaults()
|
/frameworks/base/core/java/android/app/backup/ |
D | IBackupManager.aidl | 43 void dataChanged(String packageName); in dataChanged() 53 void clearBackupData(String packageName); in clearBackupData() 59 void agentConnected(String packageName, IBinder agent); in agentConnected() 65 void agentDisconnected(String packageName); in agentDisconnected() 71 void restoreAtInstall(String packageName, int token); in restoreAtInstall() 260 IRestoreSession beginRestoreSession(String packageName, String transportID); in beginRestoreSession()
|
/frameworks/base/core/java/android/os/ |
D | Environment.java | 152 public File getExternalStorageAppDataDirectory(String packageName) { in getExternalStorageAppDataDirectory() 156 public File getExternalStorageAppMediaDirectory(String packageName) { in getExternalStorageAppMediaDirectory() 160 public File getExternalStorageAppObbDirectory(String packageName) { in getExternalStorageAppObbDirectory() 164 public File getExternalStorageAppFilesDirectory(String packageName) { in getExternalStorageAppFilesDirectory() 168 public File getExternalStorageAppCacheDirectory(String packageName) { in getExternalStorageAppCacheDirectory() 480 public static File getExternalStorageAppDataDirectory(String packageName) { in getExternalStorageAppDataDirectory() 489 public static File getExternalStorageAppMediaDirectory(String packageName) { in getExternalStorageAppMediaDirectory() 498 public static File getExternalStorageAppObbDirectory(String packageName) { in getExternalStorageAppObbDirectory() 507 public static File getExternalStorageAppFilesDirectory(String packageName) { in getExternalStorageAppFilesDirectory() 516 public static File getExternalStorageAppCacheDirectory(String packageName) { in getExternalStorageAppCacheDirectory()
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 56 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() 57 int getPackageUid(String packageName, int userId); in getPackageUid() 58 int[] getPackageGids(String packageName); in getPackageGids() 71 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo() 89 void grantPermission(String packageName, String permissionName); in grantPermission() 91 void revokePermission(String packageName, String permissionName); in revokePermission() 194 void deletePackage(in String packageName, IPackageDeleteObserver observer, int flags); in deletePackage() 196 String getInstallerPackageName(in String packageName); in getInstallerPackageName() 198 void addPackageToPreferred(String packageName); in addPackageToPreferred() 200 void removePackageFromPreferred(String packageName); in removePackageFromPreferred() [all …]
|
D | VerifierInfo.java | 32 public final String packageName; field in VerifierInfo 46 public VerifierInfo(String packageName, PublicKey publicKey) { in VerifierInfo()
|
D | PackageManager.java | 1227 public abstract PackageInfo getPackageInfo(String packageName, int flags) in getPackageInfo() 1264 public abstract Intent getLaunchIntentForPackage(String packageName); in getLaunchIntentForPackage() 1279 public abstract int[] getPackageGids(String packageName) in getPackageGids() 1373 public abstract ApplicationInfo getApplicationInfo(String packageName, in getApplicationInfo() 1627 public abstract void grantPermission(String packageName, String permissionName); in grantPermission() 1637 public abstract void revokePermission(String packageName, String permissionName); in revokePermission() 2093 public abstract Drawable getDrawable(String packageName, int resid, in getDrawable() 2171 public abstract Drawable getApplicationIcon(String packageName) in getApplicationIcon() 2244 public abstract Drawable getApplicationLogo(String packageName) in getApplicationLogo() 2264 public abstract CharSequence getText(String packageName, int resid, in getText() [all …]
|
D | PackageCleanItem.java | 25 public final String packageName; field in PackageCleanItem 28 public PackageCleanItem(int userId, String packageName, boolean andCode) { in PackageCleanItem()
|
D | IPackageDataObserver.aidl | 27 void onRemoveCompleted(in String packageName, boolean succeeded); in onRemoveCompleted()
|
D | IPackageMoveObserver.aidl | 25 void packageMoved(in String packageName, int returnCode); in packageMoved()
|
D | IPackageInstallObserver.aidl | 25 void packageInstalled(in String packageName, int returnCode); in packageInstalled()
|
D | IPackageDeleteObserver.aidl | 26 void packageDeleted(in String packageName, in int returnCode); in packageDeleted()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 69 public PackageInfo getPackageInfo(String packageName, int flags) in getPackageInfo() 102 public Intent getLaunchIntentForPackage(String packageName) { in getLaunchIntentForPackage() 130 public int[] getPackageGids(String packageName) in getPackageGids() 199 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() 337 public void grantPermission(String packageName, String permissionName) { in grantPermission() 346 public void revokePermission(String packageName, String permissionName) { in revokePermission() 621 @Override public Drawable getDrawable(String packageName, int resid, in getDrawable() 697 @Override public Drawable getApplicationIcon(String packageName) in getApplicationIcon() 730 public Drawable getApplicationLogo(String packageName) in getApplicationLogo() 886 final String packageName; field in ApplicationPackageManager.ResourceName [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | CompatModePackages.java | 115 private int getPackageFlags(String packageName) { in getPackageFlags() 120 public void handlePackageAddedLocked(String packageName, boolean updated) { in handlePackageAddedLocked() 176 public boolean getPackageAskCompatModeLocked(String packageName) { in getPackageAskCompatModeLocked() 187 public void setPackageAskCompatModeLocked(String packageName, boolean ask) { in setPackageAskCompatModeLocked() 219 public int getPackageScreenCompatModeLocked(String packageName) { in getPackageScreenCompatModeLocked() 231 public void setPackageScreenCompatModeLocked(String packageName, int mode) { in setPackageScreenCompatModeLocked() 245 final String packageName = ai.packageName; in setPackageScreenCompatModeLocked() local
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetService.aidl | 33 int[] startListening(IAppWidgetHost host, String packageName, int hostId, in startListening() 35 int[] startListeningAsUser(IAppWidgetHost host, String packageName, int hostId, in startListeningAsUser() 39 int allocateAppWidgetId(String packageName, int hostId); in allocateAppWidgetId() 57 boolean hasBindAppWidgetPermission(in String packageName); in hasBindAppWidgetPermission() 58 void setBindAppWidgetPermission(in String packageName, in boolean permission); in setBindAppWidgetPermission() 61 in String packageName, int appWidgetId, in ComponentName provider, in Bundle options); in bindAppWidgetIdIfAllowed()
|
/frameworks/base/test-runner/src/android/test/ |
D | ClassPathPackageInfoSource.java | 75 private ClassPathPackageInfo createPackageInfo(String packageName) { in createPackageInfo() 107 private void findClasses(String packageName, Set<String> classNames, in findClasses() 136 private void scanForApkFiles(File source, String packageName, in scanForApkFiles() 139 findClassesInApk(source.getPath(), packageName, classNames, subpackageNames); in scanForApkFiles() local 206 private void findClassesInApk(String apkPath, String packageName, in findClassesInApk() 273 String packageName = entryName.substring(0, lastIndex + 1); in getJarEntries() local
|
D | ClassPathPackageInfo.java | 33 private final String packageName; field in ClassPathPackageInfo 37 ClassPathPackageInfo(ClassPathPackageInfoSource source, String packageName, in ClassPathPackageInfo()
|
/frameworks/base/services/java/com/android/server/usb/ |
D | UsbService.java | 163 public void setDevicePackage(UsbDevice device, String packageName, int userId) { in setDevicePackage() 169 public void setAccessoryPackage(UsbAccessory accessory, String packageName, int userId) { in setAccessoryPackage() 187 public void requestDevicePermission(UsbDevice device, String packageName, PendingIntent pi) { in requestDevicePermission() 194 UsbAccessory accessory, String packageName, PendingIntent pi) { in requestAccessoryPermission() 214 public boolean hasDefaults(String packageName, int userId) { in hasDefaults() 220 public void clearDefaults(String packageName, int userId) { in clearDefaults()
|
D | UsbSettingsManager.java | 362 public void onPackageAdded(String packageName, int uid) { in onPackageAdded() 367 public void onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged() 372 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() 408 String packageName = null; in readPreference() local 762 private boolean clearCompatibleMatchesLocked(String packageName, DeviceFilter filter) { in clearCompatibleMatchesLocked() 773 private boolean clearCompatibleMatchesLocked(String packageName, AccessoryFilter filter) { in clearCompatibleMatchesLocked() 784 private boolean handlePackageUpdateLocked(String packageName, ActivityInfo aInfo, in handlePackageUpdateLocked() 820 private void handlePackageUpdate(String packageName) { in handlePackageUpdate() 885 private void requestPermissionDialog(Intent intent, String packageName, PendingIntent pi) { in requestPermissionDialog() 915 public void requestPermission(UsbDevice device, String packageName, PendingIntent pi) { in requestPermission() [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | AuthenticatorDescription.java | 45 final public String packageName; field in AuthenticatorDescription 51 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, in AuthenticatorDescription() 64 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, in AuthenticatorDescription()
|
/frameworks/base/services/java/com/android/server/ |
D | AppWidgetService.java | 145 public int allocateAppWidgetId(String packageName, int hostId) throws RemoteException { in allocateAppWidgetId() 179 String packageName, int appWidgetId, ComponentName provider, Bundle options) in bindAppWidgetIdIfAllowed() 186 public boolean hasBindAppWidgetPermission(String packageName) throws RemoteException { in hasBindAppWidgetPermission() 192 public void setBindAppWidgetPermission(String packageName, boolean permission) in setBindAppWidgetPermission() 211 public int[] startListening(IAppWidgetHost host, String packageName, int hostId, in startListening() 218 public int[] startListeningAsUser(IAppWidgetHost host, String packageName, int hostId, in startListeningAsUser()
|
D | ServiceWatcher.java | 121 String packageName = rInfo.serviceInfo.packageName; in bindBestPackageLocked() local 172 private void bindToPackageLocked(String packageName, int version) { in bindToPackageLocked() 250 String packageName = name.getPackageName(); in onServiceConnected() local 266 String packageName = name.getPackageName(); in onServiceDisconnected() local
|
/frameworks/base/location/java/android/location/ |
D | ILocationManager.aidl | 41 in PendingIntent intent, String packageName); in requestLocationUpdates() 42 void removeUpdates(in ILocationListener listener, in PendingIntent intent, String packageName); in removeUpdates() 45 in PendingIntent intent, String packageName); in requestGeofence() 46 void removeGeofence(in Geofence fence, in PendingIntent intent, String packageName); in removeGeofence() 48 Location getLastLocation(in LocationRequest request, String packageName); in getLastLocation()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 90 String packageName = mArgs.getString(PACKAGE_TO_LAUNCH); in testAppStability() local 124 private Collection<ProcessErrorStateInfo> launchActivity(String packageName) { in launchActivity()
|