/external/google-tv-pairing-protocol/cpp/ |
D | Makefile.am | 42 polo_pairing_includedir = $(includedir)/polo/pairing 44 src/polo/pairing/clientpairingsession.h \ 45 src/polo/pairing/pairingcontext.h \ 46 src/polo/pairing/pairinglistener.h \ 47 src/polo/pairing/pairingsession.h \ 48 src/polo/pairing/polochallengeresponse.h \ 49 src/polo/pairing/poloerror.h \ 50 src/polo/pairing/serverpairingsession.h 52 polo_pairing_message_includedir = $(includedir)/polo/pairing/message 54 src/polo/pairing/message/configurationackmessage.h \ [all …]
|
D | Makefile.in | 377 polo_pairing_includedir = $(includedir)/polo/pairing 379 src/polo/pairing/clientpairingsession.h \ 380 src/polo/pairing/pairingcontext.h \ 381 src/polo/pairing/pairinglistener.h \ 382 src/polo/pairing/pairingsession.h \ 383 src/polo/pairing/polochallengeresponse.h \ 384 src/polo/pairing/poloerror.h \ 385 src/polo/pairing/serverpairingsession.h 387 polo_pairing_message_includedir = $(includedir)/polo/pairing/message 389 src/polo/pairing/message/configurationackmessage.h \ [all …]
|
D | README | 4 http://code.google.com/p/google-tv-pairing-protocol 9 The Google TV Pairing Protocol can be used to conduct pairing sessions between 11 Google TV. In the pairing process, the client contacts the server, and the
|
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/ |
D | protobufwireadapter.cc | 38 listener()->OnError(pairing::kErrorProtocol); in GetNextMessage() 48 const pairing::message::ConfigurationMessage& message) { in SendConfigurationMessage() 64 const pairing::message::ConfigurationAckMessage& message) { in SendConfigurationAckMessage() 72 const pairing::message::OptionsMessage& message) { in SendOptionsMessage() 102 const pairing::message::PairingRequestMessage& message) { in SendPairingRequestMessage() 117 const pairing::message::PairingRequestAckMessage& message) { in SendPairingRequestAckMessage() 131 const pairing::message::SecretMessage& message) { in SendSecretMessage() 142 const pairing::message::SecretAckMessage& message) { in SendSecretAckMessage() 168 listener()->OnError(pairing::kErrorProtocol); in OnBytesReceived() 178 listener()->OnError(pairing::kErrorProtocol); in ParseMessage() [all …]
|
D | protobufwireadapter.h | 41 const pairing::message::ConfigurationMessage& message); 45 const pairing::message::ConfigurationAckMessage& message); 49 const pairing::message::OptionsMessage& message); 53 const pairing::message::PairingRequestMessage& message); 57 const pairing::message::PairingRequestAckMessage& message); 61 const pairing::message::SecretMessage& message); 65 const pairing::message::SecretAckMessage& message); 68 virtual void SendErrorMessage(pairing::PoloError error); 136 pairing::message::OptionsMessage::ProtocolRole role); 140 pairing::message::OptionsMessage::ProtocolRole RoleFromProto(
|
/external/google-tv-pairing-protocol/cpp/src/polo/wire/ |
D | polowireadapter.h | 39 void set_listener(pairing::message::MessageListener* listener); 49 const pairing::message::ConfigurationMessage& message) = 0; 53 const pairing::message::ConfigurationAckMessage& message) = 0; 57 const pairing::message::OptionsMessage& message) = 0; 61 const pairing::message::PairingRequestMessage& message) = 0; 65 const pairing::message::PairingRequestAckMessage& message) = 0; 69 const pairing::message::SecretMessage& message) = 0; 73 const pairing::message::SecretAckMessage& message) = 0; 76 virtual void SendErrorMessage(pairing::PoloError error) = 0; 83 pairing::message::MessageListener* listener() { return listener_; } in listener() [all …]
|
/external/chromium_org/remoting/protocol/ |
D | pairing_registry.cc | 58 const base::DictionaryValue& pairing) { in CreateFromValue() argument 61 if (pairing.GetDouble(kCreatedTimeKey, &created_time_value) && in CreateFromValue() 62 pairing.GetString(kClientNameKey, &client_name) && in CreateFromValue() 63 pairing.GetString(kClientIdKey, &client_id)) { in CreateFromValue() 66 pairing.GetString(kSharedSecretKey, &shared_secret); in CreateFromValue() 76 scoped_ptr<base::DictionaryValue> pairing(new base::DictionaryValue()); in ToValue() local 77 pairing->SetDouble(kCreatedTimeKey, created_time().ToJsTime()); in ToValue() 78 pairing->SetString(kClientNameKey, client_name()); in ToValue() 79 pairing->SetString(kClientIdKey, client_id()); in ToValue() 81 pairing->SetString(kSharedSecretKey, shared_secret()); in ToValue() [all …]
|
D | pairing_registry.h | 52 static Pairing CreateFromValue(const base::DictionaryValue& pairing); 79 typedef base::Callback<void(Pairing pairing)> GetPairingCallback; 101 virtual bool Save(const Pairing& pairing) = 0; 151 void AddPairing(const Pairing& pairing); 162 const protocol::PairingRegistry::Pairing& pairing, 173 const GetPairingCallback& callback, Pairing pairing);
|
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/ |
D | protobufwireadaptertest.cc | 33 class MockMessageListener : public pairing::message::MessageListener { 35 void(const pairing::message::ConfigurationMessage& message)); 38 void(const pairing::message::ConfigurationAckMessage& message)); 41 void(const pairing::message::OptionsMessage& message)); 44 void(const pairing::message::PairingRequestMessage& message)); 47 void(const pairing::message::PairingRequestAckMessage& message)); 50 void(const pairing::message::SecretMessage& message)); 53 void(const pairing::message::SecretAckMessage& message)); 55 MOCK_METHOD1(OnError, void(pairing::PoloError error)); 141 pairing::message::ConfigurationMessage message( in TEST_F() [all …]
|
/external/chromium_org/remoting/host/ |
D | pairing_registry_delegate_win_unittest.cc | 98 PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F() local 99 EXPECT_TRUE(save_delegate->Save(pairing)); in TEST_F() 100 EXPECT_EQ(load_delegate->Load(pairing.client_id()), pairing); in TEST_F() 108 PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F() local 109 EXPECT_TRUE(delegate->Save(pairing)); in TEST_F() 110 EXPECT_EQ(delegate->Load(pairing.client_id()), pairing); in TEST_F() 118 delegate->Load(pairing.client_id()); in TEST_F() 119 EXPECT_EQ(pairing.client_id(), unprivileged_pairing.client_id()); in TEST_F() 120 EXPECT_EQ(pairing.client_name(), unprivileged_pairing.client_name()); in TEST_F() 121 EXPECT_EQ(pairing.created_time(), unprivileged_pairing.created_time()); in TEST_F() [all …]
|
D | pairing_registry_delegate_linux.cc | 91 scoped_ptr<base::Value> pairing( in Load() local 93 if (!pairing) { in Load() 100 if (!pairing->GetAsDictionary(&pairing_dictionary)) { in Load() 109 const PairingRegistry::Pairing& pairing) { in Save() argument 119 if (!serializer.Serialize(*pairing.ToValue())) { in Save() 121 << pairing.client_id(); in Save() 126 base::StringPrintf(kPairingFilenameFormat, pairing.client_id().c_str())); in Save() 129 LOG(ERROR) << "Could not save pairing data for " << pairing.client_id(); in Save()
|
D | pairing_registry_delegate_win.cc | 138 PairingRegistry::Pairing pairing = Load(base::WideToUTF8(value_name)); in LoadAll() local 139 if (pairing.is_valid()) in LoadAll() 140 pairings->Append(pairing.ToValue().release()); in LoadAll() 188 scoped_ptr<base::DictionaryValue> pairing = ReadValue(unprivileged_, in Load() local 190 if (!pairing) in Load() 201 pairing->MergeDictionary(secret.get()); in Load() 204 return PairingRegistry::Pairing::CreateFromValue(*pairing); in Load() 207 bool PairingRegistryDelegateWin::Save(const PairingRegistry::Pairing& pairing) { in Save() argument 209 LOG(ERROR) << "Cannot save pairing entry '" << pairing.client_id() in Save() 215 scoped_ptr<base::DictionaryValue> pairing_json = pairing.ToValue(); in Save() [all …]
|
D | pairing_registry_delegate_linux_unittest.cc | 84 PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F() local 85 EXPECT_TRUE(save_delegate->Save(pairing)); in TEST_F() 86 EXPECT_EQ(load_delegate->Load(pairing.client_id()), pairing); in TEST_F()
|
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/ |
D | mocks.h | 42 void(const pairing::message::ConfigurationMessage& message)); 44 void(const pairing::message::ConfigurationAckMessage& message)); 46 void(const pairing::message::OptionsMessage& message)); 48 void(const pairing::message::PairingRequestMessage& message)); 50 void(const pairing::message::PairingRequestAckMessage& message)); 52 void(const pairing::message::SecretMessage& message)); 54 void(const pairing::message::SecretAckMessage& message)); 55 MOCK_METHOD1(SendErrorMessage, void(pairing::PoloError error));
|
/external/chromium_org/chrome/browser/resources/options/chromeos/ |
D | bluetooth_pair_device_overlay.js | 89 self.device_.pairing = PAIRING.DISMISSED; 139 if (this.device_.pairing != PAIRING.DISMISSED && 140 this.device_.pairing != PAIRING.CONNECT_FAILED) { 141 this.device_.pairing = PAIRING.CANCELED; 154 return this.device_ && this.device_.address && this.device_.pairing; 181 var message = loadTimeData.getString(device.pairing); 188 if (this.device_.pairing == PAIRING.CONFIRM_PASSKEY) { 203 } else if (this.device_.pairing == PAIRING.ENTER_PIN_CODE) { 209 } else if (this.device_.pairing == PAIRING.ENTER_PASSKEY) { 215 } else if (this.device_.pairing == PAIRING.STARTUP) { [all …]
|
D | bluetooth.css | 73 change size during the pairing process as the message changes. Sized 75 #bluetooth-pairing-message-area { 84 #bluetooth-pairing-message-contents { 89 #bluetooth-pairing-instructions, 90 #bluetooth-pairing-passkey-display, 91 #bluetooth-pairing-passkey-entry, 92 #bluetooth-pairing-pincode-entry, 98 #bluetooth-pairing-instructions { 102 #bluetooth-pairing-passkey-display, 103 #bluetooth-pairing-passkey-entry, [all …]
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
D | ServerPairingSession.java | 17 package com.google.polo.pairing; 21 import com.google.polo.pairing.message.ConfigurationAckMessage; 22 import com.google.polo.pairing.message.ConfigurationMessage; 23 import com.google.polo.pairing.message.EncodingOption; 24 import com.google.polo.pairing.message.OptionsMessage.ProtocolRole; 25 import com.google.polo.pairing.message.PairingRequestAckMessage; 26 import com.google.polo.pairing.message.PairingRequestMessage; 27 import com.google.polo.pairing.message.PoloMessage.PoloMessageType;
|
D | ClientPairingSession.java | 17 package com.google.polo.pairing; 20 import com.google.polo.pairing.message.ConfigurationAckMessage; 21 import com.google.polo.pairing.message.OptionsMessage; 22 import com.google.polo.pairing.message.PairingRequestAckMessage; 23 import com.google.polo.pairing.message.PairingRequestMessage; 24 import com.google.polo.pairing.message.PoloMessage.PoloMessageType;
|
D | PairingSession.java | 17 package com.google.polo.pairing; 25 import com.google.polo.pairing.PairingListener.LogLevel; 26 import com.google.polo.pairing.message.ConfigurationMessage; 27 import com.google.polo.pairing.message.EncodingOption; 28 import com.google.polo.pairing.message.OptionsMessage; 29 import com.google.polo.pairing.message.OptionsMessage.ProtocolRole; 30 import com.google.polo.pairing.message.PoloMessage; 31 import com.google.polo.pairing.message.PoloMessage.PoloMessageType; 32 import com.google.polo.pairing.message.SecretAckMessage; 33 import com.google.polo.pairing.message.SecretMessage;
|
/external/chromium_org/device/bluetooth/ |
D | bluetooth_adapter_chromeos.cc | 286 BluetoothPairingChromeOS* pairing = device_chromeos->GetPairing(); in RemovePairingDelegateInternal() local 287 if (pairing && pairing->GetPairingDelegate() == pairing_delegate) in RemovePairingDelegateInternal() 444 BluetoothPairingChromeOS* pairing = GetPairing(device_path); in RequestPinCode() local 445 if (!pairing) { in RequestPinCode() 450 pairing->RequestPinCode(callback); in RequestPinCode() 459 BluetoothPairingChromeOS* pairing = GetPairing(device_path); in DisplayPinCode() local 460 if (!pairing) in DisplayPinCode() 463 pairing->DisplayPinCode(pincode); in DisplayPinCode() 472 BluetoothPairingChromeOS* pairing = GetPairing(device_path); in RequestPasskey() local 473 if (!pairing) { in RequestPasskey() [all …]
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
D | JsonMessageBuilder.java | 26 import com.google.polo.pairing.message.ConfigurationAckMessage; 27 import com.google.polo.pairing.message.ConfigurationMessage; 28 import com.google.polo.pairing.message.EncodingOption; 29 import com.google.polo.pairing.message.EncodingOption.EncodingType; 30 import com.google.polo.pairing.message.OptionsMessage; 31 import com.google.polo.pairing.message.OptionsMessage.ProtocolRole; 32 import com.google.polo.pairing.message.PairingRequestAckMessage; 33 import com.google.polo.pairing.message.PairingRequestMessage; 34 import com.google.polo.pairing.message.PoloMessage; 35 import com.google.polo.pairing.message.PoloMessage.PoloMessageType; [all …]
|
D | JsonWireAdapter.java | 22 import com.google.polo.pairing.PairingContext; 23 import com.google.polo.pairing.PoloUtil; 24 import com.google.polo.pairing.message.PoloMessage; 25 import com.google.polo.pairing.message.PoloMessage.PoloMessageType;
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
D | XmlMessageBuilder.java | 25 import com.google.polo.pairing.PoloUtil; 26 import com.google.polo.pairing.message.ConfigurationAckMessage; 27 import com.google.polo.pairing.message.ConfigurationMessage; 28 import com.google.polo.pairing.message.EncodingOption; 29 import com.google.polo.pairing.message.EncodingOption.EncodingType; 30 import com.google.polo.pairing.message.OptionsMessage; 31 import com.google.polo.pairing.message.OptionsMessage.ProtocolRole; 32 import com.google.polo.pairing.message.PairingRequestAckMessage; 33 import com.google.polo.pairing.message.PairingRequestMessage; 34 import com.google.polo.pairing.message.PoloMessage; [all …]
|
D | XmlWireAdapter.java | 20 import com.google.polo.pairing.HexDump; 21 import com.google.polo.pairing.PairingContext; 22 import com.google.polo.pairing.message.PoloMessage; 23 import com.google.polo.pairing.message.PoloMessage.PoloMessageType;
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/ |
D | ProtobufWireAdapter.java | 23 import com.google.polo.pairing.PairingContext; 24 import com.google.polo.pairing.PoloUtil; 25 import com.google.polo.pairing.message.ConfigurationAckMessage; 26 import com.google.polo.pairing.message.ConfigurationMessage; 27 import com.google.polo.pairing.message.EncodingOption; 28 import com.google.polo.pairing.message.OptionsMessage; 29 import com.google.polo.pairing.message.PairingRequestAckMessage; 30 import com.google.polo.pairing.message.PairingRequestMessage; 31 import com.google.polo.pairing.message.PoloMessage; 32 import com.google.polo.pairing.message.SecretAckMessage; [all …]
|