Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 69) sorted by relevance

123

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/velocity/
DVelocityEngineFactory.java49 Properties props = getProperties(context); in getVelocityEngine() local
50 sSingleton.init(props); in getVelocityEngine()
85 Properties props = new Properties(); in getProperties() local
87 props.put("file.resource.loader.path", context.getCacheDir().getAbsolutePath()); in getProperties()
90 props.put("directive.parse.max.depth", 1); in getProperties()
93 props.put("introspector.uberspect.class", in getProperties()
97 props.put("directive.foreach.max_loops", MAX_FOREACH); in getProperties()
100 props.put("resource.default_encoding", "UTF-8"); in getProperties()
103 props.put("velocimacro.permissions.allow.inline.local.scope", true); in getProperties()
105 return props; in getProperties()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollFinish.java69 final List<FingerprintSensorPropertiesInternal> props = in onCreate() local
71 mCanAssumeSfps = props != null && props.size() == 1 && props.get(0).isAnySidefpsType(); in onCreate()
114 final List<FingerprintSensorPropertiesInternal> props = in setDescriptionForSfps() local
116 final int maxEnrollments = props.get(0).maxEnrollmentsPerUser; in setDescriptionForSfps()
148 final List<FingerprintSensorPropertiesInternal> props = in onResume() local
150 int maxEnrollments = props.get(0).maxEnrollmentsPerUser; in onResume()
DFingerprintEnrollIntroduction.java85 final List<FingerprintSensorPropertiesInternal> props = in onCreate() local
87 mCanAssumeUdfps = props != null && props.size() == 1 && props.get(0).isAnyUdfpsType(); in onCreate()
348 final List<FingerprintSensorPropertiesInternal> props = in checkMaxEnrolled() local
351 if (props == null || props.isEmpty()) { in checkMaxEnrolled()
354 final int max = props.get(0).maxEnrollmentsPerUser; in checkMaxEnrolled()
DFingerprintEnrollEnrolling.java236 final List<FingerprintSensorPropertiesInternal> props = in onCreate() local
238 mCanAssumeUdfps = props != null && props.size() == 1 && props.get(0).isAnyUdfpsType(); in onCreate()
239 mCanAssumeSfps = props != null && props.size() == 1 && props.get(0).isAnySidefpsType(); in onCreate()
251 layout.initView(props.get(0), mUdfpsEnrollHelper, mAccessibilityManager); in onCreate()
/packages/modules/Virtualization/pvmfw/avb/
DAndroid.bp123 props: [
137 props: [
151 props: [
165 props: [
183 props: [
214 props: [
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DUpdateParser.java57 String[] props = null; in parse() local
79 props = buffer.lines().toArray(String[]::new); in parse()
91 return new ParsedUpdate(file, payloadOffset, payloadSize, props); in parse()
101 ParsedUpdate(File file, long offset, long size, String[] props) { in ParsedUpdate() argument
105 mProps = props; in ParsedUpdate()
/packages/apps/Settings/src/com/android/settings/biometrics2/data/repository/
DFingerprintRepository.java106 final List<FingerprintSensorPropertiesInternal> props = mSensorPropertiesCache; in getFirstFingerprintSensorPropertiesInternal() local
107 if (props == null) { in getFirstFingerprintSensorPropertiesInternal()
112 return props.size() > 0 ? props.get(0) : null; in getFirstFingerprintSensorPropertiesInternal()
/packages/apps/TV/jni/
DDvbManager.cpp148 .num = 1, .props = testProps in tuneInternal()
206 struct dtv_property props[] = { in tuneInternal() local
211 .num = sizeof(props)/sizeof(dtv_property), .props = props in tuneInternal()
529 .num = 1, .props = testProps in getDeliverySystemTypes()
557 for (unsigned int i = 0; i < feProp.props[0].u.buffer.len; i++) { in getDeliverySystemTypes()
558 switch (feProp.props[0].u.buffer.data[i]) { in getDeliverySystemTypes()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/utils/
DFingerprintRepositoryUtils.java54 final ArrayList<FingerprintSensorPropertiesInternal> props = new ArrayList<>(); in newFingerprintRepository() local
55 props.add(new FingerprintSensorPropertiesInternal( in newFingerprintRepository()
65 callback.onAllAuthenticatorsRegistered(props); in newFingerprintRepository()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollFindSensorTest.java122 final ArrayList<FingerprintSensorPropertiesInternal> props = new ArrayList<>(); in setupActivity_onRearDevice() local
123 props.add(newFingerprintSensorPropertiesInternal(TYPE_REAR)); in setupActivity_onRearDevice()
124 doReturn(props).when(mFingerprintManager).getSensorPropertiesInternal(); in setupActivity_onRearDevice()
130 final ArrayList<FingerprintSensorPropertiesInternal> props = new ArrayList<>(); in setupActivity_onUdfpsDevice() local
131 props.add(newFingerprintSensorPropertiesInternal(TYPE_UDFPS_OPTICAL)); in setupActivity_onUdfpsDevice()
132 doReturn(props).when(mFingerprintManager).getSensorPropertiesInternal(); in setupActivity_onUdfpsDevice()
138 final ArrayList<FingerprintSensorPropertiesInternal> props = new ArrayList<>(); in setupActivity_onSfpsDevice() local
139 props.add(newFingerprintSensorPropertiesInternal(TYPE_POWER_BUTTON)); in setupActivity_onSfpsDevice()
140 doReturn(props).when(mFingerprintManager).getSensorPropertiesInternal(); in setupActivity_onSfpsDevice()
DFingerprintSuggestionActivityTest.java91 final ArrayList<FingerprintSensorPropertiesInternal> props = new ArrayList<>(); in setUp() local
92 props.add(prop); in setUp()
93 ShadowFingerprintManager.setSensorProperties(props); in setUp()
DFingerprintSettingsFragmentTest.java239 final ArrayList<FingerprintSensorPropertiesInternal> props = new ArrayList<>(); in setSensor() local
240 props.add(new FingerprintSensorPropertiesInternal( in setSensor()
247 doReturn(props).when(mFingerprintManager).getSensorPropertiesInternal(); in setSensor()
DSetupFingerprintEnrollIntroductionTest.java111 final ArrayList<FingerprintSensorPropertiesInternal> props = new ArrayList<>(); in setUp() local
112 props.add(prop); in setUp()
113 ShadowFingerprintManager.setSensorProperties(props); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/
DFaceSettingsFooterPreferenceControllerTest.java127 List<FaceSensorPropertiesInternal> props = List.of(new FaceSensorPropertiesInternal( in testString_faceNotClass3() local
136 mCaptor.getValue().onAllAuthenticatorsRegistered(props); in testString_faceNotClass3()
153 List<FaceSensorPropertiesInternal> props = List.of(new FaceSensorPropertiesInternal( in testString_faceClass3() local
162 mCaptor.getValue().onAllAuthenticatorsRegistered(props); in testString_faceClass3()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherLayoutBuilder.kt129 props: Map<String, String>, in <lambda>()
136 putAll(props) in <lambda>()
169 props: Map<String, String>, in <lambda>()
173 Node(tag, HashMap(props).apply { userType?.let { put(ATTR_USER_TYPE, it) } }) in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowFingerprintManager.java33 public static void setSensorProperties(List<FingerprintSensorPropertiesInternal> props) { in setSensorProperties() argument
34 sFingerprintSensorProperties = props; in setSensorProperties()
/packages/services/Car/cpp/security/vehicle_binding_util/tests/
DVehicleBindingIntegrationTest.cpp34 std::vector<int32_t> props = { in isSeedVhalPropertySupported() local
37 auto result = vehicle->getPropConfigs(props); in isSeedVhalPropertySupported()
/packages/modules/Bluetooth/system/gd/discovery/device/
Dbt_property_unittest.cc810 bt_property_t props[kNumberTestedProperties]; member in BtPropertyArrayTest
841 props = (bt_property_t*)malloc(sizeof(bt_property_t) * properties.size()); in SetUp()
844 free(props); in TearDown()
847 bt_property_t* props{nullptr}; member in BtPropertyDynamicArrayTest
856 legacy.Export(props, kNumberTestedProperties); in TEST_F()
858 bt_property_t* p = props; in TEST_F()
889 std::vector<std::shared_ptr<BtProperty>> props = future_vector[i].get(); in TEST_F() local
890 BtPropertyLegacy legacy(props); in TEST_F()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollEnrollingViewModelTest.java123 final ArrayList<FingerprintSensorPropertiesInternal> props = new ArrayList<>(); in testGetFirstFingerprintSensorPropertiesInternal() local
131 props.add(prop); in testGetFirstFingerprintSensorPropertiesInternal()
135 callback.onAllAuthenticatorsRegistered(props); in testGetFirstFingerprintSensorPropertiesInternal()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java448 List<FaceSensorPropertiesInternal> props = List.of(new FaceSensorPropertiesInternal( in isFaceNotConvenienceBiometric_faceStrengthStrong_shouldReturnTrue() local
457 doReturn(props).when(mockFaceManager).getSensorPropertiesInternal(); in isFaceNotConvenienceBiometric_faceStrengthStrong_shouldReturnTrue()
467 List<FaceSensorPropertiesInternal> props = List.of(new FaceSensorPropertiesInternal( in isFaceNotConvenienceBiometric_faceStrengthWeak_shouldReturnTrue() local
476 doReturn(props).when(mockFaceManager).getSensorPropertiesInternal(); in isFaceNotConvenienceBiometric_faceStrengthWeak_shouldReturnTrue()
486 List<FaceSensorPropertiesInternal> props = List.of(new FaceSensorPropertiesInternal( in isFaceNotConvenienceBiometric_faceStrengthConvenience_shouldReturnFalse() local
495 doReturn(props).when(mockFaceManager).getSensorPropertiesInternal(); in isFaceNotConvenienceBiometric_faceStrengthConvenience_shouldReturnFalse()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/repository/
DFingerprintRepositoryTest.java153 final ArrayList<FingerprintSensorPropertiesInternal> props = new ArrayList<>(); in testGetFirstFingerprintSensorPropertiesInternal() local
161 props.add(prop); in testGetFirstFingerprintSensorPropertiesInternal()
165 callback.onAllAuthenticatorsRegistered(props); in testGetFirstFingerprintSensorPropertiesInternal()
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dmigrate.rs355 for (sec, props) in bluez_map { in convert_from_bluez_device()
497 for (k, v) in props { in convert_from_bluez_device()
575 for (sec, props) in ini { in migrate_bluez_devices()
582 for (k, v) in props { in migrate_bluez_devices()
622 for (sec, props) in ini { in merge_and_write_bluez_conf()
624 for (k, v) in props { in merge_and_write_bluez_conf()
749 for (sec, props) in floss_map { in convert_floss_conf()
760 let has_local_keys: bool = props.contains_key("LE_KEY_LENC"); in convert_floss_conf()
761 for (k, v) in props { in convert_floss_conf()
Dbluetooth_manager.rs231 for (sec, props) in floss_map { in config_with_le_device_entry()
237 if !props.contains_key("DevType") { in config_with_le_device_entry()
240 for (k, v) in props { in config_with_le_device_entry()
/packages/modules/Bluetooth/system/bta/has/
Dhas_preset.h47 HasPreset(uint8_t index, uint8_t props = 0,
49 : properties_(props), index_(index) { in properties_() argument
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DICalendarTest.java85 List<ICalendar.Property> props = component.getProperties("PROP1"); in testParseBasicComponent() local
86 assertEquals(2, props.size()); in testParseBasicComponent()
87 List<ICalendar.Parameter> params = props.get(1).getParameters("PARAM1"); in testParseBasicComponent()

123