/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 | 66 void checkPackageStartable(String packageName, int userId); in checkPackageStartable() 68 boolean isPackageAvailable(String packageName, int userId); in isPackageAvailable() 70 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() 74 int getPackageUid(String packageName, int flags, int userId); in getPackageUid() 75 int[] getPackageGids(String packageName, int flags, int userId); in getPackageGids() 82 PermissionInfo getPermissionInfo(String name, String packageName, int flags); in getPermissionInfo() 92 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo() 121 void grantRuntimePermission(String packageName, String permissionName, int userId); in grantRuntimePermission() 123 void revokeRuntimePermission(String packageName, String permissionName, int userId); in revokeRuntimePermission() 127 int getPermissionFlags(String permissionName, String packageName, int userId); in getPermissionFlags() [all …]
|
D | PackageManagerInternal.java | 84 void onPackageAdded(@NonNull String packageName, int uid); in onPackageAdded() 86 default void onPackageChanged(@NonNull String packageName, int uid) {} in onPackageChanged() 88 void onPackageRemoved(@NonNull String packageName, int uid); in onPackageRemoved() 167 boolean setDefaultBrowser(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowser() 175 void setDefaultBrowserAsync(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowserAsync() 216 void setDefaultHomeAsync(@Nullable String packageName, @UserIdInt int userId, in setDefaultHomeAsync() 256 public void onDefaultSmsAppChanged(String packageName, int userId) {} in onDefaultSmsAppChanged() 264 public void onDefaultSimCallManagerAppChanged(String packageName, int userId) {} in onDefaultSimCallManagerAppChanged() 271 public abstract void grantDefaultPermissionsToDefaultUseOpenWifiApp(String packageName, in grantDefaultPermissionsToDefaultUseOpenWifiApp() 288 public abstract boolean isPermissionsReviewRequired(String packageName, int userId); in isPermissionsReviewRequired() [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/com/android/internal/compat/ |
D | IPlatformCompat.aidl | 58 void reportChangeByPackageName(long changeId, in String packageName, int userId); in reportChangeByPackageName() 110 boolean isChangeEnabledByPackageName(long changeId, in String packageName, int userId); in isChangeEnabledByPackageName() 143 void setOverrides(in CompatibilityChangeConfig overrides, in String packageName); in setOverrides() 152 void setOverridesForTest(in CompatibilityChangeConfig overrides, in String packageName); in setOverridesForTest() 164 boolean clearOverride(long changeId, String packageName); in clearOverride() 176 int enableTargetSdkChanges(in String packageName, int targetSdkVersion); in enableTargetSdkChanges() 188 int disableTargetSdkChanges(in String packageName, int targetSdkVersion); in disableTargetSdkChanges() 196 void clearOverrides(in String packageName); in clearOverrides() 204 void clearOverridesForTest(in String packageName); in clearOverridesForTest()
|
/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/tests/PlatformCompatGating/src/com/android/tests/gating/ |
D | PlatformCompatPermissionsTest.java | 81 final String packageName = mContext.getPackageName(); in reportChange_noLogCompatChangePermission_throwsSecurityException() local 90 final String packageName = mContext.getPackageName(); in reportChange_logCompatChangePermission_noThrow() local 99 final String packageName = mContext.getPackageName(); in reportChangeByPackageName_noLogCompatChangePermission_throwsSecurityException() local 108 final String packageName = mContext.getPackageName(); in reportChangeByPackageName_logCompatChangePermission_noThrow() local 133 final String packageName = mContext.getPackageName(); in isChangeEnabled_noReadCompatConfigPermission_throwsSecurityException() local 143 final String packageName = mContext.getPackageName(); in isChangeEnabled_noLogCompatChangeConfigPermission_throwsSecurityException() local 152 final String packageName = mContext.getPackageName(); in isChangeEnabled_readAndLogCompatChangeConfigPermission_noThrow() local 161 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_noReadCompatConfigPermission_throwsSecurityException() local 171 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_noLogompatConfigPermission_throwsSecurityException() local 180 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_readAndLogCompatChangeConfigPermission_noThrow() local
|
/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/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/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/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/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/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/policy/role/ |
D | LegacyRoleResolutionPolicy.java | 67 String packageName; in getRoleHolders() local 90 String packageName = packageManagerInternal.removeLegacyDefaultBrowserPackageName( in getRoleHolders() local 97 String packageName; in getRoleHolders() local 114 String packageName; in getRoleHolders() local 130 String packageName = componentName != null ? componentName.getPackageName() : null; in getRoleHolders() local
|
/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/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/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/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() 483 public boolean sendMediaButton(String packageName, int pid, int uid, boolean asSystemService, in sendMediaButton() 994 public boolean sendMediaButton(String packageName, int pid, int uid, in sendMediaButton() 1011 public boolean sendMediaButton(String packageName, int pid, int uid, in sendMediaButton() 1029 public void sendCommand(String packageName, int pid, int uid, in sendCommand() 1038 public void sendCustomAction(String packageName, int pid, int uid, in sendCustomAction() 1048 public void prepare(String packageName, int pid, int uid, in prepare() 1057 public void prepareFromMediaId(String packageName, int pid, int uid, in prepareFromMediaId() 1066 public void prepareFromSearch(String packageName, int pid, int uid, in prepareFromSearch() [all …]
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 128 boolean isPackageUpdating(String packageName) { in isPackageUpdating() 140 public void onPackageAdded(String packageName, int uid) { in onPackageAdded() 147 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() 154 public void onPackageRemovedAllUsers(String packageName, int uid) { in onPackageRemovedAllUsers() 157 public void onPackageUpdateStarted(String packageName, int uid) { in onPackageUpdateStarted() 160 public void onPackageUpdateFinished(String packageName, int uid) { in onPackageUpdateFinished() 181 public boolean onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged() 226 public void onPackageDisappeared(String packageName, int reason) { in onPackageDisappeared() 232 public void onPackageAppeared(String packageName, int reason) { in onPackageAppeared() 238 public void onPackageModified(String packageName) { in onPackageModified() [all …]
|