Home
last modified time | relevance | path

Searched refs:SUCCESS (Results 1 – 25 of 120) sorted by relevance

12345

/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp108 if ((ret = fb->RawCommand(cmd, &resp, &info)) != SUCCESS) { in PartitionHash()
186 if (fb->GetVar("partition-type:super", &partition_type) == SUCCESS) { in TEST_F()
188 EXPECT_EQ(fb->GetVar("is-logical:super", &is_logical), SUCCESS) in TEST_F()
192 EXPECT_EQ(fb->GetVar("super-partition-name", &super_name), SUCCESS) in TEST_F()
203 EXPECT_EQ(fb->GetVar("has-slot:system", &has_slot), SUCCESS) << "getvar has-slot:system failed"; in TEST_F()
209 ASSERT_EQ(fb->GetVar("current-slot", &current_slot), SUCCESS) in TEST_F()
217 EXPECT_EQ(fb->GetVar(is_logical_cmd_system, &is_logical), SUCCESS) in TEST_F()
220 EXPECT_EQ(fb->GetVar(is_logical_cmd_vendor, &is_logical), SUCCESS) in TEST_F()
223 EXPECT_EQ(fb->GetVar(is_logical_cmd_boot, &is_logical), SUCCESS) in TEST_F()
243 EXPECT_EQ(fb->GetVar("slot-count", &slot_count), SUCCESS) << "getvar slot-count failed"; in TEST_F()
[all …]
Dfixtures.cpp240 ASSERT_EQ(fb->RawCommand("flashing get_unlock_ability", &resp, &info), SUCCESS) in SetLockState()
256 EXPECT_EQ(fb->GetVar("unlocked", &resp), SUCCESS) << "getvar:unlocked failed"; in SetLockState()
262 ASSERT_EQ(fb->RawCommand("flashing " + cmd, &resp), SUCCESS) in SetLockState()
267 ASSERT_EQ(fb->GetVar("unlocked", &resp), SUCCESS) << "getvar:unlocked failed"; in SetLockState()
296 if (fb->GetVar("product", &tmp) != SUCCESS) { in TearDown()
301 if (fb->GetVar("product", &tmp) != SUCCESS) { in TearDown()
326 ASSERT_EQ(fb->GetVar("slot-count", &var), SUCCESS) << "Getting slot count failed"; in SetUp()
330 ASSERT_EQ(fb->GetVar("partition-size:" + real_parts.front(), &var), SUCCESS) in SetUp()
335 ASSERT_EQ(fb->GetVar("max-download-size", &var), SUCCESS) << "Getting max download size failed"; in SetUp()
/system/bt/gd/l2cap/classic/
Ddynamic_channel_manager.h45 SUCCESS = 0, enumerator
54 ConnectionResultCode connection_result_code = ConnectionResultCode::SUCCESS;
55 hci::ErrorCode hci_error = hci::ErrorCode::SUCCESS;
56 ConnectionResponseResult l2cap_connection_response_result = ConnectionResponseResult::SUCCESS;
64 SUCCESS = 0, enumerator
Dfixed_channel_manager.h45 SUCCESS = 0, enumerator
52 ConnectionResultCode connection_result_code = ConnectionResultCode::SUCCESS;
53 hci::ErrorCode hci_error = hci::ErrorCode::SUCCESS;
66 SUCCESS = 0, enumerator
/system/bt/gd/l2cap/le/
Ddynamic_channel_manager.h44 SUCCESS = 0, enumerator
51 ConnectionResultCode connection_result_code = ConnectionResultCode::SUCCESS;
52 hci::ErrorCode hci_error = hci::ErrorCode::SUCCESS;
54 LeCreditBasedConnectionResponseResult::SUCCESS;
67 SUCCESS = 0, enumerator
Dfixed_channel_manager.h40 SUCCESS = 0, enumerator
47 ConnectionResultCode connection_result_code = ConnectionResultCode::SUCCESS;
48 hci::ErrorCode hci_error = hci::ErrorCode::SUCCESS;
61 SUCCESS = 0, enumerator
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dreturn.h31 SUCCESS = static_cast<int32_t>(FiemapStatus::ErrorCode::SUCCESS), enumerator
36 bool is_ok() const { return error_code() == ErrorCode::SUCCESS; } in is_ok()
42 static Return Ok() { return Return(ErrorCode::SUCCESS); } in Ok()
/system/core/fs_mgr/libfiemap/include/libfiemap/
Dfiemap_status.h30 SUCCESS = 0, enumerator
50 static FiemapStatus Ok() { return FiemapStatus(ErrorCode::SUCCESS); } in Ok()
53 bool is_ok() const { return error_code() == ErrorCode::SUCCESS; } in is_ok()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Ddual_mode_controller.cc259 kNumCommandPackets, ErrorCode::SUCCESS, in SniffSubrating()
397 ErrorCode::SUCCESS)); in Reset()
405 kNumCommandPackets, ErrorCode::SUCCESS, in ReadBufferSize()
419 kNumCommandPackets, ErrorCode::SUCCESS, in ReadEncryptionKeySize()
428 kNumCommandPackets, ErrorCode::SUCCESS); in HostBufferSize()
448 kNumCommandPackets, ErrorCode::SUCCESS, local_version_information); in ReadLocalVersionInformation()
472 kNumCommandPackets, ErrorCode::SUCCESS, properties_.GetAddress()); in ReadBdAddr()
491 kNumCommandPackets, ErrorCode::SUCCESS, supported_commands); in ReadLocalSupportedCommands()
500 kNumCommandPackets, ErrorCode::SUCCESS, in ReadLocalSupportedFeatures()
510 kNumCommandPackets, ErrorCode::SUCCESS, in ReadLocalSupportedCodecs()
[all …]
Dlink_layer_controller.cc102 return ErrorCode::SUCCESS; in SendCommandToRemoteByAddress()
163 return ErrorCode::SUCCESS; in SendAclToRemote()
372 ErrorCode::SUCCESS, packet.GetSourceAddress(), view.GetName())); in IncomingRemoteNameRequestResponse()
414 ErrorCode::SUCCESS, handle, view.GetFeatures())); in IncomingReadRemoteSupportedFeaturesResponse()
422 uint8_t error_code = static_cast<uint8_t>(ErrorCode::SUCCESS); in IncomingReadRemoteExtendedFeatures()
472 ErrorCode::SUCCESS, handle, view.GetLmpVersion(), in IncomingReadRemoteVersionResponse()
495 ErrorCode::SUCCESS, handle, view.GetOffset())); in IncomingReadClockOffsetResponse()
531 ErrorCode::SUCCESS, handle, bluetooth::hci::EncryptionEnabled::ON)); in IncomingEncryptConnection()
557 ErrorCode::SUCCESS, handle, bluetooth::hci::EncryptionEnabled::ON); in IncomingEncryptConnectionResponse()
886 ErrorCode::SUCCESS, handle, static_cast<bluetooth::hci::Role>(role), in HandleLeConnection()
[all …]
/system/bt/gd/hci/
Dacl_manager_test.cc340 …est_hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in SetUp()
456 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle_, remote, LinkType::ACL, Enable::DISA… in SetUp()
543 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle, remote, LinkType::ACL, Enable::DISAB… in TEST_F()
581 …i_layer_->IncomingEvent(LeAddDeviceToConnectListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in SetUp()
590 … test_hci_layer_->IncomingEvent(LeCreateConnectionStatusBuilder::Create(ErrorCode::SUCCESS, 0x01)); in SetUp()
595 ErrorCode::SUCCESS, in SetUp()
607 …er_->IncomingEvent(LeRemoveDeviceFromConnectListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in SetUp()
653 …i_layer_->IncomingEvent(LeAddDeviceToConnectListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F()
662 test_hci_layer_->IncomingEvent(LeCreateConnectionStatusBuilder::Create(ErrorCode::SUCCESS, 0x01)); in TEST_F()
675 …er_->IncomingEvent(LeRemoveDeviceFromConnectListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F()
[all …]
Dcontroller_test.cc81 … event_builder = ReadLocalNameCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, local_name); in HandleCommand()
90 …event_builder = ReadLocalVersionInformationCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, in HandleCommand()
102 …ReadLocalSupportedCommandsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, supported_comma… in HandleCommand()
107 … ReadLocalSupportedFeaturesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, lmp_features); in HandleCommand()
115 …er = ReadLocalExtendedFeaturesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, page_bumber, in HandleCommand()
120 num_packets, ErrorCode::SUCCESS, acl_data_packet_length, synchronous_data_packet_length, in HandleCommand()
124 … event_builder = ReadBdAddrCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, Address::kAny); in HandleCommand()
130 …event_builder = LeReadBufferSizeV1CompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, le_buff… in HandleCommand()
134 …LeReadLocalSupportedFeaturesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, 0x001f1234567… in HandleCommand()
138 … LeReadSupportedStatesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, 0x001f123456789abe); in HandleCommand()
[all …]
Dle_address_manager_test.cc218 …test_hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)… in TEST_F()
240 …test_hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)… in TEST_F()
300 …est_hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in SetUp()
331 …i_layer_->IncomingEvent(LeAddDeviceToConnectListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F()
341 …i_layer_->IncomingEvent(LeAddDeviceToConnectListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F()
350 …er_->IncomingEvent(LeRemoveDeviceFromConnectListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F()
360 …i_layer_->IncomingEvent(LeAddDeviceToConnectListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F()
365 …test_hci_layer_->IncomingEvent(LeClearConnectListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)… in TEST_F()
385 …layer_->IncomingEvent(LeAddDeviceToResolvingListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F()
398 …layer_->IncomingEvent(LeAddDeviceToResolvingListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F()
[all …]
Dle_scanning_manager.cc250 ASSERT(status_view.GetStatus() == ErrorCode::SUCCESS); in check_status()
255 ASSERT(status_view.GetStatus() == ErrorCode::SUCCESS); in check_status()
260 ASSERT(status_view.GetStatus() == ErrorCode::SUCCESS); in check_status()
265 ASSERT(status_view.GetStatus() == ErrorCode::SUCCESS); in check_status()
270 ASSERT(status_view.GetStatus() == ErrorCode::SUCCESS); in check_status()
/system/core/fs_mgr/libsnapshot/
Dreturn.cpp27 case ErrorCode::SUCCESS: in string()
36 case FiemapStatus::ErrorCode::SUCCESS: in FromFiemapStatusErrorCode()
/system/bt/gd/neighbor/
Dpage.cc68 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
74 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
82 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
88 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
95 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
101 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
Dinquiry.cc111 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
117 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
123 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
129 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
135 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
142 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
149 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
155 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
163 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
169 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
[all …]
Dinquiry_test.cc111 … hci::InquiryCancelCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS); in HandleCommand()
119 …:PeriodicInquiryModeCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS); in HandleCommand()
129 …tPeriodicInquiryModeCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS); in HandleCommand()
135 …ci::WriteInquiryModeCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS); in HandleCommand()
145 kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS, hci_register_.inquiry_mode); in HandleCommand()
150 …eInquiryScanActivityCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS); in HandleCommand()
162 hci::ErrorCode::SUCCESS, in HandleCommand()
169 …WriteInquiryScanTypeCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS); in HandleCommand()
179 kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS, hci_register_.inquiry_scan_type); in HandleCommand()
184 …kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS, hci_register_.inquiry_response_transmit_pow… in HandleCommand()
[all …]
/system/bt/gd/hci/acl_manager/
Devent_checkers.h33 if (status != ErrorCode::SUCCESS) { in check_command_complete()
50 if (status != ErrorCode::SUCCESS) { in check_command_status()
Dclassic_impl.h204 if (status != ErrorCode::SUCCESS) { in on_connection_complete()
243 } else if (packet_type_changed.GetStatus() != ErrorCode::SUCCESS) { in on_connection_packet_type_changed()
260 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_master_link_key_complete()
277 } else if (authentication_complete.GetStatus() != ErrorCode::SUCCESS) { in on_authentication_complete()
329 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_change_connection_link_key_complete()
345 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_clock_offset_complete()
362 } else if (mode_change_view.GetStatus() != ErrorCode::SUCCESS) { in on_mode_change()
380 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_qos_setup_complete()
402 } else if (role_change_view.GetStatus() != ErrorCode::SUCCESS) { in on_role_change()
422 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_flow_specification_complete()
[all …]
Dclassic_acl_connection.cc129 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_role_discovery_complete()
143 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_link_policy_settings_complete()
157 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_automatic_flush_timeout_complete()
171 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_transmit_power_level_complete()
185 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_link_supervision_timeout_complete()
199 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_failed_contact_counter_complete()
213 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_link_quality_complete()
227 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_afh_channel_map_complete()
241 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_rssi_complete()
269 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_clock_complete()
/system/hardware/interfaces/wifi/keystore/1.0/
DIKeystore.hal30 SUCCESS,
40 * |KeystoreStatusCode.SUCCESS|,
54 * |KeystoreStatusCode.SUCCESS|,
70 * |KeystoreStatusCode.SUCCESS|,
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp349 EXPECT_EQ(IKeystore::KeystoreStatusCode::SUCCESS, statusCode); in TEST_P()
365 statusCode = IKeystore::KeystoreStatusCode::SUCCESS; in TEST_P()
380 statusCode = IKeystore::KeystoreStatusCode::SUCCESS; in TEST_P()
395 statusCode = IKeystore::KeystoreStatusCode::SUCCESS; in TEST_P()
442 EXPECT_EQ(IKeystore::KeystoreStatusCode::SUCCESS, statusCode); in TEST_P()
458 statusCode = IKeystore::KeystoreStatusCode::SUCCESS; in TEST_P()
473 statusCode = IKeystore::KeystoreStatusCode::SUCCESS; in TEST_P()
488 statusCode = IKeystore::KeystoreStatusCode::SUCCESS; in TEST_P()
565 EXPECT_EQ(IKeystore::KeystoreStatusCode::SUCCESS, statusCode); in TEST_P()
/system/bt/gd/l2cap/classic/cert/
Dcert_l2cap.py100 …def verify_configuration_request_and_respond(self, result=ConfigurationResponseResult.SUCCESS, opt…
111 …def send_configuration_response(self, request, result=ConfigurationResponseResult.SUCCESS, options…
120 def verify_configuration_response(self, result=ConfigurationResponseResult.SUCCESS):
147 … def send_configuration_response(self, result=ConfigurationResponseResult.SUCCESS, options=None):
151 …def _send_configuration_response(self, request, result=ConfigurationResponseResult.SUCCESS, option…
223 sid, scid, dcid, l2cap_packets.ConnectionResponseResult.SUCCESS,
334 if result == ConfigurationResponseResult.SUCCESS:
354 sid, l2cap_packets.InformationRequestResult.SUCCESS, 100)
359 …sid, l2cap_packets.InformationRequestResult.SUCCESS, 0, 0, 0, self.support_ertm, 0, self.support_f…
365 sid, l2cap_packets.InformationRequestResult.SUCCESS, 2)
/system/security/keystore-engine/
Dkeystore_backend_hidl.cpp50 if (status == IKeystore::KeystoreStatusCode::SUCCESS) { in sign()
80 if (status == IKeystore::KeystoreStatusCode::SUCCESS) { in get_pubkey()

12345