/cts/tests/AlarmManager/util/src/android/alarmmanager/util/ |
D | Utils.java | 35 private static boolean isChangeEnabled(long changeId, String packageName, UserHandle user) { in isChangeEnabled() method in Utils 38 () -> CompatChanges.isChangeEnabled(changeId, packageName, user), in isChangeEnabled() 47 if (!isChangeEnabled(changeId, packageName, UserHandle.of(userId))) { in enableChange() 54 if (!CompatChanges.isChangeEnabled(changeId)) { in enableChangeForSelf()
|
/cts/hostsidetests/appcompat/compatchanges/app/src/com/android/cts/appcompat/compatchanges/ |
D | CompatChangesTest.java | 84 assertThat(CompatChanges.isChangeEnabled(CTS_SYSTEM_API_CHANGEID)).isTrue(); in isChangeEnabled_changeEnabled() 91 assertThat(CompatChanges.isChangeEnabled(CTS_SYSTEM_API_CHANGEID, context.getPackageName(), in isChangeEnabledPackageName_changeEnabled() 99 CompatChanges.isChangeEnabled(CTS_SYSTEM_API_CHANGEID, Process.myUid())).isTrue(); in isChangeEnabledUid_changeEnabled() 105 assertThat(CompatChanges.isChangeEnabled(CTS_SYSTEM_API_CHANGEID)).isFalse(); in isChangeEnabled_changeDisabled() 112 assertThat(CompatChanges.isChangeEnabled(CTS_SYSTEM_API_CHANGEID, context.getPackageName(), in isChangeEnabledPackageName_changeDisabled() 120 CompatChanges.isChangeEnabled(CTS_SYSTEM_API_CHANGEID, Process.myUid())).isFalse(); in isChangeEnabledUid_changeDisabled()
|
/cts/hostsidetests/voiceinteraction/app/src/com/android/cts/voiceinteraction/ |
D | VoiceInteractionCompatTests.java | 57 assertThat(CompatChanges.isChangeEnabled(ENFORCE_HOTWORD_PHRASE_ID)).isTrue(); in enforceHotwordPhraseIdEnabled() 59 assertThat(CompatChanges.isChangeEnabled(ENFORCE_HOTWORD_PHRASE_ID, in enforceHotwordPhraseIdEnabled() 93 assertThat(CompatChanges.isChangeEnabled(ENFORCE_HOTWORD_PHRASE_ID)).isFalse(); in enforceHotwordPhraseIdDisabled() 95 assertThat(CompatChanges.isChangeEnabled(ENFORCE_HOTWORD_PHRASE_ID, in enforceHotwordPhraseIdDisabled()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InlineSuggestionsRequestDeviceTest.java | 52 assertTrue(CompatChanges.isChangeEnabled(169273070L)); in imeAutofillDefaultSupportedLocalesIsEmpty_changeEnabled() 59 assertFalse(CompatChanges.isChangeEnabled(169273070L)); in imeAutofillDefaultSupportedLocalesIsEmpty_changeDisabled()
|
/cts/hostsidetests/media/app/AudioTest/src/android/media/audio/app/ |
D | AudioVolumeBehaviorCompatTest.java | 87 assertTrue(CompatChanges.isChangeEnabled(240663182L)); in changeEnabled_getDeviceVolumeBehaviorReturnsAbsoluteVolumeAdjustOnlyBehavior() 118 assertFalse(CompatChanges.isChangeEnabled(240663182L)); in changeDisabled_getDeviceVolumeBehaviorReturnsFullVolumeBehavior()
|
/cts/tests/framework/base/windowmanager/appCompatViewSandboxOptout/src/android/server/wm/optoutsandboxingviewboundsapis/ |
D | TestCompatViewSandboxOptOutActivity.java | 72 final boolean isCompatChangeEnabled = CompatChanges.isChangeEnabled( in onDraw()
|
/cts/tests/framework/base/windowmanager/appCompatViewSandboxAllowed/src/android/server/wm/allowsandboxingviewboundsapis/ |
D | TestCompatAllowViewSandboxActivity.java | 74 final boolean isCompatChangeEnabled = CompatChanges.isChangeEnabled( in onDraw()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TimingConstraintsTest.java | 110 if (CompatChanges.isChangeEnabled(TestAppInterface.ENFORCE_MINIMUM_TIME_WINDOWS)) { in testJobParameters_expiredDeadline()
|
D | JobInfoTest.java | 107 if (CompatChanges.isChangeEnabled(THROW_ON_UNSUPPORTED_BIAS_USAGE)) { in testBias() 477 if (CompatChanges.isChangeEnabled(REJECT_NEGATIVE_DELAYS_AND_DEADLINES)) { in testMinimumLatency_negative() 516 if (CompatChanges.isChangeEnabled(ENFORCE_MINIMUM_TIME_WINDOWS) && isAconfigFlagEnabled( in testOverrideDeadline_minimumTimeWindows() 537 if (CompatChanges.isChangeEnabled(REJECT_NEGATIVE_DELAYS_AND_DEADLINES)) { in testOverrideDeadline_negative()
|
D | ConnectivityConstraintTest.java | 659 if (CompatChanges.isChangeEnabled(TestAppInterface.ENFORCE_MINIMUM_TIME_WINDOWS)) { in testJobParametersNetwork()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/ |
D | Helper.java | 282 if (SystemUtil.callWithShellPermissionIdentity(() -> CompatChanges.isChangeEnabled( 395 final boolean enableMultipleHotwordDetectors = CompatChanges.isChangeEnabled(
|
/cts/tests/tests/gameframerate/src/ |
D | GameFrameRateTest.java | 104 CompatChanges.isChangeEnabled(DISPLAY_MODE_RETURNS_PHYSICAL_REFRESH_RATE_CHANGEID); in setUp()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | FrameRateOverrideTest.java | 102 CompatChanges.isChangeEnabled(DISPLAY_MODE_RETURNS_PHYSICAL_REFRESH_RATE_CHANGEID); in setUp()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationManagerZenTest.java | 2163 if (!Flags.modesApi() || !CompatChanges.isChangeEnabled(308673617)) { in testSnoozeRule() 2239 if (CompatChanges.isChangeEnabled(308673617)) { in testUnsnoozeRule_disableEnable() 2884 if (!android.app.Flags.modesApi() || !CompatChanges.isChangeEnabled(308670109L)) { in testSetInterruptionFilter_usesAutomaticZenRule() 2902 if (!android.app.Flags.modesApi() || !CompatChanges.isChangeEnabled(308670109L)) { in testSetNotificationPolicy_usesAutomaticZenRule() 2928 if (!android.app.Flags.modesApi() || !CompatChanges.isChangeEnabled(308670109L)) { in testSetInterruptionFilter_withSetNotificationPolicy_sharesAutomaticZenRule()
|
D | NotificationManagerTest.java | 3009 if (!CompatChanges.isChangeEnabled(ENFORCE_NO_CLEAR_FLAG_ON_MEDIA_NOTIFICATION)) { in testMediaStyle_setNoClearFlag() 3035 if (!CompatChanges.isChangeEnabled(ENFORCE_NO_CLEAR_FLAG_ON_MEDIA_NOTIFICATION)) { in testCustomMediaStyle_setNoClearFlag()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockImeSession.java | 416 result.set(CompatChanges.isChangeEnabled(FINISH_INPUT_NO_FALLBACK_CONNECTION, in isFinishInputNoFallbackConnectionEnabled()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | KeyboardVisibilityControlTest.java | 1842 CompatChanges.isChangeEnabled(CLEAR_SHOW_FORCED_FLAG_WHEN_LEAVING, packageName, in isClearShowForcedFlagEnabled()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | system-current.txt | 2084 method public static boolean isChangeEnabled(long); 2085 …FIG", "android.permission.LOG_COMPAT_CHANGE"}) public static boolean isChangeEnabled(long, @NonNul… 2086 …CONFIG", "android.permission.LOG_COMPAT_CHANGE"}) public static boolean isChangeEnabled(long, int);
|