Home
last modified time | relevance | path

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

12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParserTest.java228 Properties props = new Properties(); in testParse_nfcProvisioningIntent() local
229 props.setProperty(EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME, TEST_PACKAGE_NAME); in testParse_nfcProvisioningIntent()
230 props.setProperty( in testParse_nfcProvisioningIntent()
233 setTestWifiInfo(props); in testParse_nfcProvisioningIntent()
234 setTestTimeTimeZoneAndLocale(props); in testParse_nfcProvisioningIntent()
235 setTestDeviceAdminDownload(props); in testParse_nfcProvisioningIntent()
236 props.setProperty(EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE, getTestAdminExtrasString()); in testParse_nfcProvisioningIntent()
237 props.setProperty( in testParse_nfcProvisioningIntent()
241 Intent intent = buildNfcProvisioningIntent(props); in testParse_nfcProvisioningIntent()
310 Properties props = new Properties(); in testParse_nfcProvisioning_wifiWithCertificates() local
[all …]
DMessageParserTest.java76 Properties props = new Properties(); in test_correctParserUsedToParseNfcIntent() local
78 props.setProperty(EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME, TEST_PACKAGE_NAME); in test_correctParserUsedToParseNfcIntent()
79 props.setProperty( in test_correctParserUsedToParseNfcIntent()
82 props.store(stream, "NFC provisioning intent" /* data description */); in test_correctParserUsedToParseNfcIntent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParser.java139 Properties props = new Properties(); in parse() local
140 props.load(new StringReader(new String(firstRecord.getPayload(), UTF_8))); in parse()
153 props, EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME)); in parse()
155 props, EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME)) in parse()
161 builder.setTimeZone(getPropertyFromLongName(props, EXTRA_PROVISIONING_TIME_ZONE)) in parse()
163 getPropertyFromLongName(props, EXTRA_PROVISIONING_LOCALE))); in parse()
164 if ((s = getPropertyFromLongName(props, EXTRA_PROVISIONING_LOCAL_TIME)) != null) { in parse()
169 builder.setWifiInfo(parseWifiInfoFromProperties(props)) in parse()
171 .setDeviceAdminDownloadInfo(parsePackageDownloadInfoFromProperties(props)) in parse()
176 .setAdminExtrasBundle(deserializeExtrasBundle(props, in parse()
[all …]
/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/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/
DAnalyticsUtilsTest.java139 Properties props = new Properties(); in testGetAllProvisioningExtras_Nfc() local
141 props.setProperty(INVALID_PROVISIONING_EXTRA, ""); in testGetAllProvisioningExtras_Nfc()
142 props.setProperty(EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME, ""); in testGetAllProvisioningExtras_Nfc()
143 props.store(stream, "NFC provisioning intent" /* data description */); in testGetAllProvisioningExtras_Nfc()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollFindSensor.java60 final List<FingerprintSensorPropertiesInternal> props = in onCreate() local
62 mCanAssumeUdfps = props != null && props.size() == 1 && props.get(0).isAnyUdfpsType(); in onCreate()
DFingerprintEnrollEnrolling.java129 final List<FingerprintSensorPropertiesInternal> props = in onCreate() local
131 mCanAssumeUdfps = props.size() == 1 && props.get(0).isAnyUdfpsType(); in onCreate()
DFingerprintEnrollIntroduction.java207 final List<FingerprintSensorPropertiesInternal> props = in checkMaxEnrolled() local
210 final int max = props.get(0).maxEnrollmentsPerUser; in checkMaxEnrolled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintSuggestionActivityTest.java90 final ArrayList<FingerprintSensorPropertiesInternal> props = new ArrayList<>(); in setUp() local
91 props.add(prop); in setUp()
92 ShadowFingerprintManager.setSensorProperties(props); in setUp()
DSetupFingerprintEnrollIntroductionTest.java95 final ArrayList<FingerprintSensorPropertiesInternal> props = new ArrayList<>(); in setUp() local
96 props.add(prop); in setUp()
97 ShadowFingerprintManager.setSensorProperties(props); in setUp()
/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/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DAnalyticsUtils.java147 Properties props = new Properties(); in getExtrasFromProperties() local
148 props.load(new StringReader(new String(firstRecord.getPayload(), UTF_8))); in getExtrasFromProperties()
149 final Set<String> keys = props.stringPropertyNames(); in getExtrasFromProperties()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DICalendarTest.java84 List<ICalendar.Property> props = component.getProperties("PROP1"); in testParseBasicComponent() local
85 assertEquals(2, props.size()); in testParseBasicComponent()
86 List<ICalendar.Parameter> params = props.get(1).getParameters("PARAM1"); in testParseBasicComponent()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp112 jintArray* types, jobjectArray* props) { in get_properties() argument
123 callbackEnv->SetObjectArrayElement(*props, i, propVal.get()); in get_properties()
155 ScopedLocalRef<jobjectArray> props( in adapter_properties_callback() local
158 if (!props.get()) { in adapter_properties_callback()
171 jobjectArray propsPtr = props.get(); in adapter_properties_callback()
178 types.get(), props.get()); in adapter_properties_callback()
209 ScopedLocalRef<jobjectArray> props( in remote_device_properties_callback() local
212 if (!props.get()) { in remote_device_properties_callback()
235 jobjectArray propsPtr = props.get(); in remote_device_properties_callback()
242 types.get(), props.get()); in remote_device_properties_callback()
Dcom_android_bluetooth_gatt.cpp1954 uint16_t props = 0; in parseParams() local
1955 if (isConnectable) props |= 0x01; in parseParams()
1956 if (isScannable) props |= 0x02; in parseParams()
1957 if (isLegacy) props |= 0x10; in parseParams()
1958 if (isAnonymous) props |= 0x20; in parseParams()
1959 if (includeTxPower) props |= 0x40; in parseParams()
1965 p.advertising_event_properties = props; in parseParams()
1996 uint16_t props = 0; in parsePeriodicParams() local
1997 if (includeTxPower) props |= 0x40; in parsePeriodicParams()
1998 p.periodic_advertising_properties = props; in parsePeriodicParams()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsUtil.java482 CameraDeviceInfo.Characteristics props = info.getCharacteristics(i); in getCameraId() local
483 if (props == null) { in getCameraId()
487 if (chooser.useCamera(props)) { in getCameraId()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java188 ArraySet<Integer> props = new ArraySet<>(); in testHvacHardButtonOperations() local
190 props.add(event.getPropertyId()); in testHvacHardButtonOperations()
194 for (Integer prop : props) { in testHvacHardButtonOperations()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiCategory.java316 final CategoryProperties props = mShownCategories.get(i); in getPageIdFromCategoryId() local
317 if (props.mCategoryId == categoryId) { in getPageIdFromCategoryId()
320 sum += props.mPageCount; in getPageIdFromCategoryId()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollIntroduction.java226 final List<FaceSensorPropertiesInternal> props = in maxFacesEnrolled() local
229 final int max = props.get(0).maxEnrollmentsPerUser; in maxFacesEnrolled()
/packages/services/Car/vehicle-hal-support-lib/test/com/android/car/vehiclehal/test/
DMockedVehicleHal.java143 public synchronized void getPropConfigs(ArrayList<Integer> props, getPropConfigsCallback cb) { in getPropConfigs() argument
145 for (Integer prop : props) { in getPropConfigs()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DBmessageParser.java92 private ParseException expected(Property... props) { in expected() argument
96 for (Property prop : props) { in expected()
/packages/services/Car/cpp/watchdog/server/sysprop/api/
Dlibwatchdog_properties-latest.txt1 props {
/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.cpp768 hidl_vec<int32_t> props = {prop}; in isPropertySupported() local
778 vhalService->getPropConfigs(props, in isPropertySupported()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.cpp735 hidl_vec<int32_t> props = {static_cast<int32_t>(propId)}; in isVhalPropertySupportedLocked() local
736 mVhalService->getPropConfigs(props, in isVhalPropertySupportedLocked()

12