Home
last modified time | relevance | path

Searched refs:Pairing (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/remoting/protocol/
Dpairing_registry.cc29 PairingRegistry::Pairing::Pairing() { in Pairing() function in remoting::protocol::PairingRegistry::Pairing
32 PairingRegistry::Pairing::Pairing(const base::Time& created_time, in Pairing() function in remoting::protocol::PairingRegistry::Pairing
42 PairingRegistry::Pairing::~Pairing() { in ~Pairing()
45 PairingRegistry::Pairing PairingRegistry::Pairing::Create( in Create()
54 return Pairing(created_time, client_name, client_id, shared_secret); in Create()
57 PairingRegistry::Pairing PairingRegistry::Pairing::CreateFromValue( in CreateFromValue()
68 return Pairing(created_time, client_name, client_id, shared_secret); in CreateFromValue()
72 return Pairing(); in CreateFromValue()
75 scoped_ptr<base::DictionaryValue> PairingRegistry::Pairing::ToValue() const { in ToValue()
85 bool PairingRegistry::Pairing::operator==(const Pairing& other) const { in operator ==()
[all …]
Dpairing_registry.h43 struct Pairing { struct
44 Pairing();
45 Pairing(const base::Time& created_time,
49 ~Pairing();
51 static Pairing Create(const std::string& client_name);
52 static Pairing CreateFromValue(const base::DictionaryValue& pairing);
56 bool operator==(const Pairing& other) const;
73 typedef std::map<std::string, Pairing> PairedClients; argument
79 typedef base::Callback<void(Pairing pairing)> GetPairingCallback;
98 virtual Pairing Load(const std::string& client_id) = 0;
[all …]
Dpairing_registry_unittest.cc35 MOCK_METHOD1(GetPairingCallback, void(PairingRegistry::Pairing));
47 void VerifyPairing(PairingRegistry::Pairing expected, in VerifyPairing()
74 PairingRegistry::Pairing actual) { in ExpectSecret()
95 PairingRegistry::Pairing pairing_1 = registry->CreatePairing("my_client"); in TEST_F()
96 PairingRegistry::Pairing pairing_2 = registry->CreatePairing("my_client"); in TEST_F()
117 PairingRegistry::Pairing pairing_1 = registry->CreatePairing("client1"); in TEST_F()
118 PairingRegistry::Pairing pairing_2 = registry->CreatePairing("client2"); in TEST_F()
145 PairingRegistry::Pairing pairing_1 = registry->CreatePairing("client1"); in TEST_F()
146 PairingRegistry::Pairing pairing_2 = registry->CreatePairing("client2"); in TEST_F()
170 PairingRegistry::Pairing pairing_1 = registry->CreatePairing("client1"); in TEST_F()
[all …]
Dprotocol_mock_objects.cc74 protocol::PairingRegistry::Pairing MockPairingRegistryDelegate::Load( in Load()
80 return protocol::PairingRegistry::Pairing(); in Load()
85 const protocol::PairingRegistry::Pairing& pairing) { in Save()
Dprotocol_mock_objects.h226 virtual protocol::PairingRegistry::Pairing Load(
228 virtual bool Save(const protocol::PairingRegistry::Pairing& pairing) OVERRIDE;
232 typedef std::map<std::string, protocol::PairingRegistry::Pairing> Pairings;
Dpairing_host_authenticator.h46 PairingRegistry::Pairing pairing);
Dpairing_host_authenticator.cc97 PairingRegistry::Pairing pairing) { in ProcessMessageWithPairing()
Dnegotiating_authenticator_unittest.cc91 PairingRegistry::Pairing pairing( in CreatePairingRegistry()
/external/chromium_org/remoting/host/
Dpairing_registry_delegate_win_unittest.cc58 PairingRegistry::Pairing pairing1(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F()
59 PairingRegistry::Pairing pairing2(base::Time::Now(), "yyy", "yyy", "yyy"); in TEST_F()
74 EXPECT_EQ(delegate->Load(pairing1.client_id()), PairingRegistry::Pairing()); in TEST_F()
82 EXPECT_EQ(PairingRegistry::Pairing::CreateFromValue(*json), pairing2); in TEST_F()
98 PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F()
108 PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F()
117 PairingRegistry::Pairing unprivileged_pairing = in TEST_F()
Dpairing_registry_delegate_linux_unittest.cc44 PairingRegistry::Pairing pairing1(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F()
45 PairingRegistry::Pairing pairing2(base::Time::Now(), "yyy", "yyy", "yyy"); in TEST_F()
60 EXPECT_EQ(delegate->Load(pairing1.client_id()), PairingRegistry::Pairing()); in TEST_F()
68 EXPECT_EQ(PairingRegistry::Pairing::CreateFromValue(*json), pairing2); in TEST_F()
84 PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F()
Dpairing_registry_delegate_linux.cc82 PairingRegistry::Pairing PairingRegistryDelegateLinux::Load( in Load()
96 return PairingRegistry::Pairing(); in Load()
102 return PairingRegistry::Pairing(); in Load()
105 return PairingRegistry::Pairing::CreateFromValue(*pairing_dictionary); in Load()
109 const PairingRegistry::Pairing& pairing) { in Save()
Dpairing_registry_delegate_win.cc138 PairingRegistry::Pairing pairing = Load(base::WideToUTF8(value_name)); in LoadAll()
182 PairingRegistry::Pairing PairingRegistryDelegateWin::Load( in Load()
191 return PairingRegistry::Pairing(); in Load()
198 return PairingRegistry::Pairing(); in Load()
204 return PairingRegistry::Pairing::CreateFromValue(*pairing); in Load()
207 bool PairingRegistryDelegateWin::Save(const PairingRegistry::Pairing& pairing) { in Save()
Dpairing_registry_delegate_linux.h27 virtual protocol::PairingRegistry::Pairing Load(
29 virtual bool Save(const protocol::PairingRegistry::Pairing& pairing) OVERRIDE;
Dpairing_registry_delegate_win.h57 virtual protocol::PairingRegistry::Pairing Load(
59 virtual bool Save(const protocol::PairingRegistry::Pairing& pairing) OVERRIDE;
Dclient_session.cc204 protocol::PairingRegistry::Pairing pairing = in RequestPairing()
/external/google-tv-pairing-protocol/cpp/
Dpolo.pc.in6 Name: Google TV Pairing Protocol
7 Description: Google TV Pairing C++ API
DREADME1 Google TV Pairing Protocol
9 The Google TV Pairing Protocol can be used to conduct pairing sessions between
DINSTALL33 * Build and install the Google TV Pairing library:
/external/google-tv-pairing-protocol/proto/
Dpolo.proto25 // Pairing phase
117 // Pairing messages