Home
last modified time | relevance | path

Searched refs:sourcePackage (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
DTargetPackageUtils.java257 public static void sendCommand(int command, String sourcePackage, String targetPackage, in sendCommand() argument
259 ICommandReceiver receiver = sStubPackages.get(sourcePackage); in sendCommand()
260 Assert.assertTrue("Package hasn't been started: " + sourcePackage, receiver != null); in sendCommand()
268 + sourcePackage + ", to=" + targetPackage + ", flags=" + flags); in sendCommand()
270 receiver.sendCommand(command, pair.first, sourcePackage, targetPackage, flags, bundle); in sendCommand()
273 + sourcePackage + " to " + targetPackage, in sendCommand()
281 public static void bindService(String sourcePackage, String targetPackage, int flags) { in bindService() argument
282 sendCommand(Constants.COMMAND_BIND_SERVICE, sourcePackage, targetPackage, flags, null, in bindService()
286 public static void unbindService(String sourcePackage, String targetPackage, int flags) { in unbindService() argument
287 sendCommand(Constants.COMMAND_UNBIND_SERVICE, sourcePackage, targetPackage, flags, null, in unbindService()
[all …]
/frameworks/base/core/java/android/content/pm/
DLabeledIntent.java43 public LabeledIntent(Intent origIntent, String sourcePackage, in LabeledIntent() argument
46 mSourcePackage = sourcePackage; in LabeledIntent()
61 public LabeledIntent(Intent origIntent, String sourcePackage, in LabeledIntent() argument
64 mSourcePackage = sourcePackage; in LabeledIntent()
78 public LabeledIntent(String sourcePackage, int labelRes, int icon) { in LabeledIntent() argument
79 mSourcePackage = sourcePackage; in LabeledIntent()
93 public LabeledIntent(String sourcePackage, in LabeledIntent() argument
95 mSourcePackage = sourcePackage; in LabeledIntent()
/frameworks/base/core/java/android/content/
DClipboardManager.java151 public void setPrimaryClipAsPackage(@NonNull ClipData clip, @NonNull String sourcePackage) { in setPrimaryClipAsPackage() argument
154 Objects.requireNonNull(sourcePackage); in setPrimaryClipAsPackage()
157 clip, mContext.getOpPackageName(), mContext.getUserId(), sourcePackage); in setPrimaryClipAsPackage()
DIClipboard.aidl31 String sourcePackage); in setPrimaryClipAsPackage() argument
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarm.java103 public final String sourcePackage; field in Alarm
142 sourcePackage = (operation != null) ? operation.getCreatorPackage() : packageName; in Alarm()
160 return packageName.equals(sourcePackage); in matches()
242 sb.append(sourcePackage); in toString()
DAlarmManagerService.java1141 String alarmPackage = a.sourcePackage; in calculateDeliveryPriorities()
1273 Pair.create(a.sourcePackage, UserHandle.getUserId(a.creatorUid)); in reorderAlarmsBasedOnStandbyBuckets()
2135 alarm.creatorUid, alarm.sourcePackage)) { in adjustDeliveryTimeBasedOnBatterySaver()
2159 alarm.sourcePackage, userId); in adjustDeliveryTimeBasedOnBatterySaver()
2165 alarm.sourcePackage, userId, quota) + window; in adjustDeliveryTimeBasedOnBatterySaver()
2221 alarm.sourcePackage, userId); in adjustDeliveryTimeBasedOnDeviceIdle()
2227 alarm.sourcePackage, userId, quota) + window; in adjustDeliveryTimeBasedOnDeviceIdle()
2256 final String sourcePackage = alarm.sourcePackage; in adjustDeliveryTimeBasedOnBucketLocked() local
2259 sourcePackage, sourceUserId, nowElapsed); in adjustDeliveryTimeBasedOnBucketLocked()
2261 final int wakeupsInWindow = mAppWakeupHistory.getTotalWakeupsInWindow(sourcePackage, in adjustDeliveryTimeBasedOnBucketLocked()
[all …]
/frameworks/base/tests/ActivityManagerPerfTests/utils/src/com/android/frameworks/perftests/am/util/
DICommandReceiver.aidl22 oneway void sendCommand(int command, int seq, String sourcePackage, String targetPackage, in sendCommand() argument
/frameworks/base/services/core/java/com/android/server/signedconfig/
DGlobalSettingsConfigApplicator.java74 GlobalSettingsConfigApplicator(Context context, String sourcePackage, SignedConfigEvent event) { in GlobalSettingsConfigApplicator() argument
76 mSourcePackage = sourcePackage; in GlobalSettingsConfigApplicator()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java336 ClipData clip, String callingPackage, @UserIdInt int userId, String sourcePackage) { in setPrimaryClipAsPackage() argument
339 checkAndSetPrimaryClip(clip, callingPackage, userId, sourcePackage); in setPrimaryClipAsPackage()
343 ClipData clip, String callingPackage, @UserIdInt int userId, String sourcePackage) { in checkAndSetPrimaryClip() argument
355 setPrimaryClipInternalLocked(clip, intendingUid, sourcePackage); in checkAndSetPrimaryClip()
534 @Nullable ClipData clip, int uid, @Nullable String sourcePackage) { in setPrimaryClipInternalLocked() argument
543 setPrimaryClipInternalLocked(getClipboardLocked(userId), clip, uid, sourcePackage); in setPrimaryClipInternalLocked() local
578 getClipboardLocked(id), clip, uid, sourcePackage); in setPrimaryClipInternalLocked() local
595 int uid, @Nullable String sourcePackage) { in setPrimaryClipInternalLocked() argument
606 clipboard.mPrimaryClipPackage = sourcePackage; in setPrimaryClipInternalLocked()
/frameworks/base/telecomm/java/android/telecom/
DVoicemail.java124 public Builder setSourcePackage(String sourcePackage) { in setSourcePackage() argument
125 mBuilderSourcePackage = sourcePackage; in setSourcePackage()
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DInitService.java104 public void sendCommand(int command, int seq, String sourcePackage, String targetPackage, in sendCommand() argument
108 + sourcePackage + ", to=" + targetPackage + ", flags=" + flags); in sendCommand()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java205 private ActivityData(String taskRootPackage, String taskRootClass, String sourcePackage) { in ActivityData() argument
208 mUsageSourcePackage = sourcePackage; in ActivityData()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java791 PackageAssociationInfo(String sourcePackage, ArraySet<String> allowedPackages, in PackageAssociationInfo() argument
793 mSourcePackage = sourcePackage; in PackageAssociationInfo()