Home
last modified time | relevance | path

Searched refs:mTimeout (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionActivity.java55 private int mTimeout = BluetoothDiscoverableEnabler.DEFAULT_DISCOVERABLE_TIMEOUT; field in RequestPermissionActivity
131 intent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, mTimeout); in onCreate()
161 if (mTimeout == BluetoothDiscoverableEnabler.DISCOVERABLE_TIMEOUT_NEVER) { in createDialog()
166 getString(R.string.bluetooth_ask_discovery, mTimeout)); in createDialog()
227 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, mTimeout)) { in proceedAndFinish()
229 long endTime = System.currentTimeMillis() + (long) mTimeout * 1000; in proceedAndFinish()
232 if (0 < mTimeout) { in proceedAndFinish()
235 returnCode = mTimeout; in proceedAndFinish()
262 mTimeout = intent.getIntExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, in parseIntent()
265 Log.d(TAG, "Setting Bluetooth Discoverable Timeout = " + mTimeout); in parseIntent()
[all …]
DRequestPermissionHelperActivity.java48 private int mTimeout; field in RequestPermissionHelperActivity
79 if (mTimeout == BluetoothDiscoverableEnabler.DISCOVERABLE_TIMEOUT_NEVER) { in createDialog()
82 p.mMessage = getString(R.string.bluetooth_ask_enablement_and_discovery, mTimeout); in createDialog()
142 mTimeout = intent.getIntExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, in parseIntent()
/packages/apps/Email/src/com/android/email/
DThrottle.java64 private int mTimeout; field in Throttle
95 mTimeout = mMinTimeout; in Throttle()
117 mTimeout *= 2; in updateTimeout()
118 if (mTimeout >= mMaxTimeout) { in updateTimeout()
119 mTimeout = mMaxTimeout; in updateTimeout()
121 if (DEBUG) debugLog("Timeout extended " + mTimeout); in updateTimeout()
123 mTimeout = mMinTimeout; in updateTimeout()
124 if (DEBUG) debugLog("Timeout reset to " + mTimeout); in updateTimeout()
140 mTimer.schedule(mRunningTimerTask, mTimeout); in onEvent()
174 return mTimeout; in getTimeoutForTest()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppIncomingFileConfirmActivity.java80 private boolean mTimeout = false; field in BluetoothOppIncomingFileConfirmActivity
116 if (V) Log.v(TAG, "mTimeout: " + mTimeout); in onCreate()
117 if (mTimeout) { in onCreate()
143 if (!mTimeout) { in onClick()
188 mTimeout = savedInstanceState.getBoolean(PREFERENCE_USER_TIMEOUT); in onRestoreInstanceState()
189 if (V) Log.v(TAG, "onRestoreInstanceState() mTimeout: " + mTimeout); in onRestoreInstanceState()
190 if (mTimeout) { in onRestoreInstanceState()
198 if (V) Log.v(TAG, "onSaveInstanceState() mTimeout: " + mTimeout); in onSaveInstanceState()
199 outState.putBoolean(PREFERENCE_USER_TIMEOUT, mTimeout); in onSaveInstanceState()
203 mTimeout = true; in onTimeout()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java92 private boolean mTimeout = false; field in BluetoothPbapActivity
175 if (!mTimeout) { in onPositive()
182 mTimeout = false; in onPositive()
234 mTimeout = true; in onTimeout()
252 mTimeout = savedInstanceState.getBoolean(KEY_USER_TIMEOUT); in onRestoreInstanceState()
253 if (V) Log.v(TAG, "onRestoreInstanceState() mTimeout: " + mTimeout); in onRestoreInstanceState()
254 if (mTimeout) { in onRestoreInstanceState()
262 outState.putBoolean(KEY_USER_TIMEOUT, mTimeout); in onSaveInstanceState()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DServiceProxy.java55 private int mTimeout = 45; field in ServiceProxy
66 mTimeout <<= 2; in ServiceProxy()
109 mTimeout = secs; in setTimeout()
114 return mTimeout; in getTimeout()
167 mConnection.wait(mTimeout * 1000L); in waitForCompletion()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java1583 final int mTimeout; field in NfcService.WatchDogThread
1588 mTimeout = timeout; in WatchDogThread()
1595 mCancelWaiter.wait(mTimeout); in run()