Home
last modified time | relevance | path

Searched refs:allowed (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/security/native/encryption/
DFileBasedEncryptionPolicyTest.cpp112 bool allowed = false; in validateEncryptionModes() local
116 allowed = true; in validateEncryptionModes()
123 allowed = allow_legacy_modes; in validateEncryptionModes()
124 if (allowed) { in validateEncryptionModes()
129 if (!allowed) { in validateEncryptionModes()
133 allowed = false; in validateEncryptionModes()
137 allowed = true; in validateEncryptionModes()
145 allowed = allow_legacy_modes; in validateEncryptionModes()
146 if (allowed) { in validateEncryptionModes()
152 if (!allowed) { in validateEncryptionModes()
/cts/hostsidetests/seccomp/app/
Dgen_blocklist.py169 allowed = {}
175 allowed[arch] = create_syscall_name_to_number_map(
180 with open(args.allowed, 'w') as f:
182 json.dump(allowed, f, sort_keys=True, indent=2)
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeSettings.java162 public Builder setFullscreenModeAllowed(boolean allowed) { in setFullscreenModeAllowed() argument
163 mBundle.putBoolean(FULLSCREEN_MODE_ALLOWED, allowed); in setFullscreenModeAllowed()
266 public Builder setHardKeyboardConfigurationBehaviorAllowed(boolean allowed) { in setHardKeyboardConfigurationBehaviorAllowed() argument
267 mBundle.putBoolean(HARD_KEYBOARD_CONFIGURATION_BEHAVIOR_ALLOWED, allowed); in setHardKeyboardConfigurationBehaviorAllowed()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellUtils.java82 public static void setOverlayPermissions(@NonNull String packageName, boolean allowed) { in setOverlayPermissions() argument
83 final String action = allowed ? "allow" : "ignore"; in setOverlayPermissions()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DDeviceIdentifierTest.java69 private void setDeviceIdentifierAccessAppOp(String packageName, boolean allowed) in setDeviceIdentifierAccessAppOp() argument
73 + "READ_DEVICE_IDENTIFIERS " + (allowed ? "allow" : "deny"); in setDeviceIdentifierAccessAppOp()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_notify_response/
DNotificationResponse.java38 allowed(0), enumConstant
/cts/tests/tests/os/assets/minijail/
Disolated-common.policy44 … FUTEX_WAKE_OP,FUTEX_WAIT_BITSET,FUTEX_WAKE_BITSET} with only these flags allowed:
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSecurityLoggingTest.java474 private void assertOneOf(Set<String> allowed, String s) { in assertOneOf() argument
475 assertTrue(String.format("\"%s\" is not one of [%s]", s, String.join(", ", allowed)), in assertOneOf()
476 allowed.contains(s)); in assertOneOf()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java1846 private void setInstallPackageAppOps(String packageName, boolean allowed, int userId) in setInstallPackageAppOps() argument
1850 + (allowed ? "allow" : "default"); in setInstallPackageAppOps()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dsingle_source_alloc.rscript366 _RS_ASSERT(rsIsObject(rsCreateType(I32_3, 0))); // x = 0 is allowed
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c1079 u32 allowed; member
1088 n.allowed = ~0u; in grant()
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile226 # Regexp for a line that is allowed to be longer than the limit.
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale289 o Other optimizations are allowed, but they should be indicated
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java4623 private void setAppOpsPermissionAllowed(boolean allowed, String op) { in setAppOpsPermissionAllowed() argument
4625 int mode = allowed ? AppOpsManager.MODE_ALLOWED : AppOpsManager.opToDefaultMode(op); in setAppOpsPermissionAllowed()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java759 private void setBubblesChannelAllowed(boolean allowed) throws Exception { in setBubblesChannelAllowed() argument
764 + " " + Boolean.toString(allowed) in setBubblesChannelAllowed()