Home
last modified time | relevance | path

Searched refs:disabled (Results 1 – 25 of 202) sorted by relevance

123456789

/frameworks/native/libs/binder/
DIUidObserver.cpp33 virtual void onUidGone(uid_t uid, bool disabled) in onUidGone() argument
38 data.writeInt32(disabled ? 1 : 0); in onUidGone()
50 virtual void onUidIdle(uid_t uid, bool disabled) in onUidIdle() argument
55 data.writeInt32(disabled ? 1 : 0); in onUidIdle()
92 bool disabled = data.readInt32() == 1; in onTransact() local
93 onUidGone(uid, disabled); in onTransact()
107 bool disabled = data.readInt32() == 1; in onTransact() local
108 onUidIdle(uid, disabled); in onTransact()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedPreferenceHelper.java229 boolean disabled = false; in setDisabledByAdmin()
232 disabled = true; in setDisabledByAdmin()
238 if (mDisabledByAdmin != disabled) { in setDisabledByAdmin()
239 mDisabledByAdmin = disabled; in setDisabledByAdmin()
255 boolean disabled = disabledIntent != null; in setDisabledByEcm()
257 if (mDisabledByEcm != disabled) { in setDisabledByEcm()
259 mDisabledByEcm = disabled; in setDisabledByEcm()
302 public boolean setDisabledByAppOps(boolean disabled) { in setDisabledByAppOps() argument
304 if (mDisabledByEcm != disabled) { in setDisabledByAppOps()
305 mDisabledByEcm = disabled; in setDisabledByAppOps()
/frameworks/base/core/java/com/android/internal/compat/
DCompatibilityChangeConfig.java68 Set<Long> disabled = toLongSet(disabledArray); in CompatibilityChangeConfig() local
69 mChangeConfig = new ChangeConfig(enabled, disabled); in CompatibilityChangeConfig()
88 long[] disabled = mChangeConfig.getDisabledChangesArray(); in writeToParcel() local
91 dest.writeLongArray(disabled); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java75 final boolean disabled = (state2 & DISABLE2_GLOBAL_ACTIONS) != 0; in disable()
76 if (displayId != mContext.getDisplayId() || disabled == mDisabled) return; in disable()
77 mDisabled = disabled; in disable()
78 if (disabled) { in disable()
/frameworks/base/core/java/android/app/
DStatusBarManager.java890 public void setDisabledForSetup(boolean disabled) { in setDisabledForSetup() argument
895 svc.disableForUser(disabled ? DEFAULT_SETUP_DISABLE_FLAGS : DISABLE_NONE, in setDisabledForSetup()
897 svc.disable2ForUser(disabled ? DEFAULT_SETUP_DISABLE2_FLAGS : DISABLE2_NONE, in setDisabledForSetup()
916 public void setExpansionDisabledForSimNetworkLock(boolean disabled) { in setExpansionDisabledForSimNetworkLock() argument
921 svc.disableForUser(disabled ? DEFAULT_SIM_LOCKED_DISABLED_FLAGS : DISABLE_NONE, in setExpansionDisabledForSimNetworkLock()
1357 public void setStatusBarExpansionDisabled(boolean disabled) { in setStatusBarExpansionDisabled() argument
1358 mStatusBarExpansion = disabled; in setStatusBarExpansionDisabled()
1372 public void setNagivationHomeDisabled(boolean disabled) { in setNagivationHomeDisabled() argument
1373 mNavigateHome = disabled; in setNagivationHomeDisabled()
1387 public void setNotificationPeekingDisabled(boolean disabled) { in setNotificationPeekingDisabled() argument
[all …]
DIUidObserver.aidl33 void onUidGone(int uid, boolean disabled); in onUidGone() argument
44 void onUidIdle(int uid, boolean disabled); in onUidIdle() argument
DUidObserver.java36 public void onUidGone(int uid, boolean disabled) { in onUidGone() argument
40 public void onUidIdle(int uid, boolean disabled) { in onUidIdle() argument
/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/
DPlatformCompatPermissionsTest.java216 Set<Long> disabled = new HashSet<>(); in setOverrides_noOverridesPermission_throwsSecurityException() local
217 ChangeConfig changeConfig = new ChangeConfig(enabled, disabled); in setOverrides_noOverridesPermission_throwsSecurityException()
228 Set<Long> disabled = new HashSet<>(); in setOverrides_overridesPermission_noThrow() local
229 ChangeConfig changeConfig = new ChangeConfig(enabled, disabled); in setOverrides_overridesPermission_noThrow()
241 Set<Long> disabled = new HashSet<>(); in setOverridesForTest_noOverridesPermission_throwsSecurityException() local
242 ChangeConfig changeConfig = new ChangeConfig(enabled, disabled); in setOverridesForTest_noOverridesPermission_throwsSecurityException()
253 Set<Long> disabled = new HashSet<>(); in setOverridesForTest_overridesPermission_noThrow() local
254 ChangeConfig changeConfig = new ChangeConfig(enabled, disabled); in setOverridesForTest_overridesPermission_noThrow()
/frameworks/native/cmds/dumpstate/
Ddumpstate.rc9 disabled
18 disabled
25 disabled
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeader.java118 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
119 if (disabled == mQsDisabled) return; in disable()
120 mQsDisabled = disabled; in disable()
121 mHeaderQsPanel.setDisabledByPolicy(disabled); in disable()
DQuickQSPanel.java124 void setDisabledByPolicy(boolean disabled) { in setDisabledByPolicy() argument
125 if (disabled != mDisabledByPolicy) { in setDisabledByPolicy()
126 mDisabledByPolicy = disabled; in setDisabledByPolicy()
127 setVisibility(disabled ? View.GONE : View.VISIBLE); in setDisabledByPolicy()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java267 final boolean disabled = umi.getUserRestriction(userId, disallowProperty); in AbstractMasterSystemService()
268 if (disabled) { in AbstractMasterSystemService()
270 mDisabledByUserRestriction.put(userId, disabled); in AbstractMasterSystemService()
538 protected abstract S newServiceLocked(@UserIdInt int resolvedUserId, boolean disabled); in newServiceLocked() argument
550 protected List<S> newServiceListLocked(@UserIdInt int resolvedUserId, boolean disabled, in newServiceListLocked() argument
606 final boolean disabled = isDisabledLocked(userId); in getServiceListForUserLocked()
608 services = newServiceListLocked(resolvedUserId, disabled, in getServiceListForUserLocked()
612 services.add(newServiceLocked(resolvedUserId, disabled)); in getServiceListForUserLocked()
614 if (!disabled) { in getServiceListForUserLocked()
672 protected S updateCachedServiceLocked(@UserIdInt int userId, boolean disabled) { in updateCachedServiceLocked() argument
[all …]
DServiceNameBaseResolver.java132 final boolean disabled = mDefaultServicesDisabled.get(userId); in getServiceNameList()
133 if (disabled) { in getServiceNameList()
314 final boolean disabled = mDefaultServicesDisabled.get(userId); in dumpShort()
315 pw.println(disabled ? " (disabled)" : " (enabled)"); in dumpShort()
/frameworks/native/libs/binder/include_activitymanager/binder/
DIUidObserver.h32 virtual void onUidGone(uid_t uid, bool disabled) = 0;
34 virtual void onUidIdle(uid_t uid, bool disabled) = 0;
/frameworks/base/native/android/
Dactivity_manager.cpp43 void onUidGone(uid_t uid, bool disabled) override;
45 void onUidIdle(uid_t uid, bool disabled) override;
112 void UidObserver::onUidGone(uid_t uid, bool disabled __unused) { in onUidGone()
122 void UidObserver::onUidIdle(uid_t uid __unused, bool disabled __unused) {} in onUidIdle()
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/
DSystemCaptionsManagerService.java48 @UserIdInt int resolvedUserId, boolean disabled) { in newServiceLocked() argument
50 new SystemCaptionsManagerPerUserService(this, mLock, disabled, resolvedUserId); in newServiceLocked()
/frameworks/av/apex/
Dmediatranscoding.32rc6 # "disabled" and start it explicitly on boot.
15 disabled
Dmediatranscoding.rc7 # "disabled" and start it explicitly on boot.
16 disabled
/frameworks/native/services/inputflinger/docs/
Dpointer_capture.md5 …input pipeline in Android 8.0 (Oreo). Pointer Capture can be enabled or disabled for an `InputWind…
14 … they have window focus. If a window with Pointer Capture loses focus, Pointer Capture is disabled.
33 Pointer Capture can be disabled in two ways: by a request through `InputManagerService`, and as a r…
35 When Pointer Capture is disabled by a request from the application, it follows the same pipeline as…
39 When an `InputWindow` with Pointer Capture loses focus, Pointer Capture is disabled immediately. Th…
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceShellCommand.java147 boolean disabled = Boolean.parseBoolean(getNextArgRequired()); in requestDisable()
148 Slog.i(TAG, "requestDisable(): " + disabled); in requestDisable()
150 mService.setDisabled(disabled); in requestDisable()
/frameworks/base/services/core/java/com/android/server/compat/
DOverrideValidatorImpl.java105 boolean disabled = mCompatConfig.isDisabled(changeId); in getOverrideAllowedStateInternal()
144 if (maxTargetSdk == -1 && !disabled) { in getOverrideAllowedStateInternal()
148 if (disabled || appTargetSdk <= maxTargetSdk) { in getOverrideAllowedStateInternal()
/frameworks/av/services/mediaresourcemanager/
DUidObserver.h72 void onUidGone(uid_t uid, bool disabled) override;
74 void onUidIdle(uid_t uid, bool disabled) override;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailItemView.java100 public void setDisabledByAdmin(boolean disabled) { in setDisabledByAdmin() argument
102 mRestrictedPadlock.setVisibility(disabled ? View.VISIBLE : View.GONE); in setDisabledByAdmin()
104 setEnabled(!disabled); in setDisabledByAdmin()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfigTest.kt289 val disabled = pickerScreenState as KeyguardQuickAffordanceConfig.PickerScreenState.Disabled in <lambda>() constant
290 assertThat(disabled.explanation) in <lambda>()
292 assertThat(disabled.actionText).isEqualTo("Select app") in <lambda>()
293 assertThat(disabled.actionIntent?.action) in <lambda>()
295 assertThat(disabled.actionIntent?.`package`).isEqualTo(context.packageName) in <lambda>()
/frameworks/base/core/java/android/webkit/
DUrlInterceptRegistry.java59 public static synchronized void setUrlInterceptDisabled(boolean disabled) { in setUrlInterceptDisabled() argument
60 mDisabled = disabled; in setUrlInterceptDisabled()

123456789