/frameworks/base/core/java/android/app/compat/ |
D | PackageOverride.java | 72 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/ |
D | Writer.cpp | 42 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/ |
D | CallForwardingInfo.java | 104 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/ |
D | RemoteAction.java | 40 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/ |
D | Colorizer.h | 25 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/ |
D | AllSensorStateController.java | 56 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/native/services/surfaceflinger/Tracing/ |
D | LayerTracing.cpp | 40 if (mEnabled) { in enable() 44 mEnabled = true; in enable() 50 if (!mEnabled) { in disable() 53 mEnabled = false; in disable() 62 return mEnabled; in isEnabled() 67 if (!mEnabled) { in writeToFile() 97 base::StringAppendF(&result, "Tracing state: %s\n", mEnabled ? "enabled" : "disabled"); in dump() 103 if (!mEnabled) { in notify()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | LatencyTester.java | 61 private boolean mEnabled; field in LatencyTester 81 registerForBroadcasts(mEnabled); in start() 85 if (!mEnabled) { in fakeWakeAndUnlock() 106 boolean wasEnabled = mEnabled; in updateEnabled() 107 mEnabled = Build.IS_DEBUGGABLE in updateEnabled() 110 if (mEnabled != wasEnabled) { in updateEnabled() 111 registerForBroadcasts(mEnabled); in updateEnabled() 117 pw.println("mEnabled=" + mEnabled); in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeUI.java | 40 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/ |
D | TestAppWidgetProvider.java | 27 private boolean mEnabled; field in TestAppWidgetProvider 32 mEnabled = false; in TestAppWidgetProvider() 37 return mEnabled && mUpdated; in isBehaviorSuccess() 48 mEnabled = true; in onEnabled()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/tracing/ |
D | FrameProtoTracer.java | 57 private volatile boolean mEnabled; field in FrameProtoTracer 101 if (mEnabled) { in start() 105 mEnabled = true; in start() 112 if (!mEnabled) { in stop() 115 mEnabled = false; in stop() 121 return mEnabled; in isEnabled() 137 if (!mEnabled || mFrameScheduled) { in scheduleFrameUpdate() 150 if (!mEnabled) { in update()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | CompatibilityChangeConfigBuilder.java | 27 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/native/services/sensorservice/ |
D | SensorFusion.cpp | 38 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 …]
|
D | SensorFusion.h | 48 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/core/java/com/android/server/display/whitebalance/ |
D | AmbientSensor.java | 51 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()
|
D | DisplayWhiteBalanceSettings.java | 58 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/av/services/camera/libcameraservice/ |
D | CameraServiceWatchdog.h | 54 mCycleLengthMs(kCycleLengthMs), mEnabled(true) {}; in CameraServiceWatchdog() 57 mPause(true), mMaxCycles(maxCycles), mCycleLengthMs(cycleLengthMs), mEnabled(enabled) in CameraServiceWatchdog() 79 new CameraServiceWatchdog(cycles, cycleLength, mEnabled); in watchThread() 107 if (mEnabled) { in watchThread() 140 bool mEnabled; // True if watchdog is enabled variable
|
/frameworks/base/core/java/android/view/ |
D | OrientationEventListener.java | 36 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/ |
D | VisualizerTest.java | 47 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/base/libs/WindowManager/Shell/src/com/android/wm/shell/kidsmode/ |
D | KidsModeTaskOrganizer.java | 106 private boolean mEnabled; field in KidsModeTaskOrganizer 232 if (mEnabled && mLaunchRootTask == null && taskInfo.launchCookies != null in onTaskAppeared() 276 if (mEnabled == enabled) { in updateKidsModeState() 279 mEnabled = enabled; in updateKidsModeState() 280 if (mEnabled) { in updateKidsModeState() 355 wct.setBounds(rootToken, mEnabled ? taskBounds : null); in updateTask() 357 mEnabled ? CONTROLLED_WINDOWING_MODES : null, in updateTask() 358 mEnabled ? CONTROLLED_ACTIVITY_TYPES : null); in updateTask() 360 mEnabled ? null : rootToken /* currentParent */, in updateTask() 361 mEnabled ? rootToken : null /* newParent */, in updateTask() [all …]
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/ |
D | BenchmarkGroup.java | 47 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/ |
D | TexturePool.cpp | 30 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/ |
D | ExplicitHealthCheckController.java | 89 @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/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/ |
D | HideDisplayCutoutController.java | 47 boolean mEnabled; field in HideDisplayCutoutController 98 if (enabled == mEnabled) { in updateStatus() 102 mEnabled = enabled; in updateStatus() 121 pw.println(mEnabled); in dump()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/ |
D | FaceSetFeatureClient.java | 46 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()
|