Home
last modified time | relevance | path

Searched refs:mTimeout (Results 1 – 10 of 10) 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/UnifiedEmail/src/com/android/mail/utils/
DThrottle.java65 private int mTimeout; field in Throttle
97 mTimeout = mMinTimeout; in Throttle()
120 mTimeout *= 2; in updateTimeout()
121 if (mTimeout >= mMaxTimeout) { in updateTimeout()
122 mTimeout = mMaxTimeout; in updateTimeout()
124 if (DEBUG) debugLog("Timeout extended " + mTimeout); in updateTimeout()
126 mTimeout = mMinTimeout; in updateTimeout()
127 if (DEBUG) debugLog("Timeout reset to " + mTimeout); in updateTimeout()
143 mTimer.schedule(mRunningTimerTask, mTimeout); in onEvent()
178 return mTimeout; in getTimeoutForTest()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppIncomingFileConfirmActivity.java78 private boolean mTimeout = false; field in BluetoothOppIncomingFileConfirmActivity
115 if (V) Log.v(TAG, "mTimeout: " + mTimeout); in onCreate()
116 if (mTimeout) { in onCreate()
140 if (!mTimeout) { in onClick()
185 mTimeout = savedInstanceState.getBoolean(PREFERENCE_USER_TIMEOUT); in onRestoreInstanceState()
186 if (V) Log.v(TAG, "onRestoreInstanceState() mTimeout: " + mTimeout); in onRestoreInstanceState()
187 if (mTimeout) { in onRestoreInstanceState()
195 if (V) Log.v(TAG, "onSaveInstanceState() mTimeout: " + mTimeout); in onSaveInstanceState()
196 outState.putBoolean(PREFERENCE_USER_TIMEOUT, mTimeout); in onSaveInstanceState()
200 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/services/Telecomm/src/com/android/server/telecom/
DCreateConnectionProcessor.java100 private CreateConnectionTimeout mTimeout; field in CreateConnectionProcessor
117 return mTimeout != null && mTimeout.isCallTimedOut(); in isCallTimedOut()
230 mTimeout = timeout; in setTimeoutIfNeeded()
236 if (mTimeout != null) { in clearTimeout()
237 mTimeout.unregisterTimeout(); in clearTimeout()
238 mTimeout = null; in clearTimeout()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DServiceProxy.java58 private int mTimeout = 45; field in ServiceProxy
95 mTimeout <<= 2; in ServiceProxy()
162 mTimeout = secs; in setTimeout()
167 return mTimeout; in getTimeout()
206 mConnection.wait(mTimeout * 1000L); in waitForCompletion()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageDraw.java37 private long mTimeout; field in ImageDraw
249 mTimeout = DISPLAY_TIME + System.currentTimeMillis(); in displayDrawLook()
285 if (System.currentTimeMillis() < mTimeout) { in onDraw()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java1389 final int mTimeout; field in NfcService.WatchDogThread
1394 mTimeout = timeout; in WatchDogThread()
1401 mCancelWaiter.wait(mTimeout); in run()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.java94 private Calendar mTimeout; field in AlarmInstance