Searched refs:outcome (Results 1 – 9 of 9) sorted by relevance
/cts/libs/vogar-expect/src/vogar/expect/ |
D | Expectation.java | 97 public boolean matches(Outcome outcome) { in matches() argument 98 return patternMatches(outcome) && (bugIsOpen || result == outcome.getResult()); in matches() 101 private boolean patternMatches(Outcome outcome) { in patternMatches() argument 102 return pattern.matcher(outcome.getOutput()).matches(); in patternMatches()
|
D | Outcome.java | 153 Outcome outcome = (Outcome) o; in equals() local 154 return outcomeName.equals(outcome.outcomeName) in equals() 155 && result == outcome.result in equals() 156 && output.equals(outcome.output); in equals()
|
D | ExpectationStore.java | 86 public Expectation get(Outcome outcome) { in get() argument 87 Expectation exactNameMatch = outcomes.get(outcome.getName()); in get() 93 if (entry.getValue().matches(outcome)) { in get() 98 Expectation byName = getByNameOrPackage(outcome.getName()); in get()
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | TransactionalCall.java | 84 public void setActive(LatchedOutcomeReceiver outcome, Bundle extras ){ in setActive() argument 87 mCallControl.setActive(Runnable::run, outcome); in setActive() 94 mCallControl.answer(videoState, Runnable::run, outcome); in setActive() 99 public void setInactive(LatchedOutcomeReceiver outcome){ in setInactive() argument 101 mCallControl.setInactive(Runnable::run, outcome); in setInactive() 104 public void disconnect(LatchedOutcomeReceiver outcome, Bundle extras ) { in disconnect() argument 114 outcome); in disconnect()
|
/cts/tests/tests/telecom-apps/TransactionalVoipAppMain/src/android/telecom/cts/apps/transactionalvoipappmain/ |
D | TransactionalVoipAppControlMain.java | 171 final LatchedOutcomeReceiver outcome = 184 call.setActive(outcome, extras); 187 call.setInactive(outcome); 190 call.disconnect(outcome, extras); 207 verifyCallControlTransactionWasSuccessful(expectSuccess, stackTrace, outcome); 212 if (testExpectsOnErrorAndShouldReturnCallException(expectSuccess, outcome)) { 214 outcome.getmCallException()); 226 LatchedOutcomeReceiver outcome) 228 if (expectSuccess && !outcome.wasSuccessful()) { 232 + outcome.getmCallException().getMessage() + "]>"); [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallStreamingTest.java | 153 final android.telecom.cts.TelecomCtsVoipCall.LatchedOutcomeReceiver outcome = in testStartCallStreaming() local 155 call.mCallControl.startCallStreaming(Runnable::run, outcome); in testStartCallStreaming() 156 assertOnResultWasReceived(outcome.mCountDownLatch); in testStartCallStreaming()
|
D | TransactionalApisTest.java | 1228 final android.telecom.cts.TelecomCtsVoipCall.LatchedOutcomeReceiver outcome = in requestAndAssertEndpointChange() local 1237 call.mCallControl.requestCallEndpointChange(endpoint, Runnable::run, outcome); in requestAndAssertEndpointChange() 1299 final android.telecom.cts.TelecomCtsVoipCall.LatchedOutcomeReceiver outcome = in callControlAction() local 1311 call.mCallControl.setActive(Runnable::run, outcome); in callControlAction() 1318 call.mCallControl.answer(videoState, Runnable::run, outcome); in callControlAction() 1321 call.mCallControl.setInactive(Runnable::run, outcome); in callControlAction() 1328 call.mCallControl.requestMuteState(isMuted, Runnable::run, outcome); in callControlAction() 1335 call.mCallControl.requestVideoState(requestedVideoState, Runnable::run, outcome); in callControlAction() 1341 call.mCallControl.disconnect(disconnectCause, Runnable::run, outcome); in callControlAction()
|
/cts/tests/tests/telecom-apps/ManagedConnectionService/src/android/telecom/cts/apps/managedapp/ |
D | ManagedAppControl.java | 275 final LatchedEndpointOutcomeReceiver outcome = new LatchedEndpointOutcomeReceiver( 279 connection.requestCallEndpointChange(callEndpoint, Runnable::run, outcome);
|
/cts/tests/tests/telecom-apps/ConnectionServiceVoipAppMain/src/android/telecom/cts/apps/connectionservicevoipappmain/ |
D | VoipConnectionServiceControlMain.java | 301 final LatchedEndpointOutcomeReceiver outcome = new LatchedEndpointOutcomeReceiver( 304 connection.requestCallEndpointChange(callEndpoint, Runnable::run, outcome);
|