Home
last modified time | relevance | path

Searched refs:publisher (Results 1 – 25 of 81) sorted by relevance

1234

/packages/modules/Wifi/tests/hostsidetests/multidevices/test/aware/
Dwifi_aware_test.py46 self.publisher, self.subscriber = self.register_controller(
60 setup_device, ((self.publisher,), (self.subscriber,)),
67 ads=[self.publisher, self.subscriber],
77 self.publisher.wifi_aware_snippet.attach()
79 self.publisher.wifi_aware_snippet.publish(is_unsolicited, is_ranging_required, False)
83 received_message = self.publisher.wifi_aware_snippet.receiveMessage()
90 is_pairing_supported = self.publisher.wifi_aware_snippet.checkIfPairingSupported() and \
97 self.publisher.wifi_aware_snippet.attach()
99 self.publisher.wifi_aware_snippet.publish(is_unsolicited, is_ranging_required, True)
102 setup_aware_pairing, ((self.publisher, True, True, True),
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunner.java400 Optional<Uri> publisher = getTopLevelPublisher(topOrigin, publisherType); in isSourceAllowedToInsert() local
401 if (publisher.isEmpty()) { in isSourceAllowedToInsert()
411 publisher.get(), in isSourceAllowedToInsert()
425 publisher.get(), in isSourceAllowedToInsert()
441 flags.getMeasurementMaxSourcesPerPublisher(), publisher); in isSourceAllowedToInsert()
450 publisher.get(), in isSourceAllowedToInsert()
465 publisher.get(), in isSourceAllowedToInsert()
478 publisher.get(), in isSourceAllowedToInsert()
490 publisher, source.getEnrollmentId()); in isSourceAllowedToInsert()
514 publisher.get(), in isSourceAllowedToInsert()
[all …]
/packages/services/Car/car-lib/src/android/car/telemetry/
Dtelemetry.proto27 // It includes a declarative part that configures the metric and the data publisher
56 // Parameters for Vehicle Properties publisher.
69 // Parameters for cartelemetryd publisher.
111 // System metric for the publisher.
167 // before the publisher is throttled (rate-limited).
176 // small number for max_pending_tasks to throttle the publisher. Client should remove the
182 // Specifies data publisher and its parameters.
184 oneof publisher { oneof
193 // Specifies publisher with its parameters and the handler function that's invoked
199 // Leaving the field unset signals that the data from the specified publisher
[all …]
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DConnectivityPublisher.java17 package com.android.car.telemetry.publisher;
42 import com.android.car.telemetry.publisher.net.NetworkStatsManagerProxy;
43 import com.android.car.telemetry.publisher.net.NetworkStatsWrapper;
44 import com.android.car.telemetry.publisher.net.RefinedStats;
317 TelemetryProto.ConnectivityPublisher publisher = in forSubscriber() local
319 return build(publisher.getTransport(), publisher.getOemType()); in forSubscriber()
DPublisherFactory.java17 package com.android.car.telemetry.publisher;
29 import com.android.car.telemetry.publisher.net.NetworkStatsManagerProxy;
164 for (TelemetryProto.Publisher.PublisherCase publisher : sForceInitPublishers) { in initialize()
165 getPublisher(publisher); in initialize()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/statsconverters/
DConfigMetricsReportListConverterTest.java17 package com.android.car.telemetry.publisher.statsconverters;
19 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_ELAPSED_TIMESTAMP;
20 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_PREFIX;
38 import com.android.car.telemetry.publisher.HashUtils;
DEventMetricDataConverterTest.java17 package com.android.car.telemetry.publisher.statsconverters;
22 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_ELAPSED_TIMESTAMP;
23 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_PREFIX;
DProcessCpuTimeConverterTest.java17 package com.android.car.telemetry.publisher.statsconverters;
23 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_PREFIX;
35 import com.android.car.telemetry.publisher.HashUtils;
DActivityForegroundStateChangedConverterTest.java17 package com.android.car.telemetry.publisher.statsconverters;
23 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_PREFIX;
36 import com.android.car.telemetry.publisher.HashUtils;
DGaugeMetricDataConverterTest.java17 package com.android.car.telemetry.publisher.statsconverters;
24 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_ELAPSED_TIMESTAMP;
25 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_PREFIX;
35 import com.android.car.telemetry.publisher.HashUtils;
DAppStartMemoryStateCapturedConverterTest.java17 package com.android.car.telemetry.publisher.statsconverters;
27 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_PREFIX;
39 import com.android.car.telemetry.publisher.HashUtils;
DProcessMemoryStateConverterTest.java17 package com.android.car.telemetry.publisher.statsconverters;
27 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_PREFIX;
39 import com.android.car.telemetry.publisher.HashUtils;
DProcessMemorySnapshotConverterTest.java17 package com.android.car.telemetry.publisher.statsconverters;
29 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_PREFIX;
41 import com.android.car.telemetry.publisher.HashUtils;
DAtomListConverterTest.java17 package com.android.car.telemetry.publisher.statsconverters;
19 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_PREFIX;
DWtfOccurredConverterTest.java17 package com.android.car.telemetry.publisher.statsconverters;
23 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_PREFIX;
DAnrOccurredConverterTest.java17 package com.android.car.telemetry.publisher.statsconverters;
23 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_PREFIX;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DIMeasurementDao.java186 Uri publisher, in countDistinctDestPerPubXEnrollmentInUnexpiredSourceInWindow() argument
200 Uri publisher, in countDistinctDestinationsPerPubXEnrollmentInUnexpiredSource() argument
213 Uri publisher, in countDistinctDestinationsPerPublisherPerRateLimitWindow() argument
227 Uri publisher, in countSourcesPerPublisherXEnrollmentExcludingRegOrigin() argument
239 Uri publisher, in countDistinctReportingOriginsPerPublisherXDestinationInSource() argument
795 Uri publisher, in fetchSourceIdsForLruDestinationXEnrollmentXPublisher() argument
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
DStatsPublisherTest.java17 package com.android.car.telemetry.publisher;
26 import static com.android.car.telemetry.publisher.StatsPublisher.ACTIVITY_FOREGROUND_STATE_CHANGED_…
27 import static com.android.car.telemetry.publisher.StatsPublisher.ACTIVITY_FOREGROUND_STATE_CHANGED_…
28 import static com.android.car.telemetry.publisher.StatsPublisher.APP_START_MEMORY_STATE_CAPTURED_AT…
29 import static com.android.car.telemetry.publisher.StatsPublisher.APP_START_MEMORY_STATE_CAPTURED_EV…
30 import static com.android.car.telemetry.publisher.StatsPublisher.PROCESS_MEMORY_STATE_FIELDS_MATCHE…
31 import static com.android.car.telemetry.publisher.StatsPublisher.PROCESS_MEMORY_STATE_GAUGE_METRIC_…
32 import static com.android.car.telemetry.publisher.StatsPublisher.PROCESS_MEMORY_STATE_MATCHER_ID;
DMemoryPublisherTest.java17 package com.android.car.telemetry.publisher;
19 import static com.android.car.telemetry.publisher.MemoryPublisher.BUNDLE_KEY_COLLECT_INDEFINITELY;
20 import static com.android.car.telemetry.publisher.MemoryPublisher.BUNDLE_KEY_NUM_SNAPSHOTS_UNTIL_FI…
21 import static com.android.car.telemetry.publisher.MemoryPublisher.THROTTLE_MILLIS;
300 TelemetryProto.Publisher publisher = TelemetryProto.Publisher.newBuilder().setMemory( in testAddDataSubscriber_whenPackageNameNotFound_doesNotPullProcessMeminfo() local
303 SUBSCRIBER_TEN_SEC.toBuilder().setPublisher(publisher).build()); in testAddDataSubscriber_whenPackageNameNotFound_doesNotPullProcessMeminfo()
304 when(dataSubscriber.getPublisherParam()).thenReturn(publisher); in testAddDataSubscriber_whenPackageNameNotFound_doesNotPullProcessMeminfo()
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/misc/
Dmax_distinct_destinations_in_source.json38 // Source is registered on September 17 since publisher is different
69 // Source is not registered on October 11 -- the publisher is the same as the source
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDaoTest.java1113 Uri publisher = Uri.parse("android-app://publisher.app"); in testCountDistinctDestinations_atWindow() local
1120 publisher, in testCountDistinctDestinations_atWindow()
1134 publisher, in testCountDistinctDestinations_atWindow()
1148 publisher, in testCountDistinctDestinations_atWindow()
1161 publisher, in testCountDistinctDestinations_atWindow()
1172 Uri publisher = Uri.parse("android-app://publisher.app"); in testCountDistinctDestinations_expiredSource() local
1179 publisher, in testCountDistinctDestinations_expiredSource()
1189 publisher, in testCountDistinctDestinations_expiredSource()
1207 publisher, in testCountDistinctDestinations_expiredSource()
1221 publisher, in testCountDistinctDestinations_expiredSource()
[all …]
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/
DEventMetricDataConverter.java17 package com.android.car.telemetry.publisher.statsconverters;
19 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_ELAPSED_TIMESTAMP;
DGaugeMetricDataConverter.java17 package com.android.car.telemetry.publisher.statsconverters;
19 import static com.android.car.telemetry.publisher.Constants.STATS_BUNDLE_KEY_ELAPSED_TIMESTAMP;
DConfigMetricsReportListConverter.java17 package com.android.car.telemetry.publisher.statsconverters;
23 import com.android.car.telemetry.publisher.HashUtils;
/packages/services/Car/service/src/com/android/car/telemetry/databroker/
DDataBrokerImpl.java52 import com.android.car.telemetry.publisher.AbstractPublisher;
53 import com.android.car.telemetry.publisher.PublisherFactory;
321 AbstractPublisher publisher = mPublisherFactory.getPublisher( in addMetricsConfig() local
330 publisher.addDataSubscriber(dataSubscriber); in addMetricsConfig()
345 AbstractPublisher publisher = mPublisherFactory.getPublisher( in removeMetricsConfig() local
348 publisher.removeDataSubscriber(subscriber); in removeMetricsConfig()

1234