/cts/tests/aslr/src/ |
AslrMallocTest.cpp | 67 ASSERT_TRUE(size > 0 && size < PATH_MAX); 75 ASSERT_TRUE(pipe(fds) != -1); 78 ASSERT_TRUE(pid != -1); 82 ASSERT_TRUE(TEMP_FAILURE_RETRY(dup2(fds[1], STDOUT_FILENO)) != -1); 89 ASSERT_TRUE(execl(self_.c_str(), self_.c_str(), argPrint.c_str(), 98 ASSERT_TRUE(android::base::ReadFdToString(fds[0], &output)); 102 ASSERT_TRUE(waitpid(pid, &status, 0) != -1); 103 ASSERT_TRUE(WEXITSTATUS(status) == EXIT_SUCCESS); 105 ASSERT_TRUE(android::base::ParseUint(output.c_str(), &address)); 134 ASSERT_TRUE(entropy >= minEntropyBits) [all...] |
/external/google-breakpad/src/client/windows/unittests/ |
exception_handler_death_test.cc | 126 ASSERT_TRUE(DoesPathExist(temp_path_)); 159 ASSERT_TRUE(client->Register()); 168 ASSERT_TRUE(out_of_proc_guarantee == OUT_OF_PROC_BEST_EFFORT); 186 ASSERT_TRUE(exc->IsOutOfProcess()); 200 ASSERT_TRUE(DoesPathExist(temp_path_)); 223 ASSERT_TRUE(DoesPathExist(temp_path_)); 241 ASSERT_TRUE(DoesPathExist(temp_path_)); 275 ASSERT_TRUE(DoesPathExist(temp_path_)); 313 ASSERT_TRUE(DoesPathExist(temp_path_)); 334 ASSERT_TRUE(memory) [all...] |
/external/libweave/src/states/ |
state_change_queue_unittest.cc | 31 ASSERT_TRUE(queue_->NotifyPropertiesUpdated( 46 ASSERT_TRUE(queue_->NotifyPropertiesUpdated(timestamp1, 48 ASSERT_TRUE(queue_->NotifyPropertiesUpdated(timestamp2, 64 ASSERT_TRUE(queue_->NotifyPropertiesUpdated( 67 ASSERT_TRUE(queue_->NotifyPropertiesUpdated( 70 ASSERT_TRUE(queue_->NotifyPropertiesUpdated( 73 ASSERT_TRUE(queue_->NotifyPropertiesUpdated( 94 ASSERT_TRUE(queue_->NotifyPropertiesUpdated( 98 ASSERT_TRUE(queue_->NotifyPropertiesUpdated( 102 ASSERT_TRUE(queue_->NotifyPropertiesUpdated [all...] |
/cts/suite/audio_quality/test/ |
AudioSignalFactoryTest.cpp | 27 ASSERT_TRUE(buffer->getSize() == (unsigned int)(AudioHardware::E2BPS * 2 * samples)); 30 ASSERT_TRUE(*data <= maxPositive); 31 ASSERT_TRUE(*data >= -maxPositive); 33 ASSERT_TRUE(*data <= maxPositive); 34 ASSERT_TRUE(*data >= -maxPositive);
|
SignalProcessingInterfaceTest.cpp | 32 ASSERT_TRUE(mSp != NULL); 33 ASSERT_TRUE(mSp->init(SignalProcessingImpl::MAIN_PROCESSING_SCRIPT)); 81 ASSERT_TRUE(mSp->run( functionName, 84 ASSERT_TRUE(*(in0.get()) == *(out0.get())); 85 ASSERT_TRUE(*(in1.get()) == *(out1.get())); 86 ASSERT_TRUE(in2 == out2); 87 ASSERT_TRUE(in3 == out3); 104 ASSERT_TRUE(mSp->run( functionName, 107 ASSERT_TRUE(out0.getInt64() == (in0.getInt64() + in1.getInt64())); 113 ASSERT_TRUE(sp2 != NULL) [all...] |
RemoteAudioFakeTcpTest.cpp | 37 ASSERT_TRUE(cond); 42 ASSERT_TRUE(data1[i] == data2[i]); 112 ASSERT_TRUE(U32_ENDIAN_SWAP(0x12345678) == 0x78563412); 114 ASSERT_TRUE(mRemoteAudio != NULL); 115 ASSERT_TRUE(mRemoteAudio->init(1234)); 145 ASSERT_TRUE(mRemoteAudio->downloadData(name, buffer, id)); 146 ASSERT_TRUE(id >= 0); 187 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat)); 188 ASSERT_TRUE(mRemoteAudio->waitForPlaybackCompletion()); 231 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat)) [all...] |
/external/google-breakpad/src/common/linux/ |
elf_core_dump_unittest.cc | 72 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header) - 1)); 73 ASSERT_TRUE(mapped_core_file.Map(core_file, 0)); 82 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 83 ASSERT_TRUE(mapped_core_file.Map(core_file, 0)); 88 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 89 ASSERT_TRUE(mapped_core_file.Map(core_file, 0)); 94 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 95 ASSERT_TRUE(mapped_core_file.Map(core_file, 0)); 100 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 101 ASSERT_TRUE(mapped_core_file.Map(core_file, 0)) [all...] |
/external/jemalloc/test/unit/ |
ticker.c | 20 assert_true(ticker_tick(&ticker), 39 assert_true(ticker_ticks(&ticker, NTICKS), "Expected ticker fire"); 42 assert_true(ticker_ticks(&ticker, NTICKS + 1), "Expected ticker fire"); 56 assert_true(ticker_ticks(&tb, NTICKS + 1), "Expected ticker fire"); 62 assert_true(ticker_ticks(&tb, NTICKS), "Expected ticker fire");
|
/system/bt/osi/test/ |
time_test.cpp | 43 ASSERT_TRUE(t1 > 0); 54 ASSERT_TRUE((t2 - t1) < TEST_TIME_DELTA_UPPER_BOUND_MS); 73 ASSERT_TRUE(err == 0); 74 ASSERT_TRUE((t2 - t1) >= TEST_TIME_SLEEP_MS); 75 ASSERT_TRUE((t2 - t1) < TEST_TIME_DELTA_UPPER_BOUND_MS);
|
/external/google-breakpad/src/client/mac/tests/ |
minidump_generator_test.cc | 100 ASSERT_TRUE(generator.Write(dump_filename.c_str())); 112 ASSERT_TRUE(minidump.Read()); 115 ASSERT_TRUE(system_info); 117 ASSERT_TRUE(raw_info); 121 ASSERT_TRUE(thread_list); 125 ASSERT_TRUE(main_thread); 127 ASSERT_TRUE(context); 131 ASSERT_TRUE(module_list); 133 ASSERT_TRUE(main_module); 184 ASSERT_TRUE(generator.Write(dump_filename.c_str())) [all...] |
/external/google-breakpad/src/client/linux/minidump_writer/ |
line_reader_unittest.cc | 59 ASSERT_TRUE(file.IsOk()); 69 ASSERT_TRUE(file.IsOk()); 74 ASSERT_TRUE(reader.GetNextLine(&line, &len)); 85 ASSERT_TRUE(file.IsOk()); 90 ASSERT_TRUE(reader.GetNextLine(&line, &len)); 101 ASSERT_TRUE(file.IsOk()); 106 ASSERT_TRUE(reader.GetNextLine(&line, &len)); 112 ASSERT_TRUE(reader.GetNextLine(&line, &len)); 123 ASSERT_TRUE(file.IsOk()); 128 ASSERT_TRUE(reader.GetNextLine(&line, &len)) [all...] |
/external/webrtc/talk/app/webrtc/ |
sctputils_unittest.cc | 45 ASSERT_TRUE(buffer.ReadUInt8(&message_type)); 48 ASSERT_TRUE(buffer.ReadUInt8(&channel_type)); 59 ASSERT_TRUE(buffer.ReadUInt16(&priority)); 61 ASSERT_TRUE(buffer.ReadUInt32(&reliability)); 68 ASSERT_TRUE(buffer.ReadUInt16(&label_length)); 69 ASSERT_TRUE(buffer.ReadUInt16(&protocol_length)); 74 ASSERT_TRUE(buffer.ReadString(&label_output, label_length)); 77 ASSERT_TRUE(buffer.ReadString(&protocol_output, protocol_length)); 88 ASSERT_TRUE(webrtc::WriteDataChannelOpenMessage(label, config, &packet)); 94 ASSERT_TRUE(webrtc::ParseDataChannelOpenMessage [all...] |
/system/extras/memory_replay/tests/ |
ActionTest.cpp | 28 ASSERT_TRUE(action != NULL); 35 ASSERT_TRUE(pointer != nullptr); 50 ASSERT_TRUE(action != NULL); 51 ASSERT_TRUE(action->DoesFree()); 63 ASSERT_TRUE(action != NULL); 70 ASSERT_TRUE(pointer != nullptr); 78 ASSERT_TRUE(action != NULL); 100 ASSERT_TRUE(action != NULL); 101 ASSERT_TRUE(action->DoesFree()); 108 ASSERT_TRUE(pointer != nullptr) [all...] |
/external/libchrome/base/strings/ |
string_piece_unittest.cc | 47 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())) op \ 49 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())).compare( \ 161 ASSERT_TRUE(e.data() == NULL); 171 ASSERT_TRUE(a.rbegin() + 26 == a.rend()); 180 ASSERT_TRUE(!d.empty()); 181 ASSERT_TRUE(d.begin() != d.end()); 182 ASSERT_TRUE(d.begin() + 6 == d.end()); 184 ASSERT_TRUE(e.empty()); 185 ASSERT_TRUE(e.begin() == e.end()); 189 ASSERT_TRUE(d.empty()) [all...] |
/external/libweave/third_party/chromium/base/strings/ |
string_piece_unittest.cc | 36 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())) op \ 38 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())).compare( \ 150 ASSERT_TRUE(e.data() == NULL); 160 ASSERT_TRUE(a.rbegin() + 26 == a.rend()); 169 ASSERT_TRUE(!d.empty()); 170 ASSERT_TRUE(d.begin() != d.end()); 171 ASSERT_TRUE(d.begin() + 6 == d.end()); 173 ASSERT_TRUE(e.empty()); 174 ASSERT_TRUE(e.begin() == e.end()); 178 ASSERT_TRUE(d.empty()) [all...] |
/external/llvm/unittests/ADT/ |
IntervalMapTest.cpp | 81 ASSERT_TRUE(I.valid()); 94 ASSERT_TRUE(I.valid()); 103 ASSERT_TRUE(I.valid()); 110 ASSERT_TRUE(I.valid()); 116 ASSERT_TRUE(I.valid()); 123 ASSERT_TRUE(I.valid()); 129 ASSERT_TRUE(I.valid()); 204 ASSERT_TRUE(I.valid()); 241 ASSERT_TRUE(I.valid()); 246 ASSERT_TRUE(I.valid()) [all...] |
/art/runtime/ |
indirect_reference_table_test.cc | 56 ASSERT_TRUE(c != nullptr); 58 ASSERT_TRUE(obj0 != nullptr); 60 ASSERT_TRUE(obj1 != nullptr); 62 ASSERT_TRUE(obj2 != nullptr); 64 ASSERT_TRUE(obj3 != nullptr); 110 ASSERT_TRUE(irt.Remove(cookie, iref2)); 112 ASSERT_TRUE(irt.Remove(cookie, iref1)); 114 ASSERT_TRUE(irt.Remove(cookie, iref0)); 132 ASSERT_TRUE(irt.Remove(cookie, iref1)); 140 ASSERT_TRUE(irt.Remove(cookie, iref2)) [all...] |
/external/libweave/third_party/chromium/base/ |
values_unittest.cc | 27 ASSERT_TRUE(settings.Get("global", NULL)); 29 ASSERT_TRUE(settings.Get("global", NULL)); 31 ASSERT_TRUE(settings.GetString("global.homepage", &homepage)); 41 ASSERT_TRUE(settings.GetList("global.toolbar.bookmarks", &toolbar_bookmarks)); 49 ASSERT_TRUE(settings.GetList("global.toolbar.bookmarks", &bookmark_list)); 52 ASSERT_TRUE(bookmark_list->GetDictionary(0, &bookmark)); 54 ASSERT_TRUE(bookmark->GetString("name", &bookmark_name)); 57 ASSERT_TRUE(bookmark->GetString("url", &bookmark_url)); 88 ASSERT_TRUE(mixed_list->GetBoolean(0, &bool_value)); 89 ASSERT_TRUE(bool_value) [all...] |
/external/libchrome/base/json/ |
json_reader_unittest.cc | 29 ASSERT_TRUE(root.get()); 38 ASSERT_TRUE(root.get()); 43 ASSERT_TRUE(root.get()); 46 ASSERT_TRUE(root.get()); 49 ASSERT_TRUE(root.get()); 52 ASSERT_TRUE(root.get()); 58 ASSERT_TRUE(root.get()); 67 ASSERT_TRUE(root.get()); 71 ASSERT_TRUE(root.get()); 79 ASSERT_TRUE(root.get()) [all...] |
/external/google-breakpad/src/processor/ |
address_map_unittest.cc | 41 #define ASSERT_TRUE(condition) \ 47 #define ASSERT_FALSE(condition) ASSERT_TRUE(!(condition)) 49 #define ASSERT_EQ(e1, e2) ASSERT_TRUE((e1) == (e2)) 90 ASSERT_TRUE(test_map.Store(1, 92 ASSERT_TRUE(test_map.Retrieve(1, &entry, &address)); 103 ASSERT_TRUE(test_map.Store(10, 106 ASSERT_TRUE(test_map.Retrieve(10, &entry, &address)); 110 ASSERT_TRUE(test_map.Retrieve(11, &entry, &address)); 111 ASSERT_TRUE(test_map.Retrieve(11, &entry, NULL)); // NULL ok here 114 ASSERT_TRUE(test_map.Store(5 [all...] |
/bionic/tests/ |
stdatomic_test.cpp | 25 ASSERT_TRUE(ATOMIC_BOOL_LOCK_FREE); 26 ASSERT_TRUE(ATOMIC_CHAR16_T_LOCK_FREE); 27 ASSERT_TRUE(ATOMIC_CHAR32_T_LOCK_FREE); 28 ASSERT_TRUE(ATOMIC_CHAR_LOCK_FREE); 29 ASSERT_TRUE(ATOMIC_INT_LOCK_FREE); 30 ASSERT_TRUE(ATOMIC_LLONG_LOCK_FREE); 31 ASSERT_TRUE(ATOMIC_LONG_LOCK_FREE); 32 ASSERT_TRUE(ATOMIC_POINTER_LOCK_FREE); 33 ASSERT_TRUE(ATOMIC_SHORT_LOCK_FREE); 34 ASSERT_TRUE(ATOMIC_WCHAR_T_LOCK_FREE) [all...] |
atexit_test.cpp | 43 ASSERT_TRUE(handle != nullptr); 49 ASSERT_TRUE(get_cxx_ctor_called != nullptr); 50 ASSERT_TRUE(get_attr_ctor_called != nullptr); 56 ASSERT_TRUE(sym != nullptr); 62 ASSERT_TRUE(valid_this_in_static_dtor); 63 ASSERT_TRUE(attr_dtor_called);
|
/external/libchrome/base/ |
base64url_unittest.cc | 47 ASSERT_TRUE(Base64UrlDecode("aGVsbG8_d29ybGQ=", 56 ASSERT_TRUE( 60 ASSERT_TRUE( 67 ASSERT_TRUE(Base64UrlDecode("aGVsbG8_d29ybGQ", 73 ASSERT_TRUE(Base64UrlDecode("aGVsbG8_d29ybGQ=", 85 ASSERT_TRUE(Base64UrlDecode(
|
/external/libchrome/base/synchronization/ |
cancellation_flag_unittest.cc | 37 ASSERT_TRUE(flag.IsSet()); 44 ASSERT_TRUE(flag.IsSet()); 46 ASSERT_TRUE(flag.IsSet()); 55 ASSERT_TRUE(t.Start()); 56 ASSERT_TRUE(t.message_loop()); 57 ASSERT_TRUE(t.IsRunning());
|
/packages/services/Car/tests/libvehiclenetwork-native-test/ |
IVehicleNetworkMockedTest.cpp | 55 ASSERT_TRUE(mVN.get() != NULL); 71 ASSERT_TRUE(vn.get() != NULL); 77 ASSERT_TRUE(properties.get() != NULL); 78 ASSERT_TRUE(mHalMock->isTheSameProperties(properties)); 101 ASSERT_TRUE(listener->isErrorMatching(ERROR_CODE, 0, OPERATION_CODE)); 113 ASSERT_TRUE(listener->isErrorMatching(ERROR_CODE, TEST_PROPERTY_INT32, OPERATION_CODE));
|