HomeSort by relevance Sort by last modified time
    Searched full:assert_true (Results 51 - 75 of 1832) sorted by null

1 23 4 5 6 7 8 91011>>

  /cts/suite/audio_quality/test/
AudioHardwareTest.cpp 28 ASSERT_TRUE(hwId >= 0);
33 ASSERT_TRUE(playback.get() != NULL);
35 ASSERT_TRUE(recording.get() != NULL);
40 ASSERT_TRUE(testCase != NULL);
42 ASSERT_TRUE(playback.get() != NULL);
44 ASSERT_TRUE(recording.get() != NULL);
  /system/bt/osi/test/
semaphore_test.cc 35 ASSERT_TRUE(semaphore != NULL);
41 ASSERT_TRUE(semaphore != NULL);
53 ASSERT_TRUE(semaphore != NULL);
65 ASSERT_TRUE(semaphore != NULL);
73 ASSERT_TRUE(semaphore != NULL);
75 ASSERT_TRUE(thread != NULL);
  /system/core/libnativebridge/tests/
CompleteFlow_test.cpp 25 ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary, nullptr));
26 ASSERT_TRUE(NativeBridgeAvailable());
27 ASSERT_TRUE(PreInitializeNativeBridge(".", "isa"));
28 ASSERT_TRUE(NativeBridgeAvailable());
29 ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr));
30 ASSERT_TRUE(NativeBridgeAvailable());
  /art/runtime/
cha_test.cc 39 ASSERT_TRUE(cha.GetDependents(METHOD1).empty());
40 ASSERT_TRUE(cha.GetDependents(METHOD2).empty());
41 ASSERT_TRUE(cha.GetDependents(METHOD3).empty());
44 ASSERT_TRUE(cha.GetDependents(METHOD2).empty());
45 ASSERT_TRUE(cha.GetDependents(METHOD3).empty());
52 ASSERT_TRUE(cha.GetDependents(METHOD2).empty());
53 ASSERT_TRUE(cha.GetDependents(METHOD3).empty());
64 ASSERT_TRUE(cha.GetDependents(METHOD2).empty());
65 ASSERT_TRUE(cha.GetDependents(METHOD3).empty());
72 ASSERT_TRUE(cha.GetDependents(METHOD3).empty())
    [all...]
transaction_test.cc 38 ASSERT_TRUE(class_loader != nullptr);
46 ASSERT_TRUE(h_klass != nullptr);
48 ASSERT_TRUE(h_klass->IsInitialized());
52 ASSERT_TRUE(h_klass != nullptr);
54 ASSERT_TRUE(h_klass->IsInitialized());
59 ASSERT_TRUE(h_klass != nullptr);
61 ASSERT_TRUE(h_klass->IsVerified());
65 ASSERT_TRUE(h_klass != nullptr);
67 ASSERT_TRUE(h_klass->IsVerified());
74 ASSERT_TRUE(Runtime::Current()->IsTransactionAborted())
    [all...]
zip_archive_test.cc 36 ASSERT_TRUE(zip_archive.get() != nullptr) << error_msg;
37 ASSERT_TRUE(error_msg.empty());
39 ASSERT_TRUE(zip_entry.get() != nullptr);
40 ASSERT_TRUE(error_msg.empty());
45 ASSERT_TRUE(file.get() != nullptr);
47 ASSERT_TRUE(success) << error_msg;
48 ASSERT_TRUE(error_msg.empty());
  /bionic/linker/tests/
linker_utils_test.cpp 46 ASSERT_TRUE(normalize_path("/../root///dir/.///dir2/somedir/../zipfile!/dir/dir9//..///afile", &output));
49 ASSERT_TRUE(normalize_path("/../root///dir/.///dir2/somedir/.../zipfile!/.dir/dir9//..///afile", &output));
52 ASSERT_TRUE(normalize_path("/root/..", &output));
55 ASSERT_TRUE(normalize_path("/root/notroot/..", &output));
58 ASSERT_TRUE(normalize_path("/a/../../b", &output));
67 ASSERT_TRUE(file_is_in_dir("/foo/bar/file", "/foo/bar"));
72 ASSERT_TRUE(file_is_in_dir("/file", ""));
77 ASSERT_TRUE(file_is_under_dir("/foo/bar/file", "/foo/bar"));
78 ASSERT_TRUE(file_is_under_dir("/foo/bar/file", "/foo"));
82 ASSERT_TRUE(file_is_under_dir("/file", ""))
    [all...]
