Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParserTest.java238 Properties props = new Properties(); in testParse_nfcProvisioningIntent() local
239 props.setProperty(EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME, TEST_PACKAGE_NAME); in testParse_nfcProvisioningIntent()
240 props.setProperty( in testParse_nfcProvisioningIntent()
243 setTestWifiInfo(props); in testParse_nfcProvisioningIntent()
244 setTestTimeTimeZoneAndLocale(props); in testParse_nfcProvisioningIntent()
245 setTestDeviceAdminDownload(props); in testParse_nfcProvisioningIntent()
246 props.setProperty(EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE, getTestAdminExtrasString()); in testParse_nfcProvisioningIntent()
247 props.setProperty( in testParse_nfcProvisioningIntent()
251 props.setProperty(EXTRA_PROVISIONING_MAIN_COLOR, Integer.toString(TEST_MAIN_COLOR)); in testParse_nfcProvisioningIntent()
253 Intent intent = buildNfcProvisioningIntent(props); in testParse_nfcProvisioningIntent()
[all …]
DMessageParserTest.java84 Properties props = new Properties(); in test_correctParserUsedToParseNfcIntent() local
86 props.setProperty(EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME, TEST_PACKAGE_NAME); in test_correctParserUsedToParseNfcIntent()
87 props.setProperty( in test_correctParserUsedToParseNfcIntent()
90 props.store(stream, "NFC provisioning intent" /* data description */); in test_correctParserUsedToParseNfcIntent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParser.java134 Properties props = new Properties(); in parse() local
135 props.load(new StringReader(new String(firstRecord.getPayload(), UTF_8))); in parse()
147 props, EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME)); in parse()
149 props, EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME)) in parse()
155 builder.setTimeZone(getPropertyFromLongName(props, EXTRA_PROVISIONING_TIME_ZONE)) in parse()
157 getPropertyFromLongName(props, EXTRA_PROVISIONING_LOCALE))); in parse()
158 if ((s = getPropertyFromLongName(props, EXTRA_PROVISIONING_LOCAL_TIME)) != null) { in parse()
163 builder.setWifiInfo(parseWifiInfoFromProperties(props)) in parse()
165 .setDeviceAdminDownloadInfo(parsePackageDownloadInfoFromProperties(props)) in parse()
170 .setAdminExtrasBundle(deserializeExtrasBundle(props, in parse()
[all …]
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java87 private int countNumPropEventsToSkip(CarPropertyManager propMgr, ArraySet<Integer> props) { in countNumPropEventsToSkip() argument
89 for (CarPropertyConfig c : propMgr.getPropertyList(props)) { in countNumPropEventsToSkip()
109 ArraySet<Integer> props = new ArraySet<>(); in testHvacHardButtonOperations() local
111 if (!props.contains(event.getPropertyId())) { in testHvacHardButtonOperations()
112 props.add(event.getPropertyId()); in testHvacHardButtonOperations()
116 int numToSkip = countNumPropEventsToSkip(propMgr, props); in testHvacHardButtonOperations()
121 for (Integer prop : props) { in testHvacHardButtonOperations()
/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.java143 Properties props = new Properties(); in testGetAllProvisioningExtras_Nfc() local
145 props.setProperty(EXTRA_PROVISIONING_MAIN_COLOR, ""); in testGetAllProvisioningExtras_Nfc()
146 props.setProperty(INVALID_PROVISIONING_EXTRA, ""); in testGetAllProvisioningExtras_Nfc()
147 props.setProperty(EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME, ""); in testGetAllProvisioningExtras_Nfc()
148 props.store(stream, "NFC provisioning intent" /* data description */); in testGetAllProvisioningExtras_Nfc()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp97 jintArray* types, jobjectArray* props) { in get_properties() argument
108 callbackEnv->SetObjectArrayElement(*props, i, propVal.get()); in get_properties()
140 ScopedLocalRef<jobjectArray> props( in adapter_properties_callback() local
143 if (!props.get()) { in adapter_properties_callback()
156 jobjectArray propsPtr = props.get(); in adapter_properties_callback()
163 types.get(), props.get()); in adapter_properties_callback()
194 ScopedLocalRef<jobjectArray> props( in remote_device_properties_callback() local
197 if (!props.get()) { in remote_device_properties_callback()
220 jobjectArray propsPtr = props.get(); in remote_device_properties_callback()
227 types.get(), props.get()); in remote_device_properties_callback()
Dcom_android_bluetooth_gatt.cpp1732 uint16_t props = 0; in parseParams() local
1733 if (isConnectable) props |= 0x01; in parseParams()
1734 if (isScannable) props |= 0x02; in parseParams()
1735 if (isLegacy) props |= 0x10; in parseParams()
1736 if (isAnonymous) props |= 0x20; in parseParams()
1737 if (includeTxPower) props |= 0x40; in parseParams()
1743 p.advertising_event_properties = props; in parseParams()
1774 uint16_t props = 0; in parsePeriodicParams() local
1775 if (includeTxPower) props |= 0x40; in parsePeriodicParams()
1776 p.periodic_advertising_properties = props; in parsePeriodicParams()
/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/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/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/services/Car/vehicle-hal-support-lib/src/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/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java1039 mLazilyCreatedExecutor, (props) -> onDeviceConfigUpdated()); in startListeningToDeviceConfigUpdates()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...