OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PoloException
(Results
1 - 17
of
17
) sorted by null
/external/google-tv-pairing-protocol/java/src/com/google/polo/exception/
PoloException.java
22
public class
PoloException
extends Exception {
24
public
PoloException
() {
28
public
PoloException
(String message, Throwable cause) {
32
public
PoloException
(String message) {
36
public
PoloException
(Throwable cause) {
BadSecretException.java
22
public class BadSecretException extends
PoloException
{
NoConfigurationException.java
22
public class NoConfigurationException extends
PoloException
{
ProtocolErrorException.java
22
public class ProtocolErrorException extends
PoloException
{
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/
PoloWireInterface.java
21
import com.google.polo.exception.
PoloException
;
35
* @throws
PoloException
if a protocol fault occurred
37
public PoloMessage getNextMessage() throws IOException,
PoloException
;
45
* @throws
PoloException
if the next message did not match the requested
49
throws IOException,
PoloException
;
56
* @throws
PoloException
if the message was not well formed
59
throws IOException,
PoloException
;
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
PairingListener.java
19
import com.google.polo.exception.
PoloException
;
45
* @throws
PoloException
on error receiving the input
47
void onPerformInputDeviceRole(PairingSession session) throws
PoloException
;
54
* @throws
PoloException
on error displaying the secret
57
throws
PoloException
;
PoloUtil.java
19
import com.google.polo.exception.
PoloException
;
35
* @throws
PoloException
if the peer certificate could not be obtained
40
throws
PoloException
{
45
throw new
PoloException
("No peer certificate.");
49
throw new
PoloException
(e);
56
* @throws
PoloException
if the local certificate could not be obtained
61
throws
PoloException
{
64
throw new
PoloException
("No local certificate.");
PairingSession.java
23
import com.google.polo.exception.
PoloException
;
108
* @throws
PoloException
if a protocol error occurred
112
throws
PoloException
, IOException;
117
* @throws
PoloException
if a protocol error occurred
121
throws
PoloException
, IOException;
241
} catch (
PoloException
exception) {
247
mMessageQueue.put(new QueueMessage(new
PoloException
(exception)));
407
} catch (
PoloException
e) {
471
* @throws
PoloException
if a protocol error occurred
474
protected void doPairingPhase() throws
PoloException
, IOException
[
all
...]
PoloChallengeResponse.java
19
import com.google.polo.exception.
PoloException
;
81
* @throws
PoloException
if the secret could not be computed
83
public byte[] getAlpha(byte[] nonce) throws
PoloException
{
91
throw new
PoloException
("Polo only supports RSA public keys");
101
throw new
PoloException
("Could not get digest algorithm", e);
146
* @throws
PoloException
if the secret could not be computed
148
public byte[] getGamma(byte[] nonce) throws
PoloException
{
179
* @throws
PoloException
if the value could not be computed
181
public boolean checkGamma(byte[] gamma) throws
PoloException
{
ClientPairingSession.java
19
import com.google.polo.exception.
PoloException
;
68
throws
PoloException
, IOException {
98
protected void doConfigurationPhase() throws
PoloException
, IOException {
ServerPairingSession.java
20
import com.google.polo.exception.
PoloException
;
53
protected void doInitializationPhase() throws
PoloException
, IOException {
82
protected void doConfigurationPhase() throws
PoloException
, IOException {
PairingContext.java
19
import com.google.polo.exception.
PoloException
;
83
* @throws
PoloException
if certificates could not be obtained
87
throws
PoloException
, IOException {
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
JsonWireAdapter.java
19
import com.google.polo.exception.
PoloException
;
79
public PoloMessage getNextMessage() throws IOException,
PoloException
{
89
throws
PoloException
{
94
throw new
PoloException
("Error parsing incoming message", e);
100
PoloException
{
103
throw new
PoloException
("Wrong message type (wanted " + type + ", got "
112
} catch (
PoloException
e) {
123
} catch (
PoloException
e) {
JsonMessageBuilder.java
21
import com.google.polo.exception.
PoloException
;
110
* @throws
PoloException
on error parsing the {@link JSONObject}
113
throws
PoloException
{
127
throw new
PoloException
("Bad outer message.", e);
159
* @throws
PoloException
on error parsing the {@link JSONObject}
162
throws
PoloException
{
171
throw new
PoloException
("Malformed message.", e);
182
throws
PoloException
{
190
throw new
PoloException
("Malformed message.", e);
199
* @throws
PoloException
on error parsing the {@link JSONObject
[
all
...]
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlWireAdapter.java
19
import com.google.polo.exception.
PoloException
;
73
public PoloMessage getNextMessage() throws IOException,
PoloException
{
85
public PoloMessage getNextMessage(PoloMessageType type) throws IOException,
PoloException
{
88
throw new
PoloException
("Wrong message type (wanted " + type +
98
} catch (
PoloException
e) {
XmlMessageBuilder.java
19
import com.google.polo.exception.
PoloException
;
126
* @throws
PoloException
on error parsing the message
128
PoloMessage outerXMLToPoloMessage(String outerXml) throws
PoloException
{
133
throw new
PoloException
(e);
149
throw new
PoloException
("Bad outer message.", e);
204
* @throws
PoloException
on error parsing the {@link JSONObject}
207
throws
PoloException
{
219
throw new
PoloException
("Malformed message.", e);
228
* @throws
PoloException
on error parsing the {@link JSONObject}
231
throws
PoloException
{
[
all
...]
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/
ProtobufWireAdapter.java
21
import com.google.polo.exception.
PoloException
;
92
public PoloMessage getNextMessage() throws IOException,
PoloException
{
102
* @throws
PoloException
if the wrong message type was read, or on protocol
106
throws IOException,
PoloException
{
109
throw new
PoloException
("Wrong message type (wanted " + type +
121
private OuterMessage readNextOuterMessage() throws IOException,
PoloException
{
145
* @throws
PoloException
on protocol error
148
throws IOException,
PoloException
{
201
* @throws
PoloException
if the message was not well formed
204
throws
PoloException
{
[
all
...]
Completed in 843 milliseconds