/frameworks/base/core/java/android/hardware/location/ |
D | NanoAppState.java | 41 private boolean mIsEnabled; field in NanoAppState 54 mIsEnabled = enabled; in NanoAppState() 68 mIsEnabled = enabled; in NanoAppState() 86 mIsEnabled = enabled; in NanoAppState() 116 return mIsEnabled; in isEnabled() 137 mIsEnabled = (in.readInt() == 1); in NanoAppState() 154 out.writeInt(mIsEnabled ? 1 : 0); in writeToParcel()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SignalThresholdInfo.java | 147 private final boolean mIsEnabled; field in SignalThresholdInfo 318 mIsEnabled = isEnabled; in SignalThresholdInfo() 330 private boolean mIsEnabled = false; 440 mIsEnabled = isEnabled; 455 mHysteresisDb, mThresholds, mIsEnabled); 489 return mIsEnabled; 546 out.writeBoolean(mIsEnabled); 555 mIsEnabled = in.readBoolean(); 572 && mIsEnabled == other.mIsEnabled; 578 mIsEnabled); [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | PreferentialNetworkServiceConfig.java | 50 final boolean mIsEnabled; field in PreferentialNetworkServiceConfig 115 mIsEnabled = isEnabled; in PreferentialNetworkServiceConfig() 123 mIsEnabled = in.readBoolean(); in PreferentialNetworkServiceConfig() 135 return mIsEnabled; in isEnabled() 203 return mIsEnabled == that.mIsEnabled in equals() 212 return ((Objects.hashCode(mIsEnabled) * 17) in hashCode() 224 boolean mIsEnabled = false; field in PreferentialNetworkServiceConfig.Builder 243 mIsEnabled = isEnabled; in setEnabled() 311 return new PreferentialNetworkServiceConfig(mIsEnabled, in build() 335 dest.writeBoolean(mIsEnabled); in writeToParcel() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | PhoneAccount.java | 465 private boolean mIsEnabled; field in PhoneAccount 476 mIsEnabled == that.mIsEnabled && in equals() 492 mExtras, mIsEnabled, mGroupId); in hashCode() 511 private boolean mIsEnabled = false; field in PhoneAccount.Builder 538 mIsEnabled = phoneAccount.isEnabled(); in Builder() 692 mIsEnabled = isEnabled; in setIsEnabled() 758 mIsEnabled, in build() 788 mIsEnabled = isEnabled; in PhoneAccount() 935 return mIsEnabled; in isEnabled() 988 mIsEnabled = isEnabled; in setIsEnabled() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | LowPowerStandbyController.java | 121 private boolean mIsEnabled; field in LowPowerStandbyController 206 if (mIsEnabled) { in systemReady() 217 mIsEnabled = mSupportedConfig && Settings.Global.getInt(resolver, in updateSettingsLocked() 234 mForceActive || (mIsEnabled && !mIsInteractive && standbyTimeoutExpired in updateActiveLocked() 237 Slog.d(TAG, "updateActiveLocked: mIsEnabled=" + mIsEnabled + ", mIsInteractive=" in updateActiveLocked() 342 final boolean oldEnabled = mIsEnabled; in onSettingsChanged() 345 if (mIsEnabled != oldEnabled) { in onSettingsChanged() 346 if (mIsEnabled) { in onSettingsChanged() 373 Slog.d(TAG, "notifyEnabledChangedLocked, mIsEnabled=" + mIsEnabled); in notifyEnabledChangedLocked() 422 return mSupportedConfig && mIsEnabled; in isEnabled() [all …]
|
D | FaceDownDetector.java | 78 private boolean mIsEnabled; field in FaceDownDetector 203 final boolean shouldBeActive = mInteractive && mIsEnabled && !sawRecentInteraction; in updateActiveState() 248 if (!mActive || !mIsEnabled) return; 433 final boolean oldEnabled = mIsEnabled; in readValuesFromDeviceConfig() 434 mIsEnabled = isEnabled(); in readValuesFromDeviceConfig() 435 if (oldEnabled != mIsEnabled) { in readValuesFromDeviceConfig() 436 if (!mIsEnabled) { in readValuesFromDeviceConfig() 449 + "\nmIsEnabled=" + mIsEnabled); in readValuesFromDeviceConfig()
|
/frameworks/av/media/libcpustats/include/cpustats/ |
D | ThreadCpuUsage.h | 42 mIsEnabled(false), in ThreadCpuUsage() 58 bool isEnabled() const { return mIsEnabled; } in isEnabled() 122 bool mIsEnabled; // whether tracking is currently enabled
|
/frameworks/base/services/core/java/com/android/server/display/layout/ |
D | Layout.java | 168 private final boolean mIsEnabled; field in Layout.Display 173 mIsEnabled = isEnabled; in Display() 179 + "(" + (mIsEnabled ? "ON" : "OFF") + ")}"; in toString() 191 return mIsEnabled; in isEnabled()
|
/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/ |
D | ActionButtonsPreference.java | 273 if (isEnabled != mButton1Info.mIsEnabled) { in setButton1Enabled() 274 mButton1Info.mIsEnabled = isEnabled; in setButton1Enabled() 338 if (isEnabled != mButton2Info.mIsEnabled) { in setButton2Enabled() 339 mButton2Info.mIsEnabled = isEnabled; in setButton2Enabled() 403 if (isEnabled != mButton3Info.mIsEnabled) { in setButton3Enabled() 404 mButton3Info.mIsEnabled = isEnabled; in setButton3Enabled() 468 if (isEnabled != mButton4Info.mIsEnabled) { in setButton4Enabled() 469 mButton4Info.mIsEnabled = isEnabled; in setButton4Enabled() 514 private boolean mIsEnabled = true; field in ActionButtonsPreference.ButtonInfo 520 mButton.setEnabled(mIsEnabled); in setUpButton()
|
/frameworks/base/core/java/android/printservice/ |
D | PrintServiceInfo.java | 61 private boolean mIsEnabled; field in PrintServiceInfo 78 mIsEnabled = parcel.readByte() != 0; in PrintServiceInfo() 202 return mIsEnabled; in isEnabled() 213 mIsEnabled = isEnabled; in setIsEnabled() 283 parcel.writeByte((byte)(mIsEnabled ? 1 : 0)); in writeToParcel() 323 builder.append("isEnabled=").append(mIsEnabled); in toString()
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | QuotaTracker.java | 111 private boolean mIsEnabled = true; field in QuotaTracker 223 if (!mIsEnabled) { in setQuotaFree() 257 if (mIsEnabled == enable) { in setEnabled() 260 mIsEnabled = enable; in setEnabled() 262 if (!mIsEnabled) { in setEnabled() 272 return mIsEnabled; in isEnabledLocked() 486 pw.println("Is enabled: " + mIsEnabled); in dump() 523 proto.write(QuotaTrackerProto.IS_ENABLED, mIsEnabled); in dump()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | TareController.java | 300 private boolean mIsEnabled; field in TareController 309 mIsEnabled = mConstants.USE_TARE_POLICY; in TareController() 400 if (mIsEnabled != mConstants.USE_TARE_POLICY) { in onConstantsUpdatedLocked() 401 mIsEnabled = mConstants.USE_TARE_POLICY; in onConstantsUpdatedLocked() 407 if (!mIsEnabled) { in onConstantsUpdatedLocked() 425 if (!mIsEnabled) { in canScheduleEJ() 442 if (!mIsEnabled) { in getMaxJobExecutionTimeMsLocked() 576 if (!mIsEnabled) { in canAffordBillLocked() 605 if (!mIsEnabled) { in canAffordExpeditedBillLocked() 629 if (!mIsEnabled) { in hasEnoughWealthLocked() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/ |
D | InternalResourceService.java | 152 private volatile boolean mIsEnabled; field in InternalResourceService 361 return mIsEnabled; in isEnabled() 584 if (!mIsEnabled) { in processUsageEventLocked() 730 if (mBootPhase < PHASE_SYSTEM_SERVICES_READY || !mIsEnabled) { in setupEverything() 742 if (mIsEnabled) { in tearDownEverything() 798 listener.onTareEnabledStateChanged(mIsEnabled); in handleMessage() 905 if (!mIsEnabled) { in canPayFor() 933 if (!mIsEnabled) { in getMaxDurationMs() 961 return mIsEnabled; in isEnabled() 967 if (!mIsEnabled) { in noteInstantaneousEvent() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedTouchHandler.java | 55 private boolean mIsEnabled; field in OneHandedTouchHandler 72 mIsEnabled = isEnabled; in onOneHandedEnabled() 131 if (mIsEnabled) { in updateIsEnabled()
|
/frameworks/av/media/libcpustats/ |
D | ThreadCpuUsage.cpp | 39 bool wasEnabled = mIsEnabled; in setEnabled() 77 mIsEnabled = isEnabled; in setEnabled() 105 if (mIsEnabled) { in sample()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerSettings.java | 423 pw.println(item.mIsEnabled); 554 XmlUtils.writeBooleanAttribute(xml, ATTR_IS_ENABLED, item.mIsEnabled); 570 private boolean mIsEnabled; 589 mIsEnabled = isEnabled; 636 return mIsEnabled; 644 if (mIsEnabled != enable) { 645 mIsEnabled = enable;
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplay.java | 149 private boolean mIsEnabled; field in LogicalDisplay 162 mIsEnabled = true; in LogicalDisplay() 751 return mIsEnabled; in isEnabledLocked() 760 mIsEnabled = enabled; in setEnabledLocked() 782 pw.println("mIsEnabled=" + mIsEnabled); in dumpLocked()
|
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | ViewCapture.java | 86 private boolean mIsEnabled = true; field in ViewCapture 137 if (mIsEnabled) MAIN_EXECUTOR.execute(listener::attachToRoot); in startCapture() 147 mIsEnabled = isEnabled; in enableOrDisableWindowListeners() 149 if (mIsEnabled) mListeners.forEach(WindowListener::attachToRoot); in enableOrDisableWindowListeners() 157 if (!mIsEnabled) { in dump()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipResizeGestureHandler.java | 106 private boolean mIsEnabled; field in PipResizeGestureHandler 223 if (isEnabled == mIsEnabled) { in updateIsEnabled() 226 mIsEnabled = isEnabled; in updateIsEnabled() 229 if (mIsEnabled) { in updateIsEnabled() 662 pw.println(innerPrefix + "mIsEnabled=" + mIsEnabled);
|
/frameworks/base/tests/PackageWatchdog/src/com/android/server/ |
D | PackageWatchdogTest.java | 1309 assertThat(controller.mIsEnabled).isTrue(); in testDeviceConfigChange_explicitHealthCheckEnabled() 1314 retry(() -> !controller.mIsEnabled); in testDeviceConfigChange_explicitHealthCheckEnabled() 1315 assertThat(controller.mIsEnabled).isFalse(); in testDeviceConfigChange_explicitHealthCheckEnabled() 1420 assertThat(controller.mIsEnabled).isFalse(); in createWatchdog() 1426 assertThat(controller.mIsEnabled).isTrue(); in createWatchdog() 1519 private boolean mIsEnabled; field in PackageWatchdogTest.TestController 1529 mIsEnabled = enabled; in setEnabled() 1530 if (!mIsEnabled) { in setEnabled() 1547 if (mIsEnabled) { in syncRequests() 1570 if (mIsEnabled) { in getRequestedPackages()
|
/frameworks/base/core/java/android/widget/ |
D | TimePickerSpinnerDelegate.java | 65 private boolean mIsEnabled = DEFAULT_ENABLED_STATE; field in TimePickerSpinnerDelegate 390 mIsEnabled = enabled; in setEnabled() 395 return mIsEnabled; in isEnabled()
|
D | DatePickerSpinnerDelegate.java | 89 private boolean mIsEnabled = DEFAULT_ENABLED_STATE; field in DatePickerSpinnerDelegate 339 mIsEnabled = enabled; in setEnabled() 344 return mIsEnabled; in isEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | EdgeBackGestureHandler.java | 238 private boolean mIsEnabled; field in EdgeBackGestureHandler 514 if (isEnabled == mIsEnabled) { in updateIsEnabledTraced() 517 mIsEnabled = isEnabled; in updateIsEnabledTraced() 525 if (!mIsEnabled) { in updateIsEnabledTraced() 613 return mIsEnabled && mIsBackGestureAllowed; in isHandlingGestures() 1028 pw.println(" mIsEnabled=" + mIsEnabled); in dump()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityManager.java | 237 boolean mIsEnabled; field in AccessibilityManager 591 return mIsEnabled || (mAccessibilityPolicy != null in isEnabled() 592 && mAccessibilityPolicy.isEnabled(mIsEnabled)); in isEnabled() 661 mIsEnabled, mRelevantEventTypes); in sendAccessibilityEvent() 1356 mIsEnabled = enabled; in setStateLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | OverviewProxyService.java | 166 private boolean mIsEnabled; field in OverviewProxyService 796 return mIsEnabled; in isEnabled() 1025 mIsEnabled = mContext.getPackageManager().resolveServiceAsUser(mQuickStepIntent, in updateEnabledState() 1081 mIsEnabled = false; in shutdownForTest()
|