/system/bt/vendor_libs/test_vendor_lib/src/ |
D | event_packet.cc | 38 CHECK(evt_ptr->AddPayloadOctets1(status)); in CreateInquiryCompleteEvent() 49 CHECK(evt_ptr->AddPayloadOctets1(1)); // num_hci_command_packets in CreateCommandCompleteEvent() 50 CHECK(evt_ptr->AddPayloadOctets2(command_opcode)); in CreateCommandCompleteEvent() 51 CHECK(evt_ptr->AddPayloadOctets(event_return_parameters.size(), in CreateCommandCompleteEvent() 62 CHECK(evt_ptr->AddPayloadOctets1(1)); // num_hci_command_packets in CreateCommandCompleteOnlyStatusEvent() 63 CHECK(evt_ptr->AddPayloadOctets2(command_opcode)); in CreateCommandCompleteOnlyStatusEvent() 64 CHECK(evt_ptr->AddPayloadOctets1(status)); in CreateCommandCompleteOnlyStatusEvent() 75 CHECK(evt_ptr->AddPayloadOctets1(status)); in CreateCommandStatusEvent() 76 CHECK(evt_ptr->AddPayloadOctets1(1)); // num_hci_command_packets in CreateCommandStatusEvent() 77 CHECK(evt_ptr->AddPayloadOctets2(command_opcode)); in CreateCommandStatusEvent() [all …]
|
/system/bt/device/src/ |
D | controller.cc | 126 CHECK(page_number == 0); in start_up() 278 CHECK(readable); in get_address() 283 CHECK(readable); in get_bt_version() 289 CHECK(readable); in get_features_classic() 290 CHECK(index < MAX_FEATURES_CLASSIC_PAGE_COUNT); in get_features_classic() 295 CHECK(readable); in get_last_features_classic_index() 300 CHECK(readable); in get_local_supported_codecs() 309 CHECK(readable); in get_features_ble() 310 CHECK(ble_supported); in get_features_ble() 315 CHECK(readable); in get_ble_supported_states() [all …]
|
/system/bt/btcore/src/ |
D | device_class.cc | 62 CHECK(dc != NULL); in device_class_from_stream() 63 CHECK(data != NULL); in device_class_from_stream() 69 CHECK(dc != NULL); in device_class_to_stream() 70 CHECK(data != NULL); in device_class_to_stream() 71 CHECK(len >= sizeof(bt_device_class_t)); in device_class_to_stream() 79 CHECK(dc != NULL); in device_class_from_int() 80 CHECK(data != 0); in device_class_from_int() 88 CHECK(dc != NULL); in device_class_to_int() 95 CHECK(p1 != NULL); in device_class_equals() 96 CHECK(p2 != NULL); in device_class_equals() [all …]
|
D | property.cc | 32 CHECK(properties != NULL); in property_copy_array() 46 CHECK(dest != NULL); in property_copy() 47 CHECK(src != NULL); in property_copy() 80 CHECK(addr != NULL); in property_new_addr() 85 CHECK(dc != NULL); in property_new_device_class() 101 CHECK(name != NULL); in property_new_name() 115 CHECK(uuid != NULL); in property_new_uuids() 135 CHECK(property != NULL); in property_is_addr() 140 CHECK(property != NULL); in property_is_device_class() 145 CHECK(property != NULL); in property_is_device_type() [all …]
|
D | bdaddr.cc | 27 CHECK(addr != NULL); in bdaddr_is_empty() 34 CHECK(first != NULL); in bdaddr_equals() 35 CHECK(second != NULL); in bdaddr_equals() 41 CHECK(dest != NULL); in bdaddr_copy() 42 CHECK(src != NULL); in bdaddr_copy() 49 CHECK(addr != NULL); in bdaddr_to_string() 50 CHECK(string != NULL); in bdaddr_to_string() 61 CHECK(string != NULL); in string_is_bdaddr() 77 CHECK(string != NULL); in string_to_bdaddr() 78 CHECK(addr != NULL); in string_to_bdaddr()
|
D | uuid.cc | 51 CHECK(uuid_string != NULL); in uuid_string_data() 56 CHECK(uuid_string != NULL); in uuid_new() 91 CHECK(first != NULL); in uuid_is_equal() 92 CHECK(second != NULL); in uuid_is_equal() 97 CHECK(dest != NULL); in uuid_copy() 98 CHECK(src != NULL); in uuid_copy() 103 CHECK(uuid != NULL); in uuid_128_to_16() 104 CHECK(uuid16 != NULL); in uuid_128_to_16() 113 CHECK(uuid != NULL); in uuid_128_to_32() 114 CHECK(uuid32 != NULL); in uuid_128_to_32() [all …]
|
D | module.cc | 56 CHECK(module); in get_module() 61 CHECK(module != NULL); in module_init() 62 CHECK(get_module_state(module) == MODULE_STATE_NONE); in module_init() 75 CHECK(module != NULL); in module_start_up() 81 CHECK(get_module_state(module) == MODULE_STATE_INITIALIZED || in module_start_up() 97 CHECK(module != NULL); in module_shut_down() 99 CHECK(state <= MODULE_STATE_STARTED); in module_shut_down() 117 CHECK(module != NULL); in module_clean_up() 119 CHECK(state <= MODULE_STATE_INITIALIZED); in module_clean_up() 190 CHECK(context); in run_wrapped_start_up() [all …]
|
/system/bt/btif/src/ |
D | btif_config.cc | 247 CHECK(config != NULL); in btif_config_has_section() 248 CHECK(section != NULL); in btif_config_has_section() 255 CHECK(config != NULL); in btif_config_exist() 256 CHECK(section != NULL); in btif_config_exist() 257 CHECK(key != NULL); in btif_config_exist() 264 CHECK(config != NULL); in btif_config_get_int() 265 CHECK(section != NULL); in btif_config_get_int() 266 CHECK(key != NULL); in btif_config_get_int() 267 CHECK(value != NULL); in btif_config_get_int() 277 CHECK(config != NULL); in btif_config_set_int() [all …]
|
/system/bt/osi/src/ |
D | list.cc | 47 CHECK(list != NULL); in list_is_empty() 52 CHECK(list != NULL); in list_contains() 53 CHECK(data != NULL); in list_contains() 64 CHECK(list != NULL); in list_length() 69 CHECK(list != NULL); in list_front() 70 CHECK(!list_is_empty(list)); in list_front() 76 CHECK(list != NULL); in list_back() 77 CHECK(!list_is_empty(list)); in list_back() 83 CHECK(list != NULL); in list_back_node() 84 CHECK(!list_is_empty(list)); in list_back_node() [all …]
|
D | config.cc | 83 CHECK(filename != NULL); in config_new() 106 CHECK(src != NULL); in config_new_clone() 110 CHECK(ret != NULL); in config_new_clone() 136 CHECK(config != NULL); in config_has_section() 137 CHECK(section != NULL); in config_has_section() 144 CHECK(config != NULL); in config_has_key() 145 CHECK(section != NULL); in config_has_key() 146 CHECK(key != NULL); in config_has_key() 153 CHECK(config != NULL); in config_get_int() 154 CHECK(section != NULL); in config_get_int() [all …]
|
D | ringbuffer.cc | 50 CHECK(rb); in ringbuffer_available() 55 CHECK(rb); in ringbuffer_size() 60 CHECK(rb); in ringbuffer_insert() 61 CHECK(p); in ringbuffer_insert() 75 CHECK(rb); in ringbuffer_delete() 88 CHECK(rb); in ringbuffer_peek() 89 CHECK(p); in ringbuffer_peek() 90 CHECK(offset >= 0); in ringbuffer_peek() 91 CHECK((size_t)offset <= ringbuffer_size(rb)); in ringbuffer_peek() 107 CHECK(rb); in ringbuffer_pop() [all …]
|
D | semaphore.cc | 63 CHECK(semaphore != NULL); in semaphore_wait() 64 CHECK(semaphore->fd != INVALID_FD); in semaphore_wait() 73 CHECK(semaphore != NULL); in semaphore_try_wait() 74 CHECK(semaphore->fd != INVALID_FD); in semaphore_try_wait() 99 CHECK(semaphore != NULL); in semaphore_post() 100 CHECK(semaphore->fd != INVALID_FD); in semaphore_post() 108 CHECK(semaphore != NULL); in semaphore_get_fd() 109 CHECK(semaphore->fd != INVALID_FD); in semaphore_get_fd()
|
D | buffer.cc | 37 CHECK(size > 0); in buffer_new() 50 CHECK(buf != NULL); in buffer_new_ref() 55 CHECK(buf != NULL); in buffer_new_slice() 56 CHECK(slice_size > 0); in buffer_new_slice() 57 CHECK(slice_size <= buf->length); in buffer_new_slice() 84 CHECK(buf != NULL); in buffer_ptr() 89 CHECK(buf != NULL); in buffer_length()
|
D | fixed_queue.cc | 111 CHECK(queue != NULL); in fixed_queue_capacity() 117 CHECK(queue != NULL); in fixed_queue_enqueue() 118 CHECK(data != NULL); in fixed_queue_enqueue() 131 CHECK(queue != NULL); in fixed_queue_dequeue() 148 CHECK(queue != NULL); in fixed_queue_try_enqueue() 149 CHECK(data != NULL); in fixed_queue_try_enqueue() 202 CHECK(removed); in fixed_queue_try_remove_from_queue() 214 CHECK(queue != NULL); in fixed_queue_get_list() 223 CHECK(queue != NULL); in fixed_queue_get_dequeue_fd() 228 CHECK(queue != NULL); in fixed_queue_get_enqueue_fd() [all …]
|
D | socket.cc | 78 CHECK(fd != INVALID_FD); in socket_new_from_fd() 95 CHECK(socket != NULL); in socket_listen() 117 CHECK(socket != NULL); in socket_accept() 134 CHECK(socket != NULL); in socket_read() 135 CHECK(buf != NULL); in socket_read() 144 CHECK(socket != NULL); in socket_write() 145 CHECK(buf != NULL); in socket_write() 155 CHECK(socket != NULL); in socket_write_and_transfer_fd() 156 CHECK(buf != NULL); in socket_write_and_transfer_fd() 188 CHECK(socket != NULL); in socket_bytes_available() [all …]
|
D | thread.cc | 68 CHECK(name != NULL); in thread_new_sized() 69 CHECK(work_queue_capacity != 0); in thread_new_sized() 120 CHECK(thread != NULL); in thread_join() 127 CHECK(thread != NULL); in thread_post() 128 CHECK(func != NULL); in thread_post() 144 CHECK(thread != NULL); in thread_stop() 180 CHECK(thread != NULL); in thread_is_self() 185 CHECK(thread != NULL); in thread_get_reactor() 190 CHECK(thread != NULL); in thread_name() 195 CHECK(start_arg != NULL); in run_thread() [all …]
|
/system/update_engine/ |
D | fake_file_writer.h | 38 CHECK(!was_opened_); in Open() 39 CHECK(!was_closed_); in Open() 45 CHECK(was_opened_); in Write() 46 CHECK(!was_closed_); in Write() 53 CHECK(was_opened_); in Close() 54 CHECK(!was_closed_); in Close()
|
D | fake_system_state.h | 173 CHECK(boot_control_ == &fake_boot_control_); in fake_boot_control() 178 CHECK(clock_ == &fake_clock_); in fake_clock() 183 CHECK(connection_manager_ == &mock_connection_manager_); in mock_connection_manager() 188 CHECK(hardware_ == &fake_hardware_); in fake_hardware() 193 CHECK(metrics_lib_ == &mock_metrics_lib_); in mock_metrics_lib() 198 CHECK(prefs_ == &mock_prefs_); in mock_prefs() 203 CHECK(powerwash_safe_prefs_ == &mock_powerwash_safe_prefs_); in mock_powerwash_safe_prefs() 208 CHECK(payload_state_ == &mock_payload_state_); in mock_payload_state() 213 CHECK(update_attempter_ == &mock_update_attempter_); in mock_update_attempter() 218 CHECK(request_params_ == &mock_request_params_); in mock_request_params() [all …]
|
/system/tpm/trunks/ |
D | tpm_state_impl.cc | 68 CHECK(initialized_); in IsOwnerPasswordSet() 74 CHECK(initialized_); in IsEndorsementPasswordSet() 80 CHECK(initialized_); in IsLockoutPasswordSet() 91 CHECK(initialized_); in IsInLockout() 97 CHECK(initialized_); in IsPlatformHierarchyEnabled() 103 CHECK(initialized_); in IsStorageHierarchyEnabled() 109 CHECK(initialized_); in IsEndorsementHierarchyEnabled() 120 CHECK(initialized_); in WasShutdownOrderly() 126 CHECK(initialized_); in IsRSASupported() 131 CHECK(initialized_); in IsECCSupported() [all …]
|
D | blob_parser.cc | 29 CHECK(key_blob) << "KeyBlob not defined."; in SerializeKeyBlob() 50 CHECK(public_info) << "Public info not defined."; in ParseKeyBlob() 51 CHECK(private_info) << "Private info not defined."; in ParseKeyBlob() 75 CHECK(creation_blob) << "CreationBlob not defined."; in SerializeCreationBlob() 100 CHECK(creation_data) << "CreationData not defined."; in ParseCreationBlob() 101 CHECK(creation_hash) << "CreationHash not defined."; in ParseCreationBlob() 102 CHECK(creation_ticket) << "CreationTicket not defined."; in ParseCreationBlob()
|
/system/bt/stack/l2cap/ |
D | l2cap_client.cc | 92 CHECK(callbacks != NULL); in l2cap_client_new() 93 CHECK(callbacks->connected != NULL); in l2cap_client_new() 94 CHECK(callbacks->disconnected != NULL); in l2cap_client_new() 95 CHECK(callbacks->read_ready != NULL); in l2cap_client_new() 96 CHECK(callbacks->write_ready != NULL); in l2cap_client_new() 131 CHECK(client != NULL); in l2cap_client_connect() 132 CHECK(remote_bdaddr != NULL); in l2cap_client_connect() 133 CHECK(psm != 0); in l2cap_client_connect() 134 CHECK(!bdaddr_is_empty(remote_bdaddr)); in l2cap_client_connect() 135 CHECK(client->local_channel_id == 0); in l2cap_client_connect() [all …]
|
/system/bt/hci/src/ |
D | hci_packet_parser.cc | 50 CHECK(stream != NULL); in parse_read_buffer_size_response() 62 CHECK(stream != NULL); in parse_read_local_version_info_response() 92 CHECK(stream != NULL); in parse_read_bd_addr_response() 104 CHECK(stream != NULL); in parse_read_local_supported_commands_response() 117 CHECK(stream != NULL); in parse_read_local_extended_features_response() 122 CHECK(*page_number_ptr < feature_pages_count); in parse_read_local_extended_features_response() 133 CHECK(stream != NULL); in parse_ble_read_white_list_size_response() 144 CHECK(stream != NULL); in parse_ble_read_buffer_size_response() 156 CHECK(stream != NULL); in parse_ble_read_supported_states_response() 167 CHECK(stream != NULL); in parse_ble_read_local_supported_features_response() [all …]
|
/system/core/libbinderwrapper/ |
D | binder_wrapper.cc | 30 CHECK(!instance_) << "Already initialized; missing call to Destroy()?"; in Create() 36 CHECK(!instance_) << "Already initialized; missing call to Destroy()?"; in InitForTesting() 42 CHECK(instance_) << "Not initialized; missing call to Create()?"; in Destroy() 49 CHECK(instance_) << "Not initialized; missing call to Create()?"; in Get()
|
/system/tools/hidl/ |
D | TypeDef.cpp | 30 CHECK(!"Should not be here"); in resolveToScalarType() 43 CHECK(!"Should not be here"); in isEnum() 52 CHECK(!"Should not be here"); in needsEmbeddedReadWrite() 57 CHECK(!"Should not be here"); in resultNeedsDeref()
|
/system/connectivity/wificond/tests/integration/ |
D | process_utils.cpp | 71 CHECK(WaitForTrue(WificondIsDead, kWificondDeathTimeoutSeconds)); in EnterDevModeOrDie() 73 CHECK(WaitForTrue(SystemServerIsDead, kSystemServerDeathTimeoutSeconds)); in EnterDevModeOrDie() 76 CHECK(WaitForTrue(wificond_restarted, kWificondStartTimeoutSeconds)); in EnterDevModeOrDie() 87 CHECK(WaitForTrue(WificondIsDead, kWificondDeathTimeoutSeconds)); in ExitDevMode() 89 CHECK(WaitForTrue(SystemServerIsRunning, kSystemServerStartTimeoutSeconds)); in ExitDevMode() 91 CHECK(WaitForTrue(WificondIsRunning, kWificondStartTimeoutSeconds)); in ExitDevMode()
|