Home
last modified time | relevance | path

Searched full:answer (Results 1 – 25 of 7311) sorted by relevance

12345678910>>...293

/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/format/format.functions/
H A Dformat_tests.h716 check(SV("answer is 'true '"), SV("answer is '{:7}'"), true); in format_test_bool()
717 check(SV("answer is ' true'"), SV("answer is '{:>7}'"), true); in format_test_bool()
718 check(SV("answer is 'true '"), SV("answer is '{:<7}'"), true); in format_test_bool()
719 check(SV("answer is ' true '"), SV("answer is '{:^7}'"), true); in format_test_bool()
721 check(SV("answer is 'false '"), SV("answer is '{:8s}'"), false); in format_test_bool()
722 check(SV("answer is ' false'"), SV("answer is '{:>8s}'"), false); in format_test_bool()
723 check(SV("answer is 'false '"), SV("answer is '{:<8s}'"), false); in format_test_bool()
724 check(SV("answer is ' false '"), SV("answer is '{:^8s}'"), false); in format_test_bool()
727 check(SV("answer is ':::true'"), SV("answer is '{::>7}'"), true); in format_test_bool()
728 check(SV("answer is 'true:::'"), SV("answer is '{::<7}'"), true); in format_test_bool()
[all …]
/aosp_15_r20/external/pdfium/testing/resources/javascript/
H A Dlistbox_methods_expected.txt2 Alert: Answer for "foo" is: string foo
3 Alert: Answer for "bar" is: string bar
4 Alert: Answer for "qux" is: string qux
5 Alert: Answer for "bar" is: string bar
6 Alert: Answer for "qux" is: string qux
8 Alert: Answer for "" is: string
9 Alert: Answer for "goats" is: string
10 Alert: Answer for "b4" is: string
11 Alert: Answer for "b4.5" is: string
12 Alert: Answer for "4x" is: string
[all …]
H A Dbug_361_expected.txt1 Alert: Answer for "" is: string
2 Alert: Answer for "goats" is: string goats
3 Alert: Answer for "b4" is: string b4
4 Alert: Answer for "b4.5" is: string b4.5
5 Alert: Answer for "4x" is: string 4x
6 Alert: Answer for "4.5x" is: string 4.5x
7 Alert: Answer for "4" is: number 4
8 Alert: Answer for "4" is: number 4
9 Alert: Answer for " 4" is: number 4
10 Alert: Answer for "4 " is: number 4
[all …]
/aosp_15_r20/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
H A DDevicePolicyManagerWrapper.java31 import org.mockito.stubbing.Answer;
43 DevicePolicyManager getWrapper(Context context, DevicePolicyManager dpm, Answer<?> answer) { in getWrapper() argument
64 doAnswer(answer).when(spy).isAdminActive(any()); in getWrapper()
65 doAnswer(answer).when(spy).isDeviceOwnerApp(any()); in getWrapper()
66 doAnswer(answer).when(spy).isManagedProfile(any()); in getWrapper()
67 doAnswer(answer).when(spy).isProfileOwnerApp(any()); in getWrapper()
68 doAnswer(answer).when(spy).isAffiliatedUser(); in getWrapper()
71 doAnswer(answer).when(spy).setTime(any(), anyLong()); in getWrapper()
72 doAnswer(answer).when(spy).setTimeZone(any(), any()); in getWrapper()
73 doAnswer(answer).when(spy).setGlobalSetting(any(), any(), any()); in getWrapper()
[all …]
/aosp_15_r20/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
H A DAnswerFunctionalInterfaces.java8 import org.mockito.stubbing.Answer;
33 * Construct an answer from a two parameter answer interface
34 * @param answer answer interface
37 * @return a new answer object
39 public static <T, A> Answer<T> toAnswer(final Answer1<T, A> answer) { in toAnswer() argument
40 return new Answer<T>() { in toAnswer()
42 public T answer(InvocationOnMock invocation) throws Throwable { in toAnswer()
43 return answer.answer((A)invocation.getArgument(0)); in toAnswer()
49 * Construct an answer from a two parameter answer interface
50 * @param answer answer interface
[all …]
/aosp_15_r20/external/python/parse_type/tests/
Dtest_builder.py29 schema = "Answer: {answer:YesNo}"
34 parse_yesno, "Answer: %s", "answer")
37 self.assert_match(parser, "Answer: yes", "answer", True)
38 self.assert_match(parser, "Answer: no", "answer", False)
41 self.assert_match(parser, "Answer: YES", "answer", True)
44 self.assert_mismatch(parser, "Answer: __YES__", "answer")
45 self.assert_mismatch(parser, "Answer: yes ", "answer")
46 self.assert_mismatch(parser, "Answer: yes ZZZ", "answer")
53 schema = "Answer: {number:NumberAsWord}"
58 parse_nword, "Answer: %s", "number")
[all …]
/aosp_15_r20/external/mockito/src/main/java/org/mockito/
H A DAdditionalAnswers.java13 import org.mockito.stubbing.Answer;
32 * that either return a value or are void (see answer interfaces in {@link org.mockito.stubbing}).
35 * {@link #returnsLastArg}, {@link #returnsArgAt}, {@link #answer} and {@link #answerVoid}
45 * This additional answer could be used at stub time using the
46 * <code>then|do|will{@link org.mockito.stubbing.Answer}</code> methods. For example :
81 * @return Answer that will return the first argument of the invocation.
85 public static <T> Answer<T> returnsFirstArg() { in returnsFirstArg()
86 return (Answer<T>) new ReturnsArgumentAt(0); in returnsFirstArg()
93 * This additional answer could be used at stub time using the
94 * <code>then|do|will{@link org.mockito.stubbing.Answer}</code> methods. For example :
[all …]
/aosp_15_r20/external/openscreen/cast/streaming/
H A Dcapture_recommendations_unittest.cc85 EXPECT_EQ(kDefaultRecommendations, GetRecommendations(Answer{})); in TEST()
89 Answer answer; in TEST() local
90 answer.display = kEmptyDescription; in TEST()
91 EXPECT_EQ(kDefaultRecommendations, GetRecommendations(answer)); in TEST()
98 Answer answer; in TEST() local
99 answer.display = kValidOnlyResolution; in TEST()
100 EXPECT_EQ(expected, GetRecommendations(answer)); in TEST()
107 Answer answer; in TEST() local
108 answer.display = kValidOnlyAspectRatio; in TEST()
110 EXPECT_EQ(expected, GetRecommendations(answer)); in TEST()
[all …]
H A Danswer_messages_unittest.cc69 const Answer kValidAnswer{
112 void ExpectEqualsValidAnswerJson(const Answer& answer) { in ExpectEqualsValidAnswerJson() argument
113 EXPECT_EQ(1234, answer.udp_port); in ExpectEqualsValidAnswerJson()
115 EXPECT_THAT(answer.send_indexes, ElementsAre(1, 3)); in ExpectEqualsValidAnswerJson()
116 EXPECT_THAT(answer.ssrcs, ElementsAre(1233324u, 2234222u)); in ExpectEqualsValidAnswerJson()
117 ASSERT_TRUE(answer.constraints.has_value()); in ExpectEqualsValidAnswerJson()
118 const AudioConstraints& audio = answer.constraints->audio; in ExpectEqualsValidAnswerJson()
125 const VideoConstraints& video = answer.constraints->video; in ExpectEqualsValidAnswerJson()
138 ASSERT_TRUE(answer.display.has_value()); in ExpectEqualsValidAnswerJson()
139 const DisplayDescription& display = answer.display.value(); in ExpectEqualsValidAnswerJson()
[all …]
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/
Ddialogflow_v2beta1.projects.locations.answerRecords.html82 <p class="firstline">Deprecated. Retrieves a specific answer record.</p>
85 <p class="firstline">Returns the list of all answer records in the specified project in reverse chr…
91 <p class="firstline">Updates the specified answer record.</p>
100 <pre>Deprecated. Retrieves a specific answer record.
103 …name: string, Required. The name of the answer record to retrieve. Format: `projects//locations//a…
112Answer records are records to manage answer history and feedbacks for Dialogflow. Currently, answe…
113 …&quot;agentAssistantRecord&quot;: { # Represents a record of a human agent assistant answer. # Out…
114 …cleSuggestionAnswer&quot;: { # Represents article answer. # Output only. The article suggestion an…
115 …&quot;answerRecord&quot;: &quot;A String&quot;, # The name of answer record, in the format of &quo…
116 …&quot;metadata&quot;: { # A map that contains metadata about the answer and the document from whic…
[all …]
Ddialogflow_v2beta1.projects.answerRecords.html82 <p class="firstline">Deprecated. Retrieves a specific answer record.</p>
85 <p class="firstline">Returns the list of all answer records in the specified project in reverse chr…
91 <p class="firstline">Updates the specified answer record.</p>
100 <pre>Deprecated. Retrieves a specific answer record.
103 …name: string, Required. The name of the answer record to retrieve. Format: `projects//locations//a…
112Answer records are records to manage answer history and feedbacks for Dialogflow. Currently, answe…
113 …&quot;agentAssistantRecord&quot;: { # Represents a record of a human agent assistant answer. # Out…
114 …cleSuggestionAnswer&quot;: { # Represents article answer. # Output only. The article suggestion an…
115 …&quot;answerRecord&quot;: &quot;A String&quot;, # The name of answer record, in the format of &quo…
116 …&quot;metadata&quot;: { # A map that contains metadata about the answer and the document from whic…
[all …]
Ddialogflow_v2.projects.locations.answerRecords.html82 <p class="firstline">Returns the list of all answer records in the specified project in reverse chr…
88 <p class="firstline">Updates the specified answer record.</p>
97 …<pre>Returns the list of all answer records in the specified project in reverse chronological orde…
100 …parent: string, Required. The project to list all answer records for in reverse chronological orde…
101 …: string, Required. Filters to restrict results to specific answer records. Filter on answer recor…
113 &quot;answerRecords&quot;: [ # The list of answer records.
114Answer records are records to manage answer history and feedbacks for Dialogflow. Currently, answe…
115 …&quot;agentAssistantRecord&quot;: { # Represents a record of a human agent assist answer. # Output…
116 …cleSuggestionAnswer&quot;: { # Represents article answer. # Output only. The article suggestion an…
117 …&quot;answerRecord&quot;: &quot;A String&quot;, # The name of answer record, in the format of &quo…
[all …]
Ddialogflow_v2.projects.answerRecords.html82 <p class="firstline">Returns the list of all answer records in the specified project in reverse chr…
88 <p class="firstline">Updates the specified answer record.</p>
97 …<pre>Returns the list of all answer records in the specified project in reverse chronological orde…
100 …parent: string, Required. The project to list all answer records for in reverse chronological orde…
101 …: string, Required. Filters to restrict results to specific answer records. Filter on answer recor…
113 &quot;answerRecords&quot;: [ # The list of answer records.
114Answer records are records to manage answer history and feedbacks for Dialogflow. Currently, answe…
115 …&quot;agentAssistantRecord&quot;: { # Represents a record of a human agent assist answer. # Output…
116 …cleSuggestionAnswer&quot;: { # Represents article answer. # Output only. The article suggestion an…
117 …&quot;answerRecord&quot;: &quot;A String&quot;, # The name of answer record, in the format of &quo…
[all …]
Dmanufacturers_v1.accounts.products.html107 …duct. For more information, see https://support.google.com/manufacturers/answer/6124116#id. (requi…
126 …duct. For more information, see https://support.google.com/manufacturers/answer/6124116#id. (requi…
142 …duct. For more information, see https://support.google.com/manufacturers/answer/6124116. # Attribu…
143 …oduct. For more information, see https://support.google.com/manufacturers/answer/6124116#addlimage.
150 …roduct. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup.
151 …e product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand.
152 …nufacturers/answer/6124116#capacity. # The capacity of the product. For more information, see http…
156 …e product. For more information, see https://support.google.com/manufacturers/answer/6124116#color.
157 …/manufacturers/answer/6124116#count. # The count of the product. For more information, see https:/…
161 …duct. For more information, see https://support.google.com/manufacturers/answer/6124116#descriptio…
[all …]
/aosp_15_r20/external/webrtc/pc/
H A Dsrtp_filter_unittest.cc122 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F() local
126 answer[0].tag = 2; in TEST_F()
127 answer[0].cipher_suite = kCsAesCm128HmacSha1_32; in TEST_F()
130 EXPECT_TRUE(f1_.SetAnswer(answer, CS_REMOTE)); in TEST_F()
136 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParamsGcm3)); in TEST_F() local
139 answer[0].tag = 2; in TEST_F()
142 EXPECT_TRUE(f1_.SetAnswer(answer, CS_REMOTE)); in TEST_F()
148 std::vector<CryptoParams> offer, answer; in TEST_F() local
150 EXPECT_TRUE(f1_.SetAnswer(answer, CS_REMOTE)); in TEST_F()
156 std::vector<CryptoParams> answer; in TEST_F() local
[all …]
H A Dmedia_session_unittest.cc648 // `expected_direction_in_answer` in an answer if the offer direction is set
649 // to `direction_in_offer` and the answer is willing to both send and receive.
666 std::unique_ptr<SessionDescription> answer = in TestMediaDirectionInAnswer() local
669 GetFirstAudioContentDescription(answer.get()); in TestMediaDirectionInAnswer()
672 GetFirstVideoContentDescription(answer.get()); in TestMediaDirectionInAnswer()
711 std::unique_ptr<SessionDescription> answer = in TestVideoGcmCipher() local
713 const ContentInfo* ac = answer->GetContentByName("audio"); in TestVideoGcmCipher()
714 const ContentInfo* vc = answer->GetContentByName("video"); in TestVideoGcmCipher()
753 std::unique_ptr<SessionDescription> answer = in TestTransportSequenceNumberNegotiation() local
758 GetFirstAudioContentDescription(answer.get())->rtp_header_extensions()); in TestTransportSequenceNumberNegotiation()
[all …]
H A Dpeer_connection_crypto_unittest.cc212 // When DTLS is enabled, the SDP offer/answer should have a DTLS fingerprint and
233 auto answer = callee->CreateAnswer(); in TEST_P() local
234 ASSERT_TRUE(answer); in TEST_P()
236 ASSERT_FALSE(answer->description()->contents().empty()); in TEST_P()
237 EXPECT_TRUE(SdpContentsAll(HaveDtlsFingerprint(), answer->description())); in TEST_P()
238 EXPECT_TRUE(SdpContentsNone(HaveSdesCryptos(), answer->description())); in TEST_P()
240 answer->description())); in TEST_P()
244 // When DTLS is disabled, the SDP offer/answer should include SDES cryptos and
268 auto answer = callee->CreateAnswer(); in TEST_P() local
269 ASSERT_TRUE(answer); in TEST_P()
[all …]
/aosp_15_r20/external/google-cloud-java/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/
H A DKnowledgeAnswers.java72 …@@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer)
79 * Indicates which Knowledge Document this answer was extracted from.
93 * Indicates which Knowledge Document this answer was extracted from.
108 * The corresponding FAQ question if the answer was extracted from a FAQ
121 * The corresponding FAQ question if the answer was extracted from a FAQ
139 * <code>string answer = 3;</code>
141 * @return The answer.
152 * <code>string answer = 3;</code>
154 * @return The bytes for answer.
162 * The system's confidence level that this knowledge answer is a good match
[all …]
/aosp_15_r20/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/
H A DReturnsSmartNullsTest.java11 import org.mockito.stubbing.Answer;
21 Answer<Object> answer = new ReturnsSmartNulls(); in should_return_the_usual_default_values_for_primitives() local
22 … assertEquals(false , answer.answer(invocationOf(HasPrimitiveMethods.class, "booleanMethod"))); in should_return_the_usual_default_values_for_primitives()
23 … assertEquals((char) 0, answer.answer(invocationOf(HasPrimitiveMethods.class, "charMethod"))); in should_return_the_usual_default_values_for_primitives()
24 … assertEquals((byte) 0, answer.answer(invocationOf(HasPrimitiveMethods.class, "byteMethod"))); in should_return_the_usual_default_values_for_primitives()
25 … assertEquals((short) 0, answer.answer(invocationOf(HasPrimitiveMethods.class, "shortMethod"))); in should_return_the_usual_default_values_for_primitives()
26 … assertEquals(0, answer.answer(invocationOf(HasPrimitiveMethods.class, "intMethod"))); in should_return_the_usual_default_values_for_primitives()
27 … assertEquals(0L, answer.answer(invocationOf(HasPrimitiveMethods.class, "longMethod"))); in should_return_the_usual_default_values_for_primitives()
28 … assertEquals(0f, answer.answer(invocationOf(HasPrimitiveMethods.class, "floatMethod"))); in should_return_the_usual_default_values_for_primitives()
29 … assertEquals(0d, answer.answer(invocationOf(HasPrimitiveMethods.class, "doubleMethod"))); in should_return_the_usual_default_values_for_primitives()
[all …]
/aosp_15_r20/external/googleapis/google/cloud/dialogflow/v2beta1/
H A Danswer_record.proto44 // Retrieves a specific answer record.
55 // Returns the list of all answer records in the specified project in reverse
68 // Updates the specified answer record.
82 // Answer records are records to manage answer history and feedbacks for
85 // Currently, answer record includes:
95 // Answer records are not related to the conversation history in the
100 // A typical workflow for customers provide feedback to an answer is:
109 // [UpdateAnswerRecord][] method to send feedback about a specific answer
118 // The unique identifier of this answer record.
122 // ID>/answerRecords/<Answer Record ID>`.
[all …]
/aosp_15_r20/external/google-cloud-java/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/
H A Danswer_record.proto44 // Retrieves a specific answer record.
55 // Returns the list of all answer records in the specified project in reverse
68 // Updates the specified answer record.
82 // Answer records are records to manage answer history and feedbacks for
85 // Currently, answer record includes:
95 // Answer records are not related to the conversation history in the
100 // A typical workflow for customers provide feedback to an answer is:
109 // [UpdateAnswerRecord][] method to send feedback about a specific answer
118 // The unique identifier of this answer record.
122 // ID>/answerRecords/<Answer Record ID>`.
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementCompatibleManagerTest.java65 import org.mockito.stubbing.Answer;
114 Answer<Void> answer = in testRegisterSource_callingApp_expectedAttributionSource() local
119 doAnswer(answer).when(mockService).register(captor.capture(), any(), any()); in testRegisterSource_callingApp_expectedAttributionSource()
157 Answer<Void> answer = in testRegisterSource_adIdEnabled_register() local
162 doAnswer(answer).when(mockService).register(captor.capture(), any(), any()); in testRegisterSource_adIdEnabled_register()
196 Answer<Void> answer = in testRegisterSource_adIdZeroOut_register() local
201 doAnswer(answer).when(mockService).register(captor.capture(), any(), any()); in testRegisterSource_adIdZeroOut_register()
234 Answer<Void> answer = in testRegisterSource_adIdDisabled_register() local
239 doAnswer(answer).when(mockService).register(captor.capture(), any(), any()); in testRegisterSource_adIdDisabled_register()
273 Answer<Void> answer = in testRegisterSource_adIdTimeOut_register() local
[all …]
/aosp_15_r20/external/googleapis/google/cloud/dialogflow/v2/
H A Danswer_record.proto43 // Returns the list of all answer records in the specified project in reverse
56 // Updates the specified answer record.
70 // Answer records are records to manage answer history and feedbacks for
73 // Currently, answer record includes:
83 // Answer records are not related to the conversation history in the
88 // A typical workflow for customers provide feedback to an answer is:
96 // [UpdateAnswerRecord][] method to send feedback about a specific answer
105 // The unique identifier of this answer record.
107 // ID>/answerRecords/<Answer Record ID>`.
112 // in order to give us feedback about this answer.
[all …]
/aosp_15_r20/external/google-cloud-java/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/
H A Danswer_record.proto43 // Returns the list of all answer records in the specified project in reverse
56 // Updates the specified answer record.
70 // Answer records are records to manage answer history and feedbacks for
73 // Currently, answer record includes:
83 // Answer records are not related to the conversation history in the
88 // A typical workflow for customers provide feedback to an answer is:
96 // [UpdateAnswerRecord][] method to send feedback about a specific answer
105 // The unique identifier of this answer record.
107 // ID>/answerRecords/<Answer Record ID>`.
112 // in order to give us feedback about this answer.
[all …]
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java44 import org.mockito.stubbing.Answer;
75 doAnswer(new Answer<Void>() { in testHelper()
77 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
86 doAnswer(new Answer<Void>() { in testHelper()
88 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
99 doAnswer(new Answer<Void>() { in testHelper()
101 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
309 doAnswer(new Answer<Void>() { in testAID_OnlyARAM()
311 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
328 doAnswer(new Answer<Void>() { in testAID_OnlyARAM()
[all …]

12345678910>>...293