Home
last modified time | relevance | path

Searched defs:packageName (Results 1 – 25 of 160) sorted by relevance

1234567

/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java123 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/
DMockPackageManager.java59 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/
DIUsbManager.aidl47 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/
DIBackupManager.aidl43 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/
DEnvironment.java152 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/
DIPackageManager.aidl56 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 …]
DVerifierInfo.java32 public final String packageName; field in VerifierInfo
46 public VerifierInfo(String packageName, PublicKey publicKey) { in VerifierInfo()
DPackageManager.java1227 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 …]
DPackageCleanItem.java25 public final String packageName; field in PackageCleanItem
28 public PackageCleanItem(int userId, String packageName, boolean andCode) { in PackageCleanItem()
DIPackageDataObserver.aidl27 void onRemoveCompleted(in String packageName, boolean succeeded); in onRemoveCompleted()
DIPackageMoveObserver.aidl25 void packageMoved(in String packageName, int returnCode); in packageMoved()
DIPackageInstallObserver.aidl25 void packageInstalled(in String packageName, int returnCode); in packageInstalled()
DIPackageDeleteObserver.aidl26 void packageDeleted(in String packageName, in int returnCode); in packageDeleted()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java69 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/
DCompatModePackages.java115 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/
DIAppWidgetService.aidl33 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/
DClassPathPackageInfoSource.java75 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
DClassPathPackageInfo.java33 private final String packageName; field in ClassPathPackageInfo
37 ClassPathPackageInfo(ClassPathPackageInfoSource source, String packageName, in ClassPathPackageInfo()
/frameworks/base/services/java/com/android/server/usb/
DUsbService.java163 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()
DUsbSettingsManager.java362 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/
DAuthenticatorDescription.java45 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/
DAppWidgetService.java145 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()
DServiceWatcher.java121 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/
DILocationManager.aidl41 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/
DAppCompatibility.java90 String packageName = mArgs.getString(PACKAGE_TO_LAUNCH); in testAppStability() local
124 private Collection<ProcessErrorStateInfo> launchActivity(String packageName) { in launchActivity()

1234567