/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | PackageData.java | 27 public class PackageData { class 28 public static final PackageData PM_PACKAGE = new PmPackageData(); 30 public static PackageData keyValuePackage(int identifier) { in keyValuePackage() 34 public static PackageData fullBackupPackage(int identifier) { in fullBackupPackage() 39 public static PackageData androidPackage(int identifier) { in androidPackage() 50 private PackageData( in PackageData() method in PackageData 81 public PackageData backupNotAllowed() { in backupNotAllowed() 82 return new PackageData( in backupNotAllowed() 86 public PackageData stopped() { in stopped() 87 return new PackageData(packageName, agentName, backupStatus, true, false, uid); in stopped() [all …]
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | UserData.java | 53 private Map<String, PackageData> mPackageDataMap = new ArrayMap<>(); 71 void forAllPackages(@NonNull Consumer<PackageData> consumer) { in forAllPackages() 72 for (PackageData packageData : mPackageDataMap.values()) { in forAllPackages() 92 Map<String, PackageData> packageDataMap = PackageData.packagesDataFromDisk( in loadUserData() 103 PackageData getOrCreatePackageData(String packageName) { in getOrCreatePackageData() 112 PackageData getPackageData(@NonNull String packageName) { in getPackageData() 118 PackageData packageData = mPackageDataMap.remove(packageName); in deletePackageData() 129 PackageData getDefaultDialer() { in getDefaultDialer() 138 PackageData getDefaultSmsApp() { in getDefaultSmsApp() 146 for (PackageData packageData : mPackageDataMap.values()) { in getBackupPayload() [all …]
|
D | UsageStatsQueryHelper.java | 43 private final Function<String, PackageData> mPackageDataGetter; 53 Function<String, PackageData> packageDataGetter) { in UsageStatsQueryHelper() 79 PackageData packageData = mPackageDataGetter.apply(packageName); in querySince() 185 private void onInAppConversationEnded(@NonNull PackageData packageData, in onInAppConversationEnded() 200 private void addEventByShortcutId(PackageData packageData, String shortcutId, Event event) { in addEventByShortcutId() 209 private void addEventByLocusId(PackageData packageData, LocusId locusId, Event event) { in addEventByLocusId()
|
D | PackageData.java | 41 public class PackageData { class 60 PackageData(@NonNull String packageName, @UserIdInt int userId, in PackageData() method in PackageData 83 static Map<String, PackageData> packagesDataFromDisk(@UserIdInt int userId, in packagesDataFromDisk() 88 Map<String, PackageData> results = new ArrayMap<>(); in packagesDataFromDisk() 94 PackageData packageData = new PackageData(packageDir.getName(), userId, in packagesDataFromDisk()
|
D | DataManager.java | 172 void forPackagesInProfile(@UserIdInt int callingUserId, Consumer<PackageData> consumer) { in forPackagesInProfile() 184 public PackageData getPackage(@NonNull String packageName, @UserIdInt int userId) { in getPackage() 222 PackageData packageData = userData.getOrCreatePackageData(appTarget.getPackageName()); in reportShareTargetEvent() 508 private PackageData getPackageIfConversationExists(StatusBarNotification sbn, in getPackageIfConversationExists() 515 PackageData packageData = getPackage(sbn.getPackageName(), in getPackageIfConversationExists() 536 PackageData packageData = userData.getOrCreatePackageData(shortcutInfo.getPackage()); in addOrUpdateConversationInfo() 671 PackageData defaultDialer = userData.getDefaultDialer(); in accept() 717 PackageData defaultSmsApp = userData.getDefaultSmsApp(); in accept() 759 PackageData packageData = getPackage(packageName, user.getIdentifier()); in onShortcutsRemoved() 792 PackageData packageData = getPackageIfConversationExists(sbn, conversationInfo -> { in onNotificationPosted() [all …]
|
/frameworks/base/services/people/java/com/android/server/people/prediction/ |
D | ShareTargetPredictor.java | 40 import com.android.server.people.data.PackageData; 147 PackageData packageData = getDataManager().getPackage(packageName, userId); in getDirectShareTargets() 167 PackageData packageData = getDataManager().getPackage(target.getPackageName(), in getAppShareTargets()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 31 import static com.android.server.backup.testing.PackageData.PM_PACKAGE; 32 import static com.android.server.backup.testing.PackageData.fullBackupPackage; 33 import static com.android.server.backup.testing.PackageData.keyValuePackage; 113 import com.android.server.backup.testing.PackageData; 173 private static final PackageData PACKAGE_1 = keyValuePackage(1); 174 private static final PackageData PACKAGE_2 = keyValuePackage(2); 651 PackageData packageData = fullBackupPackage(1); in testRunTask_whenPackageDoesFullBackup() 668 PackageData packageData = fullBackupPackage(1); in testRunTask_whenFirstPackageDoesFullBackup_callsTransportForSecondPackage() 2502 private Path getStateFile(TransportData transport, PackageData packageData) { in getStateFile() 2506 private Path getTemporaryStateFile(TransportData transport, PackageData packageData) { in getTemporaryStateFile() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | PackageDataTest.java | 55 private PackageData mPackageData; 62 mPackageData = new PackageData( in setUp()
|
D | UsageStatsQueryHelperTest.java | 338 private static class TestPackageData extends PackageData {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/ |
D | ShareTargetPredictorTest.java | 48 import com.android.server.people.data.PackageData; 78 @Mock private PackageData mPackageData1; 79 @Mock private PackageData mPackageData2;
|
/frameworks/base/services/ |
D | art-profile | 22934 …/server/people/data/-$$Lambda$PackageData$J3LynTIgc_2KnnovNl7oOwEM_E4;-><init>(Lcom/android/server… 22935 …/server/people/data/-$$Lambda$PackageData$TsHvZ9e7TBMeBQJKI3dIyx1JrLo;-><init>(Lcom/android/server… 22936 …/server/people/data/-$$Lambda$PackageData$ZMIP6vp07hH0QC6HejoO3J3Cu2U;-><init>(Lcom/android/server… 22937 PLcom/android/server/people/data/-$$Lambda$PackageData$ZMIP6vp07hH0QC6HejoO3J3Cu2U;->test(Ljava/lan… 23059 …Manager$ContactsContentObserver$ConversationSelector;Lcom/android/server/people/data/PackageData;)V 23102 …ataManager$UsageStatsQueryRunnable(ILjava/lang/String;)Lcom/android/server/people/data/PackageData; 23111 …on/StatusBarNotification;Ljava/util/function/Consumer;)Lcom/android/server/people/data/PackageData; 23118 …ople/data/DataManager;->getPackage(Ljava/lang/String;I)Lcom/android/server/people/data/PackageData; 23119 …on/StatusBarNotification;Ljava/util/function/Consumer;)Lcom/android/server/people/data/PackageData; 23126 …server/people/data/DataManager$NotificationListener;ILcom/android/server/people/data/PackageData;)V [all …]
|