Home
last modified time | relevance | path

Searched refs:Bind (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/system/connectivity/shill/
Dhook_table_unittest.cc29 using base::Bind;
68 Closure start_callback = Bind(&HookTableTest::StartAction, Unretained(this)); in TEST_F()
70 Bind(&HookTableTest::DoneAction, Unretained(this)); in TEST_F()
95 Closure start_callback = Bind(&HookTableTest::StartAction, Unretained(this)); in TEST_F()
97 Bind(&HookTableTest::StartAction2, Unretained(this)); in TEST_F()
99 Bind(&HookTableTest::DoneAction, Unretained(this)); in TEST_F()
114 Closure start_callback = Bind(&HookTableTest::StartAction, Unretained(this)); in TEST_F()
116 Bind(&HookTableTest::DoneAction, Unretained(this)); in TEST_F()
130 Closure start_callback = Bind(&HookTableTest::StartAction, Unretained(this)); in TEST_F()
132 Bind(&HookTableTest::DoneAction, Unretained(this)); in TEST_F()
[all …]
Dservice_property_change_notifier.cc26 using base::Bind;
41 Bind(&ServicePropertyChangeNotifier::BoolPropertyUpdater, in AddBoolPropertyObserver()
51 Bind(&ServicePropertyChangeNotifier::Uint8PropertyUpdater, in AddUint8PropertyObserver()
61 Bind(&ServicePropertyChangeNotifier::Uint16PropertyUpdater, in AddUint16PropertyObserver()
71 Bind(&ServiceAdaptorInterface::EmitUint16sChanged, in AddUint16sPropertyObserver()
81 Bind(&ServicePropertyChangeNotifier::Uint32PropertyUpdater, in AddUintPropertyObserver()
91 Bind(&ServicePropertyChangeNotifier::Int32PropertyUpdater, in AddIntPropertyObserver()
101 Bind(&ServiceAdaptorInterface::EmitRpcIdentifierChanged, in AddRpcIdentifierPropertyObserver()
111 Bind(&ServiceAdaptorInterface::EmitStringChanged, in AddStringPropertyObserver()
121 Bind(&ServiceAdaptorInterface::EmitStringmapChanged, in AddStringmapPropertyObserver()
/system/connectivity/shill/dbus/
Dchromeos_mm1_modem_proxy.cc44 base::Bind(&ChromeosModemProxy::StateChanged, in ChromeosModemProxy()
46 base::Bind(&ChromeosModemProxy::OnSignalConnected, in ChromeosModemProxy()
58 base::Bind(&ChromeosModemProxy::OnOperationSuccess, in Enable()
62 base::Bind(&ChromeosModemProxy::OnOperationFailure, in Enable()
78 base::Bind(&ChromeosModemProxy::OnCreateBearerSuccess, in CreateBearer()
81 base::Bind(&ChromeosModemProxy::OnCreateBearerFailure, in CreateBearer()
92 base::Bind(&ChromeosModemProxy::OnOperationSuccess, in DeleteBearer()
96 base::Bind(&ChromeosModemProxy::OnOperationFailure, in DeleteBearer()
106 proxy_->ResetAsync(base::Bind(&ChromeosModemProxy::OnOperationSuccess, in Reset()
110 base::Bind(&ChromeosModemProxy::OnOperationFailure, in Reset()
[all …]
Dchromeos_modem_gsm_card_proxy.cc65 base::Bind(&ChromeosModemGSMCardProxy::OnPropertyChanged, in ChromeosModemGSMCardProxy()
80 base::Bind(&ChromeosModemGSMCardProxy::OnGetGSMIdentifierSuccess, in GetIMEI()
84 base::Bind(&ChromeosModemGSMCardProxy::OnGetGSMIdentifierFailure, in GetIMEI()
95 base::Bind(&ChromeosModemGSMCardProxy::OnGetGSMIdentifierSuccess, in GetIMSI()
99 base::Bind(&ChromeosModemGSMCardProxy::OnGetGSMIdentifierFailure, in GetIMSI()
110 base::Bind(&ChromeosModemGSMCardProxy::OnGetGSMIdentifierSuccess, in GetSPN()
114 base::Bind(&ChromeosModemGSMCardProxy::OnGetGSMIdentifierFailure, in GetSPN()
125 base::Bind(&ChromeosModemGSMCardProxy::OnGetGSMIdentifierSuccess, in GetMSISDN()
129 base::Bind(&ChromeosModemGSMCardProxy::OnGetGSMIdentifierFailure, in GetMSISDN()
144 base::Bind(&ChromeosModemGSMCardProxy::OnOperationSuccess, in EnablePIN()
[all …]
Dchromeos_wimax_device_proxy.cc70 base::Bind(&ChromeosWiMaxDeviceProxy::NetworksChanged, in ChromeosWiMaxDeviceProxy()
72 base::Bind(&ChromeosWiMaxDeviceProxy::OnSignalConnected, in ChromeosWiMaxDeviceProxy()
75 base::Bind(&ChromeosWiMaxDeviceProxy::StatusChanged, in ChromeosWiMaxDeviceProxy()
77 base::Bind(&ChromeosWiMaxDeviceProxy::OnSignalConnected, in ChromeosWiMaxDeviceProxy()
85 base::Bind(&ChromeosWiMaxDeviceProxy::OnPropertyChanged, in ChromeosWiMaxDeviceProxy()
92 proxy_->ReleaseObjectProxy(base::Bind(&base::DoNothing)); in ~ChromeosWiMaxDeviceProxy()
99 base::Bind(&ChromeosWiMaxDeviceProxy::OnSuccess, in Enable()
103 base::Bind(&ChromeosWiMaxDeviceProxy::OnFailure, in Enable()
113 base::Bind(&ChromeosWiMaxDeviceProxy::OnSuccess, in Disable()
117 base::Bind(&ChromeosWiMaxDeviceProxy::OnFailure, in Disable()
[all …]
Dchromeos_modem_gsm_network_proxy.cc61 base::Bind(&ChromeosModemGSMNetworkProxy::SignalQuality, in ChromeosModemGSMNetworkProxy()
63 base::Bind(&ChromeosModemGSMNetworkProxy::OnSignalConnected, in ChromeosModemGSMNetworkProxy()
66 base::Bind(&ChromeosModemGSMNetworkProxy::RegistrationInfo, in ChromeosModemGSMNetworkProxy()
68 base::Bind(&ChromeosModemGSMNetworkProxy::OnSignalConnected, in ChromeosModemGSMNetworkProxy()
71 base::Bind(&ChromeosModemGSMNetworkProxy::NetworkMode, in ChromeosModemGSMNetworkProxy()
73 base::Bind(&ChromeosModemGSMNetworkProxy::OnSignalConnected, in ChromeosModemGSMNetworkProxy()
81 base::Bind(&ChromeosModemGSMNetworkProxy::OnPropertyChanged, in ChromeosModemGSMNetworkProxy()
98 base::Bind(&ChromeosModemGSMNetworkProxy::OnGetRegistrationInfoSuccess, in GetRegistrationInfo()
101 base::Bind(&ChromeosModemGSMNetworkProxy::OnGetRegistrationInfoFailure, in GetRegistrationInfo()
112 base::Bind(&ChromeosModemGSMNetworkProxy::OnGetSignalQualitySuccess, in GetSignalQuality()
[all …]
Dchromeos_modem_cdma_proxy.cc59 base::Bind(&ChromeosModemCDMAProxy::ActivationStateChanged, in ChromeosModemCDMAProxy()
61 base::Bind(&ChromeosModemCDMAProxy::OnSignalConnected, in ChromeosModemCDMAProxy()
64 base::Bind(&ChromeosModemCDMAProxy::SignalQuality, in ChromeosModemCDMAProxy()
66 base::Bind(&ChromeosModemCDMAProxy::OnSignalConnected, in ChromeosModemCDMAProxy()
69 base::Bind(&ChromeosModemCDMAProxy::RegistrationStateChanged, in ChromeosModemCDMAProxy()
71 base::Bind(&ChromeosModemCDMAProxy::OnSignalConnected, in ChromeosModemCDMAProxy()
79 base::Bind(&ChromeosModemCDMAProxy::OnPropertyChanged, in ChromeosModemCDMAProxy()
97 base::Bind(&ChromeosModemCDMAProxy::OnActivateSuccess, in Activate()
100 base::Bind(&ChromeosModemCDMAProxy::OnActivateFailure, in Activate()
111 base::Bind(&ChromeosModemCDMAProxy::OnGetRegistrationStateSuccess, in GetRegistrationState()
[all …]
Dchromeos_mm1_sim_proxy.cc52 base::Bind(&ChromeosSimProxy::OnOperationSuccess, in SendPin()
56 base::Bind(&ChromeosSimProxy::OnOperationFailure, in SendPin()
71 base::Bind(&ChromeosSimProxy::OnOperationSuccess, in SendPuk()
75 base::Bind(&ChromeosSimProxy::OnOperationFailure, in SendPuk()
90 base::Bind(&ChromeosSimProxy::OnOperationSuccess, in EnablePin()
94 base::Bind(&ChromeosSimProxy::OnOperationFailure, in EnablePin()
109 base::Bind(&ChromeosSimProxy::OnOperationSuccess, in ChangePin()
113 base::Bind(&ChromeosSimProxy::OnOperationFailure, in ChangePin()
Dchromeos_modem_proxy.cc44 base::Bind(&ChromeosModemProxy::StateChanged, in ChromeosModemProxy()
46 base::Bind(&ChromeosModemProxy::OnSignalConnected, in ChromeosModemProxy()
56 base::Bind(&ChromeosModemProxy::OnEnableSuccess, in Enable()
59 base::Bind(&ChromeosModemProxy::OnEnableFailure, in Enable()
67 proxy_->DisconnectAsync(base::Bind(&ChromeosModemProxy::OnDisconnectSuccess, in Disconnect()
70 base::Bind(&ChromeosModemProxy::OnDisconnectFailure, in Disconnect()
78 proxy_->GetInfoAsync(base::Bind(&ChromeosModemProxy::OnGetInfoSuccess, in GetModemInfo()
81 base::Bind(&ChromeosModemProxy::OnGetInfoFailure, in GetModemInfo()
Dchromeos_dbus_objectmanager_proxy.cc50 base::Bind(&ChromeosDBusObjectManagerProxy::InterfacesAdded, in ChromeosDBusObjectManagerProxy()
52 base::Bind(&ChromeosDBusObjectManagerProxy::OnSignalConnected, in ChromeosDBusObjectManagerProxy()
55 base::Bind(&ChromeosDBusObjectManagerProxy::InterfacesRemoved, in ChromeosDBusObjectManagerProxy()
57 base::Bind(&ChromeosDBusObjectManagerProxy::OnSignalConnected, in ChromeosDBusObjectManagerProxy()
63 base::Bind(&ChromeosDBusObjectManagerProxy::OnServiceOwnerChanged, in ChromeosDBusObjectManagerProxy()
68 base::Bind(&ChromeosDBusObjectManagerProxy::OnServiceAvailable, in ChromeosDBusObjectManagerProxy()
84 base::Bind(&ChromeosDBusObjectManagerProxy::OnGetManagedObjectsSuccess, in GetManagedObjects()
87 base::Bind(&ChromeosDBusObjectManagerProxy::OnGetManagedObjectsFailure, in GetManagedObjects()
Dchromeos_mm1_modem_modemcdma_proxy.cc44 base::Bind(&ChromeosModemModemCdmaProxy::ActivationStateChanged, in ChromeosModemModemCdmaProxy()
46 base::Bind(&ChromeosModemModemCdmaProxy::OnSignalConnected, in ChromeosModemModemCdmaProxy()
59 base::Bind(&ChromeosModemModemCdmaProxy::OnOperationSuccess, in Activate()
63 base::Bind(&ChromeosModemModemCdmaProxy::OnOperationFailure, in Activate()
79 base::Bind(&ChromeosModemModemCdmaProxy::OnOperationSuccess, in ActivateManual()
83 base::Bind(&ChromeosModemModemCdmaProxy::OnOperationFailure, in ActivateManual()
/system/connectivity/shill/test-rpc-proxy/
Dproxy_rpc_server.cc522 RegisterRpcMethod("create_profile", base::Bind(&CreateProfile)); in Run()
523 RegisterRpcMethod("remove_profile", base::Bind(&RemoveProfile)); in Run()
524 RegisterRpcMethod("push_profile", base::Bind(&PushProfile)); in Run()
525 RegisterRpcMethod("pop_profile", base::Bind(&PopProfile)); in Run()
526 RegisterRpcMethod("clean_profiles", base::Bind(&CleanProfiles)); in Run()
528 base::Bind(&ConfigureServiceByGuid)); in Run()
529 RegisterRpcMethod("configure_wifi_service", base::Bind(&ConfigureWifiService)); in Run()
530 RegisterRpcMethod("connect_wifi", base::Bind(&ConnectWifi)); in Run()
531 RegisterRpcMethod("delete_entries_for_ssid", base::Bind(&DeleteEntriesForSsid)); in Run()
532 RegisterRpcMethod("init_test_network_state", base::Bind(&InitTestNetworkState)); in Run()
[all …]
/system/tpm/tpm_manager/client/
Dmain.cc133 task = base::Bind(&ClientLoop::HandleGetTpmStatus, in ScheduleCommand()
136 task = base::Bind(&ClientLoop::HandleTakeOwnership, in ScheduleCommand()
139 task = base::Bind( in ScheduleCommand()
149 task = base::Bind( in ScheduleCommand()
159 task = base::Bind( in ScheduleCommand()
169 task = base::Bind( in ScheduleCommand()
179 task = base::Bind( in ScheduleCommand()
188 task = base::Bind( in ScheduleCommand()
197 task = base::Bind( in ScheduleCommand()
206 task = base::Bind( in ScheduleCommand()
[all …]
/system/tpm/tpm_manager/server/
Dtpm_manager_service_test.cc71 service_->GetTpmStatus(request, base::Bind(callback)); in RunServiceWorkerAndQuit()
137 service_->TakeOwnership(request, base::Bind(callback)); in TEST_F()
173 service_->GetTpmStatus(request, base::Bind(callback)); in TEST_F()
192 service_->GetTpmStatus(request, base::Bind(callback)); in TEST_F()
212 service_->GetTpmStatus(request, base::Bind(callback)); in TEST_F()
224 service_->TakeOwnership(request, base::Bind(callback)); in TEST_F()
236 service_->TakeOwnership(request, base::Bind(callback)); in TEST_F()
247 service_->TakeOwnership(request, base::Bind(callback)); in TEST_F()
260 service_->RemoveOwnerDependency(request, base::Bind(callback)); in TEST_F()
273 service_->RemoveOwnerDependency(request, base::Bind(callback)); in TEST_F()
[all …]
/system/update_engine/update_manager/
Devaluation_context_unittest.cc33 using base::Bind;
75 Closure closure = Bind(EvaluateRepeatedly, evaluation, ec, count_p, done_p); in EvaluateRepeatedly()
210 EXPECT_FALSE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&DoNothing))); in TEST_F()
219 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
238 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
239 EXPECT_FALSE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
253 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
259 Bind(&GetBoolean, &value)); in TEST_F()
270 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
276 Bind(&GetBoolean, &value)); in TEST_F()
[all …]
/system/tpm/attestation/client/
Dmain.cc133 task = base::Bind(&ClientLoop::CallCreateGoogleAttestedKey, in ScheduleCommand()
147 task = base::Bind(&ClientLoop::CallCreateCertifiableKey, in ScheduleCommand()
153 task = base::Bind(&ClientLoop::CallGetKeyInfo, in ScheduleCommand()
158 task = base::Bind(&ClientLoop::CallGetEndorsementInfo, in ScheduleCommand()
161 task = base::Bind(&ClientLoop::CallGetAttestationKeyInfo, in ScheduleCommand()
173 task = base::Bind(&ClientLoop::CallActivateAttestationKey, in ScheduleCommand()
187 task = base::Bind(&ClientLoop::EncryptForActivate, in ScheduleCommand()
201 task = base::Bind(&ClientLoop::Encrypt, in ScheduleCommand()
216 task = base::Bind(&ClientLoop::CallDecrypt, in ScheduleCommand()
231 task = base::Bind(&ClientLoop::CallSign, in ScheduleCommand()
[all …]
Ddbus_proxy.cc65 base::Bind(on_error), in CreateGoogleAttestedKey()
82 base::Bind(on_error), in GetKeyInfo()
99 base::Bind(on_error), in GetEndorsementInfo()
117 base::Bind(on_error), in GetAttestationKeyInfo()
135 base::Bind(on_error), in ActivateAttestationKey()
153 base::Bind(on_error), in CreateCertifiableKey()
170 base::Bind(on_error), in Decrypt()
186 base::Bind(on_error), in Sign()
204 base::Bind(on_error), in RegisterKeyWithChapsToken()
/system/tpm/attestation/server/
Dattestation_service_test.cc81 base::Bind(&AttestationServiceTest::FakeCAEnroll, in SetupFakeCAEnroll()
90 base::Bind(&AttestationServiceTest::FakeCASign, in SetupFakeCASign()
211 service_->CreateGoogleAttestedKey(GetCreateRequest(), base::Bind(callback)); in TEST_F()
225 service_->CreateGoogleAttestedKey(request, base::Bind(callback)); in TEST_F()
238 service_->CreateGoogleAttestedKey(GetCreateRequest(), base::Bind(callback)); in TEST_F()
251 service_->CreateGoogleAttestedKey(GetCreateRequest(), base::Bind(callback)); in TEST_F()
264 service_->CreateGoogleAttestedKey(GetCreateRequest(), base::Bind(callback)); in TEST_F()
277 service_->CreateGoogleAttestedKey(GetCreateRequest(), base::Bind(callback)); in TEST_F()
290 service_->CreateGoogleAttestedKey(GetCreateRequest(), base::Bind(callback)); in TEST_F()
304 service_->CreateGoogleAttestedKey(GetCreateRequest(), base::Bind(callback)); in TEST_F()
[all …]
/system/weaved/buffet/
Dsocket_stream.cc117 base::Bind([](const ReadCallback& callback, in Read()
120 base::Bind(&OnError, base::Bind(callback, 0)), &brillo_error)) { in Read()
124 FROM_HERE, base::Bind(callback, 0, base::Passed(&error))); in Read()
132 if (!ptr_->WriteAllAsync(buffer, size_to_write, base::Bind(callback, nullptr), in Write()
133 base::Bind(&OnError, callback), &brillo_error)) { in Write()
137 FROM_HERE, base::Bind(callback, base::Passed(&error))); in Write()
165 std::move(stream->ptr_), host, base::Bind(&OnSuccess, callback), in TlsConnect()
166 base::Bind(&OnError, base::Bind(callback, nullptr))); in TlsConnect()
/system/connectivity/shill/net/
Dattribute_list_unittest.cc77 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
104 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
116 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
127 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
137 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
145 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
154 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
170 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
184 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
199 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
[all …]
/system/connectivity/shill/cellular/
Dcellular_capability_gsm.cc40 using base::Bind;
146 Bind(&CellularCapabilityGSM::OnSignalQualitySignal, in InitProxies()
149 Bind(&CellularCapabilityGSM::OnNetworkModeSignal, in InitProxies()
152 Bind(&CellularCapabilityGSM::OnRegistrationInfoSignal, in InitProxies()
159 Bind(&CellularCapabilityGSM::StepCompletedCallback, in InitProperties()
164 tasks->push_back(Bind(&CellularCapabilityGSM::GetIMSI, in InitProperties()
175 Bind(&CellularCapabilityGSM::StepCompletedCallback, in StartModem()
178 Bind(&CellularCapabilityGSM::StepCompletedCallback, in StartModem()
181 tasks->push_back(Bind(&CellularCapabilityGSM::EnableModem, in StartModem()
188 tasks->push_back(Bind(&CellularCapabilityGSM::Register, in StartModem()
[all …]
Dmodem_manager_1.cc28 using base::Bind;
56 base::Bind(&ModemManager1::OnAppeared, base::Unretained(this)), in Start()
57 base::Bind(&ModemManager1::OnVanished, base::Unretained(this)))); in Start()
59 Bind(&ModemManager1::OnInterfacesAddedSignal, in Start()
62 Bind(&ModemManager1::OnInterfacesRemovedSignal, in Start()
77 Bind(&ModemManager1::OnGetManagedObjectsReply, in Connect()
Dcellular_capability_cdma.cc37 using base::Bind;
73 Bind(&CellularCapabilityCDMA::OnSignalQualitySignal, in InitProxies()
76 Bind(&CellularCapabilityCDMA::OnActivationStateChangedSignal, in InitProxies()
79 Bind(&CellularCapabilityCDMA::OnRegistrationStateChangedSignal, in InitProxies()
94 Bind(&CellularCapabilityCDMA::StepCompletedCallback, in StartModem()
97 tasks->push_back(Bind(&CellularCapabilityCDMA::EnableModem, in StartModem()
99 tasks->push_back(Bind(&CellularCapabilityCDMA::GetModemStatus, in StartModem()
101 tasks->push_back(Bind(&CellularCapabilityCDMA::GetMEID, in StartModem()
103 tasks->push_back(Bind(&CellularCapabilityCDMA::GetModemInfo, in StartModem()
105 tasks->push_back(Bind(&CellularCapabilityCDMA::FinishEnable, in StartModem()
[all …]
/system/connectivity/apmanager/
Ddevice_info.cc37 using base::Bind;
55 : link_callback_(Bind(&DeviceInfo::LinkMsgHandler, Unretained(this))), in DeviceInfo()
70 Bind(&Nl80211Message::CreateMessage)); in Start()
101 Bind(&DeviceInfo::OnWiFiPhyInfoReceived, AsWeakPtr()), in EnumerateDevices()
102 Bind(&NetlinkManager::OnAckDoNothing), in EnumerateDevices()
103 Bind(&NetlinkManager::OnNetlinkMessageError)); in EnumerateDevices()
230 Bind(&DeviceInfo::OnWiFiInterfaceInfoReceived, AsWeakPtr()), in GetWiFiInterfaceInfo()
231 Bind(&NetlinkManager::OnAckDoNothing), in GetWiFiInterfaceInfo()
232 Bind(&NetlinkManager::OnNetlinkMessageError)); in GetWiFiInterfaceInfo()
273 Bind(&DeviceInfo::OnWiFiInterfacePhyInfoReceived, in GetWiFiInterfacePhyInfo()
[all …]
/system/tpm/trunks/
Dbackground_command_transceiver.cc42 base::Closure task = base::Bind(callback, response); in PostCallbackToTaskRunner()
63 ResponseCallback background_callback = base::Bind( in SendCommand()
69 base::Closure task = base::Bind( in SendCommand()
87 base::Bind(&AssignAndSignal, &response, &response_ready); in SendCommandAndWait()
90 base::Closure task = base::Bind( in SendCommandAndWait()

12345678910>>...12