Home
last modified time | relevance | path

Searched refs:signals (Results 1 – 25 of 204) sorted by relevance

123456789

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DDebugReportProcessorTest.java66 PostAuctionSignals signals = newDefaultPostAuctionSignals().build(); in singleBuyerSessionSuccessfulCase_returnsWinUri() local
74 List<Uri> uris = DebugReportProcessor.getUrisFromAdAuction(List.of(debugReport), signals); in singleBuyerSessionSuccessfulCase_returnsWinUri()
83 PostAuctionSignals signals = newDefaultPostAuctionSignals().build(); in multiBuyerSessionFailedCase_returnsLosingUri() local
101 List.of(debugReport, debugReport2), signals); in multiBuyerSessionFailedCase_returnsLosingUri()
109 PostAuctionSignals signals = newDefaultPostAuctionSignals().build(); in singleBuyerSessionWithWinningBid_returnsWinningUri() local
116 List<Uri> uris = DebugReportProcessor.getUrisFromAdAuction(List.of(debugReport), signals); in singleBuyerSessionWithWinningBid_returnsWinningUri()
125 PostAuctionSignals signals = in singleBuyerSessionWithMismatchedAdTech_returnsNoUri() local
136 List<Uri> uris = DebugReportProcessor.getUrisFromAdAuction(List.of(debugReport), signals); in singleBuyerSessionWithMismatchedAdTech_returnsNoUri()
143 PostAuctionSignals signals = newDefaultPostAuctionSignals().build(); in singleBuyerSessionWithEmptyUri_returnsNoUri() local
151 List<Uri> uris = DebugReportProcessor.getUrisFromAdAuction(List.of(debugReport), signals); in singleBuyerSessionWithEmptyUri_returnsNoUri()
[all …]
DAdOutcomeSelectorImplTest.java180 AdSelectionSignals signals = AdSelectionSignals.EMPTY; in testAdOutcomeSelectorReturnsOutcomeSuccess() local
186 .setSelectionSignals(signals) in testAdOutcomeSelectorReturnsOutcomeSuccess()
194 signals, in testAdOutcomeSelectorReturnsOutcomeSuccess()
225 AdSelectionSignals signals = AdSelectionSignals.EMPTY; in testAdOutcomeSelectorReturnsNullSuccess() local
231 .setSelectionSignals(signals) in testAdOutcomeSelectorReturnsNullSuccess()
239 signals, in testAdOutcomeSelectorReturnsNullSuccess()
270 AdSelectionSignals signals = AdSelectionSignals.EMPTY; in testAdOutcomeSelectorJsonException() local
276 .setSelectionSignals(signals) in testAdOutcomeSelectorJsonException()
285 signals, in testAdOutcomeSelectorJsonException()
340 AdSelectionSignals signals = AdSelectionSignals.EMPTY; in testAdOutcomeSelectorTimeoutFailure() local
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/updateprocessors/
DPutIfNotPresentTest.java17 package com.android.adservices.service.signals.updateprocessors;
19 import static com.android.adservices.service.signals.SignalsFixture.BASE64_KEY_1;
20 import static com.android.adservices.service.signals.SignalsFixture.BASE64_KEY_2;
21 import static com.android.adservices.service.signals.SignalsFixture.BASE64_VALUE_1;
22 import static com.android.adservices.service.signals.SignalsFixture.BASE64_VALUE_2;
23 import static com.android.adservices.service.signals.SignalsFixture.BB_KEY_1;
24 import static com.android.adservices.service.signals.SignalsFixture.BB_KEY_2;
25 import static com.android.adservices.service.signals.SignalsFixture.ID_1;
26 import static com.android.adservices.service.signals.SignalsFixture.KEY_1;
27 import static com.android.adservices.service.signals.SignalsFixture.KEY_2;
[all …]
DPutTest.java17 package com.android.adservices.service.signals.updateprocessors;
19 import static com.android.adservices.service.signals.SignalsFixture.BASE64_KEY_1;
20 import static com.android.adservices.service.signals.SignalsFixture.BASE64_KEY_2;
21 import static com.android.adservices.service.signals.SignalsFixture.BASE64_VALUE_1;
22 import static com.android.adservices.service.signals.SignalsFixture.BASE64_VALUE_2;
23 import static com.android.adservices.service.signals.SignalsFixture.BB_KEY_1;
24 import static com.android.adservices.service.signals.SignalsFixture.BB_KEY_2;
25 import static com.android.adservices.service.signals.SignalsFixture.ID_1;
26 import static com.android.adservices.service.signals.SignalsFixture.ID_2;
27 import static com.android.adservices.service.signals.SignalsFixture.KEY_1;
[all …]
DAppendTest.java17 package com.android.adservices.service.signals.updateprocessors;
19 import static com.android.adservices.service.signals.SignalsFixture.BASE64_KEY_1;
20 import static com.android.adservices.service.signals.SignalsFixture.BASE64_KEY_2;
21 import static com.android.adservices.service.signals.SignalsFixture.BASE64_VALUE_1;
22 import static com.android.adservices.service.signals.SignalsFixture.BASE64_VALUE_2;
23 import static com.android.adservices.service.signals.SignalsFixture.BB_KEY_1;
24 import static com.android.adservices.service.signals.SignalsFixture.BB_KEY_2;
25 import static com.android.adservices.service.signals.SignalsFixture.ID_1;
26 import static com.android.adservices.service.signals.SignalsFixture.ID_2;
27 import static com.android.adservices.service.signals.SignalsFixture.ID_3;
[all …]
DRemoveTest.java17 package com.android.adservices.service.signals.updateprocessors;
19 import static com.android.adservices.service.signals.SignalsFixture.BASE64_KEY_1;
20 import static com.android.adservices.service.signals.SignalsFixture.BB_KEY_1;
21 import static com.android.adservices.service.signals.SignalsFixture.ID_1;
22 import static com.android.adservices.service.signals.SignalsFixture.KEY_1;
23 import static com.android.adservices.service.signals.SignalsFixture.NOW;
24 import static com.android.adservices.service.signals.SignalsFixture.VALUE_1;
25 import static com.android.adservices.service.signals.SignalsFixture.createSignal;
30 import com.android.adservices.data.signals.DBProtectedSignal;
DUpdateProcessorUtilsTest.java17 package com.android.adservices.service.signals.updateprocessors;
19 import static com.android.adservices.service.signals.SignalsFixture.BB_KEY_1;
20 import static com.android.adservices.service.signals.updateprocessors.UpdateProcessorUtils.castToJS…
21 import static com.android.adservices.service.signals.updateprocessors.UpdateProcessorUtils.castToJS…
22 import static com.android.adservices.service.signals.updateprocessors.UpdateProcessorUtils.decodeKe…
23 import static com.android.adservices.service.signals.updateprocessors.UpdateProcessorUtils.decodeVa…
24 import static com.android.adservices.service.signals.updateprocessors.UpdateProcessorUtils.touchKey;
DUpdateEncoderEventHandlerTest.java17 package com.android.adservices.service.signals.updateprocessors;
19 import static com.android.adservices.service.signals.SignalsFixture.DEV_CONTEXT;
31 import com.android.adservices.data.signals.DBEncoderEndpoint;
32 import com.android.adservices.data.signals.EncoderEndpointsDao;
33 import com.android.adservices.data.signals.EncoderLogicHandler;
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dtruth.py21 from mobly import signals
37 …raise signals.TestFailure("Expected \"%s\" to be equal to \"%s\"" % (self._value, other), extras=N…
41 …raise signals.TestFailure("Expected \"%s\" not to be equal to \"%s\"" % (self._value, other), extr…
45 …raise signals.TestFailure("Expected \"%s\" to be greater than \"%s\"" % (self._value, other), extr…
49 …raise signals.TestFailure("Expected \"%s\" to be less than \"%s\"" % (self._value, other), extras=…
53 raise signals.TestFailure("Expected \"%s\" to be None" % self._value, extras=None)
57 raise signals.TestFailure("Expected \"%s\" to not be None" % self._value, extras=None)
70 raise signals.TestFailure("Must specify a match function")
85 raise signals.TestFailure("Cannot specify multiple match functions")
111 raise signals.TestFailure("Must specify a match function")
[all …]
Dtest_decorators.py17 from mobly import signals
90 except (signals.TestFailure, signals.TestError, AssertionError) as signal:
93 except signals.TestPass as signal:
96 except (signals.TestSignal, KeyboardInterrupt):
104signals.TestPass('Test iteration %s of %s passed without details.' % (i, func.__name__)))
170 new_signal = signals.TestPass('')
172 new_signal = signals.TestFailure('')
173 except signals.TestSignal as signal:
177 new_signal = signals.TestError(cause)
/packages/modules/Bluetooth/system/blueberry/tests/avrcp/
Dbluetooth_avrcp_test.py11 from mobly import signals
68 raise signals.TestError(
73 raise signals.TestError(
144 exception=signals.TestError(
154 exception=signals.TestError(
178 raise signals.TestError(
214 exception=signals.TestFailure(
239 raise signals.TestError(
279 exception=signals.TestFailure(
315 signals.TestError('The test requires an android bt target device.')
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/pan/
Dbluetooth_pan_test.py7 from mobly import signals
54 raise signals.TestError('SIM card is not ready on Device "%s".' %
99 exception=signals.TestFailure(
127 except signals.TestFailure:
129 raise signals.TestFailure(
188 exception=signals.TestError(
198 exception=signals.TestError(
224 exception=signals.TestFailure(
289 exception=signals.TestFailure(
322 exception=signals.TestFailure(
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/signals/
DGenerateInputForEncodingCommandTest.java17 package com.android.adservices.service.shell.signals;
19 import static com.android.adservices.service.signals.ProtectedSignalsArgumentUtil.validateAndSerial…
37 import com.android.adservices.service.signals.ProtectedSignal;
38 import com.android.adservices.service.signals.ProtectedSignalsFixture;
39 import com.android.adservices.service.signals.SignalsProvider;
91 List<ProtectedSignal> signals = in testRun_happyPath_returnsSuccess() local
97 when(mSignalsProvider.getSignals(BUYER)).thenReturn(Map.of(VALID_SIGNAL_KEY, signals)); in testRun_happyPath_returnsSuccess()
121 .contains(validateAndSerializeBase64(signals.get(0).getBase64EncodedValue())); in testRun_happyPath_returnsSuccess()
123 .contains(validateAndSerializeBase64(signals.get(1).getBase64EncodedValue())); in testRun_happyPath_returnsSuccess()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DSignalsIntakeE2ETest.java17 package com.android.adservices.service.signals;
19 import static com.android.adservices.service.signals.SignalsFixture.ADTECH;
20 import static com.android.adservices.service.signals.SignalsFixture.BASE64_KEY_1;
21 import static com.android.adservices.service.signals.SignalsFixture.BASE64_VALUE_1;
22 import static com.android.adservices.service.signals.SignalsFixture.KEY_1;
23 import static com.android.adservices.service.signals.SignalsFixture.VALUE_1;
24 import static com.android.adservices.service.signals.SignalsFixture.assertSignalsUnorderedListEqual…
25 import static com.android.adservices.service.signals.SignalsFixture.intToBase64;
26 import static com.android.adservices.service.signals.SignalsFixture.intToBytes;
27 import static com.android.adservices.service.signals.UpdateProcessingOrchestrator.COLLISION_ERROR;
[all …]
DSignalsEncodingE2ETest.java17 package com.android.adservices.service.signals;
19 import static com.android.adservices.service.signals.SignalsFixture.assertSignalsUnorderedListEqual…
20 import static com.android.adservices.service.signals.SignalsFixture.intToBase64;
21 import static com.android.adservices.service.signals.SignalsFixture.intToBytes;
38 import android.adservices.signals.UpdateSignalsInput;
51 import com.android.adservices.data.signals.DBEncodedPayload;
52 import com.android.adservices.data.signals.DBProtectedSignal;
53 import com.android.adservices.data.signals.EncodedPayloadDao;
54 import com.android.adservices.data.signals.EncoderEndpointsDao;
55 import com.android.adservices.data.signals.EncoderLogicHandler;
[all …]
/packages/modules/Bluetooth/floss/hcidoc/src/groups/
Dcontrollers.rs46 signals: Vec<Signal>, field
57 ControllerRule { signals: vec![], reportable: vec![], controllers: HashSet::new() } in new()
61 self.signals.push(Signal { in report_hardware_error()
75 self.signals.push(Signal {
82 Err(_) => self.signals.push(Signal {
92 self.signals.push(Signal { in process_local_version()
104 self.signals.push(Signal { in process_new_index()
156 self.signals.as_slice() in report_signals()
Dconnections.rs120 signals: Vec<Signal>, field
145 signals: vec![], in new()
387 self.signals.push(Signal { in process_disconn_complete_ev()
405 self.signals.push(Signal { in process_disconn_complete_ev()
423 self.signals.push(Signal { in process_disconn_complete_ev()
542 self.signals.push(Signal { in process_nocp()
584 self.signals.push(Signal { in process_remote_feat_ev()
836 self.signals.as_slice() in report_signals()
865 signals: Vec<Signal>, field
877 signals: vec![], in new()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DPeriodicEncodingJobWorker.java17 package com.android.adservices.service.signals;
28 import com.android.adservices.data.signals.DBEncodedPayload;
29 import com.android.adservices.data.signals.DBEncoderLogicMetadata;
30 import com.android.adservices.data.signals.DBSignalsUpdateMetadata;
31 import com.android.adservices.data.signals.EncodedPayloadDao;
32 import com.android.adservices.data.signals.EncoderLogicHandler;
33 import com.android.adservices.data.signals.EncoderLogicMetadataDao;
34 import com.android.adservices.data.signals.ProtectedSignalsDao;
35 import com.android.adservices.data.signals.ProtectedSignalsDatabase;
300 Map<String, List<ProtectedSignal>> signals = mSignalsProvider.getSignals(buyer);
[all …]
DUpdateProcessingOrchestrator.java17 package com.android.adservices.service.signals;
28 import com.android.adservices.data.signals.DBProtectedSignal;
29 import com.android.adservices.data.signals.ProtectedSignalsDao;
31 import com.android.adservices.service.signals.evict.SignalEvictionController;
32 import com.android.adservices.service.signals.updateprocessors.UpdateEncoderEvent;
33 import com.android.adservices.service.signals.updateprocessors.UpdateEncoderEventHandler;
34 import com.android.adservices.service.signals.updateprocessors.UpdateOutput;
35 import com.android.adservices.service.signals.updateprocessors.UpdateProcessorSelector;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/signals/
DGenerateInputForEncodingCommand.java17 package com.android.adservices.service.shell.signals;
20 import static com.android.adservices.service.shell.signals.GenerateInputForEncodingArgs.ARG_PARSE_S…
21 import static com.android.adservices.service.shell.signals.GenerateInputForEncodingArgs.BUYER;
32 import com.android.adservices.service.signals.ProtectedSignal;
33 import com.android.adservices.service.signals.SignalsDriverLogicGenerator;
34 import com.android.adservices.service.signals.SignalsProvider;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/updateprocessors/
DUpdateEncoderEventHandler.java17 package com.android.adservices.service.signals.updateprocessors;
25 import com.android.adservices.data.signals.DBEncoderEndpoint;
26 import com.android.adservices.data.signals.EncoderEndpointsDao;
27 import com.android.adservices.data.signals.EncoderLogicHandler;
28 import com.android.adservices.data.signals.ProtectedSignalsDatabase;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DDebugReportProcessor.java205 @NonNull PostAuctionSignals signals, in collectVariablesFromAdAuction() argument
211 Objects.isNull(signals.getWinningBid()) in collectVariablesFromAdAuction()
213 : String.valueOf(signals.getWinningBid())); in collectVariablesFromAdAuction()
218 debugReport, signals.getWinningBuyer()))); in collectVariablesFromAdAuction()
222 isWinningUri && Objects.nonNull(signals.getSecondHighestScoredBid()) in collectVariablesFromAdAuction()
223 ? String.valueOf(signals.getSecondHighestScoredBid()) in collectVariablesFromAdAuction()
230 debugReport, signals.getSecondHighestScoredBuyer()))); in collectVariablesFromAdAuction()
DReportingComputationHelper.java33 default AdSelectionSignals parseAdSelectionSignalsOrEmpty(String signals) { in parseAdSelectionSignalsOrEmpty() argument
34 return Objects.isNull(signals) in parseAdSelectionSignalsOrEmpty()
36 : AdSelectionSignals.fromString(signals); in parseAdSelectionSignalsOrEmpty()
/packages/modules/AdServices/adservices/framework/java/android/adservices/signals/
DIProtectedSignalsService.aidl17 package android.adservices.signals;
19 import android.adservices.signals.UpdateSignalsInput;
20 import android.adservices.signals.UpdateSignalsCallback;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/evict/
DSignalEvictor.java17 package com.android.adservices.service.signals.evict;
21 import com.android.adservices.data.signals.DBProtectedSignal;
22 import com.android.adservices.service.signals.updateprocessors.UpdateOutput;

123456789