/frameworks/base/core/java/android/content/pm/ |
D | IShortcutService.aidl | 29 boolean setDynamicShortcuts(String packageName, in ParceledListSlice shortcutInfoList, in setDynamicShortcuts() 32 ParceledListSlice getDynamicShortcuts(String packageName, int userId); in getDynamicShortcuts() 34 ParceledListSlice getManifestShortcuts(String packageName, int userId); in getManifestShortcuts() 36 boolean addDynamicShortcuts(String packageName, in ParceledListSlice shortcutInfoList, in addDynamicShortcuts() 39 void removeDynamicShortcuts(String packageName, in List shortcutIds, int userId); in removeDynamicShortcuts() 41 void removeAllDynamicShortcuts(String packageName, int userId); in removeAllDynamicShortcuts() 43 ParceledListSlice getPinnedShortcuts(String packageName, int userId); in getPinnedShortcuts() 45 boolean updateShortcuts(String packageName, in ParceledListSlice shortcuts, int userId); in updateShortcuts() 47 boolean requestPinShortcut(String packageName, in ShortcutInfo shortcut, in requestPinShortcut() 50 Intent createShortcutResultIntent(String packageName, in ShortcutInfo shortcut, int userId); in createShortcutResultIntent() [all …]
|
D | IPackageManager.aidl | 65 void checkPackageStartable(String packageName, int userId); in checkPackageStartable() 67 boolean isPackageAvailable(String packageName, int userId); in isPackageAvailable() 69 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() 73 int getPackageUid(String packageName, int flags, int userId); in getPackageUid() 74 int[] getPackageGids(String packageName, int flags, int userId); in getPackageGids() 81 PermissionInfo getPermissionInfo(String name, String packageName, int flags); in getPermissionInfo() 91 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo() 120 void grantRuntimePermission(String packageName, String permissionName, int userId); in grantRuntimePermission() 122 void revokeRuntimePermission(String packageName, String permissionName, int userId); in revokeRuntimePermission() 126 int getPermissionFlags(String permissionName, String packageName, int userId); in getPermissionFlags() [all …]
|
D | PackageManagerInternal.java | 82 void onPackageAdded(@NonNull String packageName, int uid); in onPackageAdded() 84 default void onPackageChanged(@NonNull String packageName, int uid) {} in onPackageChanged() 86 void onPackageRemoved(@NonNull String packageName, int uid); in onPackageRemoved() 165 boolean setDefaultBrowser(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowser() 173 void setDefaultBrowserAsync(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowserAsync() 214 void setDefaultHomeAsync(@Nullable String packageName, @UserIdInt int userId, in setDefaultHomeAsync() 254 public void onDefaultSmsAppChanged(String packageName, int userId) {} in onDefaultSmsAppChanged() 262 public void onDefaultSimCallManagerAppChanged(String packageName, int userId) {} in onDefaultSimCallManagerAppChanged() 269 public abstract void grantDefaultPermissionsToDefaultUseOpenWifiApp(String packageName, in grantDefaultPermissionsToDefaultUseOpenWifiApp() 286 public abstract boolean isPermissionsReviewRequired(String packageName, int userId); in isPermissionsReviewRequired() [all …]
|
D | ILauncherApps.aidl | 46 String callingPackage, String packageName, in UserHandle user); in getLauncherActivities() 58 boolean isPackageEnabled(String callingPackage, String packageName, in UserHandle user); in isPackageEnabled() 59 Bundle getSuspendedPackageLauncherExtras(String packageName, in UserHandle user); in getSuspendedPackageLauncherExtras() 63 String callingPackage, String packageName, int flags, in UserHandle user); in getApplicationInfo() 65 LauncherApps.AppUsageLimit getAppUsageLimit(String callingPackage, String packageName, in getAppUsageLimit() 68 ParceledListSlice getShortcuts(String callingPackage, long changedSince, String packageName, in getShortcuts() 70 void pinShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in pinShortcuts() 72 boolean startShortcut(String callingPackage, String packageName, String id, in startShortcut() 75 int getShortcutIconResId(String callingPackage, String packageName, String id, in getShortcutIconResId() 77 ParcelFileDescriptor getShortcutIconFd(String callingPackage, String packageName, String id, in getShortcutIconFd() [all …]
|
/frameworks/base/media/java/android/media/session/ |
D | ISessionController.aidl | 39 void sendCommand(String packageName, in ISessionControllerCallback caller, in sendCommand() 41 boolean sendMediaButton(String packageName, in ISessionControllerCallback caller, in sendMediaButton() 43 void registerCallback(String packageName, in ISessionControllerCallback cb); in registerCallback() 51 void adjustVolume(String packageName, String opPackageName, in adjustVolume() 53 void setVolumeTo(String packageName, String opPackageName, in ISessionControllerCallback caller, in setVolumeTo() 57 void prepare(String packageName, in ISessionControllerCallback caller); in prepare() 58 void prepareFromMediaId(String packageName, in ISessionControllerCallback caller, in prepareFromMediaId() 60 void prepareFromSearch(String packageName, in ISessionControllerCallback caller, in prepareFromSearch() 62 void prepareFromUri(String packageName, in ISessionControllerCallback caller, in prepareFromUri() 64 void play(String packageName, in ISessionControllerCallback caller); in play() [all …]
|
D | ISessionCallback.aidl | 29 void onCommand(String packageName, int pid, int uid, ISessionControllerCallback caller, in onCommand() 31 void onMediaButton(String packageName, int pid, int uid, in Intent mediaButtonIntent, in onMediaButton() 33 void onMediaButtonFromController(String packageName, int pid, int uid, in onMediaButtonFromController() 37 void onPrepare(String packageName, int pid, int uid, ISessionControllerCallback caller); in onPrepare() 38 void onPrepareFromMediaId(String packageName, int pid, int uid, in onPrepareFromMediaId() 40 void onPrepareFromSearch(String packageName, int pid, int uid, in onPrepareFromSearch() 42 void onPrepareFromUri(String packageName, int pid, int uid, in onPrepareFromUri() 44 void onPlay(String packageName, int pid, int uid, ISessionControllerCallback caller); in onPlay() 45 void onPlayFromMediaId(String packageName, int pid, int uid, in onPlayFromMediaId() 47 void onPlayFromSearch(String packageName, int pid, int uid, in onPlayFromSearch() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporter.java | 134 void onStartPackageBackup(String packageName) { in onStartPackageBackup() 138 void onPackageNotEligibleForBackup(String packageName) { in onPackageNotEligibleForBackup() 144 void onPackageEligibleForFullBackup(String packageName) { in onPackageEligibleForFullBackup() 152 void onPackageStopped(String packageName) { in onPackageStopped() 157 void onAgentUnknown(String packageName) { in onAgentUnknown() 163 void onBindAgentError(String packageName, SecurityException e) { in onBindAgentError() 169 void onAgentError(String packageName) { in onAgentError() 177 void onExtractAgentData(String packageName) { in onExtractAgentData() 193 void onCallAgentDoBackupError(String packageName, boolean callingAgent, Exception e) { in onCallAgentDoBackupError() 204 void onFailAgentError(String packageName) { in onFailAgentError() [all …]
|
/frameworks/base/core/java/android/os/ |
D | IStatsManager.aidl | 90 byte[] getData(in long key, in String packageName); in getData() 97 byte[] getMetadata(in String packageName); in getMetadata() 107 void addConfiguration(in long configKey, in byte[] config, in String packageName); in addConfiguration() 116 void setDataFetchOperation(long configKey, in IBinder intentSender, in String packageName); in setDataFetchOperation() 123 void removeDataFetchOperation(long configKey, in String packageName); in removeDataFetchOperation() 133 long[] setActiveConfigsChangedOperation(in IBinder intentSender, in String packageName); in setActiveConfigsChangedOperation() 140 void removeActiveConfigsChangedOperation(in String packageName); in removeActiveConfigsChangedOperation() 148 void removeConfiguration(in long configKey, in String packageName); in removeConfiguration() 169 in String packageName); in setBroadcastSubscriber() 178 void unsetBroadcastSubscriber(long configKey, long subscriberId, in String packageName); in unsetBroadcastSubscriber() [all …]
|
/frameworks/base/core/java/android/content/om/ |
D | IOverlayManager.aidl | 65 OverlayInfo getOverlayInfo(in String packageName, in int userId); in getOverlayInfo() 90 boolean setEnabled(in String packageName, in boolean enable, in int userId); in setEnabled() 103 boolean setEnabledExclusive(in String packageName, in boolean enable, in int userId); in setEnabledExclusive() 115 boolean setEnabledExclusiveInCategory(in String packageName, in int userId); in setEnabledExclusiveInCategory() 130 boolean setPriority(in String packageName, in String newParentPackageName, in int userId); in setPriority() 142 boolean setHighestPriority(in String packageName, in int userId); in setHighestPriority() 154 boolean setLowestPriority(in String packageName, in int userId); in setLowestPriority()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 74 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() 86 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() 102 public Intent getLaunchIntentForPackage(String packageName) { in getLaunchIntentForPackage() 107 public Intent getLeanbackLaunchIntentForPackage(String packageName) { in getLeanbackLaunchIntentForPackage() 113 public Intent getCarLaunchIntentForPackage(String packageName) { in getCarLaunchIntentForPackage() 118 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() 123 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() 128 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() 134 public int getPackageUidAsUser(String packageName, int flags, int userHandle) in getPackageUidAsUser() 141 public int getPackageUidAsUser(String packageName, int userHandle) in getPackageUidAsUser() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 49 public PackageInfo getPackageInfo(String packageName, int flags) in getPackageInfo() 61 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() 81 public Intent getLaunchIntentForPackage(String packageName) { in getLaunchIntentForPackage() 86 public Intent getLeanbackLaunchIntentForPackage(String packageName) { in getLeanbackLaunchIntentForPackage() 91 public Intent getCarLaunchIntentForPackage(String packageName) { in getCarLaunchIntentForPackage() 96 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() 101 public int[] getPackageGids(String packageName, int flags) in getPackageGids() 107 public int getPackageUid(String packageName, int flags) in getPackageUid() 113 public int getPackageUidAsUser(String packageName, int userId) in getPackageUidAsUser() 119 public int getPackageUidAsUser(String packageName, int flags, int userId) in getPackageUidAsUser() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 66 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() 71 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() 104 public Intent getLaunchIntentForPackage(String packageName) { in getLaunchIntentForPackage() 109 public Intent getLeanbackLaunchIntentForPackage(String packageName) { in getLeanbackLaunchIntentForPackage() 114 public Intent getCarLaunchIntentForPackage(String packageName) { in getCarLaunchIntentForPackage() 119 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() 124 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() 129 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() 134 … public int getPackageUidAsUser(String packageName, int userHandle) throws NameNotFoundException { in getPackageUidAsUser() 139 …public int getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundE… in getPackageUidAsUser() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStatsManagerInternal.java | 58 public abstract void reportEvent(String packageName, @UserIdInt int userId, int eventType); in reportEvent() 74 public abstract void reportInterruptiveNotification(String packageName, String channelId, in reportInterruptiveNotification() 86 public abstract void reportShortcutUsage(String packageName, String shortcutId, in reportShortcutUsage() 118 public abstract boolean isAppIdle(String packageName, int uidForAppId, @UserIdInt int userId); in isAppIdle() 130 @StandbyBuckets public abstract int getAppStandbyBucket(String packageName, in getAppStandbyBucket() 163 public abstract void onAppIdleStateChanged(String packageName, @UserIdInt int userId, in onAppIdleStateChanged() 176 public void onUserInteractionStarted(String packageName, @UserIdInt int userId) { in onUserInteractionStarted() 198 public abstract void onActiveAdminAdded(String packageName, int userId); in onActiveAdminAdded() 232 public abstract void setLastJobRunTime(String packageName, @UserIdInt int userId, in setLastJobRunTime() 244 public abstract long getTimeSinceLastJobRun(String packageName, @UserIdInt int userId); in getTimeSinceLastJobRun() [all …]
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | PackageInstallerImpl.java | 64 String packageName = sessionInfo.getAppPackageName(); in PackageInstallerImpl() local 104 public void install(final String packageName, ParcelFileDescriptor parcelFileDescriptor, in install() 149 cancelSession(sessionInfo.getSessionId(), packageName); in install() local 162 private PackageInstaller.Session getSession(String packageName) { in getSession() 202 private void innerCreateSession(String packageName) throws IOException { in innerCreateSession() 220 private void cancelSession(int sessionId, String packageName) { in cancelSession() 236 private void closeSession(String packageName) { in closeSession() 253 private IntentSender getCommitCallback(final String packageName, final int sessionId, in getCommitCallback() 285 private void handleCommitCallback(Intent intent, String packageName, int sessionId, in handleCommitCallback()
|
/frameworks/native/libs/binder/ |
D | IAppOpsService.cpp | 39 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) { in checkOperation() 51 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName) { in noteOperation() 64 const String16& packageName, bool startIfModeDefault) { in startOperation() 79 const String16& packageName) { in finishOperation() 89 virtual void startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() 128 int32_t uid, const String16& packageName) { in checkAudioOperation() 158 String16 packageName = data.readString16(); in onTransact() local 168 String16 packageName = data.readString16(); in onTransact() local 179 String16 packageName = data.readString16(); in onTransact() local 191 String16 packageName = data.readString16(); in onTransact() local [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 62 ParceledListSlice getConfiguredNetworks(String packageName); in getConfiguredNetworks() 64 ParceledListSlice getPrivilegedConfiguredNetworks(String packageName); in getPrivilegedConfiguredNetworks() 72 int addOrUpdateNetwork(in WifiConfiguration config, String packageName); in addOrUpdateNetwork() 74 boolean addOrUpdatePasspointConfiguration(in PasspointConfiguration config, String packageName); in addOrUpdatePasspointConfiguration() 76 boolean removePasspointConfiguration(in String fqdn, String packageName); in removePasspointConfiguration() 78 List<PasspointConfiguration> getPasspointConfigurations(in String packageName); in getPasspointConfigurations() 88 boolean removeNetwork(int netId, String packageName); in removeNetwork() 90 boolean enableNetwork(int netId, boolean disableOthers, String packageName); in enableNetwork() 92 boolean disableNetwork(int netId, String packageName); in disableNetwork() 94 boolean startScan(String packageName); in startScan() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | AppUtils.java | 49 String packageName = appEntry.info.packageName; in getLaunchByDefaultSummary() local 61 public static boolean hasUsbDefaults(IUsbManager usbManager, String packageName) { in hasUsbDefaults() 72 public static boolean hasPreferredActivities(PackageManager pm, String packageName) { in hasPreferredActivities() 113 PackageManager packageManager, String packageName) { in getApplicationLabel() 130 public static boolean isHiddenSystemModule(Context context, String packageName) { in isHiddenSystemModule() 138 public static boolean isSystemModule(Context context, String packageName) { in isSystemModule()
|
/frameworks/base/location/java/android/location/ |
D | ILocationManager.aidl | 45 in PendingIntent intent, String packageName); in requestLocationUpdates() 46 void removeUpdates(in ILocationListener listener, in PendingIntent intent, String packageName); in removeUpdates() 49 in PendingIntent intent, String packageName); in requestGeofence() 50 void removeGeofence(in Geofence fence, in PendingIntent intent, String packageName); in removeGeofence() 52 Location getLastLocation(in LocationRequest request, String packageName); in getLastLocation() 54 boolean registerGnssStatusCallback(IGnssStatusListener callback, String packageName); in registerGnssStatusCallback() 67 … boolean addGnssMeasurementsListener(in IGnssMeasurementsListener listener, in String packageName); in addGnssMeasurementsListener() 69 in String packageName); in injectGnssMeasurementCorrections() 70 long getGnssCapabilities(in String packageName); in getGnssCapabilities() 75 in String packageName); in addGnssNavigationMessageListener() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 267 public void adjustVolume(String packageName, String opPackageName, int pid, int uid, in adjustVolume() 313 private void setVolumeTo(String packageName, String opPackageName, int pid, int uid, in setVolumeTo() 482 public boolean sendMediaButton(String packageName, int pid, int uid, boolean asSystemService, in sendMediaButton() 990 public boolean sendMediaButton(String packageName, int pid, int uid, in sendMediaButton() 1007 public boolean sendMediaButton(String packageName, int pid, int uid, in sendMediaButton() 1025 public void sendCommand(String packageName, int pid, int uid, in sendCommand() 1034 public void sendCustomAction(String packageName, int pid, int uid, in sendCustomAction() 1044 public void prepare(String packageName, int pid, int uid, in prepare() 1053 public void prepareFromMediaId(String packageName, int pid, int uid, in prepareFromMediaId() 1062 public void prepareFromSearch(String packageName, int pid, int uid, in prepareFromSearch() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | CompatModePackages.java | 150 private int getPackageFlags(String packageName) { in getPackageFlags() 155 public void handlePackageDataClearedLocked(String packageName) { in handlePackageDataClearedLocked() 160 public void handlePackageUninstalledLocked(String packageName) { in handlePackageUninstalledLocked() 166 private void removePackage(String packageName) { in removePackage() 173 public void handlePackageAddedLocked(String packageName, boolean updated) { in handlePackageAddedLocked() 226 public boolean getPackageAskCompatModeLocked(String packageName) { in getPackageAskCompatModeLocked() 230 public void setPackageAskCompatModeLocked(String packageName, boolean ask) { in setPackageAskCompatModeLocked() 234 private void setPackageFlagLocked(String packageName, int flag, boolean set) { in setPackageFlagLocked() 247 public int getPackageScreenCompatModeLocked(String packageName) { in getPackageScreenCompatModeLocked() 259 public void setPackageScreenCompatModeLocked(String packageName, int mode) { in setPackageScreenCompatModeLocked() [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManagerInternal.java | 45 public int getMountMode(int uid, String packageName); in getMountMode() 56 public boolean hasExternalStorage(int uid, String packageName); in hasExternalStorage() 74 public abstract void onExternalStoragePolicyChanged(int uid, String packageName); in onExternalStoragePolicyChanged() 84 public abstract int getExternalStorageMountMode(int uid, String packageName); in getExternalStorageMountMode() 111 @Nullable String packageName, int mode); in onAppOpsChanged()
|
/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() 142 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() 149 public void onPackageRemovedAllUsers(String packageName, int uid) { in onPackageRemovedAllUsers() 152 public void onPackageUpdateStarted(String packageName, int uid) { in onPackageUpdateStarted() 155 public void onPackageUpdateFinished(String packageName, int uid) { in onPackageUpdateFinished() 176 public boolean onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged() 221 public void onPackageDisappeared(String packageName, int reason) { in onPackageDisappeared() 227 public void onPackageAppeared(String packageName, int reason) { in onPackageAppeared() 233 public void onPackageModified(String packageName) { in onPackageModified() [all …]
|
/frameworks/base/wifi/java/com/android/server/wifi/ |
D | BaseWifiService.java | 83 public ParceledListSlice getConfiguredNetworks(String packageName) { in getConfiguredNetworks() 88 public ParceledListSlice getPrivilegedConfiguredNetworks(String packageName) { in getPrivilegedConfiguredNetworks() 111 public int addOrUpdateNetwork(WifiConfiguration config, String packageName) { in addOrUpdateNetwork() 117 PasspointConfiguration config, String packageName) { in addOrUpdatePasspointConfiguration() 122 public boolean removePasspointConfiguration(String fqdn, String packageName) { in removePasspointConfiguration() 127 public List<PasspointConfiguration> getPasspointConfigurations(String packageName) { in getPasspointConfigurations() 152 public boolean removeNetwork(int netId, String packageName) { in removeNetwork() 157 public boolean enableNetwork(int netId, boolean disableOthers, String packageName) { in enableNetwork() 162 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() 167 public boolean startScan(String packageName) { in startScan() [all …]
|
/frameworks/native/libs/binder/aidl/android/content/pm/ |
D | IPackageManagerNative.aidl | 48 @utf8InCpp String getInstallerForPackage(in String packageName); in getInstallerForPackage() 55 long getVersionCodeForPackage(in String packageName); in getVersionCodeForPackage() 76 int getLocationFlags(in @utf8InCpp String packageName); in getLocationFlags() 83 int getTargetSdkVersionForPackage(in String packageName); in getTargetSdkVersionForPackage()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 253 void onTargetPackageAdded(@NonNull final String packageName, final int userId) { in onTargetPackageAdded() 261 void onTargetPackageChanged(@NonNull final String packageName, final int userId) { in onTargetPackageChanged() 269 void onTargetPackageReplacing(@NonNull final String packageName, final int userId) { in onTargetPackageReplacing() 278 void onTargetPackageReplaced(@NonNull final String packageName, final int userId) { in onTargetPackageReplaced() 286 void onTargetPackageRemoved(@NonNull final String packageName, final int userId) { in onTargetPackageRemoved() 362 void onOverlayPackageAdded(@NonNull final String packageName, final int userId) { in onOverlayPackageAdded() 389 void onOverlayPackageChanged(@NonNull final String packageName, final int userId) { in onOverlayPackageChanged() 404 void onOverlayPackageReplacing(@NonNull final String packageName, final int userId) { in onOverlayPackageReplacing() 422 void onOverlayPackageReplaced(@NonNull final String packageName, final int userId) { in onOverlayPackageReplaced() 454 void onOverlayPackageRemoved(@NonNull final String packageName, final int userId) { in onOverlayPackageRemoved() [all …]
|