OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:timeoutValue
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDiscoverableEnabler.java
176
String
timeoutValue
;
181
timeoutValue
= VALUE_DISCOVERABLE_TIMEOUT_TWO_MINUTES;
186
timeoutValue
= VALUE_DISCOVERABLE_TIMEOUT_FIVE_MINUTES;
191
timeoutValue
= VALUE_DISCOVERABLE_TIMEOUT_ONE_HOUR;
196
timeoutValue
= VALUE_DISCOVERABLE_TIMEOUT_NEVER;
199
mSharedPreferences.edit().putString(KEY_DISCOVERABLE_TIMEOUT,
timeoutValue
).apply();
210
String
timeoutValue
= mSharedPreferences.getString(KEY_DISCOVERABLE_TIMEOUT,
213
if (
timeoutValue
.equals(VALUE_DISCOVERABLE_TIMEOUT_NEVER)) {
215
} else if (
timeoutValue
.equals(VALUE_DISCOVERABLE_TIMEOUT_ONE_HOUR)) {
217
} else if (
timeoutValue
.equals(VALUE_DISCOVERABLE_TIMEOUT_FIVE_MINUTES))
[
all
...]
/external/webkit/Source/WebCore/bindings/v8/custom/
V8GeolocationCustom.cpp
77
v8::Local<v8::Value>
timeoutValue
= object->Get(v8::String::New("timeout"));
78
if (
timeoutValue
.IsEmpty()) {
82
if (!
timeoutValue
->IsUndefined()) {
83
v8::Local<v8::Number> timeoutNumber =
timeoutValue
->ToNumber();
91
v8::Local<v8::Int32> timeoutInt32 =
timeoutValue
->ToInt32();
/external/webkit/Source/WebCore/bindings/js/
JSGeolocationCustom.cpp
75
JSValue
timeoutValue
= object->get(exec, Identifier(exec, "timeout"));
78
if (!
timeoutValue
.isUndefined()) {
79
double timeoutNumber =
timeoutValue
.toNumber(exec);
85
options->setTimeout(max(0,
timeoutValue
.toInt32(exec)));
Completed in 53 milliseconds