Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/controls/templates/
DTemperatureControlTemplate.java147 private final @Mode int mCurrentMode; field in TemperatureControlTemplate
174 mCurrentMode = MODE_UNKNOWN; in TemperatureControlTemplate()
176 mCurrentMode = currentMode; in TemperatureControlTemplate()
187 if (mCurrentMode != MODE_UNKNOWN && (modeToFlag[mCurrentMode] & mModes) == 0) { in TemperatureControlTemplate()
188 throw new IllegalArgumentException("Mode " + mCurrentMode + " not supported in flag."); in TemperatureControlTemplate()
203 mCurrentMode = b.getInt(KEY_CURRENT_MODE); in TemperatureControlTemplate()
217 b.putInt(KEY_CURRENT_MODE, mCurrentMode); in getDataBundle()
229 return mCurrentMode; in getCurrentMode()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java40 private final int mCurrentMode; field in UsbPortStatus
306 mCurrentMode = currentMode; in UsbPortStatus()
321 mCurrentMode = currentMode; in UsbPortStatus()
338 return mCurrentMode != 0; in isConnected()
349 return mCurrentMode; in getCurrentMode()
450 + ", currentMode=" + UsbPort.modeToString(mCurrentMode) in toString()
476 dest.writeInt(mCurrentMode); in writeToParcel()
518 private @UsbPortMode int mCurrentMode; field in UsbPortStatus.Builder
529 mCurrentMode = MODE_NONE; in Builder()
545 mCurrentMode = currentMode; in setCurrentMode()
[all …]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java93 private Mode mCurrentMode = Mode.NONE; field in Tracer
120 mCurrentMode = mode; in setOutputMode()
167 if (mCurrentMode == Mode.NONE) { in doTrace()
190 return mCurrentMode != Mode.NONE; in isTracingEnabled()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java80 private int mCurrentMode; field in ScoAudioTest
152 mCurrentMode = mAudioManager.getMode(); in onCreate()
153 mModeSpinner.setSelection(mCurrentMode); in onCreate()
198 mCurrentMode = mAudioManager.getMode(); in onResume()
199 mModeSpinner.setSelection(mCurrentMode); in onResume()
644 if (mCurrentMode != position) {
645 mCurrentMode = position;
646 mAudioManager.setMode(mCurrentMode);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationController.java233 if (animationCallback.mCurrentMode == targetMode) { in transitionMagnificationModeLocked()
795 private final int mCurrentMode; field in MagnificationController.DisableMagnificationCallback
805 mCurrentMode = mTargetMode ^ ACCESSIBILITY_MAGNIFICATION_MODE_ALL; in DisableMagnificationCallback()
834 if (mCurrentMode == ACCESSIBILITY_MAGNIFICATION_MODE_FULLSCREEN in onResult()
875 applyMagnificationModeLocked(mCurrentMode); in restoreToCurrentMagnificationMode()
876 updateMagnificationButton(mDisplayId, mCurrentMode); in restoreToCurrentMagnificationMode()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java174 private @Mode int mCurrentMode = MODE_UNINITIALIZED; field in KeyguardSecurityContainer
347 if (mCurrentMode == mode) return; in initMode()
348 Log.i(TAG, "Switching mode from " + modeToString(mCurrentMode) + " to " in initMode()
350 mCurrentMode = mode; in initMode()
396 return mCurrentMode; in getMode()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22473 Landroid/hardware/usb/UsbPortStatus;->mCurrentMode:I