/system/tpm/trunks/ |
D | tpm_state_impl.cc | 134 CHECK(initialized_); in IsOwnerPasswordSet() 139 CHECK(initialized_); in IsEndorsementPasswordSet() 145 CHECK(initialized_); in IsLockoutPasswordSet() 156 CHECK(initialized_); in IsInLockout() 161 CHECK(initialized_); in IsPlatformHierarchyEnabled() 167 CHECK(initialized_); in IsStorageHierarchyEnabled() 173 CHECK(initialized_); in IsEndorsementHierarchyEnabled() 185 CHECK(initialized_); in WasShutdownOrderly() 191 CHECK(initialized_); in IsRSASupported() 196 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/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 | 175 CHECK(boot_control_ == &fake_boot_control_); in fake_boot_control() 180 CHECK(clock_ == &fake_clock_); in fake_clock() 185 CHECK(connection_manager_ == &mock_connection_manager_); in mock_connection_manager() 190 CHECK(hardware_ == &fake_hardware_); in fake_hardware() 195 CHECK(metrics_lib_ == &mock_metrics_lib_); in mock_metrics_lib() 200 CHECK(prefs_ == &mock_prefs_); in mock_prefs() 205 CHECK(powerwash_safe_prefs_ == &mock_powerwash_safe_prefs_); in mock_powerwash_safe_prefs() 210 CHECK(payload_state_ == &mock_payload_state_); in mock_payload_state() 215 CHECK(update_attempter_ == &mock_update_attempter_); in mock_update_attempter() 220 CHECK(request_params_ == &mock_request_params_); in mock_request_params() [all …]
|
/system/webservd/webservd/ |
D | utils.cc | 61 CHECK(cert.get()); in CreateCertificate() 87 CHECK(rsa_key_pair.get()); in GenerateRSAKeyPair() 89 CHECK(big_num.get()); in GenerateRSAKeyPair() 90 CHECK(BN_set_word(big_num.get(), 65537)); in GenerateRSAKeyPair() 91 CHECK(RSA_generate_key_ex(rsa_key_pair.get(), key_length_bits, big_num.get(), in GenerateRSAKeyPair() 99 CHECK(bio); in StoreRSAPrivateKey() 100 CHECK(PEM_write_bio_RSAPrivateKey(bio.get(), rsa_key_pair, nullptr, nullptr, in StoreRSAPrivateKey() 105 CHECK(buffer); in StoreRSAPrivateKey() 123 CHECK(bio); in StoreCertificate() 124 CHECK(PEM_write_bio_X509(bio.get(), cert)); in StoreCertificate() [all …]
|
D | request.cc | 104 CHECK(request_data_pipe_out_.IsValid()); 107 CHECK(request_data_stream_); 148 CHECK(file.IsValid()); in Complete() 151 CHECK(response_data_stream_); in Complete() 232 CHECK(resp); in EndRequestData() 253 CHECK(p != protocol_handler_->request_handlers_.end()); in ForwardRequestToHandler() 279 CHECK(*size); in AddRawRequestData() 280 CHECK(request_data_stream_) << "Data pipe hasn't been created."; in AddRawRequestData() 390 CHECK(!file_info_.empty()); in AppendPostFieldData() 391 CHECK(file_info_.back()->field_name == key); in AppendPostFieldData() [all …]
|
/system/bt/service/ |
D | gatt_server.cpp | 88 CHECK(!pending_id_); in BeginServiceDeclaration() 89 CHECK(!pending_decl_); in BeginServiceDeclaration() 90 CHECK(!pending_end_decl_cb_); in BeginServiceDeclaration() 93 CHECK(service_id); in BeginServiceDeclaration() 126 CHECK(char_id); in AddCharacteristic() 185 CHECK(!pending_id_); in EndServiceDeclaration() 189 CHECK(pending_decl_->num_handles > 0); in EndServiceDeclaration() 190 CHECK(!pending_decl_->attributes.empty()); in EndServiceDeclaration() 193 CHECK(service_id->IsService()); in EndServiceDeclaration() 194 CHECK(*service_id == pending_decl_->service_id); in EndServiceDeclaration() [all …]
|
D | daemon.cpp | 106 CHECK(!initialized_); in Init() 147 CHECK(!g_daemon); in Initialize() 163 CHECK(g_daemon); in ShutDown() 170 CHECK(test_daemon); in InitializeForTesting() 171 CHECK(!g_daemon); in InitializeForTesting() 178 CHECK(g_daemon); in Get()
|
/system/connectivity/shill/ethernet/ |
D | ethernet_service.cc | 86 CHECK(ethernet_); in Connect() 92 CHECK(ethernet_); in Disconnect() 97 CHECK(ethernet_); in GetDeviceRpcId() 102 CHECK(ethernet_); in GetStorageIdentifier() 128 CHECK(ethernet_); in IsVisible() 136 CHECK(ethernet_); in IsAutoConnectable() 149 CHECK(ethernet_); in GetTethering()
|
/system/nativepower/example/ |
D | power_example.cc | 50 CHECK(client.Init()); in main() 54 CHECK(client.Reboot(android::RebootReason::DEFAULT)); in main() 57 CHECK(client.ShutDown(android::ShutdownReason::DEFAULT)); in main() 60 CHECK(client.Suspend(base::SysInfo::Uptime(), in main() 66 CHECK(lock) << "Lock not created"; in main()
|
/system/connectivity/apmanager/ |
D | shill_manager.cc | 33 CHECK(!shill_proxy_) << "Already init"; in Init() 43 CHECK(shill_proxy_) << "Proxy not initialize yet"; in ClaimInterface() 49 CHECK(shill_proxy_) << "Proxy not initialize yet"; in ReleaseInterface() 56 CHECK(shill_proxy_) << "Proxy not initialized yet"; in SetupApModeInterface() 61 CHECK(shill_proxy_) << "Proxy not initialized yet"; in SetupStationModeInterface()
|
/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/update_engine/payload_generator/ |
D | generate_delta_main.cc | 119 CHECK(PayloadSigner::HashPayloadForSigning(in_file, sizes, &payload_hash, in CalculateHashForSigning() 121 CHECK(utils::WriteFile(out_hash_file.c_str(), payload_hash.data(), in CalculateHashForSigning() 124 CHECK(utils::WriteFile(out_metadata_hash_file.c_str(), metadata_hash.data(), in CalculateHashForSigning() 137 CHECK(utils::ReadFile(signature_file, &signature)); in SignatureFileFlagToBlobs() 158 CHECK(PayloadSigner::AddSignatureToPayload(in_file, signatures, in SignPayload() 164 CHECK(utils::WriteFile(out_metadata_size_file.c_str(), in SignPayload() 177 CHECK(PayloadSigner::VerifySignedPayload(in_file, public_key)); in VerifySignedPayload() 203 CHECK(old_image.LoadImageSize()); in ApplyDelta() 206 CHECK(diff_utils::InitializePartitionInfo(old_part, &part_info)); in ApplyDelta() 224 CHECK(utils::PReadAll(fd, buf.data(), buf.size(), offset, &bytes_read)); in ApplyDelta() [all …]
|
/system/weaved/buffet/ |
D | avahi_mdns_client.cc | 53 CHECK(thread_pool_); in AvahiMdnsClient() 60 CHECK(client_) << avahi_strerror(ret); in AvahiMdnsClient() 66 CHECK(group_) << avahi_strerror(avahi_client_errno(client_.get())) in AvahiMdnsClient() 78 CHECK(group_); in PublishService() 98 CHECK(txt_list); in PublishService() 115 CHECK(avahi_entry_group_is_empty(group_.get())); in PublishService() 129 CHECK(group_); in StopPublishing()
|
/system/connectivity/shill/ |
D | key_file_store.cc | 64 CHECK(!path_.empty()); in KeyFileStore() 84 CHECK(!key_file_); in Open() 113 CHECK(key_file_); in Flush() 147 CHECK(key_file_); in GetGroups() 185 CHECK(key_file_); in ContainsGroup() 190 CHECK(key_file_); in DeleteKey() 202 CHECK(key_file_); in DeleteGroup() 227 CHECK(key_file_); in GetString() 246 CHECK(key_file_); in SetString() 254 CHECK(key_file_); in GetBool() [all …]
|
D | key_value_store.cc | 134 CHECK(it != properties_.end() && it->second.IsTypeCompatible<bool>()) in GetBool() 142 CHECK(it != properties_.end() && in GetByteArrays() 150 CHECK(it != properties_.end() && it->second.IsTypeCompatible<int32_t>()) in GetInt() 157 CHECK(it != properties_.end() && it->second.IsTypeCompatible<int16_t>()) in GetInt16() 164 CHECK(it != properties_.end() && it->second.IsTypeCompatible<KeyValueStore>()) in GetKeyValueStore() 171 CHECK(it != properties_.end() && in GetRpcIdentifier() 179 CHECK(it != properties_.end() && in GetRpcIdentifiers() 190 CHECK(it != properties_.end() && it->second.IsTypeCompatible<string>()) in GetString() 198 CHECK(it != properties_.end() && it->second.IsTypeCompatible<Stringmap>()) in GetStringmap() 205 CHECK(it != properties_.end() && it->second.IsTypeCompatible<Strings>()) in GetStrings() [all …]
|
/system/update_engine/common/ |
D | action.h | 107 CHECK(!processor_); in SetProcessor() 109 CHECK(processor_); in SetProcessor() 190 CHECK(HasInputObject()); in GetInputObject() 204 CHECK(HasOutputPipe()); in SetOutputObject() 210 CHECK(HasOutputPipe()); in GetOutputObject()
|
D | mock_http_fetcher.cc | 35 CHECK(timeout_id_ == MessageLoop::kTaskIdNull) << in ~MockHttpFetcher() 63 CHECK(delegate_); in SendData() 98 CHECK(!paused_); in TimeoutCallback() 127 CHECK(!paused_); in Pause() 134 CHECK(paused_) << "You must pause before unpause."; in Unpause()
|
D | multi_range_http_fetcher.cc | 32 CHECK(!base_fetcher_active_) << "BeginTransfer but already active."; in BeginTransfer() 33 CHECK(!pending_transfer_ended_) << "BeginTransfer but pending."; in BeginTransfer() 34 CHECK(!terminating_) << "BeginTransfer but terminating."; in BeginTransfer() 93 CHECK(!pending_transfer_ended_); in ReceivedBytes() 119 CHECK(base_fetcher_active_) << "Transfer ended unexpectedly."; in TransferEnded()
|
/system/bt/service/ipc/ |
D | ipc_handler_linux.cpp | 47 CHECK(!running_); in Run() 55 CHECK(android_suffix.empty() || path.empty()); in Run() 61 CHECK(base::MessageLoop::current()); // An origin event loop is required. in Run() 102 CHECK(socket_.is_valid()); in Run() 139 CHECK(socket_.is_valid()); in StartListeningOnThread() 140 CHECK(adapter()); in StartListeningOnThread() 141 CHECK(running_); in StartListeningOnThread()
|
/system/bt/service/common/bluetooth/binder/ |
D | IBluetoothGattServer.cpp | 67 CHECK(uuid); in onTransact() 76 CHECK(out_id); in onTransact() 85 CHECK(uuid); in onTransact() 96 CHECK(out_id); in onTransact() 105 CHECK(uuid); in onTransact() 114 CHECK(out_id); in onTransact() 135 CHECK(value.get()); in onTransact() 148 CHECK(char_id); in onTransact() 153 CHECK(value.get()); in onTransact() 209 CHECK(out_id); in BeginServiceDeclaration() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | vendor_manager.cc | 41 CHECK(g_manager); in Get() 47 CHECK(!g_manager); in Initialize() 58 CHECK(!running_); in Run() 105 CHECK(running_); in StartWatchingOnThread() 106 CHECK(base::MessageLoopForIO::IsCurrent()); in StartWatchingOnThread()
|
/system/connectivity/shill/shims/ |
D | crypto_util.cc | 72 CHECK(rsa_ptr); in EncryptByteStringImpl() 73 CHECK(!*rsa_ptr); in EncryptByteStringImpl() 74 CHECK(encrypted_output); in EncryptByteStringImpl() 166 CHECK(rsa_ptr); in VerifyCredentialsImpl() 167 CHECK(pkey_ptr); in VerifyCredentialsImpl() 168 CHECK(raw_certificate_bio_ptr); in VerifyCredentialsImpl() 169 CHECK(x509_ptr); in VerifyCredentialsImpl() 170 CHECK(!*rsa_ptr); in VerifyCredentialsImpl() 171 CHECK(!*pkey_ptr); in VerifyCredentialsImpl() 172 CHECK(!*raw_certificate_bio_ptr); in VerifyCredentialsImpl() [all …]
|
/system/bt/service/hal/ |
D | bluetooth_gatt_interface.cpp | 77 CHECK(app_uuid); in RegisterClientCallback() 86 CHECK(bda); in ScanResultCallback() 87 CHECK(adv_data); in ScanResultCallback() 98 CHECK(bda); in ConnectCallback() 113 CHECK(bda); in DisconnectCallback() 271 CHECK(app_uuid); in RegisterServerCallback() 283 CHECK(bda); in ConnectionCallback() 298 CHECK(srvc_id); in ServiceAddedCallback() 313 CHECK(uuid); in CharacteristicAddedCallback() 328 CHECK(uuid); in DescriptorAddedCallback() [all …]
|
/system/extras/perfprofd/quipper/ |
D | address_mapper.cc | 68 CHECK(Unmap(range)); in MapWithID() 75 CHECK(Unmap(old_range)); in MapWithID() 82 CHECK(MapWithID(old_range.real_addr, in MapWithID() 89 CHECK(MapWithID(range.real_addr, range.size, id, offset_base, false)); in MapWithID() 92 CHECK(MapWithID(range.real_addr + range.size, in MapWithID() 155 CHECK(mapped_addr); in GetMappedAddress() 169 CHECK(id); in GetMappedIDAndOffset() 170 CHECK(offset); in GetMappedIDAndOffset()
|