Home
last modified time | relevance | path

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

/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
DPacNative.java28 private boolean mIsActive; field in PacNative
51 mIsActive = true; in startPacSupport()
56 if (mIsActive) { in stopPacSupport()
61 mIsActive = false; in stopPacSupport()
84 return mIsActive; in isActive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java56 private boolean mIsActive; field in TelephonyNetworkFactory
85 mIsActive = false; in TelephonyNetworkFactory()
177 if (mIsActive != newIsActive) { in onActivePhoneSwitch()
178 mIsActive = newIsActive; in onActivePhoneSwitch()
179 String logString = "onActivePhoneSwitch(" + mIsActive + ", " + mIsDefault + ")"; in onActivePhoneSwitch()
182 applyRequests(mDefaultRequests, (mIsActive ? REQUEST : RELEASE), logString); in onActivePhoneSwitch()
184 applyRequests(mSpecificRequests, (mIsActive ? REQUEST : RELEASE), logString); in onActivePhoneSwitch()
207 String logString = "onDefaultChange(" + mIsActive + "," + mIsDefault + ")"; in onDefaultChange()
209 if (mIsActive == false) return; in onDefaultChange()
242 if (mIsActive && isApplicable) { in onNeedNetworkFor()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneSwitcherMock.java32 private final AtomicBoolean mIsActive[]; field in PhoneSwitcherMock
39 mIsActive = new AtomicBoolean[numPhones]; in PhoneSwitcherMock()
42 mIsActive[i] = new AtomicBoolean(false); in PhoneSwitcherMock()
53 return mIsActive[phoneId].get(); in isPhoneActive()
79 if (mIsActive[phoneId].getAndSet(active) != active) { in setPhoneActive()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilter.java65 private boolean mIsActive = true; field in Filter
147 return mIsActive; in isActive()
157 if (!mIsActive) { in activate()
158 mIsActive = true; in activate()
170 if (mIsActive) { in deactivate()
171 mIsActive = false; in deactivate()
395 return (mIsActive && !mState.check(State.STATE_CLOSED)); in inSchedulableState()
/frameworks/base/core/java/android/view/
DWindow.java288 private boolean mIsActive = false; field in Window
1300 mContainer.mActiveChild.mIsActive = false; in makeActive()
1304 mIsActive = true; in makeActive()
1310 return mIsActive; in isActive()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java117 private boolean mIsActive = false; field in MediaSessionRecord
319 return mIsActive && !mDestroyed; in isActive()
441 pw.println(indent + "active=" + mIsActive); in dump()
762 mIsActive = active; in setActive()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DMediaSessionCompat.java1821 boolean mIsActive = false; field in MediaSessionCompat.MediaSessionImplBase
1965 if (active == mIsActive) { in setActive()
1968 mIsActive = active; in setActive()
1977 return mIsActive; in isActive()
1987 mIsActive = false; in release()
2004 if (!mIsActive) { in setPlaybackState()
2101 if (!mIsActive) { in setMetadata()
2271 if (mIsActive) { in update()