OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:persistValue
(Results
1 - 2
of
2
) sorted by null
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
Settings.java
72
private int
persistValue
;
81
set =
persistValue
= persisted = 0;
93
persistValue
|= bit;
95
persistValue
&= ~bit;
122
if (
persistValue
(id)) result |= Settings.PERSIST_VALUE;
202
boolean
persistValue
(int id) {
204
return (
persistValue
& bit) != 0;
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
SettingsTest.java
113
@Test public void
persistValue
() {
117
assertFalse(settings.
persistValue
(Settings.ROUND_TRIP_TIME));
121
assertFalse(settings.
persistValue
(Settings.ROUND_TRIP_TIME));
125
assertFalse(settings.
persistValue
(Settings.ROUND_TRIP_TIME));
129
assertTrue(settings.
persistValue
(Settings.ROUND_TRIP_TIME));
133
assertTrue(settings.
persistValue
(Settings.ROUND_TRIP_TIME));
137
assertFalse(settings.
persistValue
(Settings.ROUND_TRIP_TIME));
141
assertFalse(settings.
persistValue
(Settings.ROUND_TRIP_TIME));
Completed in 73 milliseconds