Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 24 of 24) sorted by relevance

/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricServiceTests.java58 for (SensorProperties prop : mSensorProperties) { in testAuthenticatorIdsInvalidated()
59 if (prop.getSensorStrength() == SensorProperties.STRENGTH_STRONG) { in testAuthenticatorIdsInvalidated()
60 strongSensors.add(prop.getSensorId()); in testAuthenticatorIdsInvalidated()
134 for (SensorProperties prop : mSensorProperties) { in testLockoutResetRequestedAfterCredentialUnlock()
136 prop.getSensorId()); in testLockoutResetRequestedAfterCredentialUnlock()
137 enrollForSensor(session, prop.getSensorId()); in testLockoutResetRequestedAfterCredentialUnlock()
155 for (SensorProperties prop : mSensorProperties) { in testLockoutResetRequestedAfterCredentialUnlock()
158 prop.getSensorId(), BiometricsProto.CM_RESET_LOCKOUT); in testLockoutResetRequestedAfterCredentialUnlock()
159 Log.d(TAG, "Sensor: " + prop.getSensorId() in testLockoutResetRequestedAfterCredentialUnlock()
188 for (SensorProperties prop : mSensorProperties) { in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
[all …]
DBiometricActivityTests.java68 for (SensorProperties prop : mSensorProperties) { in testBiometricOnly_authenticateFromForegroundActivity()
69 if (prop.getSensorStrength() == SensorProperties.STRENGTH_CONVENIENCE) { in testBiometricOnly_authenticateFromForegroundActivity()
74 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_authenticateFromForegroundActivity()
78 session, prop.getSensorId(), activitySession); in testBiometricOnly_authenticateFromForegroundActivity()
120 for (SensorProperties prop : mSensorProperties) { in testBiometricOnly_rejectThenErrorFromForegroundActivity()
121 if (prop.getSensorStrength() == SensorProperties.STRENGTH_CONVENIENCE) { in testBiometricOnly_rejectThenErrorFromForegroundActivity()
126 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_rejectThenErrorFromForegroundActivity()
130 session, prop.getSensorId(), activitySession); in testBiometricOnly_rejectThenErrorFromForegroundActivity()
193 for (SensorProperties prop : mSensorProperties) { in testBiometricOnly_rejectThenAuthenticate()
194 if (prop.getSensorStrength() == SensorProperties.STRENGTH_CONVENIENCE) { in testBiometricOnly_rejectThenAuthenticate()
[all …]
DBiometricCryptoTests.java101 for (SensorProperties prop : mSensorProperties) { in testGenerateKeyWhenCredentialAndBiometricEnrolled()
102 final String keyPrefix = "key" + prop.getSensorId(); in testGenerateKeyWhenCredentialAndBiometricEnrolled()
103 Log.d(TAG, "Testing sensor: " + prop + ", key name: " + keyPrefix); in testGenerateKeyWhenCredentialAndBiometricEnrolled()
106 mBiometricManager.createTestSession(prop.getSensorId())) { in testGenerateKeyWhenCredentialAndBiometricEnrolled()
108 enrollForSensor(session, prop.getSensorId()); in testGenerateKeyWhenCredentialAndBiometricEnrolled()
110 if (prop.getSensorStrength() == SensorProperties.STRENGTH_STRONG) { in testGenerateKeyWhenCredentialAndBiometricEnrolled()
DBiometricSimpleTests.java86 for (SensorProperties prop : mSensorProperties) { in testEnroll()
88 mBiometricManager.createTestSession(prop.getSensorId())) { in testEnroll()
89 enrollForSensor(session, prop.getSensorId()); in testEnroll()
107 for (SensorProperties prop : mSensorProperties) { in testSensorPropertiesAndDumpsysMatch()
108 assertTrue(state.mSensorStates.sensorStates.containsKey(prop.getSensorId())); in testSensorPropertiesAndDumpsysMatch()
DBiometricTestBase.java544 for (SensorProperties prop : mSensorProperties) { in getSensorsOfTargetStrength()
545 if (prop.getSensorStrength() == targetStrength) { in getSensorsOfTargetStrength()
546 sensors.add(prop.getSensorId()); in getSensorsOfTargetStrength()
/cts/tests/tests/calendarcommon/src/com/android/calendarcommon2/
DICalendar.java56 public void addProperty(Property prop) { in addProperty() argument
57 String name= prop.getName(); in addProperty()
63 props.add(prop); in addProperty()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPropertyUtil.java132 for (String prop : vendorApiLevelProps) { in getVendorApiLevel()
133 int apiLevel = getPropertyInt(prop); in getVendorApiLevel()
291 String prop = matcher.group(1); in getPropertiesWithPrefix() local
293 if (prop.startsWith(prefix)) { in getPropertiesWithPrefix()
294 result.put(prop, value); in getPropertiesWithPrefix()
DUiDumpUtils.java283 for (Map.Entry<String, Boolean> prop : sNodeFlags.entrySet()) { in appendNode()
284 boolean value = call(node, boolGetter(prop.getKey())); in appendNode()
285 if (value != prop.getValue()) { in appendNode()
288 out.append(prop.getKey()).append(" "); in appendNode()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostDeviceInfo.java52 private String getProperty(String prop) throws Exception { in getProperty() argument
53 return mDevice.executeShellCommand("getprop " + prop).replace("\n", ""); in getProperty()
/cts/hostsidetests/neuralnetworks/src/com/android/nn/host/cts/
DNeuralNetworksStatsTests.java72 String prop = DeviceUtils.getDeviceConfigFeature(getDevice(), in isNnapiLoggingEnabled() local
74 if (prop == null) return false; in isNnapiLoggingEnabled()
77 return prop.equals("1") || prop.equals("y") || prop.equals("yes") || prop.equals("on") in isNnapiLoggingEnabled()
78 || prop.equals("true"); in isNnapiLoggingEnabled()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/
DFingerprintManagerTest.java194 for (SensorProperties prop : mSensorProperties) { in testEnroll()
196 prop.getSensorId())) { in testEnroll()
197 testEnrollForSensor(session, prop.getSensorId()); in testEnroll()
383 for (SensorProperties prop : mSensorProperties) { in createTestSessionsWithEnrollments()
384 final int sensorId = prop.getSensorId(); in createTestSessionsWithEnrollments()
386 testSessions.put(prop.getSensorId(), session); in createTestSessionsWithEnrollments()
/cts/hostsidetests/biometrics/app/src/android/server/biometrics/cts/app/
DBiometricsAtomsHostSideTests.java137 for (SensorProperties prop : mSensorProperties) { in testEnroll()
138 final int sensorId = prop.getSensorId(); in testEnroll()
158 for (SensorProperties prop : filterWeakOrGreaterSensorProperties(mSensorProperties)) { in testAuthenticateWithBiometricPrompt()
159 final int sensorId = prop.getSensorId(); in testAuthenticateWithBiometricPrompt()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DLocaleDeviceInfo.java124 String prop = System.getProperty("android.icu.impl.ICUBinary.dataPath"); in collectLocaleDataFilesInfo() local
128 if (prop != null) { in collectLocaleDataFilesInfo()
129 String[] dataDirs = prop.split(":"); in collectLocaleDataFilesInfo()
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/
DPackageManagerMultiUserTestBase.java146 private String getSystemProperty(String prop) throws Exception { in getSystemProperty() argument
147 return getDevice().executeShellCommand("getprop " + prop).replace("\n", ""); in getSystemProperty()
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DAutoFillServiceTestCase.java453 private Integer getNumberRetries(String prop) {
454 final String value = Settings.Global.getString(sContext.getContentResolver(), prop);
456 Log.i(TAG, "getNumberRetries(): overriding to " + value + " because of '" + prop
461 Log.w(TAG, "error parsing property '" + prop + "'='" + value + "'", e);
/cts/hostsidetests/adpf/src/android/adpf/cts/
DADPFHintSessionHostJUnit4Test.java80 private String getProperty(String prop) throws Exception { in getProperty() argument
81 return mDevice.executeShellCommand("getprop " + prop).replace("\n", ""); in getProperty()
/cts/tests/tests/transition/src/android/transition/cts/
DPropagationTest.java48 for (String prop : propagation.getPropagationProperties()) { in testCircularPropagation()
49 assertTrue(redValues.values.keySet().contains(prop)); in testCircularPropagation()
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/
DActivityManagerForegroundServiceTypeTest.java279 final PackageManager.Property prop = mTargetContext.getPackageManager() in testForegroundServiceTypeSpecialUseProperty() local
286 final PackageManager.Property prop = mTargetContext.getPackageManager() in testForegroundServiceTypeSpecialUseProperty() local
289 assertEquals(expectedPropertyValue, prop.getString()); in testForegroundServiceTypeSpecialUseProperty()
/cts/tools/release-parser/tests/resources/
Dbuild.prop.pb.txt1 name: "build.prop"
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java435 public static String getProperty(ITestDevice device, String prop) throws Exception { in getProperty() argument
436 return device.executeShellCommand("getprop " + prop).replace("\n", ""); in getProperty()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DGlobalSearchSessionCtsTestBase.java2033 String[] prop = in testRegisterObserver_schemaMigration()
2036 assertThat(prop).isNotNull(); in testRegisterObserver_schemaMigration()
2042 .setPropertyString("strProp2", prop) in testRegisterObserver_schemaMigration()
2077 long[] prop = in testRegisterObserver_schemaMigration()
2080 assertThat(prop).isNotNull(); in testRegisterObserver_schemaMigration()
2087 "longProp2", prop[0] + 1000) in testRegisterObserver_schemaMigration()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java153 static ObjectAnimator createInfiniteAnimator(Object target, String prop,
155 ObjectAnimator a = ObjectAnimator.ofFloat(target, prop, start, end);
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandMultiUserTest.kt1421 fun getSystemProperty(prop: String): String { in setSystemProperty()
1422 return SystemUtil.runShellCommand("getprop $prop").replace("\n", "") in setSystemProperty()
DPackageManagerShellCommandInstallTest.java2908 public static String getSystemProperty(String prop) throws Exception { in getSystemProperty() argument
2909 return executeShellCommand("getprop " + prop).replace("\n", ""); in getSystemProperty()