/frameworks/base/core/java/android/app/compat/ |
D | PackageOverride.java | 71 private final boolean mEnabled; field in PackageOverride 78 this.mEnabled = enabled; in PackageOverride() 88 return mEnabled ? VALUE_ENABLED : VALUE_DISABLED; in evaluate() 100 return mEnabled ? VALUE_ENABLED : VALUE_DISABLED; in evaluateForAllVersions() 125 return mEnabled; in isEnabled() 132 dest.writeBoolean(mEnabled); in writeToParcel() 144 return Boolean.toString(mEnabled); in toString() 146 return String.format("[%d,%d,%b]", mMinVersionCode, mMaxVersionCode, mEnabled); in toString() 155 private boolean mEnabled; field in PackageOverride.Builder 190 mEnabled = enabled; in setEnabled() [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()
|
D | SurfaceTracing.cpp | 36 if (mEnabled) { in enable() 46 mEnabled = true; in enable() 52 if (!mEnabled) { in disable() 55 mEnabled = false; in disable() 62 return mEnabled; in isEnabled() 67 if (!mEnabled) { in writeToFile() 75 if (mEnabled) { in notify() 82 if (mEnabled) { in notifyLocked() 89 base::StringAppendF(&result, "Tracing state: %s\n", mEnabled ? "enabled" : "disabled"); in dump() 90 if (mEnabled) { in dump() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeUI.java | 41 private boolean mEnabled; field in VolumeUI 55 mEnabled = enableVolumeUi || enableSafetyWarning; in start() 56 if (!mEnabled) return; in start() 65 if (!mEnabled) return; in onConfigurationChanged() 71 pw.print("mEnabled="); pw.println(mEnabled); in dump() 72 if (!mEnabled) return; in dump()
|
/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/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VisualizerTest.java | 44 boolean mEnabled; field in VisualizerTest 137 mEnabled = isChecked; in onCheckedChanged() 138 mCallbackButton.setEnabled(!mEnabled); in onCheckedChanged() 139 if (mCallbackOn && mEnabled) { in onCheckedChanged() 142 mVisualizer.setEnabled(mEnabled); in onCheckedChanged() 144 if (!mEnabled) { in onCheckedChanged() 196 mEnabled = mVisualizer.getEnabled(); in getEffect() 197 mOnOffButton.setChecked(mEnabled); in getEffect() 200 mCallbackButton.setEnabled(!mEnabled); in getEffect()
|
/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/telephony/java/android/telephony/data/ |
D | DataProfile.java | 88 private final boolean mEnabled; field in DataProfile 128 this.mEnabled = enabled; in DataProfile() 149 mEnabled = source.readBoolean(); in DataProfile() 224 public boolean isEnabled() { return mEnabled; } in isEnabled() 283 + mWaitTime + "/" + mEnabled + "/" + mSupportedApnTypesBitmask + "/" in toString() 300 dest.writeBoolean(mEnabled); in writeToParcel() 335 && mEnabled == that.mEnabled in equals() 351 mMaxConnectionsTime, mMaxConnections, mWaitTime, mEnabled, in hashCode() 394 private boolean mEnabled; field in DataProfile.Builder 547 mEnabled = isEnabled; in enable() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/ |
D | HideDisplayCutoutController.java | 45 boolean mEnabled; field in HideDisplayCutoutController 85 if (enabled == mEnabled) { in updateStatus() 89 mEnabled = enabled; in updateStatus() 107 pw.println(mEnabled); in dump()
|
/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/TimeStats/ |
D | TimeStats.cpp | 307 if (!mEnabled.load()) return; in incrementTotalFrames() 316 if (!mEnabled.load()) return; in incrementMissedFrames() 325 if (!mEnabled.load()) return; in incrementClientCompositionFrames() 334 if (!mEnabled.load()) return; in incrementClientCompositionReusedFrames() 343 if (!mEnabled.load()) return; in incrementRefreshRateSwitches() 352 if (!mEnabled.load()) return; in incrementCompositionStrategyChanges() 361 if (!mEnabled.load()) return; in recordDisplayEventConnectionCount() 383 if (!mEnabled.load()) return; in recordFrameDuration() 392 if (!mEnabled.load()) return; in recordRenderEngineDuration() 404 if (!mEnabled.load()) return; in recordRenderEngineDuration() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/ |
D | FaceSetFeatureClient.java | 43 private final boolean mEnabled; field in FaceSetFeatureClient 55 mEnabled = enabled; in FaceSetFeatureClient() 84 .setFeature(mFeature, mEnabled, mHardwareAuthToken, mFaceId); in startHalOperation() 88 Slog.e(TAG, "Unable to set feature: " + mFeature + " to enabled: " + mEnabled, e); in startHalOperation()
|
/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/protolog/ |
D | ShellProtoLogGroup.java | 37 private final boolean mEnabled; field in ShellProtoLogGroup 51 this.mEnabled = enabled; in ShellProtoLogGroup() 59 return mEnabled; in isEnabled()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
D | FaceSetFeatureClient.java | 43 private final boolean mEnabled; field in FaceSetFeatureClient 54 mEnabled = enabled; in FaceSetFeatureClient() 78 AidlConversionUtils.convertFrameworkToAidlFeature(mFeature), mEnabled); in startHalOperation() 80 Slog.e(TAG, "Unable to set feature: " + mFeature + " to enabled: " + mEnabled, e); in startHalOperation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeTunerService.java | 24 private boolean mEnabled; field in FakeTunerService 81 mEnabled = enabled; in setTunerEnabled() 86 return mEnabled; in isTunerEnabled()
|
/frameworks/base/core/java/android/text/method/ |
D | AllCapsTransformationMethod.java | 39 private boolean mEnabled; field in AllCapsTransformationMethod 49 if (!mEnabled) { in getTransformation() 76 mEnabled = allowLengthChanges; in setLengthChangesAllowed()
|