Home
last modified time | relevance | path

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

12345678910>>...45

/frameworks/base/media/java/android/media/session/
DISessionController.aidl39 void sendCommand(String packageName, String command, in Bundle args, in ResultReceiver cb); in sendCommand()
40 boolean sendMediaButton(String packageName, in KeyEvent mediaButton); in sendMediaButton()
41 void registerCallback(String packageName, in ISessionControllerCallback cb); in registerCallback()
49 void adjustVolume(String packageName, String opPackageName, int direction, int flags); in adjustVolume()
50 void setVolumeTo(String packageName, String opPackageName, int value, int flags); in setVolumeTo()
53 void prepare(String packageName); in prepare()
54 void prepareFromMediaId(String packageName, String mediaId, in Bundle extras); in prepareFromMediaId()
55 void prepareFromSearch(String packageName, String string, in Bundle extras); in prepareFromSearch()
56 void prepareFromUri(String packageName, in Uri uri, in Bundle extras); in prepareFromUri()
57 void play(String packageName); in play()
[all …]
DISessionCallback.aidl28 void onCommand(String packageName, int pid, int uid, String command, in Bundle args, in onCommand()
30 void onMediaButton(String packageName, int pid, int uid, in Intent mediaButtonIntent, in onMediaButton()
32 void onMediaButtonFromController(String packageName, int pid, int uid, in onMediaButtonFromController()
36 void onPrepare(String packageName, int pid, int uid); in onPrepare()
37 void onPrepareFromMediaId(String packageName, int pid, int uid, String mediaId, in onPrepareFromMediaId()
39 void onPrepareFromSearch(String packageName, int pid, int uid, String query, in Bundle extras); in onPrepareFromSearch()
40 void onPrepareFromUri(String packageName, int pid, int uid, in Uri uri, in Bundle extras); in onPrepareFromUri()
41 void onPlay(String packageName, int pid, int uid); in onPlay()
42 void onPlayFromMediaId(String packageName, int pid, int uid, String mediaId, in Bundle extras); in onPlayFromMediaId()
43 void onPlayFromSearch(String packageName, int pid, int uid, String query, in Bundle extras); in onPlayFromSearch()
[all …]
/frameworks/base/core/java/android/content/pm/
DIShortcutService.aidl29 boolean setDynamicShortcuts(String packageName, in ParceledListSlice shortcutInfoList, in setDynamicShortcuts()
32 boolean addDynamicShortcuts(String packageName, in ParceledListSlice shortcutInfoList, in addDynamicShortcuts()
35 void removeDynamicShortcuts(String packageName, in List shortcutIds, int userId); in removeDynamicShortcuts()
37 void removeAllDynamicShortcuts(String packageName, int userId); in removeAllDynamicShortcuts()
39 boolean updateShortcuts(String packageName, in ParceledListSlice shortcuts, int userId); in updateShortcuts()
41 boolean requestPinShortcut(String packageName, in ShortcutInfo shortcut, in requestPinShortcut()
44 Intent createShortcutResultIntent(String packageName, in ShortcutInfo shortcut, int userId); in createShortcutResultIntent()
46 void disableShortcuts(String packageName, in List shortcutIds, CharSequence disabledMessage, in disableShortcuts()
49 void enableShortcuts(String packageName, in List shortcutIds, int userId); in enableShortcuts()
51 int getMaxShortcutCountPerActivity(String packageName, int userId); in getMaxShortcutCountPerActivity()
[all …]
DIPackageManager.aidl66 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()
83 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo()
221 void setApplicationCategoryHint(String packageName, int categoryHint, String callerPackageName); in setApplicationCategoryHint()
224 void deletePackageAsUser(in String packageName, int versionCode, in deletePackageAsUser()
249 String getInstallerPackageName(in String packageName); in getInstallerPackageName()
251 InstallSourceInfo getInstallSourceInfo(in String packageName); in getInstallSourceInfo()
[all …]
DCrossProfileAppsInternal.java43 public abstract boolean verifyPackageHasInteractAcrossProfilePermission(String packageName, in verifyPackageHasInteractAcrossProfilePermission()
57 public abstract boolean verifyUidHasInteractAcrossProfilePermission(String packageName, in verifyUidHasInteractAcrossProfilePermission()
65 String packageName, @UserIdInt int userId); in getTargetUserProfiles()
75 String packageName, @Mode int newMode, @UserIdInt int userId); in setInteractAcrossProfilesAppOp()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DIBlobStoreManager.aidl26 long createSession(in BlobHandle handle, in String packageName); in createSession()
27 IBlobStoreSession openSession(long sessionId, in String packageName); in openSession()
28 ParcelFileDescriptor openBlob(in BlobHandle handle, in String packageName); in openBlob()
29 void abandonSession(long sessionId, in String packageName); in abandonSession()
32 long leaseTimeoutMillis, in String packageName); in acquireLease()
33 void releaseLease(in BlobHandle handle, in String packageName); in releaseLease()
34 long getRemainingLeaseQuotaBytes(String packageName); in getRemainingLeaseQuotaBytes()
41 List<BlobHandle> getLeasedBlobs(in String packageName); in getLeasedBlobs()
42 LeaseInfo getLeaseInfo(in BlobHandle blobHandle, in String packageName); in getLeaseInfo()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupReporter.java134 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/apex/statsd/aidl/android/os/
DIStatsManagerService.aidl37 in String packageName); in setDataFetchOperation()
44 void removeDataFetchOperation(long configId, in String packageName); in removeDataFetchOperation()
54 long[] setActiveConfigsChangedOperation(in PendingIntent pendingIntent, in String packageName); in setActiveConfigsChangedOperation()
61 void removeActiveConfigsChangedOperation(in String packageName); in removeActiveConfigsChangedOperation()
79 in String packageName); in setBroadcastSubscriber()
88 void unsetBroadcastSubscriber(long configKey, long subscriberId, in String packageName); in unsetBroadcastSubscriber()
102 byte[] getMetadata(in String packageName); in getMetadata()
110 byte[] getData(in long key, in String packageName); in getData()
120 void addConfiguration(in long configId, in byte[] config, in String packageName); in addConfiguration()
128 void removeConfiguration(in long configId, in String packageName); in removeConfiguration()
/frameworks/base/core/java/android/content/om/
DIOverlayManager.aidl65 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()
165 void invalidateCachesForOverlay(in String packageName, in int userIs); in invalidateCachesForOverlay()
/frameworks/base/startop/iorap/functional_tests/src/com/google/android/startop/iorap/
DIorapWorkFlowTest.java94 String packageName = "com.example.ioraptestapp"; in tearDown() local
104 String packageName = "com.example.ioraptestapp"; in testNormalWorkFlow() local
129 String packageName = "com.example.ioraptestapp"; in testUpdateApp() local
175 String packageName, String activityName, long version) in startAppForPerfettoTrace()
183 String packageName, String activityName, long version) in startAppWithCompiledTrace()
190 private LogcatTimestamp runAppOnce(String packageName, String activityName) throws Exception { in runAppOnce()
203 String packageName, String activityName, long version) throws Exception { in compile()
210 String packageName, String activityName, long version) { in getCompiledTracePath()
219 private void startApp(String packageName, String activityName) throws Exception { in startApp()
229 private void closeApp(String packageName) throws Exception { in closeApp()
/frameworks/base/core/java/com/android/internal/compat/
DIPlatformCompat.aidl58 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/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java63 String packageName = appEntry.info.packageName; in getLaunchByDefaultSummary() local
75 public static boolean hasUsbDefaults(IUsbManager usbManager, String packageName) { in hasUsbDefaults()
86 public static boolean hasPreferredActivities(PackageManager pm, String packageName) { in hasPreferredActivities()
127 PackageManager packageManager, String packageName) { in getApplicationLabel()
135 public static boolean isHiddenSystemModule(Context context, String packageName) { in isHiddenSystemModule()
143 public static boolean isSystemModule(Context context, String packageName) { in isSystemModule()
151 public static boolean isMainlineModule(PackageManager pm, String packageName) { in isMainlineModule()
178 public static String getAppContentDescription(Context context, String packageName, in getAppContentDescription()
190 public static boolean isBrowserApp(Context context, String packageName, int userId) { in isBrowserApp()
/frameworks/base/services/people/java/com/android/server/people/data/
DUserData.java103 PackageData getOrCreatePackageData(String packageName) { in getOrCreatePackageData()
112 PackageData getPackageData(@NonNull String packageName) { in getPackageData()
117 void deletePackageData(@NonNull String packageName) { in deletePackageData()
124 void setDefaultDialer(@Nullable String packageName) { in setDefaultDialer()
133 void setDefaultSmsApp(@Nullable String packageName) { in setDefaultSmsApp()
175 String packageName = in.readUTF(); in restore() local
184 private PackageData createPackageData(String packageName) { in createPackageData()
189 private boolean isDefaultDialer(String packageName) { in isDefaultDialer()
193 private boolean isDefaultSmsApp(String packageName) { in isDefaultSmsApp()
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java74 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/
DPlatformCompatPermissionsTest.java81 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/base/services/core/java/com/android/server/policy/role/
DLegacyRoleResolutionPolicy.java68 String packageName; in getRoleHolders() local
91 String packageName = packageManagerInternal.removeLegacyDefaultBrowserPackageName( in getRoleHolders() local
98 String packageName; in getRoleHolders() local
115 String packageName; in getRoleHolders() local
129 String packageName; in getRoleHolders() local
159 private boolean isSettingsApplication(@NonNull String packageName, @UserIdInt int userId) { in isSettingsApplication()
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java136 void onPackageAdded(@NonNull String packageName, int uid); in onPackageAdded()
138 default void onPackageChanged(@NonNull String packageName, int uid) {} in onPackageChanged()
140 void onPackageRemoved(@NonNull String packageName, int uid); in onPackageRemoved()
149 public void onDefaultSmsAppChanged(String packageName, int userId) {} in onDefaultSmsAppChanged()
157 public void onDefaultSimCallManagerAppChanged(String packageName, int userId) {} in onDefaultSimCallManagerAppChanged()
173 public abstract boolean isPermissionsReviewRequired(String packageName, int userId); in isPermissionsReviewRequired()
181 public abstract PackageInfo getPackageInfo(String packageName, in getPackageInfo()
188 public abstract long getCeDataInode(String packageName, int userId); in getCeDataInode()
226 public abstract Bundle getSuspendedPackageLauncherExtras(String packageName, in getSuspendedPackageLauncherExtras()
236 public abstract boolean isPackageSuspended(String packageName, int userId); in isPackageSuspended()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java66 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/
DPackageManagerStub.java49 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/location/java/android/location/
DILocationManager.aidl47 Location getLastLocation(in LocationRequest request, String packageName, String featureId); in getLastLocation()
49 in ILocationListener listener, String packageName, String featureId, in getCurrentLocation()
53 in PendingIntent intent, String packageName, String featureId, String listenerId); in requestLocationUpdates()
57 in PendingIntent intent, String packageName, String featureId); in requestGeofence()
58 void removeGeofence(in Geofence fence, in PendingIntent intent, String packageName); in removeGeofence()
60 boolean registerGnssStatusCallback(IGnssStatusListener callback, String packageName, in registerGnssStatusCallback()
74 String packageName, String featureId); in addGnssMeasurementsListener()
76 in String packageName); in injectGnssMeasurementCorrections()
81 String packageName, String featureId); in addGnssAntennaInfoListener()
85 String packageName, String featureId); in addGnssNavigationMessageListener()
[all …]
/frameworks/base/core/java/android/permission/
DIPermissionManager.aidl38 PermissionInfo getPermissionInfo(String permName, String packageName, int flags); in getPermissionInfo()
46 int getPermissionFlags(String permName, String packageName, int userId); in getPermissionFlags()
48 void updatePermissionFlags(String permName, String packageName, int flagMask, in updatePermissionFlags()
57 …int checkDeviceIdentifierAccess(String packageName, String callingFeatureId, String message, int p… in checkDeviceIdentifierAccess()
63 List<String> getWhitelistedRestrictedPermissions(String packageName, in getWhitelistedRestrictedPermissions()
66 boolean addWhitelistedRestrictedPermission(String packageName, String permName, in addWhitelistedRestrictedPermission()
69 boolean removeWhitelistedRestrictedPermission(String packageName, String permName, in removeWhitelistedRestrictedPermission()
72 void grantRuntimePermission(String packageName, String permName, int userId); in grantRuntimePermission()
74 void revokeRuntimePermission(String packageName, String permName, int userId, String reason); in revokeRuntimePermission()
78 boolean setDefaultBrowser(String packageName, int userId); in setDefaultBrowser()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java64 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/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java276 public void adjustVolume(String packageName, String opPackageName, int pid, int uid, in adjustVolume()
321 private void setVolumeTo(String packageName, String opPackageName, int pid, int uid, int value, in setVolumeTo()
445 public boolean sendMediaButton(String packageName, int pid, int uid, boolean asSystemService, in sendMediaButton()
986 public boolean sendMediaButton(String packageName, int pid, int uid, in sendMediaButton()
993 pid, uid, packageName, reason); in sendMediaButton() local
1009 public boolean sendMediaButton(String packageName, int pid, int uid, in sendMediaButton()
1016 pid, uid, packageName, reason); in sendMediaButton() local
1032 public void sendCommand(String packageName, int pid, int uid, String command, Bundle args, in sendCommand()
1041 public void sendCustomAction(String packageName, int pid, int uid, String action, in sendCustomAction()
1050 public void prepare(String packageName, int pid, int uid) { in prepare()
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java262 void onTargetPackageAdded(@NonNull final String packageName, final int userId) { in onTargetPackageAdded()
270 void onTargetPackageChanged(@NonNull final String packageName, final int userId) { in onTargetPackageChanged()
278 void onTargetPackageReplacing(@NonNull final String packageName, final int userId) { in onTargetPackageReplacing()
287 void onTargetPackageReplaced(@NonNull final String packageName, final int userId) { in onTargetPackageReplaced()
295 void onTargetPackageRemoved(@NonNull final String packageName, final int userId) { in onTargetPackageRemoved()
371 void onOverlayPackageAdded(@NonNull final String packageName, final int userId) { in onOverlayPackageAdded()
400 void onOverlayPackageChanged(@NonNull final String packageName, final int userId) { in onOverlayPackageChanged()
415 void onOverlayPackageReplacing(@NonNull final String packageName, final int userId) { in onOverlayPackageReplacing()
433 void onOverlayPackageReplaced(@NonNull final String packageName, final int userId) { in onOverlayPackageReplaced()
467 void onOverlayPackageRemoved(@NonNull final String packageName, final int userId) { in onOverlayPackageRemoved()
[all …]
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/usage/
DAppStandbyInternal.java44 public abstract void onAppIdleStateChanged(String packageName, @UserIdInt int userId, in onAppIdleStateChanged()
59 public void onUserInteractionStarted(String packageName, @UserIdInt int userId) { in onUserInteractionStarted()
76 void setLastJobRunTime(String packageName, int userId, long elapsedRealtime); in setLastJobRunTime()
78 long getTimeSinceLastJobRun(String packageName, int userId); in getTimeSinceLastJobRun()
86 int getAppId(String packageName); in getAppId()
91 boolean isAppIdleFiltered(String packageName, int userId, long elapsedRealtime, in isAppIdleFiltered()
100 boolean isAppIdleFiltered(String packageName, int appId, int userId, in isAppIdleFiltered()
110 void setAppIdleAsync(String packageName, boolean idle, int userId); in setAppIdleAsync()
113 int getAppStandbyBucket(String packageName, int userId, in getAppStandbyBucket()
124 void setAppStandbyBucket(@NonNull String packageName, int bucket, int userId, int callingUid, in setAppStandbyBucket()
[all …]

12345678910>>...45