Home
last modified time | relevance | path

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

12345678910>>...57

/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<String> 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 void requestPinShortcut(String packageName, in ShortcutInfo shortcut, in requestPinShortcut()
44 void createShortcutResultIntent(String packageName, in ShortcutInfo shortcut, int userId, in createShortcutResultIntent()
47 void disableShortcuts(String packageName, in List<String> shortcutIds, in disableShortcuts()
50 void enableShortcuts(String packageName, in List<String> shortcutIds, int userId); in enableShortcuts()
52 int getMaxShortcutCountPerActivity(String packageName, int userId); in getMaxShortcutCountPerActivity()
[all …]
DIPackageManager.aidl69 void checkPackageStartable(String packageName, int userId); in checkPackageStartable()
71 boolean isPackageAvailable(String packageName, int userId); in isPackageAvailable()
72 PackageInfo getPackageInfo(String packageName, long flags, int userId); in getPackageInfo()
75 int getPackageUid(String packageName, long flags, int userId); in getPackageUid()
76 int[] getPackageGids(String packageName, long flags, int userId); in getPackageGids()
83 ApplicationInfo getApplicationInfo(String packageName, long flags, int userId); in getApplicationInfo()
88 int getTargetSdkVersion(String packageName); in getTargetSdkVersion()
162 @nullable ParcelFileDescriptor getAppMetadataFd(String packageName, in getAppMetadataFd()
220 void setApplicationCategoryHint(String packageName, int categoryHint, String callerPackageName); in setApplicationCategoryHint()
223 void deletePackageAsUser(in String packageName, int versionCode, in deletePackageAsUser()
[all …]
/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 void releaseAllLeases(in String packageName); in releaseAllLeases()
35 long getRemainingLeaseQuotaBytes(String packageName); in getRemainingLeaseQuotaBytes()
42 List<BlobHandle> getLeasedBlobs(in String packageName); in getLeasedBlobs()
43 LeaseInfo getLeaseInfo(in BlobHandle blobHandle, in String packageName); in getLeaseInfo()
/frameworks/base/core/java/android/app/
DIGameManagerService.aidl29 int getGameMode(String packageName, int userId); in getGameMode()
31 void setGameMode(String packageName, int gameMode, int userId); in setGameMode()
33 int[] getAvailableGameModes(String packageName, int userId); in getAvailableGameModes()
35 boolean isAngleEnabled(String packageName, int userId); in isAngleEnabled()
37 void notifyGraphicsEnvironmentSetup(String packageName, int userId); in notifyGraphicsEnvironmentSetup()
38 void setGameState(String packageName, in GameState gameState, int userId); in setGameState()
40 GameModeInfo getGameModeInfo(String packageName, int userId); in getGameModeInfo()
42 void setGameServiceProvider(String packageName); in setGameServiceProvider()
44 …void updateResolutionScalingFactor(String packageName, int gameMode, float scalingFactor, int user… in updateResolutionScalingFactor()
46 float getResolutionScalingFactor(String packageName, int gameMode, int userId); in getResolutionScalingFactor()
[all …]
DGameManager.java132 public @GameMode int getGameMode(@NonNull String packageName) { in getGameMode()
147 private @GameMode int getGameModeImpl(@NonNull String packageName, int targetSdkVersion) { in getGameModeImpl()
178 public @Nullable GameModeInfo getGameModeInfo(@NonNull String packageName) { in getGameModeInfo()
198 public void setGameMode(@NonNull String packageName, @GameMode int gameMode) { in setGameMode()
214 public @GameMode int[] getAvailableGameModes(@NonNull String packageName) { in getAvailableGameModes()
234 public boolean isAngleEnabled(@NonNull String packageName) { in isAngleEnabled()
277 public void setGameServiceProvider(@Nullable String packageName) { in setGameServiceProvider()
297 public void updateCustomGameModeConfiguration(@NonNull String packageName, in updateCustomGameModeConfiguration()
/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/core/java/com/android/internal/compat/
DIPlatformCompat.aidl65 void reportChangeByPackageName(long changeId, in String packageName, int userId); in reportChangeByPackageName()
123 boolean isChangeEnabledByPackageName(long changeId, in String packageName, int userId); in isChangeEnabledByPackageName()
161 void setOverrides(in CompatibilityChangeConfig overrides, in String packageName); in setOverrides()
202 … void putOverridesOnReleaseBuilds(in CompatibilityOverrideConfig overrides, in String packageName); in putOverridesOnReleaseBuilds()
214 void setOverridesForTest(in CompatibilityChangeConfig overrides, in String packageName); in setOverridesForTest()
227 boolean clearOverride(long changeId, String packageName); in clearOverride()
240 boolean clearOverrideForTest(long changeId, String packageName); in clearOverrideForTest()
283 …sOnReleaseBuilds(in CompatibilityOverridesToRemoveConfig overridesToRemove, in String packageName); in removeOverridesOnReleaseBuilds()
298 int enableTargetSdkChanges(in String packageName, int targetSdkVersion); in enableTargetSdkChanges()
313 int disableTargetSdkChanges(in String packageName, int targetSdkVersion); in disableTargetSdkChanges()
[all …]
/frameworks/base/core/java/android/content/om/
DIOverlayManager.aidl67 OverlayInfo getOverlayInfo(in String packageName, in int userId); in getOverlayInfo()
78 OverlayInfo getOverlayInfoByIdentifier(in OverlayIdentifier packageName, in int userId); in getOverlayInfoByIdentifier()
103 boolean setEnabled(in String packageName, in boolean enable, in int userId); in setEnabled()
116 boolean setEnabledExclusive(in String packageName, in boolean enable, in int userId); in setEnabledExclusive()
128 boolean setEnabledExclusiveInCategory(in String packageName, in int userId); in setEnabledExclusiveInCategory()
143 boolean setPriority(in String packageName, in String newParentPackageName, in int userId); in setPriority()
155 boolean setHighestPriority(in String packageName, in int userId); in setHighestPriority()
167 boolean setLowestPriority(in String packageName, in int userId); in setLowestPriority()
178 void invalidateCachesForOverlay(in String packageName, in int userId); in invalidateCachesForOverlay()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionApplicationController.java101 public void bindCompanionApplication(@UserIdInt int userId, @NonNull String packageName, in bindCompanionApplication()
149 public void unbindCompanionApplication(@UserIdInt int userId, @NonNull String packageName) { in unbindCompanionApplication()
179 public boolean isCompanionApplicationBound(@UserIdInt int userId, @NonNull String packageName) { in isCompanionApplicationBound()
185 private void scheduleRebinding(@UserIdInt int userId, @NonNull String packageName, in scheduleRebinding()
211 @UserIdInt int userId, @NonNull String packageName) { in isRebindingCompanionApplicationScheduled()
219 @UserIdInt int userId, @NonNull String packageName, in onRebindingCompanionApplicationTimeout()
242 final String packageName = association.getPackageName(); in notifyCompanionApplicationDeviceAppeared() local
267 final String packageName = association.getPackageName(); in notifyCompanionApplicationDeviceDisappeared() local
315 private void onBinderDied(@UserIdInt int userId, @NonNull String packageName, in onBinderDied()
337 @UserIdInt int userId, @NonNull String packageName) { in getPrimaryServiceConnector()
[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()
66 public void triggerTemporaryQuotaBump(String packageName, @UserIdInt int userId) { in triggerTemporaryQuotaBump()
81 void setLastJobRunTime(String packageName, int userId, long elapsedRealtime); in setLastJobRunTime()
83 long getTimeSinceLastJobRun(String packageName, int userId); in getTimeSinceLastJobRun()
85 void setEstimatedLaunchTime(String packageName, int userId, in setEstimatedLaunchTime()
93 long getEstimatedLaunchTime(String packageName, int userId); in getEstimatedLaunchTime()
100 long getTimeSinceLastUsedByUser(String packageName, int userId); in getTimeSinceLastUsedByUser()
108 int getAppId(String packageName); in getAppId()
113 boolean isAppIdleFiltered(String packageName, int userId, long elapsedRealtime, in isAppIdleFiltered()
[all …]
/frameworks/base/errorprone/tests/res/android/app/
DAppOpsManager.java21 public int noteOp(String op, int uid, String packageName) { in noteOp()
29 public int noteOp(int op, int uid, String packageName) { in noteOp()
33 public int noteOp(String op, int uid, String packageName, in noteOp()
38 public int noteOp(int op, int uid, String packageName, in noteOp()
43 public int noteOpNoThrow(String op, int uid, String packageName) { in noteOpNoThrow()
47 public int noteOpNoThrow(int op, int uid, String packageName) { in noteOpNoThrow()
55 public int startOp(int op, int uid, String packageName) { in startOp()
59 public int startOp(int op, int uid, String packageName, boolean startIfModeDefault) { in startOp()
63 public int startOp(String op, int uid, String packageName) { in startOp()
67 public int startOpNoThrow(String op, int uid, String packageName) { in startOpNoThrow()
[all …]
/frameworks/base/core/java/android/app/people/
DIPeopleManager.aidl36 ConversationChannel getConversation(in String packageName, int userId, in String shortcutId); in getConversation()
48 void removeRecentConversation(in String packageName, int userId, in String shortcutId); in removeRecentConversation()
54 boolean isConversation(in String packageName, int userId, in String shortcutId); in isConversation()
60 long getLastInteraction(in String packageName, int userId, in String shortcutId); in getLastInteraction()
62 …void addOrUpdateStatus(in String packageName, int userId, in String conversationId, in Conversatio… in addOrUpdateStatus()
63 … void clearStatus(in String packageName, int userId, in String conversationId, in String statusId); in clearStatus()
64 void clearStatuses(in String packageName, int userId, in String conversationId); in clearStatuses()
65 ParceledListSlice getStatuses(in String packageName, int userId, in String conversationId); in getStatuses()
66 …void registerConversationListener(in String packageName, int userId, in String shortcutId, in ICon… in registerConversationListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceConfigTest.kt37 val packageName = "com.app.package.name" in appStoreIntent() constant
51 val packageName = "com.app.package.name" in appStoreIntent_packageNameNotConfigured_returnNull() constant
65 val packageName = "com.app.package.name" in appStoreIntent_packageNameMisconfigured_throwsIllegalStateException() constant
74 val packageName = "com.app.package.name" in appStoreIntent_linkTemplateNotConfigured_returnNull() constant
/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/core/java/android/permission/
DIPermissionManager.aidl37 PermissionInfo getPermissionInfo(String permissionName, String packageName, int flags); in getPermissionInfo()
45 int getPermissionFlags(String packageName, String permissionName, int userId); in getPermissionFlags()
47 void updatePermissionFlags(String packageName, String permissionName, int flagMask, in updatePermissionFlags()
56 List<String> getAllowlistedRestrictedPermissions(String packageName, in getAllowlistedRestrictedPermissions()
59 boolean addAllowlistedRestrictedPermission(String packageName, String permissionName, in addAllowlistedRestrictedPermission()
62 boolean removeAllowlistedRestrictedPermission(String packageName, String permissionName, in removeAllowlistedRestrictedPermission()
65 void grantRuntimePermission(String packageName, String permissionName, int userId); in grantRuntimePermission()
67 void revokeRuntimePermission(String packageName, String permissionName, int userId, in revokeRuntimePermission()
70 void revokePostNotificationPermissionWithoutKillForTest(String packageName, int userId); in revokePostNotificationPermissionWithoutKillForTest()
72 boolean shouldShowRequestPermissionRationale(String packageName, String permissionName, in shouldShowRequestPermissionRationale()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java70 public PackageInfo getPackageInfo(@NonNull String packageName, int flags) in getPackageInfo()
82 public PackageInfo getPackageInfoAsUser(@NonNull String packageName, int flags, int userId) in getPackageInfoAsUser()
99 public Intent getLaunchIntentForPackage(@NonNull String packageName) { in getLaunchIntentForPackage()
105 public Intent getLeanbackLaunchIntentForPackage(@NonNull String packageName) { in getLeanbackLaunchIntentForPackage()
111 public Intent getCarLaunchIntentForPackage(@NonNull String packageName) { in getCarLaunchIntentForPackage()
116 public int[] getPackageGids(@NonNull String packageName) throws NameNotFoundException { in getPackageGids()
121 public int[] getPackageGids(@NonNull String packageName, int flags) in getPackageGids()
127 public int getPackageUid(@NonNull String packageName, int flags) in getPackageUid()
133 public int getPackageUidAsUser(@NonNull String packageName, int userId) in getPackageUidAsUser()
139 public int getPackageUidAsUser(@NonNull String packageName, int flags, int userId) in getPackageUidAsUser()
[all …]
/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/services/core/java/android/content/pm/
DPackageManagerInternal.java116 default void onPackageAdded(@NonNull String packageName, int uid) {} in onPackageAdded()
118 default void onPackageChanged(@NonNull String packageName, int uid) {} in onPackageChanged()
120 default void onPackageRemoved(@NonNull String packageName, int uid) {} in onPackageRemoved()
129 public void onDefaultSmsAppChanged(String packageName, int userId) {} in onDefaultSmsAppChanged()
137 public void onDefaultSimCallManagerAppChanged(String packageName, int userId) {} in onDefaultSimCallManagerAppChanged()
153 public abstract boolean isPermissionsReviewRequired(String packageName, int userId); in isPermissionsReviewRequired()
160 public abstract boolean isSameApp(String packageName, int callingUid, int userId); in isSameApp()
173 public abstract boolean isSameApp(String packageName, in isSameApp()
182 public abstract PackageInfo getPackageInfo(String packageName, in getPackageInfo()
189 public abstract long getCeDataInode(String packageName, int userId); in getCeDataInode()
[all …]
/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/
DPlatformCompatPermissionsTest.java82 final String packageName = mContext.getPackageName(); in reportChange_noLogCompatChangePermission_throwsSecurityException() local
91 final String packageName = mContext.getPackageName(); in reportChange_logCompatChangePermission_noThrow() local
100 final String packageName = mContext.getPackageName(); in reportChangeByPackageName_noLogCompatChangePermission_throwsSecurityException() local
109 final String packageName = mContext.getPackageName(); in reportChangeByPackageName_logCompatChangePermission_noThrow() local
134 final String packageName = mContext.getPackageName(); in isChangeEnabled_noReadCompatConfigPermission_throwsSecurityException() local
144 final String packageName = mContext.getPackageName(); in isChangeEnabled_noLogCompatChangeConfigPermission_throwsSecurityException() local
153 final String packageName = mContext.getPackageName(); in isChangeEnabled_readAndLogCompatChangeConfigPermission_noThrow() local
162 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_noReadCompatConfigPermission_throwsSecurityException() local
172 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_noLogompatConfigPermission_throwsSecurityException() local
181 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_readAndLogCompatChangeConfigPermission_noThrow() local
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java67 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo()
72 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser()
105 public Intent getLaunchIntentForPackage(String packageName) { in getLaunchIntentForPackage()
110 public Intent getLeanbackLaunchIntentForPackage(String packageName) { in getLeanbackLaunchIntentForPackage()
115 public Intent getCarLaunchIntentForPackage(String packageName) { in getCarLaunchIntentForPackage()
120 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids()
125 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids()
130 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid()
135 … public int getPackageUidAsUser(String packageName, int userHandle) throws NameNotFoundException { in getPackageUidAsUser()
140 …public int getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundE… in getPackageUidAsUser()
[all …]
/frameworks/base/services/tests/mockingservicestests/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/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java68 String packageName = appEntry.info.packageName; in getLaunchByDefaultSummary() local
80 public static boolean hasUsbDefaults(IUsbManager usbManager, String packageName) { in hasUsbDefaults()
91 public static boolean hasPreferredActivities(PackageManager pm, String packageName) { in hasPreferredActivities()
132 PackageManager packageManager, String packageName) { in getApplicationLabel()
140 public static boolean isHiddenSystemModule(Context context, String packageName) { in isHiddenSystemModule()
148 public static boolean isSystemModule(Context context, String packageName) { in isSystemModule()
156 public static boolean isMainlineModule(PackageManager pm, String packageName) { in isMainlineModule()
183 public static String getAppContentDescription(Context context, String packageName, in getAppContentDescription()
195 public static boolean isBrowserApp(Context context, String packageName, int userId) { in isBrowserApp()
213 public static boolean isDefaultBrowser(Context context, String packageName) { in isDefaultBrowser()
[all …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowApplicationPackageManager.java55 public static void addInstalledPackage(String packageName, PackageInfo packageInfo) { in addInstalledPackage()
65 public static void setPackageUid(String packageName, int packageUid) { in setPackageUid()
73 public static void setPackageUidAsUser(String packageName, int packageUid, int userId) { in setPackageUidAsUser()
83 protected int getApplicationEnabledSetting(String packageName) { in getApplicationEnabledSetting()
94 protected void setApplicationEnabledSetting(String packageName, int newState, int flags) { in setApplicationEnabledSetting()
99 protected PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser()
113 protected int getPackageUidAsUser(String packageName, int flags, int userId) in getPackageUidAsUser()

12345678910>>...57