/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ContentCaptureActivity.java | 59 public void waitContentCaptureEnabled(boolean enabled) throws InterruptedException { in waitContentCaptureEnabled() argument 63 final CountDownLatch latch = enabled ? mEnabledLatch : mDisabledLatch; in waitContentCaptureEnabled() 68 + " didn't get " + (enabled ? "enabled" : "disabled") + " state in 2 seconds"); in waitContentCaptureEnabled() 83 boolean enabled = intent.getBooleanExtra("enabled", false); in onReceive() 84 if (enabled) { in onReceive()
|
D | ResetPasswordTest.java | 73 private void assertResetPasswordEnabled(boolean enabled, String password) { in assertResetPasswordEnabled() argument 79 if (enabled) { in assertResetPasswordEnabled() 84 if (enabled) { in assertResetPasswordEnabled()
|
/cts/hostsidetests/devicepolicy/app/NoLaunchableActivityApp/ |
D | Android.bp | 20 enabled: false, 23 enabled: false, 40 enabled: false, 43 enabled: false, 61 enabled: false, 64 enabled: false,
|
/cts/hostsidetests/devicepolicy/app/ContentSuggestionsApp/src/com/android/cts/devicepolicy/contentsuggestionsapp/ |
D | SimpleActivity.java | 37 final boolean enabled = mgr.isEnabled(); in onStart() 38 Log.v(TAG, "enabled: " + enabled); in onStart() 39 setResult(enabled ? 1 : 0); in onStart()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | AppStandbyUtils.java | 46 public static void setAppStandbyEnabledAtRuntime(boolean enabled) { in setAppStandbyEnabledAtRuntime() argument 47 final String value = enabled ? "1" : "0"; in setAppStandbyEnabledAtRuntime() 48 Log.d(TAG, "Setting AppStandby " + (enabled ? "enabled" : "disabled") + " at runtime."); in setAppStandbyEnabledAtRuntime()
|
D | BatteryUtils.java | 80 public static void enableBatterySaver(boolean enabled) throws Exception { in enableBatterySaver() argument 81 if (enabled) { in enableBatterySaver() 110 Log.d(TAG, "Battery saver turned " + (enabled ? "ON" : "OFF")); in enableBatterySaver()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | AppStandbyUtils.java | 46 public static void setAppStandbyEnabledAtRuntime(boolean enabled) { in setAppStandbyEnabledAtRuntime() argument 47 final String value = enabled ? "1" : "0"; in setAppStandbyEnabledAtRuntime() 48 Log.d(TAG, "Setting AppStandby " + (enabled ? "enabled" : "disabled") + " at runtime."); in setAppStandbyEnabledAtRuntime()
|
D | BatteryUtils.java | 81 public static void enableBatterySaver(boolean enabled) throws Exception { in enableBatterySaver() argument 82 if (enabled) { in enableBatterySaver() 111 Log.d(TAG, "Battery saver turned " + (enabled ? "ON" : "OFF")); in enableBatterySaver()
|
/cts/hostsidetests/devicepolicy/app/DeviceAdminService/src/com/android/cts/deviceadminservice/ |
D | ComponentController.java | 26 private void enableComponent(ComponentName cn, boolean enabled) { in enableComponent() argument 28 (enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED : in enableComponent() 31 Log.i(TAG, "setComponentEnabledSetting: " + cn + " enabled=" + enabled); in enableComponent()
|
/cts/hostsidetests/devicepolicy/app/AutofillApp/src/com/android/cts/devicepolicy/autofillapp/ |
D | SimpleActivity.java | 27 final boolean enabled = getSystemService(AutofillManager.class).isEnabled(); in onStart() 28 setResult(enabled ? 1 : 0); in onStart()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DynamicsProcessingTest.java | 894 final boolean enabled = true; in test2_6Eq() 897 Eq eq = new Eq(inUse, enabled, bandCount); in test2_6Eq() 899 assertEquals("eq enabled is different", enabled, eq.isEnabled()); in test2_6Eq() 903 eq.setEnabled(!enabled); in test2_6Eq() 904 assertEquals("eq enabled is different", !enabled, eq.isEnabled()); in test2_6Eq() 912 eqBand.setEnabled(enabled); in test2_6Eq() 919 assertEquals("eq enabled is different in band " + i, enabled, in test2_6Eq() 927 EqBand eqBand2 = new EqBand(enabled, frequency, gain); in test2_6Eq() 929 assertEquals("eq enabled is different in band " + i, enabled, in test2_6Eq() 944 final boolean enabled = true; in test2_7Mbc() [all …]
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
D | QuietModeTest.java | 136 private Intent trySetQuietModeEnabled(boolean enabled) throws Exception { in trySetQuietModeEnabled() argument 137 final String action = enabled in trySetQuietModeEnabled() 146 boolean notShowingConfirmCredential = askLauncherSupportAppToSetQuietMode(enabled); in trySetQuietModeEnabled() 167 private boolean askLauncherSupportAppToSetQuietMode(boolean enabled) throws Exception { in askLauncherSupportAppToSetQuietMode() argument 170 intent.putExtra("quiet_mode", enabled); in askLauncherSupportAppToSetQuietMode()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/ |
D | poc.cpp | 30 virtual void enableStatusChanged(bool enabled __unused) {} in enableStatusChanged() 63 int i, enabled; in main() local 82 &err, &id, &enabled); in main()
|
/cts/hostsidetests/appsecurity/test-apps/keysets/uA/ |
D | Android.bp | 23 enabled: false, 41 enabled: false, 59 enabled: false, 78 enabled: false,
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 739 protected void setRestrictBackground(boolean enabled) throws Exception { in setRestrictBackground() argument 740 executeShellCommand("cmd netpolicy set restrict-background " + enabled); in setRestrictBackground() 742 final String expectedSuffix = enabled ? "enabled" : "disabled"; in setRestrictBackground() 914 protected void setBatterySaverMode(boolean enabled) throws Exception { in setBatterySaverMode() argument 915 Log.i(TAG, "Setting Battery Saver Mode to " + enabled); in setBatterySaverMode() 916 if (enabled) { in setBatterySaverMode() 925 protected void setDozeMode(boolean enabled) throws Exception { in setDozeMode() argument 929 Log.i(TAG, "Setting Doze Mode to " + enabled); in setDozeMode() 930 if (enabled) { in setDozeMode() 940 assertDozeMode(enabled); in setDozeMode() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioOutputRoutingNotificationsActivity.java | 88 protected void enableTestButtons(boolean enabled) { in enableTestButtons() argument 89 playBtn.setEnabled(enabled); in enableTestButtons() 90 stopBtn.setEnabled(enabled); in enableTestButtons()
|
D | AudioInputRoutingNotificationsActivity.java | 87 protected void enableTestButtons(boolean enabled) { in enableTestButtons() argument 88 recordBtn.setEnabled(enabled); in enableTestButtons() 89 stopBtn.setEnabled(enabled); in enableTestButtons()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | OnCreateServiceStatusVerifierActivity.java | 48 void assertServiceStatusOnCreate(boolean enabled) { in assertServiceStatusOnCreate() argument 49 if (enabled) { in assertServiceStatusOnCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | TvAppVerifierActivity.java | 60 protected void setButtonEnabled(View item, boolean enabled) { in setButtonEnabled() argument 62 button.setFocusable(enabled); in setButtonEnabled() 63 button.setClickable(enabled); in setButtonEnabled() 64 button.setEnabled(enabled); in setButtonEnabled()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | WifiTest.java | 154 private void awaitWifiEnabledState(boolean enabled) throws RuntimeException { in awaitWifiEnabledState() argument 159 if (mWifiManager.isWifiEnabled() == enabled) { in awaitWifiEnabledState() 163 throw new RuntimeException("Waited too long for wifi enabled state = " + enabled); in awaitWifiEnabledState()
|
/cts/hostsidetests/appsecurity/test-apps/keysets/uB/ |
D | Android.bp | 23 enabled: false, 41 enabled: false, 60 enabled: false,
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ComponentInfoTest.java | 153 mComponentInfo.enabled = false; in testIsEnabled() 156 mComponentInfo.enabled = true; in testIsEnabled() 157 mComponentInfo.applicationInfo.enabled = false; in testIsEnabled() 231 assertEquals(mComponentInfo.enabled, ci.enabled); in testWriteToParcel()
|
/cts/tests/ProcessTest/ShareUidApp/ |
D | Android.bp | 21 enabled: false, 24 enabled: false,
|
/cts/hostsidetests/jvmti/run-tests/ |
D | Android.bp | 18 enabled: false, 21 enabled: false,
|
/cts/tests/ProcessTest/NoShareUidApp/ |
D | Android.bp | 21 enabled: false, 24 enabled: false,
|