linker_memory_allocator_test.cpp 67 ASSERT_TRUE(ptr != nullptr);
94 ASSERT_TRUE(reallocated_ptr != nullptr);
95 ASSERT_TRUE(reallocated_ptr != array);
97 ASSERT_TRUE(memcmp(reallocated_ptr, model, array_size) == 0);
105 ASSERT_TRUE(reallocated_ptr == array);
109 ASSERT_TRUE(reallocated_ptr != nullptr);
110 ASSERT_TRUE(reallocated_ptr != array);
113 ASSERT_TRUE(memcmp(reallocated_ptr, model, array_size * 2) == 0);
121 ASSERT_TRUE(reallocated_ptr != nullptr);
122 ASSERT_TRUE(reallocated_ptr != array)
    [all...]
  /external/libchrome/base/json/
json_value_serializer_unittest.cc 72 ASSERT_TRUE(str_serializer.Serialize(value));
82 ASSERT_TRUE(list);
85 ASSERT_TRUE(list->Get(0, &elt));
87 ASSERT_TRUE(elt && elt->GetAsInteger(&value));
100 ASSERT_TRUE(value);
102 ASSERT_TRUE(error_message.empty());
119 ASSERT_TRUE(value);
121 ASSERT_TRUE(error_message.empty());
143 ASSERT_TRUE(value);
152 ASSERT_TRUE(tempdir.CreateUniqueTempDir())
    [all...]
  /bionic/tests/
dlext_test.cpp 48 ASSERT_TRUE((ptr) != nullptr) << "dlerror: " << dlerror()
72 ASSERT_TRUE(h == nullptr);
74 ASSERT_TRUE(h == nullptr);
112 ASSERT_TRUE(extinfo.library_fd != -1);
159 ASSERT_TRUE(handle_ == nullptr);
165 ASSERT_TRUE(handle_ == nullptr);
170 ASSERT_TRUE(handle_ == nullptr);
175 ASSERT_TRUE(handle_ == nullptr);
181 ASSERT_TRUE(sym == nullptr);
193 ASSERT_TRUE(handle_ == nullptr)
    [all...]
  /external/clang/unittests/Driver/
