Home
last modified time | relevance | path

Searched refs:packageName (Results 1 – 25 of 1708) sorted by relevance

12345678910>>...69

/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupReporter.java134 void onStartPackageBackup(String packageName) { in onStartPackageBackup() argument
135 Slog.d(TAG, "Starting key-value backup of " + packageName); in onStartPackageBackup()
138 void onPackageNotEligibleForBackup(String packageName) { in onPackageNotEligibleForBackup() argument
139 Slog.i(TAG, "Package " + packageName + " no longer supports backup, skipping"); in onPackageNotEligibleForBackup()
141 mObserver, packageName, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in onPackageNotEligibleForBackup()
144 void onPackageEligibleForFullBackup(String packageName) { in onPackageEligibleForFullBackup() argument
147 "Package " + packageName + " performs full-backup rather than key-value, skipping"); in onPackageEligibleForFullBackup()
149 mObserver, packageName, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in onPackageEligibleForFullBackup()
152 void onPackageStopped(String packageName) { in onPackageStopped() argument
154 mObserver, packageName, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in onPackageStopped()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java64 String packageName = sessionInfo.getAppPackageName(); in PackageInstallerImpl() local
65 PackageInstaller.SessionInfo oldInfo = mSessionInfoMap.put(packageName, sessionInfo); in PackageInstallerImpl()
69 Log.w(TAG, "Multiple sessions for " + packageName + " found. Removing " + oldInfo in PackageInstallerImpl()
104 public void install(final String packageName, ParcelFileDescriptor parcelFileDescriptor, in install() argument
113 PackageInstaller.SessionInfo sessionInfo = mSessionInfoMap.get(packageName); in install()
116 session = getSession(packageName); in install()
122 innerCreateSession(packageName); in install()
124 Log.e(TAG, "Can't create session for " + packageName + ": " + ioe.getMessage()); in install()
127 mSessionInfoMap.remove(packageName); in install()
130 sessionInfo = mSessionInfoMap.get(packageName); in install()
[all …]
/frameworks/base/media/java/android/media/session/
DISessionController.aidl39 void sendCommand(String packageName, String command, in Bundle args, in ResultReceiver cb); in sendCommand() argument
40 boolean sendMediaButton(String packageName, in KeyEvent mediaButton); in sendMediaButton() argument
41 void registerCallback(String packageName, in ISessionControllerCallback cb); in registerCallback() argument
49 void adjustVolume(String packageName, String opPackageName, int direction, int flags); in adjustVolume() argument
50 void setVolumeTo(String packageName, String opPackageName, int value, int flags); in setVolumeTo() argument
53 void prepare(String packageName); in prepare() argument
54 void prepareFromMediaId(String packageName, String mediaId, in Bundle extras); in prepareFromMediaId() argument
55 void prepareFromSearch(String packageName, String string, in Bundle extras); in prepareFromSearch() argument
56 void prepareFromUri(String packageName, in Uri uri, in Bundle extras); in prepareFromUri() argument
57 void play(String packageName); in play() argument
[all …]
DISessionCallback.aidl28 void onCommand(String packageName, int pid, int uid, String command, in Bundle args, in onCommand() argument
30 void onMediaButton(String packageName, int pid, int uid, in Intent mediaButtonIntent, in onMediaButton() argument
32 void onMediaButtonFromController(String packageName, int pid, int uid, in onMediaButtonFromController() argument
36 void onPrepare(String packageName, int pid, int uid); in onPrepare() argument
37 void onPrepareFromMediaId(String packageName, int pid, int uid, String mediaId, in onPrepareFromMediaId() argument
39 void onPrepareFromSearch(String packageName, int pid, int uid, String query, in Bundle extras); in onPrepareFromSearch() argument
40 void onPrepareFromUri(String packageName, int pid, int uid, in Uri uri, in Bundle extras); in onPrepareFromUri() argument
41 void onPlay(String packageName, int pid, int uid); in onPlay() argument
42 void onPlayFromMediaId(String packageName, int pid, int uid, String mediaId, in Bundle extras); in onPlayFromMediaId() argument
43 void onPlayFromSearch(String packageName, int pid, int uid, String query, in Bundle extras); in onPlayFromSearch() argument
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java242 private void logStartActivityByIntent(String packageName) { in logStartActivityByIntent() argument
245 .setStrings(packageName) in logStartActivityByIntent()
257 private boolean canRequestInteractAcrossProfilesUnchecked(String packageName) { in canRequestInteractAcrossProfilesUnchecked() argument
263 if (isProfileOwner(packageName, enabledProfileIds)) { in canRequestInteractAcrossProfilesUnchecked()
267 AppOpsManager.opToPermission(OP_INTERACT_ACROSS_PROFILES), packageName); in canRequestInteractAcrossProfilesUnchecked()
270 private boolean hasRequestedAppOpPermission(String permission, String packageName) { in hasRequestedAppOpPermission() argument
274 return ArrayUtils.contains(packages, packageName); in hasRequestedAppOpPermission()
302 String packageName, List<UserHandle> profiles) { in haveProfilesGotInteractAcrossProfilesPermission() argument
307 packageName, /* flags= */ 0, profile.getIdentifier()); in haveProfilesGotInteractAcrossProfilesPermission()
316 packageName, uid, PermissionChecker.PID_UNKNOWN)) { in haveProfilesGotInteractAcrossProfilesPermission()
[all …]
DProtectedPackages.java92 private synchronized boolean hasDeviceOwnerOrProfileOwner(int userId, String packageName) { in hasDeviceOwnerOrProfileOwner() argument
93 if (packageName == null) { in hasDeviceOwnerOrProfileOwner()
98 && (packageName.equals(mDeviceOwnerPackage))) { in hasDeviceOwnerOrProfileOwner()
103 if (packageName.equals(mProfileOwnerPackages.get(userId))) { in hasDeviceOwnerOrProfileOwner()
126 private synchronized boolean isProtectedPackage(String packageName) { in isProtectedPackage() argument
127 return packageName != null && (packageName.equals(mDeviceProvisioningPackage) in isProtectedPackage()
128 || isDeviceOwnerProtectedPackage(packageName)); in isProtectedPackage()
132 private synchronized boolean isDeviceOwnerProtectedPackage(String packageName) { in isDeviceOwnerProtectedPackage() argument
134 if (protectedPackages.contains(packageName)) { in isDeviceOwnerProtectedPackage()
147 public boolean isPackageStateProtected(@UserIdInt int userId, String packageName) { in isPackageStateProtected() argument
[all …]
/frameworks/base/core/java/android/content/pm/
DIShortcutService.aidl29 AndroidFuture setDynamicShortcuts(String packageName, in setDynamicShortcuts() argument
32 AndroidFuture addDynamicShortcuts(String packageName, in addDynamicShortcuts() argument
35 AndroidFuture removeDynamicShortcuts(String packageName, in List shortcutIds, int userId); in removeDynamicShortcuts() argument
37 AndroidFuture removeAllDynamicShortcuts(String packageName, int userId); in removeAllDynamicShortcuts() argument
39 AndroidFuture updateShortcuts(String packageName, in ParceledListSlice shortcuts, in updateShortcuts() argument
42 AndroidFuture requestPinShortcut(String packageName, in ShortcutInfo shortcut, in requestPinShortcut() argument
45 AndroidFuture<Intent> createShortcutResultIntent(String packageName, in ShortcutInfo shortcut, in createShortcutResultIntent() argument
48 AndroidFuture disableShortcuts(String packageName, in List shortcutIds, in disableShortcuts() argument
51 AndroidFuture enableShortcuts(String packageName, in List shortcutIds, int userId); in enableShortcuts() argument
53 int getMaxShortcutCountPerActivity(String packageName, int userId); in getMaxShortcutCountPerActivity() argument
[all …]
DIPackageManager.aidl68 void checkPackageStartable(String packageName, int userId); in checkPackageStartable() argument
70 boolean isPackageAvailable(String packageName, int userId); in isPackageAvailable() argument
72 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() argument
76 int getPackageUid(String packageName, int flags, int userId); in getPackageUid() argument
77 int[] getPackageGids(String packageName, int flags, int userId); in getPackageGids() argument
85 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo() argument
90 int getTargetSdkVersion(String packageName); in getTargetSdkVersion() argument
228 void setApplicationCategoryHint(String packageName, int categoryHint, String callerPackageName); in setApplicationCategoryHint() argument
231 void deletePackageAsUser(in String packageName, int versionCode, in deletePackageAsUser() argument
256 String getInstallerPackageName(in String packageName); in getInstallerPackageName() argument
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java64 String packageName = appEntry.info.packageName; in getLaunchByDefaultSummary() local
65 boolean hasPreferred = hasPreferredActivities(pm, packageName) in getLaunchByDefaultSummary()
66 || hasUsbDefaults(usbManager, packageName); in getLaunchByDefaultSummary()
67 int status = pm.getIntentVerificationStatusAsUser(packageName, UserHandle.myUserId()); in getLaunchByDefaultSummary()
76 public static boolean hasUsbDefaults(IUsbManager usbManager, String packageName) { in hasUsbDefaults() argument
79 return usbManager.hasDefaults(packageName, UserHandle.myUserId()); in hasUsbDefaults()
87 public static boolean hasPreferredActivities(PackageManager pm, String packageName) { in hasPreferredActivities() argument
92 pm.getPreferredActivities(intentList, prefActList, packageName); in hasPreferredActivities()
113 if (propVal != null && !propVal.isEmpty() && info.packageName != null) { in isInstant()
117 if (info.packageName.contains(term)) { in isInstant()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DCompatModePackages.java316 private int getPackageFlags(String packageName) { in getPackageFlags() argument
317 Integer flags = mPackages.get(packageName); in getPackageFlags()
321 public void handlePackageDataClearedLocked(String packageName) { in handlePackageDataClearedLocked() argument
323 removePackage(packageName); in handlePackageDataClearedLocked()
326 public void handlePackageUninstalledLocked(String packageName) { in handlePackageUninstalledLocked() argument
329 removePackage(packageName); in handlePackageUninstalledLocked()
332 private void removePackage(String packageName) { in removePackage() argument
333 if (mPackages.containsKey(packageName)) { in removePackage()
334 mPackages.remove(packageName); in removePackage()
339 public void handlePackageAddedLocked(String packageName, boolean updated) { in handlePackageAddedLocked() argument
[all …]
/frameworks/base/core/java/com/android/internal/logging/testing/
DUiEventLoggerFake.java37 public final String packageName; field in UiEventLoggerFake.FakeUiEvent
41 FakeUiEvent(int eventId, int uid, String packageName) { in FakeUiEvent() argument
44 this.packageName = packageName; in FakeUiEvent()
49 FakeUiEvent(int eventId, int uid, String packageName, InstanceId instanceId) { in FakeUiEvent() argument
52 this.packageName = packageName; in FakeUiEvent()
57 FakeUiEvent(int eventId, int uid, String packageName, InstanceId instanceId, int position) { in FakeUiEvent() argument
60 this.packageName = packageName; in FakeUiEvent()
91 public void log(UiEventEnum event, int uid, String packageName) { in log() argument
94 mLogs.add(new FakeUiEvent(eventId, uid, packageName)); in log()
99 public void logWithInstanceId(UiEventEnum event, int uid, String packageName, in logWithInstanceId() argument
[all …]
/frameworks/base/startop/iorap/functional_tests/src/com/google/android/startop/iorap/
DIorapWorkFlowTest.java94 String packageName = "com.example.ioraptestapp"; in tearDown() local
95 uninstallApk(packageName); in tearDown()
104 String packageName = "com.example.ioraptestapp"; in testNormalWorkFlow() local
109 packageName, activityName, /*version=*/1L)); in testNormalWorkFlow()
111 packageName, activityName, /*version=*/1L)); in testNormalWorkFlow()
113 packageName, activityName, /*version=*/1L)); in testNormalWorkFlow()
117 assertTrue(compile(packageName, activityName, /*version=*/1L)); in testNormalWorkFlow()
121 packageName, activityName, /*version=*/1L)); in testNormalWorkFlow()
129 String packageName = "com.example.ioraptestapp"; in testUpdateApp() local
135 packageName, activityName, /*version=*/2L)); in testUpdateApp()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DPackagesTokenData.java78 public int getPackageTokenOrAdd(String packageName, long timeStamp) { in getPackageTokenOrAdd() argument
79 final Long timeRemoved = removedPackagesMap.get(packageName); in getPackageTokenOrAdd()
94 ArrayMap<String, Integer> packageTokensMap = packagesToTokensMap.get(packageName); in getPackageTokenOrAdd()
97 packagesToTokensMap.put(packageName, packageTokensMap); in getPackageTokenOrAdd()
99 int token = packageTokensMap.getOrDefault(packageName, UNASSIGNED_TOKEN); in getPackageTokenOrAdd()
104 tokenPackages.add(packageName); in getPackageTokenOrAdd()
105 packageTokensMap.put(packageName, token); in getPackageTokenOrAdd()
120 public int getTokenOrAdd(int packageToken, String packageName, String key) { in getTokenOrAdd() argument
121 if (packageName.equals(key)) { in getTokenOrAdd()
124 int token = packagesToTokensMap.get(packageName).getOrDefault(key, UNASSIGNED_TOKEN); in getTokenOrAdd()
[all …]
/frameworks/base/services/core/java/com/android/server/compat/
DPlatformCompat.java100 public void reportChangeByPackageName(long changeId, String packageName, in reportChangeByPackageName() argument
103 ApplicationInfo appInfo = getApplicationInfo(packageName, userId); in reportChangeByPackageName()
126 public boolean isChangeEnabledByPackageName(long changeId, String packageName, in isChangeEnabledByPackageName() argument
129 ApplicationInfo appInfo = getApplicationInfo(packageName, userId); in isChangeEnabledByPackageName()
131 return mCompatConfig.willChangeBeEnabled(changeId, packageName); in isChangeEnabledByPackageName()
144 for (String packageName : packages) { in isChangeEnabledByUid()
145 enabled &= isChangeEnabledByPackageName(changeId, packageName, in isChangeEnabledByUid()
186 public boolean isChangeEnabledInternal(long changeId, String packageName, in isChangeEnabledInternal() argument
188 if (mCompatConfig.willChangeBeEnabled(changeId, packageName)) { in isChangeEnabledInternal()
190 appInfo.packageName = packageName; in isChangeEnabledInternal()
[all …]
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java149 void onPackageAdded(@NonNull String packageName, int uid); in onPackageAdded() argument
151 default void onPackageChanged(@NonNull String packageName, int uid) {} in onPackageChanged() argument
153 void onPackageRemoved(@NonNull String packageName, int uid); in onPackageRemoved() argument
162 public void onDefaultSmsAppChanged(String packageName, int userId) {} in onDefaultSmsAppChanged() argument
170 public void onDefaultSimCallManagerAppChanged(String packageName, int userId) {} in onDefaultSimCallManagerAppChanged() argument
186 public abstract boolean isPermissionsReviewRequired(String packageName, int userId); in isPermissionsReviewRequired() argument
194 public abstract PackageInfo getPackageInfo(String packageName, in getPackageInfo() argument
201 public abstract long getCeDataInode(String packageName, int userId); in getCeDataInode() argument
239 public abstract Bundle getSuspendedPackageLauncherExtras(String packageName, in getSuspendedPackageLauncherExtras() argument
249 public abstract boolean isPackageSuspended(String packageName, int userId); in isPackageSuspended() argument
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java81 public void setPackageSelected(String packageName, boolean selected) { in setPackageSelected() argument
82 mSelectedPackages.put(packageName, selected); in setPackageSelected()
85 public boolean isPackageSelected(String packageName) { in isPackageSelected() argument
86 return mSelectedPackages.get(packageName); in isPackageSelected()
103 String packageName = entry.getKey(); in applyUserAppsStates() local
105 applyUserAppState(packageName, enabled, listener); in applyUserAppsStates()
109 public void applyUserAppState(String packageName, boolean enabled, in applyUserAppState() argument
115 ApplicationInfo info = mIPm.getApplicationInfo(packageName, in applyUserAppState()
119 mIPm.installExistingPackageAsUser(packageName, mUser.getIdentifier(), in applyUserAppState()
123 Log.d(TAG, "Installing " + packageName); in applyUserAppState()
[all …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowApplicationPackageManager.java53 public static void addInstalledPackage(String packageName, PackageInfo packageInfo) { in addInstalledPackage() argument
54 sPackageInfos.put(packageName, packageInfo); in addInstalledPackage()
62 public static void setPackageUid(String packageName, int packageUid) { in setPackageUid() argument
63 sPackageUids.put(packageName, packageUid); in setPackageUid()
70 public static void setPackageUidAsUser(String packageName, int packageUid, int userId) { in setPackageUidAsUser() argument
75 userPackageUids.put(packageName, packageUid); in setPackageUidAsUser()
80 protected PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument
82 if (!sPackageInfos.containsKey(packageName)) { in getPackageInfoAsUser()
83 throw new NameNotFoundException(packageName); in getPackageInfoAsUser()
85 return sPackageInfos.get(packageName); in getPackageInfoAsUser()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java49 public PackageInfo getPackageInfo(String packageName, int flags) in getPackageInfo() argument
51 return getPackageInfoAsUser(packageName, flags, UserHandle.USER_SYSTEM); in getPackageInfo()
61 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument
81 public Intent getLaunchIntentForPackage(String packageName) { in getLaunchIntentForPackage() argument
86 public Intent getLeanbackLaunchIntentForPackage(String packageName) { in getLeanbackLaunchIntentForPackage() argument
91 public Intent getCarLaunchIntentForPackage(String packageName) { in getCarLaunchIntentForPackage() argument
96 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() argument
101 public int[] getPackageGids(String packageName, int flags) in getPackageGids() argument
107 public int getPackageUid(String packageName, int flags) in getPackageUid() argument
113 public int getPackageUidAsUser(String packageName, int userId) in getPackageUidAsUser() argument
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java66 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument
71 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument
104 public Intent getLaunchIntentForPackage(String packageName) { in getLaunchIntentForPackage() argument
109 public Intent getLeanbackLaunchIntentForPackage(String packageName) { in getLeanbackLaunchIntentForPackage() argument
114 public Intent getCarLaunchIntentForPackage(String packageName) { in getCarLaunchIntentForPackage() argument
119 public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() argument
124 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() argument
129 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() argument
134 … public int getPackageUidAsUser(String packageName, int userHandle) throws NameNotFoundException { in getPackageUidAsUser() argument
139 …public int getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundE… in getPackageUidAsUser() argument
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTestsBase.java96 void setConfigSignaturePackageName(String packageName) { in setConfigSignaturePackageName() argument
97 mConfigSignaturePackageName = packageName; in setConfigSignaturePackageName()
118 FakeDeviceState.PackageBuilder app(String packageName) { in app() argument
119 return new FakeDeviceState.PackageBuilder(packageName, null /* targetPackageName */, in app()
123 FakeDeviceState.PackageBuilder target(String packageName) { in target() argument
124 return new FakeDeviceState.PackageBuilder(packageName, null /* targetPackageName */, in target()
128 FakeDeviceState.PackageBuilder overlay(String packageName, String targetPackageName) { in overlay() argument
129 return overlay(packageName, targetPackageName, null /* targetOverlayableName */); in overlay()
132 FakeDeviceState.PackageBuilder overlay(String packageName, String targetPackageName, in overlay() argument
134 return new FakeDeviceState.PackageBuilder(packageName, targetPackageName, in overlay()
[all …]
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationService.java209 boolean isHibernatingForUser(String packageName, int userId) { in isHibernatingForUser() argument
223 final UserLevelState pkgState = packageStates.get(packageName); in isHibernatingForUser()
226 packageName, userId)); in isHibernatingForUser()
239 boolean isHibernatingGlobally(String packageName) { in isHibernatingGlobally() argument
247 GlobalLevelState state = mGlobalHibernationStates.get(packageName); in isHibernatingGlobally()
264 void setHibernatingForUser(String packageName, int userId, boolean isHibernating) { in setHibernatingForUser() argument
278 final UserLevelState pkgState = packageStates.get(packageName); in setHibernatingForUser()
281 packageName, userId)); in setHibernatingForUser()
290 hibernatePackageForUser(packageName, userId, pkgState); in setHibernatingForUser()
292 unhibernatePackageForUser(packageName, userId, pkgState); in setHibernatingForUser()
[all …]
/frameworks/base/services/core/java/com/android/server/utils/quota/
DUptcMap.java36 public void add(int userId, @NonNull String packageName, @Nullable String tag, in add() argument
38 ArrayMap<String, T> data = mData.get(userId, packageName); in add()
41 mData.add(userId, packageName, data); in add()
50 public boolean contains(int userId, @NonNull String packageName) { in contains() argument
51 return mData.contains(userId, packageName); in contains()
54 public boolean contains(int userId, @NonNull String packageName, @Nullable String tag) { in contains() argument
57 ArrayMap<String, T> data = mData.get(userId, packageName); in contains()
67 public void delete(int userId, @NonNull String packageName, @Nullable String tag) { in delete() argument
68 final ArrayMap<String, T> data = mData.get(userId, packageName); in delete()
72 mData.delete(userId, packageName); in delete()
[all …]
/frameworks/base/core/java/com/android/internal/compat/
DIPlatformCompat.aidl61 void reportChangeByPackageName(long changeId, in String packageName, int userId); in reportChangeByPackageName() argument
116 boolean isChangeEnabledByPackageName(long changeId, in String packageName, int userId); in isChangeEnabledByPackageName() argument
152 void setOverrides(in CompatibilityChangeConfig overrides, in String packageName); in setOverrides() argument
171 … void putOverridesOnReleaseBuilds(in CompatibilityOverrideConfig overrides, in String packageName); in putOverridesOnReleaseBuilds() argument
182 void setOverridesForTest(in CompatibilityChangeConfig overrides, in String packageName); in setOverridesForTest() argument
194 boolean clearOverride(long changeId, String packageName); in clearOverride() argument
206 boolean clearOverrideForTest(long changeId, String packageName); in clearOverrideForTest() argument
227 …sOnReleaseBuilds(in CompatibilityOverridesToRemoveConfig overridesToRemove, in String packageName); in removeOverridesOnReleaseBuilds() argument
241 int enableTargetSdkChanges(in String packageName, int targetSdkVersion); in enableTargetSdkChanges() argument
255 int disableTargetSdkChanges(in String packageName, int targetSdkVersion); in disableTargetSdkChanges() argument
[all …]
/frameworks/base/services/people/java/com/android/server/people/data/
DUserData.java103 PackageData getOrCreatePackageData(String packageName) { in getOrCreatePackageData() argument
104 return mPackageDataMap.computeIfAbsent(packageName, key -> createPackageData(packageName)); in getOrCreatePackageData()
112 PackageData getPackageData(@NonNull String packageName) { in getPackageData() argument
113 return mPackageDataMap.get(packageName); in getPackageData()
117 void deletePackageData(@NonNull String packageName) { in deletePackageData() argument
118 PackageData packageData = mPackageDataMap.remove(packageName); in deletePackageData()
124 void setDefaultDialer(@Nullable String packageName) { in setDefaultDialer() argument
125 mDefaultDialer = packageName; in setDefaultDialer()
133 void setDefaultSmsApp(@Nullable String packageName) { in setDefaultSmsApp() argument
134 mDefaultSmsApp = packageName; in setDefaultSmsApp()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java385 String packageName; field in AppStandbyController.StandbyUpdateRecord
403 r.packageName = pkgName; in obtain()
422 public String packageName; field in AppStandbyController.ContentProviderUsageRecord
425 public static ContentProviderUsageRecord obtain(String name, String packageName, in obtain() argument
432 r.packageName = packageName; in obtain()
555 for (String packageName: packages) { in reportContentProviderUsage()
560 packageName, PackageManager.MATCH_SYSTEM_ONLY, userId); in reportContentProviderUsage()
564 if (!packageName.equals(providerPkgName)) { in reportContentProviderUsage()
565 final List<UserHandle> linkedProfiles = getCrossProfileTargets(packageName, in reportContentProviderUsage()
568 reportNoninteractiveUsageCrossUserLocked(packageName, userId, in reportContentProviderUsage()
[all …]

12345678910>>...69