Home
last modified time | relevance | path

Searched refs:mEnabled (Results 1 – 25 of 119) sorted by relevance

12345

/frameworks/base/core/java/android/app/compat/
DPackageOverride.java72 private final boolean mEnabled; field in PackageOverride
79 this.mEnabled = enabled; in PackageOverride()
89 return mEnabled ? VALUE_ENABLED : VALUE_DISABLED; in evaluate()
101 return mEnabled ? VALUE_ENABLED : VALUE_DISABLED; in evaluateForAllVersions()
126 return mEnabled; in isEnabled()
133 dest.writeBoolean(mEnabled); in writeToParcel()
148 && mEnabled == that.mEnabled; in equals()
154 return Objects.hash(mMinVersionCode, mMaxVersionCode, mEnabled); in hashCode()
161 return Boolean.toString(mEnabled); in toString()
163 return String.format("[%d,%d,%b]", mMinVersionCode, mMaxVersionCode, mEnabled); in toString()
[all …]
/frameworks/av/media/libnblog/
DWriter.cpp42 mEnabled(mFifoWriter != NULL) in Writer()
77 if (!mEnabled) { in log()
90 if (!mEnabled) { in logf()
101 if (!mEnabled) { in logTimestamp()
112 if (!mEnabled) { in logFormat()
123 if (!mEnabled) { in logEventHistTs()
138 return mEnabled; in isEnabled()
143 bool old = mEnabled; in setEnabled()
144 mEnabled = enabled && mShared != NULL; in setEnabled()
150 if (!mEnabled) { in log()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCallForwardingInfo.java104 private boolean mEnabled; field in CallForwardingInfo
136 mEnabled = enabled; in CallForwardingInfo()
148 return mEnabled; in isEnabled()
199 out.writeBoolean(mEnabled); in writeToParcel()
206 mEnabled = in.readBoolean(); in CallForwardingInfo()
223 return mEnabled == other.mEnabled in equals()
234 return Objects.hash(mEnabled, mNumber, mReason, mTimeSeconds); in hashCode()
255 return "[CallForwardingInfo: enabled=" + mEnabled in toString()
/frameworks/base/core/java/android/app/
DRemoteAction.java40 private boolean mEnabled; field in RemoteAction
48 mEnabled = in.readBoolean(); in RemoteAction()
62 mEnabled = true; in RemoteAction()
70 mEnabled = enabled; in setEnabled()
77 return mEnabled; in isEnabled()
125 action.setEnabled(mEnabled); in clone()
135 return mEnabled == that.mEnabled in equals()
145 return Objects.hash(mIcon, mTitle, mContentDescription, mActionIntent, mEnabled, in hashCode()
160 out.writeBoolean(mEnabled); in writeToParcel()
167 pw.print(" enabled=" + mEnabled); in dump()
/frameworks/native/services/surfaceflinger/
DColorizer.h25 bool mEnabled; variable
38 : mEnabled(enabled) { in Colorizer()
42 if (mEnabled) { in colorize()
48 if (mEnabled) { in bold()
54 if (mEnabled) { in reset()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DAllSensorStateController.java56 private boolean mEnabled; field in AllSensorStateController
77 mEnabled |= XmlUtils in AllSensorStateController()
82 mEnabled |= XmlUtils in AllSensorStateController()
88 mEnabled |= in AllSensorStateController()
96 mEnabled = false; in AllSensorStateController()
101 return mEnabled; in getAllSensorStateLocked()
105 if (mEnabled != enabled) { in setAllSensorStateLocked()
106 mEnabled = enabled; in setAllSensorStateLocked()
126 IoThread.getHandler().sendMessage(PooledLambda.obtainMessage(this::persist, mEnabled)); in schedulePersistLocked()
149 mEnabled = false; in resetForTesting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLatencyTester.java61 private boolean mEnabled; field in LatencyTester
83 registerForBroadcasts(mEnabled); in start()
87 if (!mEnabled) { in fakeWakeAndUnlock()
111 boolean wasEnabled = mEnabled; in updateEnabled()
112 mEnabled = Build.IS_DEBUGGABLE in updateEnabled()
115 if (mEnabled != wasEnabled) { in updateEnabled()
116 registerForBroadcasts(mEnabled); in updateEnabled()
122 pw.println("mEnabled=" + mEnabled); in dump()
/frameworks/native/services/surfaceflinger/Tracing/
DLayerTracing.cpp41 if (mEnabled) { in enable()
45 mEnabled = true; in enable()
51 if (!mEnabled) { in disable()
54 mEnabled = false; in disable()
72 return mEnabled; in isEnabled()
77 if (!mEnabled) { in writeToFile()
113 base::StringAppendF(&result, "Tracing state: %s\n", mEnabled ? "enabled" : "disabled"); in dump()
121 if (!mEnabled) { in notify()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeUI.java40 private boolean mEnabled; field in VolumeUI
55 mEnabled = enableVolumeUi || enableSafetyWarning; in start()
56 if (!mEnabled) return; in start()
64 if (!mEnabled) return; in onConfigurationChanged()
70 pw.print("mEnabled="); pw.println(mEnabled); in dump()
71 if (!mEnabled) return; in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DTestAppWidgetProvider.java27 private boolean mEnabled; field in TestAppWidgetProvider
32 mEnabled = false; in TestAppWidgetProvider()
37 return mEnabled && mUpdated; in isBehaviorSuccess()
48 mEnabled = true; in onEnabled()
/frameworks/native/services/sensorservice/
DSensorInterface.cpp95 if (enabled != mEnabled) { in activate()
96 mEnabled = enabled; in activate()
97 return mCallback->onConfigurationChanged(mSensor.getHandle(), mEnabled, mSamplingPeriodNs, in activate()
108 if (mEnabled) { in batch()
109 return mCallback->onConfigurationChanged(mSensor.getHandle(), mEnabled, in batch()
119 if (mEnabled) { in setDelay()
120 return mCallback->onConfigurationChanged(mSensor.getHandle(), mEnabled, in setDelay()
DSensorFusion.cpp38 mEnabled[FUSION_9AXIS] = false; in ANDROID_SINGLETON_STATIC_INSTANCE()
39 mEnabled[FUSION_NOMAG] = false; in ANDROID_SINGLETON_STATIC_INSTANCE()
40 mEnabled[FUSION_NOGYRO] = false; in ANDROID_SINGLETON_STATIC_INSTANCE()
91 if (mEnabled[i]) { in process()
101 if (mEnabled[i]) { in process()
113 if (mEnabled[i]) { in process()
144 if (newState != mEnabled[mode]) { in activate()
145 mEnabled[mode] = newState; in activate()
194 mEnabled[FUSION_9AXIS] ? "enabled" : "disabled", in dump()
211 mEnabled[FUSION_NOMAG] ? "enabled" : "disabled", in dump()
[all …]
DSensorFusion.h48 bool mEnabled[NUM_FUSION_MODE]; variable
67 return mEnabled[FUSION_9AXIS] || in isEnabled()
68 mEnabled[FUSION_NOMAG] || in isEnabled()
69 mEnabled[FUSION_NOGYRO]; in isEnabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatibilityChangeConfigBuilder.java27 private Set<Long> mEnabled; field in CompatibilityChangeConfigBuilder
31 mEnabled = new HashSet<>(); in CompatibilityChangeConfigBuilder()
40 mEnabled.add(id); in enable()
50 return new CompatibilityChangeConfig(new Compatibility.ChangeConfig(mEnabled, mDisabled)); in build()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientSensor.java51 private boolean mEnabled; field in AmbientSensor
85 mEnabled = false; in AmbientSensor()
135 writer.println(" mEnabled=" + mEnabled); in dump()
153 if (mEnabled) { in enable()
159 mEnabled = true; in enable()
165 if (!mEnabled) { in disable()
171 mEnabled = false; in disable()
194 if (!mEnabled) { in handleNewEvent()
DDisplayWhiteBalanceSettings.java58 private boolean mEnabled; field in DisplayWhiteBalanceSettings
122 return mEnabled && mActive; in isEnabled()
136 writer.println(" mEnabled=" + mEnabled); in dump()
153 if (mEnabled == enabled) { in setEnabled()
159 mEnabled = enabled; in setEnabled()
/frameworks/base/core/java/android/view/
DOrientationEventListener.java36 private boolean mEnabled = false; field in OrientationEventListener
91 if (mEnabled == false) { in enable()
94 mEnabled = true; in enable()
106 if (mEnabled == true) { in disable()
109 mEnabled = false; in disable()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerTest.java47 boolean mEnabled; field in VisualizerTest
151 mEnabled = isChecked; in onCheckedChanged()
152 mCallbackButton.setEnabled(!mEnabled); in onCheckedChanged()
153 if (mCallbackOn && mEnabled) { in onCheckedChanged()
156 mVisualizer.setEnabled(mEnabled); in onCheckedChanged()
158 if (!mEnabled) { in onCheckedChanged()
210 mEnabled = mVisualizer.getEnabled(); in getEffect()
211 mOnOffButton.setChecked(mEnabled); in getEffect()
214 mCallbackButton.setEnabled(!mEnabled); in getEffect()
/frameworks/av/services/camera/libcameraservice/
DCameraServiceWatchdog.h64 mCycleLengthMs(kCycleLengthMs), mEnabled(true), in CameraServiceWatchdog()
71 mCycleLengthMs(cycleLengthMs), mEnabled(enabled), in CameraServiceWatchdog()
94 mCameraId, cycles, cycleLength, mEnabled, mCameraServiceProxyWrapper); in watchThread()
122 if (mEnabled) { in watchThread()
158 bool mEnabled; // True if watchdog is enabled variable
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
DBenchmarkGroup.java47 private boolean mEnabled; field in BenchmarkGroup.Benchmark
54 mEnabled = true; in Benchmark()
57 public boolean isEnabled() { return mEnabled; } in isEnabled()
59 public void setEnabled(boolean enabled) { mEnabled = enabled; } in setEnabled()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DTexturePool.cpp30 if (mEnabled && mSize.isValid()) { in allocatePool()
59 if (!mEnabled) { in returnTexture()
102 mEnabled = enabled; in setEnabled()
109 mEnabled ? "enabled" : "disabled", mPool.size(), mSize.width, mSize.height); in dump()
/frameworks/base/services/core/java/com/android/server/
DExplicitHealthCheckController.java89 @GuardedBy("mLock") private boolean mEnabled; field in ExplicitHealthCheckController
99 mEnabled = enabled; in setEnabled()
140 enabled = mEnabled; in syncRequests()
293 if (!mEnabled || mConnection != null || mRemoteService != null) { in bindService()
294 if (!mEnabled) { in bindService()
404 if (!mEnabled) { in initState()
444 if (mRemoteService != null && mEnabled) { in prepareServiceLocked()
448 + (mEnabled ? ". Binding..." : ". Disabled")); in prepareServiceLocked()
449 if (mEnabled) { in prepareServiceLocked()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeTunerService.java24 private boolean mEnabled; field in FakeTunerService
81 mEnabled = enabled; in setTunerEnabled()
86 return mEnabled; in isTunerEnabled()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DFaceSetFeatureClient.java46 private final boolean mEnabled; field in FaceSetFeatureClient
58 mEnabled = enabled; in FaceSetFeatureClient()
87 .setFeature(mFeature, mEnabled, mHardwareAuthToken, mFaceId); in startHalOperation()
91 Slog.e(TAG, "Unable to set feature: " + mFeature + " to enabled: " + mEnabled, e); in startHalOperation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutController.java47 boolean mEnabled; field in HideDisplayCutoutController
98 if (enabled == mEnabled) { in updateStatus()
102 mEnabled = enabled; in updateStatus()
121 pw.println(mEnabled); in dump()

12345