MultilibTest.cpp 25 ASSERT_TRUE(Multilib().isValid()) << "Empty multilib is not valid";
27 ASSERT_TRUE(Multilib().flag("+foo").isValid())
30 ASSERT_TRUE(Multilib().flag("-foo").isValid())
36 ASSERT_TRUE(Multilib().flag("+foo").flag("+foo").isValid())
39 ASSERT_TRUE(Multilib().flag("+foo").flag("-foobar").isValid())
45 ASSERT_TRUE(M == M) << "Multilib::operator==() is not reflexive";
49 ASSERT_TRUE(Multilib() == Multilib())
57 ASSERT_TRUE(M1 == M2) << "Multilibs with the same flag should be the same";
79 ASSERT_TRUE(M1 == M2) << "Flag duplication shouldn't affect equivalence";
80 ASSERT_TRUE(M2 == M1
    [all...]
  /system/extras/simpleperf/
cmd_stat_test.cpp 35 TEST(stat_cmd, no_options) { ASSERT_TRUE(StatCmd()->Run({"sleep", "1"})); }
38 ASSERT_TRUE(StatCmd()->Run({"-e", "cpu-clock,task-clock", "sleep", "1"}));
42 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "sleep", "1"})));
46 ASSERT_TRUE(StatCmd()->Run({"--verbose", "sleep", "1"}));
50 TEST_IN_ROOT(ASSERT_TRUE(
55 ASSERT_TRUE(
80 ASSERT_TRUE(workload != nullptr);
81 ASSERT_TRUE(workload->Start());
91 ASSERT_TRUE(StatCmd()->Run({"-p", pid_list, "sleep", "1"}));
100 ASSERT_TRUE(StatCmd()->Run({"-t", tid_list, "sleep", "1"}))
    [all...]
cmd_record_test.cpp 60 TEST(record_cmd, no_options) { ASSERT_TRUE(RunRecordCmd({})); }
63 TEST_IN_ROOT(ASSERT_TRUE(RunRecordCmd({"-a"})));
69 ASSERT_TRUE(type != nullptr);
71 ASSERT_TRUE(reader);
90 ASSERT_TRUE(RunRecordCmd({"-c", "100000"}, tmpfile.path));
95 ASSERT_TRUE(RunRecordCmd({"-e", "cpu-clock"}));
100 ASSERT_TRUE(RunRecordCmd({"-f", "99"}, tmpfile.path));
102 ASSERT_TRUE(RunRecordCmd({"-e", "cpu-clock", "-f", "99"}, tmpfile.path));
104 ASSERT_TRUE(RunRecordCmd({"-f", std::to_string(UINT_MAX)}));
109 ASSERT_TRUE(RunRecordCmd({"-f", "99", "-e", "cpu-cycles", "-c", "1000000", "-e"
    [all...]
  /external/boringssl/src/crypto/fipsmodule/ec/
ec_test.cc 135 ASSERT_TRUE(key);
139 ASSERT_TRUE(EncodeECPrivateKey(&out, key.get()));
143 ASSERT_TRUE(pub_key) << "Public key missing";
147 ASSERT_TRUE(x);
148 ASSERT_TRUE(y);
149 ASSERT_TRUE(EC_POINT_get_affine_coordinates_GFp(
153 ASSERT_TRUE(x_hex);
154 ASSERT_TRUE(y_hex);
168 ASSERT_TRUE(key);
175 ASSERT_TRUE(key)
    [all...]
  /external/clang/unittests/AST/
DeclPrinterTest.cpp 186 ASSERT_TRUE(PrintedDeclCXX98Matches(
194 ASSERT_TRUE(PrintedDeclCXX98Matches(
202 ASSERT_TRUE(PrintedDeclCXX98Matches(
211 ASSERT_TRUE(PrintedDeclCXX98Matches(
220 ASSERT_TRUE(PrintedDeclCXX98Matches(
228 ASSERT_TRUE(PrintedDeclCXX11Matches(
236 ASSERT_TRUE(PrintedDeclCXX98Matches(
245 ASSERT_TRUE(PrintedDeclCXX98Matches(
254 ASSERT_TRUE(PrintedDeclCXX98Matches(
262 ASSERT_TRUE(PrintedDeclCXX98Matches
    [all...]
  /bootable/recovery/tests/component/
update_verifier_test.cpp 39 ASSERT_TRUE(verify_image("/doesntexist"));
51 ASSERT_TRUE(android::base::WriteStringToFile(content, temp_file.path));
52 ASSERT_TRUE(verify_image(temp_file.path));
55 ASSERT_TRUE(android::base::WriteStringToFile("\n" + content + "\n\n", temp_file.path));
56 ASSERT_TRUE(verify_image(temp_file.path));
64 ASSERT_TRUE(android::base::WriteStringToFile("line1", temp_file.path));
67 ASSERT_TRUE(android::base::WriteStringToFile("line1\nline2\nline3", temp_file.path));
80 ASSERT_TRUE(android::base::WriteStringToFile(content, temp_file.path));
93 ASSERT_TRUE(android::base::WriteStringToFile(content, temp_file.path));
94 ASSERT_TRUE(verify_image(temp_file.path))
    [all...]
  /external/google-breakpad/src/processor/
static_contained_range_map_unittest.cc 178 ASSERT_TRUE (crm_map_.StoreRange(10, 10, 1));
182 ASSERT_TRUE (crm_map_.StoreRange(11, 9, 5)); // contained by existing
183 ASSERT_TRUE (crm_map_.StoreRange(12, 7, 6));
184 ASSERT_TRUE (crm_map_.StoreRange( 9, 12, 7)); // contains existing
185 ASSERT_TRUE (crm_map_.StoreRange( 9, 13, 8));
186 ASSERT_TRUE (crm_map_.StoreRange( 8, 14, 9));
187 ASSERT_TRUE (crm_map_.StoreRange(30, 3, 10));
188 ASSERT_TRUE (crm_map_.StoreRange(33, 3, 11));
189 ASSERT_TRUE (crm_map_.StoreRange(30, 6, 12)); // storable but totally masked
190 ASSERT_TRUE (crm_map_.StoreRange(40, 8, 13)); // will be totally maske
    [all...]
fast_source_line_resolver_unittest.cc 197 ASSERT_TRUE(basic_resolver.LoadModule(&module1, symbol_file(1)));
198 ASSERT_TRUE(basic_resolver.HasModule(&module1));
200 ASSERT_TRUE(serializer.ConvertOneModule(
202 ASSERT_TRUE(fast_resolver.HasModule(&module1));
205 ASSERT_TRUE(basic_resolver.LoadModule(&module2, symbol_file(2)));
206 ASSERT_TRUE(basic_resolver.HasModule(&module2));
208 ASSERT_TRUE(serializer.ConvertOneModule(
210 ASSERT_TRUE(fast_resolver.HasModule(&module2));
219 ASSERT_TRUE(frame.function_name.empty());
221 ASSERT_TRUE(frame.source_file_name.empty())
    [all...]
  /external/perfetto/src/perfetto_cmd/
rate_limiter_unittest.cc 86 ASSERT_TRUE(limiter.SaveState(input));
87 ASSERT_TRUE(limiter.LoadState(&output));
100 ASSERT_TRUE(limiter.SaveState(input));
101 ASSERT_TRUE(limiter.LoadState(&output));
125 ASSERT_TRUE(limiter.ShouldTrace({}));
126 ASSERT_TRUE(limiter.OnTraceDone({}, true, 10000));
147 ASSERT_TRUE(limiter.ShouldTrace(args));
150 ASSERT_TRUE(limiter.OnTraceDone(args, true, 42u));
153 ASSERT_TRUE(limiter.LoadStateConcrete(&output));
168 ASSERT_TRUE(limiter.ShouldTrace(args))
    [all...]
  /external/boringssl/src/crypto/fipsmodule/ecdsa/
ecdsa_test.cc 84 ASSERT_TRUE(ECDSA_SIG_to_bytes(&der, &der_len, ecdsa_sig));
121 ASSERT_TRUE(BN_bn2bin_padded(raw_buf.data(), bn_len, ecdsa_sig->r));
122 ASSERT_TRUE(BN_bn2bin_padded(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s));
129 ASSERT_TRUE(BN_bin2bn(raw_buf.data(), bn_len, ecdsa_sig->r));
130 ASSERT_TRUE(BN_bin2bn(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s));
135 ASSERT_TRUE(BN_bin2bn(raw_buf.data(), bn_len, ecdsa_sig->r));
136 ASSERT_TRUE(BN_bin2bn(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s));
143 ASSERT_TRUE(RAND_bytes(digest, 20));
144 ASSERT_TRUE(RAND_bytes(wrong_digest, 20));
161 ASSERT_TRUE(group)
    [all...]
  /external/libchrome/crypto/
nss_key_util_unittest.cc 25 ASSERT_TRUE(internal_slot_);
39 ASSERT_TRUE(GenerateRSAKeyPairNSS(internal_slot(), kKeySizeBits,
53 ASSERT_TRUE(GenerateRSAKeyPairNSS(internal_slot(), 512,
58 ASSERT_TRUE(item);
63 ASSERT_TRUE(private_key2);
71 ASSERT_TRUE(GenerateRSAKeyPairNSS(internal_slot(), 512,
76 ASSERT_TRUE(item);
  /external/perfetto/src/base/
weak_ptr_unittest.cc 39 ASSERT_TRUE(weak_ptr1);
40 ASSERT_TRUE(weak_ptr2);
41 ASSERT_TRUE(weak_ptr_copied);
42 ASSERT_TRUE(weak_ptr_copied2);
54 ASSERT_TRUE(weak_ptr_moved1);
55 ASSERT_TRUE(weak_ptr_moved2);
56 ASSERT_TRUE(weak_ptr_copied2);
  /frameworks/base/tools/split-select/
SplitSelector_test.cpp 40 ASSERT_TRUE(addSplit(splits, "hdpi"));
41 ASSERT_TRUE(addSplit(splits, "xhdpi"));
42 ASSERT_TRUE(addSplit(splits, "xxhdpi"));
43 ASSERT_TRUE(addSplit(splits, "mdpi"));
46 ASSERT_TRUE(SplitDescription::parse(String8("hdpi"), &targetSplit));
53 ASSERT_TRUE(SplitDescription::parse(String8("hdpi"), &expected));
60 ASSERT_TRUE(rule != NULL);
  /frameworks/ml/nn/runtime/test/
TestWrapper.cpp 39 ASSERT_TRUE(mModel.isValid());
41 ASSERT_TRUE(mModel.isValid());
43 ASSERT_TRUE(mModel.isValid());
47 ASSERT_TRUE(mModel.isValid());
58 ASSERT_TRUE(mModel.isValid());
60 ASSERT_TRUE(mModel.isValid());
62 ASSERT_TRUE(mModel.isValid());
  /system/core/libunwindstack/tests/
MemoryFileTest.cpp 39 ASSERT_TRUE(android::base::WriteStringToFd("0123456789abcdefghijklmnopqrstuvxyz", tf_->fd));
50 ASSERT_TRUE(memory_.Init(tf_->path, 0));
52 ASSERT_TRUE(memory_.ReadFully(0, buffer.data(), 10));
60 ASSERT_TRUE(memory_.Init(tf_->path, 10));
62 ASSERT_TRUE(memory_.ReadFully(0, buffer.data(), 10));
74 ASSERT_TRUE(android::base::WriteStringToFd(large_string, tf_->fd));
76 ASSERT_TRUE(memory_.Init(tf_->path, pagesize + 15));
78 ASSERT_TRUE(memory_.ReadFully(0, buffer.data(), 8));
90 ASSERT_TRUE(android::base::WriteStringToFd(data, tf_->fd));
92 ASSERT_TRUE(memory_.Init(tf_->path, 2 * pagesize))
    [all...]

Completed in 1151 milliseconds

1 23 4 5 6 7 8 91011>>