Home
last modified time | relevance | path

Searched +full:- +full:eq (Results 1 – 25 of 1463) sorted by relevance

12345678910>>...59

/aosp_15_r20/tools/tradefederation/core/avd_util/javatests/com/android/tradefed/util/avd/
DHostOrchestratorUtilTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
70 "{\"cvds\":[{\"group\":\"cvd_1\",\"name\":\"ins-1\",\"build_source\":{},"
72 + "\"webrtc_device_id\":\"cvd-1\"}]}";
74 "{\"cvds\":[{\"group\":\"cvd_1\",\"name\":\"ins-1\",\"build_source\":{},"
76 + "\"webrtc_device_id\":\"cvd-1\"}]}";
83 + "\"webrtc_device_id\":\"cvd-1\"}]}";
117 Mockito.eq(LHPTunnelMode.CURL), in testCreateHostOrchestratorTunnel_Oxygenation()
118 Mockito.eq("1111"), in testCreateHostOrchestratorTunnel_Oxygenation()
119 Mockito.eq(INSTANCE_NAME), in testCreateHostOrchestratorTunnel_Oxygenation()
120 Mockito.eq(HOST), in testCreateHostOrchestratorTunnel_Oxygenation()
[all …]
/aosp_15_r20/external/starlark-go/starlark/testdata/
H A Dfloat.star7 # - precision
8 # - limits
11 assert.eq(type(0.0), "float")
15 assert.true(-1.0)
17 assert.true(-1.0e-45)
25 assert.eq(type(1.234), "float")
26 assert.eq(type(1e10), "float")
27 assert.eq(type(1e+10), "float")
28 assert.eq(type(1e-10), "float")
29 assert.eq(type(1.234e10), "float")
[all …]
H A Dstring.star7 assert.eq(r"a\bc", "a\\bc")
15 assert.eq("a" + "b" + "c", "abc")
18 assert.eq("abc" * 0, "")
19 assert.eq("abc" * -1, "")
20 assert.eq("abc" * 1, "abc")
21 assert.eq("abc" * 5, "abcabcabcabcabc")
22 assert.eq(0 * "abc", "")
23 assert.eq(-1 * "abc", "")
24 assert.eq(1 * "abc", "abc")
25 assert.eq(5 * "abc", "abcabcabcabcabc")
[all …]
H A Dint.star6 assert.eq(0 - 1, -1)
7 assert.eq(0 + 1, +1)
8 assert.eq(1 + 1, 2)
9 assert.eq(5 + 7, 12)
10 assert.eq(5 * 7, 35)
11 assert.eq(5 - 7, -2)
14 maxint64 = (1 << 63) - 1
15 minint64 = -1 << 63
16 maxint32 = (1 << 31) - 1
17 minint32 = -1 << 31
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/googletest/tests/
Dtuple_matcher_test.rs7 // http://www.apache.org/licenses/LICENSE-2.0
20 fn empty_matcher_matches_empty_tuple() -> Result<()> { in empty_matcher_matches_empty_tuple()
25 fn singleton_matcher_matches_matching_singleton_tuple() -> Result<()> { in singleton_matcher_matches_matching_singleton_tuple()
26 verify_that!((123,), (eq(123),)) in singleton_matcher_matches_matching_singleton_tuple()
30 fn singleton_matcher_does_not_match_non_matching_singleton_tuple() -> Result<()> { in singleton_matcher_does_not_match_non_matching_singleton_tuple()
31 verify_that!((123,), not((eq(456),))) in singleton_matcher_does_not_match_non_matching_singleton_tuple()
35 fn pair_matcher_matches_matching_pair_tuple() -> Result<()> { in pair_matcher_matches_matching_pair_tuple()
36 verify_that!((123, 456), (eq(123), eq(456))) in pair_matcher_matches_matching_pair_tuple()
40 fn pair_matcher_matches_matching_pair_tuple_with_different_types() -> Result<()> { in pair_matcher_matches_matching_pair_tuple_with_different_types()
41 verify_that!((123, "A string"), (eq(123), eq("A string"))) in pair_matcher_matches_matching_pair_tuple_with_different_types()
[all …]
Dunordered_elements_are_matcher_test.rs7 // http://www.apache.org/licenses/LICENSE-2.0
21 fn unordered_elements_are_matches_empty_vector() -> Result<()> { in unordered_elements_are_matches_empty_vector()
27 fn unordered_elements_are_matches_empty_vector_with_trailing_comma() -> Result<()> { in unordered_elements_are_matches_empty_vector_with_trailing_comma()
33 fn unordered_elements_are_matches_vector() -> Result<()> { in unordered_elements_are_matches_vector()
35 verify_that!(value, unordered_elements_are![eq(1), eq(2), eq(3)]) in unordered_elements_are_matches_vector()
39 fn unordered_elements_are_omitted() -> Result<()> { in unordered_elements_are_omitted()
41 verify_that!(value, {eq(3), eq(2), eq(1)}) in unordered_elements_are_omitted()
45 fn unordered_elements_are_matches_slice() -> Result<()> { in unordered_elements_are_matches_slice()
48 verify_that!(*slice, unordered_elements_are![eq(1), eq(2), eq(3)]) in unordered_elements_are_matches_slice()
52 fn unordered_elements_are_matches_hash_map() -> Result<()> { in unordered_elements_are_matches_hash_map()
[all …]
/aosp_15_r20/external/cldr/common/annotationsDerived/
H A Dquc.xml1 <?xml version="1.0" encoding="UTF-8" ?>
3 <!-- Copyright © 1991-2024 Unicode, Inc.
5 SPDX-License-Identifier: Unicode-3.0
9 -->
22 …">ktajin kqo’wik | q’ab’aj | q’owem | retal-q’eq ub’antajik b’aqilal | Upam q’ab’aj | Upam q’ab’aj…
23 <annotation cp="����" type="tts">Upam q’ab’aj: retal-q’eq ub’antajik b’aqilal</annotation>
24 …ion cp="����">ktajin kqo’wik | q’ab’aj | q’eq ub’antajik b’aqilal | q’owem | Upam q’ab’aj | Upam q…
25 <annotation cp="����" type="tts">Upam q’ab’aj: q’eq ub’antajik b’aqilal</annotation>
32 …>chi rij q’ab’aj | paqab’isam | retal-q’eq ub’antajik b’aqilal | Yakom upam q’ab’aj | Yakom upam q…
33 <annotation cp="����" type="tts">Yakom upam q’ab’aj: retal-q’eq ub’antajik b’aqilal</annotation>
[all …]
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
27 import static org.mockito.ArgumentMatchers.eq;
69 public int stopApduIndex = -1;
79 stopApduIndex--; in shouldContinueOnIntermediateResult()
97 private static final String SHARED_PREFS_KEY_CHANNEL_ID = "esim-channel_0";
99 private static final String SHARED_PREFS_KEY_CHANNEL_RESPONSE = "esim-res-id_0";
139 String wrongAid = "-1"; in testWrongAid_throwsIllegalArgumentException()
141 assertThrows(IllegalArgumentException.class, () -> { in testWrongAid_throwsIllegalArgumentException()
152 mSender.send((selectResponse, requestBuilder) -> mSelectResponse = selectResponse, in testSendEmptyCommands()
159 verify(mMockCi).iccOpenLogicalChannel(eq(ApduSender.ISD_R_AID), anyInt(), any()); in testSendEmptyCommands()
[all …]
/aosp_15_r20/external/grpc-grpc/test/cpp/ext/filters/logging/
H A Dlogging_test.cc9 // http://www.apache.org/licenses/LICENSE-2.0
49 using ::testing::Eq;
55 g_test_logging_sink->SetConfig(LoggingSink::Config(4096, 4096)); in TEST_F()
58 request.mutable_param()->set_echo_metadata_initially(true); in TEST_F()
59 request.mutable_param()->set_echo_metadata(true); in TEST_F()
63 grpc::Status status = stub_->Echo(&context, request, &response); in TEST_F()
65 g_test_logging_sink->WaitForNumEntries(12, absl::Seconds(5)); in TEST_F()
67 g_test_logging_sink->entries(), in TEST_F()
70 Eq(LoggingSink::Entry::EventType::kClientHeader)), in TEST_F()
72 Eq(LoggingSink::Entry::Logger::kClient)), in TEST_F()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DStatsdAdServicesLoggerTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
103 import static org.mockito.ArgumentMatchers.eq;
159 private static final String SOURCE_REGISTRANT = "android-app://com.registrant";
202 () -> in testLogGetTopicsReportedStats_tPlus()
207 () -> in testLogGetTopicsReportedStats_tPlus()
216 () -> in testLogGetTopicsReportedStats_tPlus()
218 eq(TOPICS_REPORTED_COMPAT_ATOM_ID), in testLogGetTopicsReportedStats_tPlus()
219 eq(FILTERED_BLOCKED_TOPIC_COUNT), in testLogGetTopicsReportedStats_tPlus()
220 eq(DUPLICATE_TOPIC_COUNT), in testLogGetTopicsReportedStats_tPlus()
221 eq(TOPIC_IDS_COUNT), in testLogGetTopicsReportedStats_tPlus()
[all …]
/aosp_15_r20/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py1 # Copyright (C) 2001-2007 Python Software Foundation
2 # Contact: email-[email protected]
76 eq = self.assertEqual
78 eq(msg.get_all('cc'), ['[email protected]', '[email protected]', '[email protected]'])
79 eq(msg.get_all('xx', 'n/a'), 'n/a')
82 eq = self.assertEqual
84 eq(msg.get_charset(), None)
85 charset = Charset('iso-8859-1')
87 eq(msg['mime-version'], '1.0')
88 eq(msg.get_content_type(), 'text/plain')
[all …]
Dtest_email.py1 # Copyright (C) 2001-2010 Python Software Foundation
2 # Contact: email-[email protected]
81 eq = self.assertEqual
83 eq(msg.get_all('cc'), ['[email protected]', '[email protected]', '[email protected]'])
84 eq(msg.get_all('xx', 'n/a'), 'n/a')
87 eq = self.assertEqual
89 eq(msg.get_charset(), None)
90 charset = Charset('iso-8859-1')
92 eq(msg['mime-version'], '1.0')
93 eq(msg.get_content_type(), 'text/plain')
[all …]
/aosp_15_r20/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DCardEmulationManagerTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
34 import static org.mockito.ArgumentMatchers.eq;
174 when(mContext.getSystemService(eq(UserManager.class))).thenReturn(mUserManager); in setUp()
196 verify(mWalletRoleObserver).getDefaultWalletRoleHolder(eq(USER_ID)); in assertConstructorMethodCalls()
198 .onWalletRoleHolderChanged(eq(WALLET_HOLDER_PACKAGE_NAME), eq(USER_ID)); in assertConstructorMethodCalls()
200 .onWalletRoleHolderChanged(eq(WALLET_HOLDER_PACKAGE_NAME), eq(USER_ID)); in assertConstructorMethodCalls()
224 eq(PowerManager.USER_ACTIVITY_EVENT_TOUCH), in testOnHostCardEmulationActivated_technologyApdu()
225 eq(PowerManager.USER_ACTIVITY_FLAG_INDIRECT)); in testOnHostCardEmulationActivated_technologyApdu()
241 eq(PowerManager.USER_ACTIVITY_EVENT_TOUCH), in testOnHostCardEmulationActivated_technologyNfcf()
242 eq(PowerManager.USER_ACTIVITY_FLAG_INDIRECT)); in testOnHostCardEmulationActivated_technologyNfcf()
[all …]
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/retry/
DResultAggregatorTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
109 LogFile beforeModule = new LogFile("before-module", "url", LogDataType.TEXT); in testForwarding()
111 LogFile test2LogBefore = new LogFile("test2-before", "url", LogDataType.TEXT); in testForwarding()
112 LogFile test2LogAfter = new LogFile("test2-after", "url", LogDataType.TEXT); in testForwarding()
113 LogFile testRun1LogBefore = new LogFile("test-run1-before", "url", LogDataType.TEXT); in testForwarding()
114 LogFile testRun1LogAfter = new LogFile("test-run1-after", "url", LogDataType.TEXT); in testForwarding()
116 LogFile betweenAttemptsLog = new LogFile("between-attempts", "url", LogDataType.TEXT); in testForwarding()
117 LogFile moduleLog = new LogFile("module-log", "url", LogDataType.TEXT); in testForwarding()
130 Mockito.contains("aggregated-events"), in testForwarding()
131 Mockito.eq(LogDataType.TF_EVENTS), in testForwarding()
[all …]
/aosp_15_r20/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
45 import static org.mockito.ArgumentMatchers.eq;
212 * Pre-test configuration. Initialize and install mocks.
242 when(mMockContext.checkPermission(eq(android.Manifest.permission.ACCESS_FINE_LOCATION), in setUp()
244 when(mMockAppOpsManager.noteOp(eq(AppOpsManager.OP_FINE_LOCATION), anyInt(), in setUp()
260 any(), any(), eq(HalDeviceManager.HDM_CREATE_IFACE_NAN), any(), anyBoolean())) in setUp()
296 argThat(filter -> filter.hasAction(LocationManager.MODE_CHANGED_ACTION)), in setUp()
306 eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED), in setUp()
318 verify(mStatsManager).setPullAtomCallback(eq(WIFI_AWARE_CAPABILITIES), isNull(), any(), in setUp()
322 ExtendedMockito.verify(() -> WifiStatsLog.buildStatsEvent( in setUp()
[all …]
/aosp_15_r20/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
H A Derase_key.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
58 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
59 Eq eq = c.equal_range(1); in main() local
60 assert(std::distance(eq.first, eq.second) == 2); in main()
61 C::const_iterator k = eq.first; in main()
62 assert(k->first == 1); in main()
63 assert(k->second == "one"); in main()
65 assert(k->first == 1); in main()
66 assert(k->second == "four"); in main()
[all …]
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsDispatchersControllerTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
36 import static org.mockito.Mockito.eq;
279 null, null, null, null, mCallingUserId, false, -1, false, -1, false, 0L); in testSendImsGmsTest()
280 verify(mSimulatedCommandsVerifier).sendImsGsmSms(eq("038122F2"), in testSendImsGmsTest()
281eq("0100038111F100001CD3F69C989EC3C3F431BA2C9F0FDF6EBAFCCD6697E5D4F29C0E"), eq(0), eq(0), in testSendImsGmsTest()
289 null, null, null, null, mCallingUserId, false, -1, false, -1, false, 0L); in testSendImsGmsTestWithOutDesAddr()
298 null, null, null, null, mCallingUserId, false, -1, false, -1, false, 0L); in testSendImsCdmaTest()
299 verify(mSimulatedCommandsVerifier).sendImsCdmaSms((byte[])any(), eq(0), eq(0), in testSendImsCdmaTest()
312 verify(mSimulatedCommandsVerifier).sendImsCdmaSms(captor.capture(), eq(0), eq(0), in testSendRetrySmsCdmaTest()
325 verify(mSimulatedCommandsVerifier).sendImsGsmSms((String)isNull(), (String)isNull(), eq(0), in testSendRetrySmsGsmTest()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/enrollment/
DEnrollmentDaoTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
29 import static org.mockito.ArgumentMatchers.eq;
112 "https://2test-middle.com/source",
166 Arrays.asList("https://4test.com", "https://prefix.test-prefix.com"))
200 "https://port-test.5test3.com:443/source"))
204 "https://port-test.5test3.com:443/trigger"))
307 eq(mLogger), in testDelete()
308 eq(EnrollmentStatus.TransactionType.WRITE_TRANSACTION_TYPE.getValue()), in testDelete()
309 eq(true), in testDelete()
310 eq(1)); in testDelete()
[all …]
/aosp_15_r20/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/logging/
DHealthConnectServiceLoggerTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
45 import static org.mockito.Mockito.eq;
79 () -> in testDoNotLog_HoldsDataManagementPermission()
103 () -> in testLogs_notHoldsDataManagementPermission()
105 eq(HEALTH_CONNECT_API_CALLED), in testLogs_notHoldsDataManagementPermission()
106 eq(HEALTH_CONNECT_API_CALLED__API_METHOD__API_METHOD_UNKNOWN), in testLogs_notHoldsDataManagementPermission()
107 eq(HEALTH_CONNECT_API_CALLED__API_STATUS__STATUS_UNKNOWN), in testLogs_notHoldsDataManagementPermission()
108 eq(0), in testLogs_notHoldsDataManagementPermission()
110 eq(0), in testLogs_notHoldsDataManagementPermission()
111 eq(RateLimitingRanges.NOT_USED), in testLogs_notHoldsDataManagementPermission()
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_future.py82 # bpo-39562: test that future flags and compiler flags doesn't clash
129 def f() -> {ann}:
131 def g(arg: {ann}) -> None:
133 async def f2() -> {ann}:
135 async def g2(arg: {ann}) -> None:
167 expected = annotation if not is_tuple else annotation[1:-1]
183 eq = self.assertAnnotationEqual
184 eq('...')
185 eq("'some_string'")
186 eq("u'some_string'")
[all …]
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/testtype/rust/
DRustBinaryHostTestTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
81 mModuleDir = FileUtil.createTempDir("rust-module"); in setUp()
138 /** Add mocked call "binary --list" to count the number of tests. */
142 Mockito.eq(binary.getAbsolutePath()), in mockCountTests()
143 Mockito.eq("-Zunstable-options"), in mockCountTests()
144 Mockito.eq("--report-time"), in mockCountTests()
145 Mockito.eq("--exact"), in mockCountTests()
146 Mockito.eq("--list"))) in mockCountTests()
153 Mockito.eq(binary.getAbsolutePath()), in mockCountBenchmarks()
154 Mockito.eq("--bench"), in mockCountBenchmarks()
[all …]
/aosp_15_r20/external/abseil-cpp/absl/log/
H A Dlog_basic_test_impl.inc8 // https://www.apache.org/licenses/LICENSE-2.0
69 using ::testing::Eq;
103 SourceFilename(Eq(__FILE__)),
104 SourceBasename(Eq("log_basic_test_impl.inc")),
105 SourceLine(Eq(log_line)), Prefix(IsTrue()),
106 LogSeverity(Eq(absl::LogSeverity::kInfo)),
108 ThreadID(Eq(absl::base_internal::GetTID())),
109 TextMessage(Eq("hello world")),
110 Verbosity(Eq(absl::LogEntry::kNoVerbosityLevel)),
112 Eq(__FILE__), Eq(log_line), InMatchWindow(),
[all …]
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/log/
H A Dlog_basic_test_impl.inc8 // https://www.apache.org/licenses/LICENSE-2.0
69 using ::testing::Eq;
103 SourceFilename(Eq(__FILE__)),
104 SourceBasename(Eq("log_basic_test_impl.inc")),
105 SourceLine(Eq(log_line)), Prefix(IsTrue()),
106 LogSeverity(Eq(absl::LogSeverity::kInfo)),
108 ThreadID(Eq(absl::base_internal::GetTID())),
109 TextMessage(Eq("hello world")),
110 Verbosity(Eq(absl::LogEntry::kNoVerbosityLevel)),
112 Eq(__FILE__), Eq(log_line), InMatchWindow(),
[all …]
/aosp_15_r20/external/llvm/test/MC/ARM/
H A Dthumb2-narrow-dp.ll1 // RUN: llvm-mc -triple thumbv7 -show-encoding < %s | FileCheck %s
3 // Test each of the Thumb1 data-processing instructions
7 // - Rd == Rn
8 // - Rd, Rn and Rm are < r8
11 // - Rd == Rn || Rd == Rm
12 // - Rd, Rn and Rm are < r8
24 IT EQ
25 // CHECK: it eq @ encoding: [0x08,0xbf]
28 IT EQ
29 // CHECK: it eq @ encoding: [0x08,0xbf]
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
H A Derase_key.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
60 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
61 Eq eq = c.equal_range(1); in main() local
62 assert(std::distance(eq.first, eq.second) == 2); in main()
67 eq = c.equal_range(2); in main()
68 assert(std::distance(eq.first, eq.second) == 2); in main()
72 eq = c.equal_range(3); in main()
73 assert(std::distance(eq.first, eq.second) == 1); in main()
[all …]

12345678910>>...59