Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 265) sorted by relevance

1234567891011

/cts/hostsidetests/appsecurity/res/pkgsigverify/
Dgenerate-apks.sh5 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --key cts/…
6 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --key cts/…
7 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --key cts/…
8 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --key cts/…
9 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --key cts/…
12 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --verity-e…
13 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --verity-e…
14 apksigner sign --v2-signing-enabled true --v3-signing-enabled false --v4-signing-enabled --verity-e…
17 apksigner sign --v2-signing-enabled false --v3-signing-enabled true --v4-signing-enabled --key cts/…
18 apksigner sign --v2-signing-enabled false --v3-signing-enabled true --v4-signing-enabled --key cts/…
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSetLocationEnabledTest.java53 boolean enabled = mLocationManager.isLocationEnabled(); in testSetLocationEnabled()
54 if (enabled) { in testSetLocationEnabled()
87 private void setLocationEnabledAndWaitIfNecessary(boolean enabled, boolean wait) in setLocationEnabledAndWaitIfNecessary() argument
90 Log.d(TAG, "setting location to " + enabled); in setLocationEnabledAndWaitIfNecessary()
91 mDevicePolicyManager.setLocationEnabled(getWho(), enabled); in setLocationEnabledAndWaitIfNecessary() local
101 .getBooleanExtra(LocationManager.EXTRA_LOCATION_ENABLED, enabled); in setLocationEnabledAndWaitIfNecessary()
103 if (actualEnabled != enabled) { in setLocationEnabledAndWaitIfNecessary()
113 Log.d(TAG, "setting location to " + enabled); in setLocationEnabledAndWaitIfNecessary()
114 mDevicePolicyManager.setLocationEnabled(getWho(), enabled); in setLocationEnabledAndWaitIfNecessary() local
/cts/tests/tests/content/PackagePropertyTestApp/
DAndroid.bp24 enabled: false,
27 enabled: false,
38 enabled: false,
41 enabled: false,
52 enabled: false,
55 enabled: false,
/cts/hostsidetests/packagemanager/domainverification/lib/constants/java/src/com/android/cts/packagemanager/verify/domain/java/
DDomainUtils.kt49 fun setAppLinksAllowed(packageName: String, userId: Int, enabled: Boolean) =
50 "pm set-app-links-allowed --package $packageName --user $userId $enabled"
55 enabled: Boolean,
57 ) = "pm set-app-links-user-selection --package $packageName --user $userId $enabled " +
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvTrackInfoSubject.java106 public void isAudioDescription(boolean enabled) { in isAudioDescription() argument
107 check("isAudioDescription()").that(actual.isAudioDescription()).isEqualTo(enabled); in isAudioDescription()
111 public void isEncrypted(boolean enabled) { in isEncrypted() argument
112 check("isEncrypted()").that(actual.isEncrypted()).isEqualTo(enabled); in isEncrypted()
116 public void isHardOfHearing(boolean enabled) { in isHardOfHearing() argument
117 check("isHardOfHearing()").that(actual.isHardOfHearing()).isEqualTo(enabled); in isHardOfHearing()
121 public void isSpokenSubtitle(boolean enabled) { in isSpokenSubtitle() argument
122 check("isSpokenSubtitle()").that(actual.isSpokenSubtitle()).isEqualTo(enabled); in isSpokenSubtitle()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DContentCaptureActivity.java59 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()
/cts/tests/tests/content/data/
Dreadme.txt13 …apksigner sign --v2-signing-enabled false --v3-signing-enabled false --v4-signing-enabled false --…
14 …apksigner sign --v2-signing-enabled true --v3-signing-enabled true --v4-signing-enabled --key cts/…
15 …apksigner sign --v2-signing-enabled true --v3-signing-enabled true --v4-signing-enabled --key cts/…
16 …apksigner sign --v2-signing-enabled true --v3-signing-enabled true --v4-signing-enabled --verity-e…
/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/
DTimeZoneDetectorShellHelper.java85 public void setAutoDetectionEnabled(boolean enabled) throws Exception { in setAutoDetectionEnabled() argument
86 String cmd = String.format("%s %s", SHELL_COMMAND_SET_AUTO_DETECTION_ENABLED, enabled); in setAutoDetectionEnabled()
97 public void setGeoDetectionEnabled(boolean enabled) throws Exception { in setGeoDetectionEnabled() argument
98 String cmd = String.format("%s %s", SHELL_COMMAND_SET_GEO_DETECTION_ENABLED, enabled); in setGeoDetectionEnabled()
DLocationShellHelper.java58 public void setLocationEnabledForCurrentUser(boolean enabled) throws Exception { in setLocationEnabledForCurrentUser() argument
59 String cmd = String.format("%s %s", SHELL_COMMAND_SET_LOCATION_ENABLED, enabled); in setLocationEnabledForCurrentUser()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeSettings.java243 public Builder setWatermarkEnabled(boolean enabled) { in setWatermarkEnabled() argument
244 mBundle.putBoolean(WATERMARK_ENABLED, enabled); in setWatermarkEnabled()
277 public Builder setInlineSuggestionsEnabled(boolean enabled) { in setInlineSuggestionsEnabled() argument
278 mBundle.putBoolean(INLINE_SUGGESTIONS_ENABLED, enabled); in setInlineSuggestionsEnabled()
294 public Builder setStrictModeEnabled(boolean enabled) { in setStrictModeEnabled() argument
295 mBundle.putBoolean(STRICT_MODE_ENABLED, enabled); in setStrictModeEnabled()
306 public Builder setVerifyUiContextApisInOnCreate(boolean enabled) { in setVerifyUiContextApisInOnCreate() argument
307 mBundle.putBoolean(VERIFY_CONTEXT_APIS_IN_ON_CREATE, enabled); in setVerifyUiContextApisInOnCreate()
/cts/hostsidetests/devicepolicy/app/HasLauncherActivityApp/
DAndroid.bp24 enabled: false,
27 enabled: false,
44 enabled: false,
47 enabled: false,
65 enabled: false,
68 enabled: false,
/cts/hostsidetests/incrementalinstall/app/
DAndroid.bp24 enabled: false,
27 enabled: false,
52 enabled: false,
55 enabled: false,
80 enabled: false,
83 enabled: false,
104 enabled: false,
107 enabled: false,
/cts/hostsidetests/devicepolicy/app/ContentSuggestionsApp/src/com/android/cts/devicepolicy/contentsuggestionsapp/
DSimpleActivity.java37 final boolean enabled = mgr.isEnabled(); in onStart()
38 Log.v(TAG, "enabled: " + enabled); in onStart()
39 setResult(enabled ? 1 : 0); in onStart()
/cts/hostsidetests/devicepolicy/app/DeviceAdminService/src/com/android/cts/deviceadminservice/
DComponentController.java27 private void enableComponent(ComponentName cn, boolean enabled) { in enableComponent() argument
29 (enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED : in enableComponent()
33 + ", enabled=" + enabled); in enableComponent()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAppStandbyUtils.java48 public static void setAppStandbyEnabledAtRuntime(boolean enabled) { in setAppStandbyEnabledAtRuntime() argument
49 final String value = enabled ? "1" : "0"; in setAppStandbyEnabledAtRuntime()
50 Log.d(TAG, "Setting AppStandby " + (enabled ? "enabled" : "disabled") + " at runtime."); in setAppStandbyEnabledAtRuntime()
DBatteryUtils.java106 public static void enableAdaptiveBatterySaver(boolean enabled) { in enableAdaptiveBatterySaver() argument
107 final String setting = enabled ? "true" : "false"; in enableAdaptiveBatterySaver()
116 public static void enableBatterySaver(boolean enabled) throws Exception { in enableBatterySaver() argument
117 if (enabled) { in enableBatterySaver()
129 Log.d(TAG, "Battery saver turned " + (enabled ? "ON" : "OFF")); in enableBatterySaver()
/cts/tests/autofillservice/TestAutofillService/src/android/autofill/cts2/
DQueryAutofillStatusActivity.java57 final boolean enabled = afm.hasEnabledAutofillServices(); in hasEnabledAutofillServicesAndFinish()
58 Log.w(TAG, "hasEnabledAutofillServices()= " + enabled); in hasEnabledAutofillServicesAndFinish()
62 final int resultCode = enabled ? AUTOFILL_ENABLE : AUTOFILL_DISABLE; in hasEnabledAutofillServicesAndFinish()
/cts/hostsidetests/devicepolicy/app/AutofillApp/src/com/android/cts/devicepolicy/autofillapp/
DSimpleActivity.java27 final boolean enabled = getSystemService(AutofillManager.class).isEnabled(); in onStart()
28 setResult(enabled ? 1 : 0); in onStart()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DQuietModeTest.java182 private Intent trySetQuietModeEnabled(boolean enabled, int flags, in trySetQuietModeEnabled() argument
184 return trySetQuietModeEnabled(enabled, true, flags, expectsCredentialsNotNeeded); in trySetQuietModeEnabled()
207 private Intent trySetQuietModeEnabled(boolean enabled) throws Exception { in trySetQuietModeEnabled() argument
208 return trySetQuietModeEnabled(enabled, false, 0, true); in trySetQuietModeEnabled()
211 private Intent trySetQuietModeEnabled(boolean enabled, boolean hasFlags, int flags, in trySetQuietModeEnabled() argument
213 final String action = enabled in trySetQuietModeEnabled()
222 boolean credentialNotNeeded = askLauncherSupportAppToSetQuietMode(enabled, hasFlags, in trySetQuietModeEnabled()
243 …private boolean askLauncherSupportAppToSetQuietMode(boolean enabled, boolean hasFlags, int flags) … in askLauncherSupportAppToSetQuietMode() argument
246 intent.putExtra("quiet_mode", enabled); in askLauncherSupportAppToSetQuietMode()
/cts/tests/tests/gwp-asan/enabled/src/android/gwpasan/
DGwpAsanDefaultActivity.java33 boolean enabled = Utils.isGwpAsanEnabled(); in onCreate()
34 setResult(RESULT_FIRST_USER + (enabled ? 1 : 0)); in onCreate()
DGwpAsanDisabledActivity.java34 boolean enabled = Utils.isGwpAsanEnabled(); in onCreate()
35 setResult(RESULT_FIRST_USER + (enabled ? 1 : 0)); in onCreate()
DGwpAsanEnabledActivity.java33 boolean enabled = Utils.isGwpAsanEnabled(); in onCreate()
34 setResult(RESULT_FIRST_USER + (enabled ? 1 : 0)); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/
DAndroid.bp24 enabled: false,
27 enabled: false,
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/
DLocationModeSetter.java38 public void setLocationEnabled(boolean enabled) throws Exception { in setLocationEnabled() argument
39 if (enabled) { in setLocationEnabled()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLocationModeSetter.java40 public void setLocationEnabled(boolean enabled) throws Exception { in setLocationEnabled() argument
41 if (enabled) { in setLocationEnabled()

1234567891011