Home
last modified time | relevance | path

Searched refs:SystemProfile (Results 1 – 23 of 23) sorted by relevance

/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/system/
DSystemData.java22 import com.google.cobalt.SystemProfile;
30 private static final ImmutableMap<String, SystemProfile.ARCH> ABI_MAP =
31 new ImmutableMap.Builder<String, SystemProfile.ARCH>()
32 .put("arm64-v8a", SystemProfile.ARCH.ARM_64)
33 .put("armeabi-v7a", SystemProfile.ARCH.ARM_32)
34 .put("x86_64", SystemProfile.ARCH.X86_64)
35 .put("x86", SystemProfile.ARCH.X86_32)
38 private final SystemProfile mCurrentSystemProfile;
46 SystemProfile.Builder systemProfile = in SystemData()
47 SystemProfile.newBuilder() in SystemData()
[all …]
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/system/
DSystemDataTest.java26 import com.google.cobalt.SystemProfile;
45 .isEqualTo(SystemProfile.newBuilder().setAppVersion(APP_VERSION).build()); in filteredSystemProfile_onlyAppVersion_succeeds()
56 .isEqualTo(SystemProfile.getDefaultInstance()); in filteredSystemProfile_appVersionMissing_succeeds()
67 .isEqualTo(SystemProfile.getDefaultInstance()); in filteredSystemProfile_appVersionNull_succeeds()
85 SystemProfile.newBuilder() in filteredSystemProfile_allNonBuildFields_succeeds()
87 .setOs(SystemProfile.OS.ANDROID) in filteredSystemProfile_allNonBuildFields_succeeds()
109 .isEqualTo(SystemProfile.getDefaultInstance()); in filteredSystemProfile_noExperimentIds_succeeds()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/
DSystemProfileEntity.java26 import com.google.cobalt.SystemProfile;
48 abstract SystemProfile systemProfile(); in systemProfile()
56 static SystemProfileEntity create(long systemProfileHash, SystemProfile systemProfile) { in create()
60 static long getSystemProfileHash(SystemProfile systemProfile) { in getSystemProfileHash()
DConverters.java26 import com.google.cobalt.SystemProfile;
124 public static byte[] fromSystemProfile(SystemProfile systemProfile) { in fromSystemProfile()
135 public static SystemProfile bytesToSystemProfile(byte[] bytes) { in bytesToSystemProfile()
137 return SystemProfile.parseFrom(bytes); in bytesToSystemProfile()
DEventRecordAndSystemProfile.java25 import com.google.cobalt.SystemProfile;
40 public abstract SystemProfile systemProfile(); in systemProfile()
61 SystemProfile systemProfile, EventVector eventVector, AggregateValue aggregateValue) { in create()
DDataService.java27 import com.google.cobalt.SystemProfile;
191 SystemProfile systemProfile, in aggregateCount()
230 SystemProfile systemProfile, in aggregateString()
297 SystemProfile systemProfile, in aggregateCountSync()
314 SystemProfile systemProfile, in aggregateStringSync()
359 SystemProfile systemProfile, in aggregateValueReportAll()
469 ImmutableListMultimap<SystemProfile, EventRecordAndSystemProfile> eventData = in generateObservationsSync()
DTestOnlyDao.java33 import com.google.cobalt.SystemProfile;
65 public abstract Builder setSystemProfile(SystemProfile value); in setSystemProfile()
83 SystemProfile systemProfile, in create()
110 public abstract SystemProfile systemProfile(); in systemProfile()
DObservationGenerator.java19 import com.google.cobalt.SystemProfile;
36 ImmutableListMultimap<SystemProfile, EventRecordAndSystemProfile> eventData); in generateObservations() argument
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/
DNonPrivateObservationGenerator.java30 import com.google.cobalt.SystemProfile;
86 ImmutableListMultimap<SystemProfile, EventRecordAndSystemProfile> allEventData) { in generateObservations() argument
88 for (Map.Entry<SystemProfile, Collection<EventRecordAndSystemProfile>> eventData : in generateObservations()
90 SystemProfile systemProfile = eventData.getKey(); in generateObservations()
DPrivateObservationGenerator.java36 import com.google.cobalt.SystemProfile;
101 ImmutableListMultimap<SystemProfile, EventRecordAndSystemProfile> allEventData) { in generateObservations() argument
112 for (SystemProfile systemProfile : allEventData.keySet()) { in generateObservations()
130 SystemProfile systemProfile, in generateObservations()
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/
DNonPrivateObservationGeneratorTest.java37 import com.google.cobalt.SystemProfile;
56 private static final SystemProfile SYSTEM_PROFILE_1 =
57 SystemProfile.newBuilder().setAppVersion("1.2.3").build();
58 private static final SystemProfile SYSTEM_PROFILE_2 =
59 SystemProfile.newBuilder().setAppVersion("2.4.8").build();
175 /* systemProfile= */ SystemProfile.getDefaultInstance(), in createEvent()
184 /* systemProfile= */ SystemProfile.getDefaultInstance(), in createEvent()
DPrivateObservationGeneratorTest.java41 import com.google.cobalt.SystemProfile;
61 private static final SystemProfile SYSTEM_PROFILE_1 =
62 SystemProfile.newBuilder().setAppVersion("1.2.3").build();
63 private static final SystemProfile SYSTEM_PROFILE_2 =
64 SystemProfile.newBuilder().setAppVersion("2.4.8").build();
166 /* systemProfile= */ SystemProfile.getDefaultInstance(), in createEvent()
175 /* systemProfile= */ SystemProfile.getDefaultInstance(), in createEvent()
DIntegerEncoderTest.java28 import com.google.cobalt.SystemProfile;
42 private static final SystemProfile SYSTEM_PROFILE = SystemProfile.getDefaultInstance();
DStringHistogramEncoderTest.java31 import com.google.cobalt.SystemProfile;
45 private static final SystemProfile SYSTEM_PROFILE = SystemProfile.getDefaultInstance();
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/data/
DCobaltDatabaseMigrationTest.java27 import com.google.cobalt.SystemProfile;
57 SystemProfile systemProfile = SystemProfile.getDefaultInstance(); in migrate1To2()
DDataServiceTest.java34 import com.google.cobalt.SystemProfile;
69 private static final SystemProfile SYSTEM_PROFILE_1 =
70 SystemProfile.newBuilder().setSystemVersion("1.2.3").build();
71 private static final SystemProfile SYSTEM_PROFILE_2 =
72 SystemProfile.newBuilder().setSystemVersion("2.4.8").build();
100 private static final ImmutableListMultimap<SystemProfile, EventRecordAndSystemProfile>
137 SystemProfile systemProfile, EventVector eventVector, int aggregateValue) { in createEventRecord()
973 ImmutableListMultimap<SystemProfile, EventRecordAndSystemProfile> expectedEventRecord = in generateObservations_oneEvent_oneObservationStored()
1020 ImmutableListMultimap<SystemProfile, EventRecordAndSystemProfile> expectedEventRecord = in generateObservations_multipleEventVectors_oneObservationStored()
1067 ImmutableListMultimap<SystemProfile, EventRecordAndSystemProfile> expectedEventRecord = in generateObservations_multipleSystemProfiles_twoObservationsStored()
[all …]
DDaoBuildingBlocksTest.java32 import com.google.cobalt.SystemProfile;
59 private static final SystemProfile[] sSystemProfile = {
60 SystemProfile.newBuilder().setSystemVersion("a").build(),
61 SystemProfile.newBuilder().setSystemVersion("b").build()
93 SystemProfile systemProfile, in insertSystemProfileAndReport()
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/impl/
DCobaltLoggerImplTest.java49 import com.google.cobalt.SystemProfile;
94 private static final SystemProfile SYSTEM_PROFILE =
95 SystemProfile.newBuilder().setAppVersion(APP_VERSION).build();
278 SystemProfile.newBuilder() in logOccurrence_multipleReports_storedInDb()
344 SystemProfile.newBuilder() in logOccurrence_reportAllMultipleSystemProfiles_storedInDb()
675 SystemProfile.newBuilder() in logString_multipleReports_storedInDb()
DCobaltPeriodicJobImplTest.java68 import com.google.cobalt.SystemProfile;
120 private static final SystemProfile SYSTEM_PROFILE_1 =
121 SystemProfile.newBuilder().setSystemVersion("1.2.3").build();
122 private static final SystemProfile SYSTEM_PROFILE_2 =
123 SystemProfile.newBuilder().setSystemVersion("2.4.8").build();
517 SystemProfile large =
786 SystemProfile.newBuilder()
/packages/modules/AdServices/adservices/libraries/cobalt/proto/
Dcommon.proto29 // A SystemProfile describes the client system on which an Observation is
31 message SystemProfile { message
Denvelope.proto34 // We used to put a SystemProfile into an Envelope but we no longer do.
Dreport_definition.proto720 // A specification for SystemProfile selection policy.
729 // Always report the last SystemProfile seen in the aggregation window. This
730 // will be the last SystemProfile seen *at the time of an event* in the
734 // Always report the first SystemProfile seen in the aggregation window. This
735 // will be the first SystemProfile seen *at the time of an event* in the
750 // A specification of a field from SystemProfile. These are used in a
755 // SystemProfile in: cobalt/proto/common.proto
Dobservation_batch.proto58 SystemProfile system_profile = 5;