/trusty/user/base/app/device_tree/tests/ |
D | main.c | 41 ASSERT_NE(_state->tree, NULL); in TEST_F_SETUP() 48 ASSERT_NE(iter, NULL); in TEST_F_SETUP() 52 ASSERT_NE(_state->root_node, NULL); in TEST_F_SETUP() 75 ASSERT_NE(prop, NULL); in TEST_F() 81 ASSERT_NE((char*)prop_name, NULL); in TEST_F() 89 ASSERT_NE(prop_value, NULL); in TEST_F() 108 ASSERT_NE(node, NULL); in TEST_F() 113 ASSERT_NE(prop, NULL); in TEST_F() 120 ASSERT_NE(prop_value, NULL); in TEST_F() 153 ASSERT_NE(node, NULL); in TEST_F() [all …]
|
/trusty/user/base/app/swaes-benchmark/ |
D | swaes-bench.c | 140 ASSERT_NE(_state, NULL); in BENCH_SETUP() 145 ASSERT_NE(_state->buf, NULL); in BENCH_SETUP() 165 ASSERT_NE(_state->tag, NULL); in BENCH_SETUP() 169 ASSERT_NE(NULL, _state->cipher, "invalid cipher mode or size\n"); in BENCH_SETUP() 194 ASSERT_NE(0, rc, "EVP_EncryptInit_ex() failed\n"); in encrypt() 197 ASSERT_NE(0, rc, "EVP_CIPHER_CTX_set_padding() failed\n"); in encrypt() 202 ASSERT_NE(0, rc, "EVP_EncryptUpdate(aad) failed\n"); in encrypt() 208 ASSERT_NE(0, rc, "EVP_EncryptUpdate failed\n"); in encrypt() 214 ASSERT_NE(0, rc, "EVP_EncryptFinal_ex failed\n"); in encrypt() 226 ASSERT_NE(0, rc, "EVP_CIPHER_CTX_ctrl() failed\n"); in encrypt() [all …]
|
/trusty/kernel/lib/ktipc/test/main/ |
D | main.c | 57 ASSERT_NE(0, (event & IPC_HANDLE_POLL_READY)); in wait_for_hup() 68 ASSERT_NE(0, (event & IPC_HANDLE_POLL_HUP)); in wait_for_hup() 133 ASSERT_NE(0, (event & IPC_HANDLE_POLL_READY)); in TEST() 146 ASSERT_NE(0, (event & IPC_HANDLE_POLL_MSG)); in TEST() 176 ASSERT_NE(0, (event & IPC_HANDLE_POLL_READY)); in TEST() 195 ASSERT_NE(0, (event & IPC_HANDLE_POLL_MSG)); in TEST() 236 ASSERT_NE(0, (event & IPC_HANDLE_POLL_READY)); in TEST() 243 ASSERT_NE(0, (event & IPC_HANDLE_POLL_MSG)); in TEST() 261 ASSERT_NE(0, (event & IPC_HANDLE_POLL_READY)); in TEST() 268 ASSERT_NE(0, (event & IPC_HANDLE_POLL_HUP)); in TEST() [all …]
|
/trusty/user/app/keymaster/host_unittest/ |
D | main.cpp | 85 ASSERT_NE(nullptr, ss_manager); in TestKeyStorage() 88 ASSERT_NE(nullptr, write_key.get()); in TestKeyStorage() 96 ASSERT_NE(nullptr, write_key.get()); in TestKeyStorage() 114 ASSERT_NE(nullptr, ss_manager); in TestCertChainStorage() 118 ASSERT_NE(nullptr, write_cert[i].get()); in TestCertChainStorage() 158 ASSERT_NE(nullptr, ss_manager); in TestCertStorageInvalid() 169 ASSERT_NE(nullptr, write_cert.get()); in TestCertStorageInvalid() 188 ASSERT_NE(nullptr, ss_manager); in DeleteAttestationData() 221 ASSERT_NE(nullptr, ss_manager); in TestUuidStorage() 227 ASSERT_NE(nullptr, write_uuid.get()); in TestUuidStorage() [all …]
|
/trusty/kernel/app/userscstest/ |
D | userscstest.c | 82 ASSERT_NE(0, *kspace_ptr_out, in translate_uspace_ptr() 110 ASSERT_NE((void*)ta->thread, NULL, "App has thread"); in trusty_app_callback() 134 ASSERT_NE((void*)tt, NULL, "Running trusty app must have a valid thread"); in trusty_app_callback() 135 ASSERT_NE((void*)tt->shadow_stack_base, NULL, in trusty_app_callback() 141 ASSERT_NE(tt->stack_start, tt->shadow_stack_base, in trusty_app_callback() 198 ASSERT_NE(0, status.running_apps); in inspect_trusty_threads()
|
/trusty/user/app/keymaster/device_unittest/ |
D | main.cpp | 79 ASSERT_NE(nullptr, write_key.get()); in TestKeyStorage() 87 ASSERT_NE(nullptr, write_key.get()); in TestKeyStorage() 88 ASSERT_NE(nullptr, key_blob.key_material); in TestKeyStorage() 109 ASSERT_NE(nullptr, write_cert[i].get()); in TestCertChainStorage() 150 ASSERT_NE(nullptr, write_cert.get()); in TestCertStorageInvalid() 202 ASSERT_NE(nullptr, write_uuid.get()); in TestUuidStorage() 209 ASSERT_NE(nullptr, read_uuid.get()); in TestUuidStorage() 227 ASSERT_NE(nullptr, write_productid.get()); in TestProductIdStorage() 234 ASSERT_NE(nullptr, read_productid.get()); in TestProductIdStorage() 254 ASSERT_NE(nullptr, write_productid.get()); in TestProductIdStoragePreventOverwrite() [all …]
|
/trusty/user/app/storage/test/storage_host_test/ |
D | storage_host_test.c | 328 ASSERT_NE(NULL, _state->tr.fs->initial_super_block_tr); in TEST_P() 329 ASSERT_NE(_state->tr.fs->super_block_version, in TEST_P() 343 ASSERT_NE(_state->initial_super_block_version, in TEST_P() 362 ASSERT_NE(NULL, _state->tr.fs->initial_super_block_tr); in TEST_P() 363 ASSERT_NE(_state->tr.fs->super_block_version, in TEST_P() 377 ASSERT_NE(_state->initial_super_block_version, in TEST_P() 396 ASSERT_NE(NULL, _state->tr.fs->initial_super_block_tr); in TEST_P() 397 ASSERT_NE(_state->tr.fs->super_block_version, in TEST_P() 409 ASSERT_NE(_state->initial_super_block_version, in TEST_P() 432 ASSERT_NE(NULL, _state->tr.fs->initial_super_block_tr); in TEST_P() [all …]
|
/trusty/user/base/lib/keymaster/test/ |
D | keymaster_test.c | 58 ASSERT_NE(key_buf, NULL); in TEST_F() 72 ASSERT_NE(id_buf, NULL); in TEST_F() 123 ASSERT_NE((uint64_t)checksum, (uint64_t)0); in TEST_F() 144 ASSERT_NE(checksum2, checksum); in TEST_F()
|
/trusty/user/base/app/apploader/tests/ |
D | apploader_test.c | 66 ASSERT_NE(event.event & IPC_HANDLE_POLL_MSG, 0); in make_request() 133 ASSERT_NE(base, NULL); in get_memory_buffer_from_malloc() 165 ASSERT_NE(handle, INVALID_IPC_HANDLE); in get_memory_handle_from_service() 180 ASSERT_NE(handle, INVALID_IPC_HANDLE); in get_memory_buffer_from_service() 183 ASSERT_NE(buf, MAP_FAILED); in get_memory_buffer_from_service() 259 ASSERT_NE(handle, INVALID_IPC_HANDLE); in TEST_F() 260 ASSERT_NE(package, NULL); in TEST_F() 286 ASSERT_NE(handle, INVALID_IPC_HANDLE); in send_cbor_package() 287 ASSERT_NE(package, NULL); in send_cbor_package() 560 ASSERT_NE(handle1, INVALID_IPC_HANDLE); in TEST_F() [all …]
|
/trusty/user/base/lib/hwasan/test/ |
D | hwasan_test.c | 162 ASSERT_NE(b, NULL); in TEST() 205 ASSERT_NE(a_notag, b_notag); in TEST() 250 ASSERT_NE(a, b); in TEST() 292 ASSERT_NE(a, MAP_FAILED); in TEST() 314 ASSERT_NE(a, MAP_FAILED); in TEST() 329 ASSERT_NE(a, MAP_FAILED); in TEST()
|
/trusty/user/base/lib/libstdc++-trusty/test/ |
D | libcxx_test.cpp | 67 ASSERT_NE(nullptr, tmp); in TEST_F() 85 ASSERT_NE(nullptr, static_stub_getter()); in TEST_F() 159 ASSERT_NE(nullptr, a.get()); in TEST_F() 241 ASSERT_NE(0, strcmp(a.c_str(), b.c_str())); in TEST_F() 252 ASSERT_NE(0, strcmp(b.c_str(), "foo")); in TEST_F() 256 ASSERT_NE(0, strcmp(a.c_str(), "foo")); in TEST_F()
|
/trusty/user/base/app/apploader/tests/cbor_test/ |
D | cbor_test.cpp | 117 ASSERT_NE(cborHeaderEnd, nullptr); in TEST() 121 ASSERT_NE(cppborHeaderEnd, (uint8_t*)NULL); in TEST() 144 ASSERT_NE(item, nullptr); in TEST() 146 ASSERT_NE(resMap, nullptr); in TEST() 389 ASSERT_NE(item, nullptr); 391 ASSERT_NE(outerArray, nullptr); 394 ASSERT_NE(innerArray, nullptr); 397 ASSERT_NE(innerInt, nullptr);
|
/trusty/user/base/lib/scudo/test/ |
D | scudo_test.c | 83 ASSERT_NE(evt.event & IPC_HANDLE_POLL_MSG, 0); in scudo_srv_rpc_memref() 186 ASSERT_NE(mem, NULL); in TEST_F() 208 ASSERT_NE(mem, NULL); in TEST_F() 226 ASSERT_NE(mem, NULL); in TEST_F() 244 ASSERT_NE(mem, NULL); in TEST_F()
|
/trusty/user/app/cast-auth/app/test-app/ |
D | main.cc | 243 ASSERT_NE(nullptr, state->sess.get()); in CastAuthTest_SetUp() 250 ASSERT_NE(nullptr, root.get()); in CastAuthTest_SetUp() 253 ASSERT_NE(nullptr, state->srv.get()); in CastAuthTest_SetUp()
|
/trusty/user/app/sample/app-mgmt-test/client/ |
D | main.c | 117 ASSERT_NE(0, uevt.event & IPC_HANDLE_POLL_MSG); in chan_send_cmd() 207 ASSERT_NE(0, IPC_HANDLE_POLL_READY & uevt.event); in wait_and_exit() 283 ASSERT_NE(event.event & IPC_HANDLE_POLL_MSG, 0); in recv_apploader_response() 419 ASSERT_NE(0, uevt.event & IPC_HANDLE_POLL_READY); in TEST() 422 ASSERT_NE(0, uevt.event & IPC_HANDLE_POLL_MSG); in TEST() 453 ASSERT_NE(0, uevt.event & IPC_HANDLE_POLL_HUP); in AppMgrPortStart_SetUp() 537 ASSERT_NE(0, IPC_HANDLE_POLL_HUP & uevt.event); in TEST() 612 ASSERT_NE(0, IPC_HANDLE_POLL_HUP & uevt.event); in TEST() 936 ASSERT_NE(0, IPC_HANDLE_POLL_READY & uevt.event); in TEST() 951 ASSERT_NE(0, IPC_HANDLE_POLL_READY & uevt.event); in TEST()
|
/trusty/user/app/sample/memref-test/ |
D | memref-test.c | 163 ASSERT_NE((void*)out, MAP_FAILED); in TEST() 187 ASSERT_NE((void*)mbuf, MAP_FAILED); in TEST() 190 ASSERT_NE((void*)dbuf, MAP_FAILED); in TEST() 256 ASSERT_NE((void*)out, NULL); in test_recv_ref()
|
/trusty/user/app/sample/manifest-test/ |
D | manifest_test.c | 48 ASSERT_NE(va_base, MAP_FAILED); in compare_memory_map() 54 ASSERT_NE(0, phy_addr); in compare_memory_map()
|
/trusty/user/base/lib/dlmalloc/test/ |
D | dlmalloc_test.c | 55 ASSERT_NE(event, 0); in dlmalloc_srv_rpc_expect() 132 ASSERT_NE(0, ptr, "iteration %d", i); in TEST_F()
|
/trusty/user/app/sample/binder-test/client/ |
D | main.cpp | 53 ASSERT_NE(nullptr, state->sess.get()); in BinderTest_SetUp() 60 ASSERT_NE(nullptr, root.get()); in BinderTest_SetUp() 63 ASSERT_NE(nullptr, state->srv.get()); in BinderTest_SetUp()
|
/trusty/user/base/lib/hwbcc/test/ |
D | main.cpp | 149 ASSERT_NE(memcmp(keys1[0].data(), keys2[0].data(), ED25519_PUBLIC_KEY_LEN), in TEST() 151 ASSERT_NE(memcmp(keys1[1].data(), keys2[1].data(), ED25519_PUBLIC_KEY_LEN), in TEST()
|
/trusty/kernel/app/memorytest/ |
D | memorytest.c | 109 ASSERT_NE(0, thread[i]); in TEST()
|
/trusty/user/base/lib/libc-trusty/test/ |
D | libc_test.c | 199 ASSERT_NE(NULL, result); in TEST_F() 211 ASSERT_NE(NULL, result); in TEST_F() 312 ASSERT_NE(0, p); in TEST_F() 328 ASSERT_NE(0, guard_region_top); in TEST_F() 494 ASSERT_NE(orig_brk, (void*)-1); in TEST_F()
|
/trusty/user/base/lib/smc/tests/ |
D | smc_test.c | 246 ASSERT_NE(va_base, MAP_FAILED); in TEST_F() 250 ASSERT_NE(pmem.paddr, 0); in TEST_F()
|
/trusty/user/base/app/cfi-test/ |
D | cfi-test.c | 72 ASSERT_NE(evt.event & IPC_HANDLE_POLL_MSG, 0); in crasher_wait()
|
/trusty/user/base/app/hwaes-benchmark/ |
D | hwaes-bench.c | 246 ASSERT_NE(NULL, _state, "calloc() failed\n"); in BENCH_SETUP()
|