Home
last modified time | relevance | path

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

/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricServiceTests.java53 for (SensorProperties prop : mSensorProperties) { in testAuthenticatorIdsInvalidated()
54 if (prop.getSensorStrength() == SensorProperties.STRENGTH_STRONG) { in testAuthenticatorIdsInvalidated()
55 strongSensors.add(prop.getSensorId()); in testAuthenticatorIdsInvalidated()
124 for (SensorProperties prop : mSensorProperties) { in testLockoutResetRequestedAfterCredentialUnlock()
125 BiometricTestSession session = mBiometricManager.createTestSession(prop.getSensorId()); in testLockoutResetRequestedAfterCredentialUnlock()
126 enrollForSensor(session, prop.getSensorId()); in testLockoutResetRequestedAfterCredentialUnlock()
143 for (SensorProperties prop : mSensorProperties) { in testLockoutResetRequestedAfterCredentialUnlock()
145 prop.getSensorId(), BiometricsProto.CM_RESET_LOCKOUT); in testLockoutResetRequestedAfterCredentialUnlock()
146 Log.d(TAG, "Sensor: " + prop.getSensorId() in testLockoutResetRequestedAfterCredentialUnlock()
173 for (SensorProperties prop : mSensorProperties) { in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
[all …]
DBiometricActivityTests.java55 for (SensorProperties prop : mSensorProperties) { in testBiometricOnly_authenticateFromForegroundActivity()
56 if (prop.getSensorStrength() == SensorProperties.STRENGTH_CONVENIENCE) { in testBiometricOnly_authenticateFromForegroundActivity()
61 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_authenticateFromForegroundActivity()
65 session, prop.getSensorId(), activitySession); in testBiometricOnly_authenticateFromForegroundActivity()
108 for (SensorProperties prop : mSensorProperties) { in testBiometricOnly_rejectThenErrorFromForegroundActivity()
109 if (prop.getSensorStrength() == SensorProperties.STRENGTH_CONVENIENCE) { in testBiometricOnly_rejectThenErrorFromForegroundActivity()
114 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_rejectThenErrorFromForegroundActivity()
118 session, prop.getSensorId(), activitySession); in testBiometricOnly_rejectThenErrorFromForegroundActivity()
175 for (SensorProperties prop : mSensorProperties) { in testBiometricOnly_rejectThenAuthenticate()
176 if (prop.getSensorStrength() == SensorProperties.STRENGTH_CONVENIENCE) { in testBiometricOnly_rejectThenAuthenticate()
[all …]
DBiometricCryptoTests.java81 for (SensorProperties prop : mSensorProperties) { in testGenerateKeyWhenCredentialAndBiometricEnrolled()
82 final String keyPrefix = "key" + prop.getSensorId(); in testGenerateKeyWhenCredentialAndBiometricEnrolled()
83 Log.d(TAG, "Testing sensor: " + prop + ", key name: " + keyPrefix); in testGenerateKeyWhenCredentialAndBiometricEnrolled()
86 mBiometricManager.createTestSession(prop.getSensorId())) { in testGenerateKeyWhenCredentialAndBiometricEnrolled()
88 enrollForSensor(session, prop.getSensorId()); in testGenerateKeyWhenCredentialAndBiometricEnrolled()
90 if (prop.getSensorStrength() == SensorProperties.STRENGTH_STRONG) { in testGenerateKeyWhenCredentialAndBiometricEnrolled()
DBiometricSimpleTests.java67 for (SensorProperties prop : mSensorProperties) { in testEnroll()
69 mBiometricManager.createTestSession(prop.getSensorId())){ in testEnroll()
70 enrollForSensor(session, prop.getSensorId()); in testEnroll()
85 for (SensorProperties prop : mSensorProperties) { in testSensorPropertiesAndDumpsysMatch()
86 assertTrue(state.mSensorStates.sensorStates.containsKey(prop.getSensorId())); in testSensorPropertiesAndDumpsysMatch()
DBiometricTestBase.java444 for (SensorProperties prop : mSensorProperties) { in getSensorsOfTargetStrength()
445 if (prop.getSensorStrength() == targetStrength) { in getSensorsOfTargetStrength()
446 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/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/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/
DFingerprintServiceTest.java148 for (SensorProperties prop : mSensorProperties) { in testEnroll()
150 = mFingerprintManager.createTestSession(prop.getSensorId())){ in testEnroll()
151 testEnrollForSensor(session, prop.getSensorId()); in testEnroll()
186 for (SensorProperties prop : mSensorProperties) { in testAuthenticateFromForegroundActivity()
188 mFingerprintManager.createTestSession(prop.getSensorId()); in testAuthenticateFromForegroundActivity()
246 for (SensorProperties prop : mSensorProperties) { in testRejectThenErrorFromForegroundActivity()
248 mFingerprintManager.createTestSession(prop.getSensorId()); in testRejectThenErrorFromForegroundActivity()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DLocaleDeviceInfo.java69 String prop = System.getProperty("android.icu.impl.ICUBinary.dataPath"); in collectLocaleDataFilesInfo() local
71 if (prop != null) { in collectLocaleDataFilesInfo()
72 String[] dataDirs = prop.split(":"); in collectLocaleDataFilesInfo()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPropertyUtil.java108 for (String prop : vendorApiLevelProps) { in getVendorApiLevel()
109 int apiLevel = getPropertyInt(prop); in getVendorApiLevel()
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/tests/autofillservice/src/android/autofillservice/cts/commontests/
DAutoFillServiceTestCase.java325 private Integer getNumberRetries(String prop) {
326 final String value = Settings.Global.getString(sContext.getContentResolver(), prop);
328 Log.i(TAG, "getNumberRetries(): overriding to " + value + " because of '" + prop
333 Log.w(TAG, "error parsing property '" + prop + "'='" + value + "'", e);
/cts/hostsidetests/videoencodingminimum/src/android/videoqualityfloor/cts/
DCtsVideoQualityFloorHostTest.java106 private String getProperty(String prop) throws Exception { in getProperty() argument
107 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/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java82 static ObjectAnimator createInfiniteAnimator(Object target, String prop, in createInfiniteAnimator() argument
84 ObjectAnimator a = ObjectAnimator.ofFloat(target, prop, start, end); in createInfiniteAnimator()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java373 public static String getProperty(ITestDevice device, String prop) throws Exception { in getProperty() argument
374 return device.executeShellCommand("getprop " + prop).replace("\n", ""); in getProperty()
/cts/tools/release-parser/tests/resources/
Dbuild.prop.pb.txt1 name: "build.prop"
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DAtomTestCase.java803 protected String getProperty(String prop) throws Exception { in getProperty() argument
804 return getDevice().executeShellCommand("getprop " + prop).replace("\n", ""); in getProperty()