/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ProxyTest.kt | 59 assertEquals(info.host, System.getProperty("http.proxyHost")) in verifyProxySystemProperties() 60 assertEquals(info.host, System.getProperty("https.proxyHost")) in verifyProxySystemProperties() 62 assertEquals(info.port.toString(), System.getProperty("http.proxyPort")) in verifyProxySystemProperties() 63 assertEquals(info.port.toString(), System.getProperty("https.proxyPort")) in verifyProxySystemProperties() 67 assertEquals(strExcludes, System.getProperty("https.nonProxyHosts")) in verifyProxySystemProperties() 68 assertEquals(strExcludes, System.getProperty("http.nonProxyHosts")) in verifyProxySystemProperties()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarPropertyManagerTest.java | 261 CarPropertyValue<Object[]> result = mManager.getProperty( in testGetMixTypeProperty() 267 result = mManager.getProperty( in testGetMixTypeProperty() 273 result = mManager.getProperty( in testGetMixTypeProperty() 357 CarPropertyValue<Integer[]> result = mManager.getProperty(Integer[].class, in testGetPropertyWithClass() 546 ()->mManager.getProperty(PROP_CAUSE_STATUS_CODE_ACCESS_DENIED, in testGetterExceptionsInQ() 553 ()->mManager.getProperty(PROP_CAUSE_STATUS_CODE_INVALID_ARG, in testGetterExceptionsInQ() 560 ()->mManager.getProperty(PROP_CAUSE_STATUS_CODE_NOT_AVAILABLE, in testGetterExceptionsInQ() 567 ()->mManager.getProperty(PROP_CAUSE_STATUS_CODE_INTERNAL_ERROR, in testGetterExceptionsInQ() 574 ()->mManager.getProperty(NULL_VALUE_PROP, in testGetterExceptionsInQ() 577 Truth.assertThat(mManager.getProperty(PROP_CAUSE_STATUS_CODE_TRY_AGAIN, in testGetterExceptionsInQ() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPropertyManagerUnitTest.java | 157 when(mICarProperty.getProperty(HVAC_TEMPERATURE_SET, 0)).thenReturn(value); in getProperty_returnsValue() 159 assertThat(mCarPropertyManager.getProperty(HVAC_TEMPERATURE_SET, 0)).isEqualTo(value); in getProperty_returnsValue() 481 when(mICarProperty.getProperty(HVAC_TEMPERATURE_SET, 0)).thenThrow( in testGetProperty_syncOpTryAgain() 484 assertThat(mCarPropertyManager.getProperty(HVAC_TEMPERATURE_SET, 0)).isEqualTo(value); in testGetProperty_syncOpTryAgain() 485 verify(mICarProperty, times(2)).getProperty(HVAC_TEMPERATURE_SET, 0); in testGetProperty_syncOpTryAgain() 492 when(mICarProperty.getProperty(HVAC_TEMPERATURE_SET, 0)).thenThrow( in testGetProperty_syncOpTryAgain_exceedRetryCountLimit() 496 mCarPropertyManager.getProperty(HVAC_TEMPERATURE_SET, 0)); in testGetProperty_syncOpTryAgain_exceedRetryCountLimit() 497 verify(mICarProperty, times(10)).getProperty(HVAC_TEMPERATURE_SET, 0); in testGetProperty_syncOpTryAgain_exceedRetryCountLimit() 515 when(mICarProperty.getProperty(HVAC_TEMPERATURE_SET, 0)).thenThrow( in testIsPropertyAvailable_syncOpTryAgain() 520 verify(mICarProperty, times(2)).getProperty(HVAC_TEMPERATURE_SET, 0); in testIsPropertyAvailable_syncOpTryAgain()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManagerNestedClassesTest.java | 87 final String separator = System.getProperty("line.separator"); in VCardFilter_apply_returnsSameVcard() 103 final String separator = System.getProperty("line.separator"); in PropertySelector_checkVCardSelector_atLeastOnePropertyExists_returnsTrue() 116 final String separator = System.getProperty("line.separator"); in PropertySelector_checkVCardSelector_atLeastOnePropertyExists_returnsFalse() 129 final String separator = System.getProperty("line.separator"); in PropertySelector_checkVCardSelector_allPropertiesExist_returnsTrue() 142 final String separator = System.getProperty("line.separator"); in PropertySelector_checkVCardSelector_allPropertiesExist_returnsFalse()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 537 return mService.getProperty(propId, area); in isPropertyAvailable() 589 CarPropertyValue<Boolean> carProp = getProperty(Boolean.class, prop, area); in getBooleanProperty() 617 CarPropertyValue<Float> carProp = getProperty(Float.class, prop, area); in getFloatProperty() 645 CarPropertyValue<Integer> carProp = getProperty(Integer.class, prop, area); in getIntProperty() 675 CarPropertyValue<Integer[]> carProp = getProperty(Integer[].class, prop, area); in getIntArrayProperty() 782 public <E> CarPropertyValue<E> getProperty(@NonNull Class<E> clazz, int propId, int areaId) { in getProperty() method in CarPropertyManager 791 CarPropertyValue<E> propVal = mService.getProperty(propId, areaId); in getProperty() 856 public <E> CarPropertyValue<E> getProperty(int propId, int areaId) { in getProperty() method in CarPropertyManager 861 return mService.getProperty(propId, areaId); in getProperty()
|
D | ICarProperty.aidl | 34 CarPropertyValue getProperty(int prop, int zone) = 3; in getProperty() method
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarVendorExtensionManager.java | 167 return getProperty(propertyClass, propId, 0 /* area */); in getGlobalProperty() 181 public <E> E getProperty(Class<E> propertyClass, int propId, int area) { in getProperty() method in CarVendorExtensionManager 182 return mPropertyManager.getProperty(propertyClass, propId, area).getValue(); in getProperty()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | GenericDocument.java | 259 public Object getProperty(@NonNull String path) { in getProperty() method in GenericDocument 743 Object value = getProperty(path); in getPropertyStringArray() 765 Object value = getProperty(path); in getPropertyLongArray() 787 Object value = getProperty(path); in getPropertyDoubleArray() 809 Object value = getProperty(path); in getPropertyBooleanArray() 834 Object value = getProperty(path); in getPropertyBytesArray() 859 Object value = getProperty(path); in getPropertyDocumentArray() 954 Object property = getProperty(sortedProperties[i]); in appendGenericDocumentString()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | BootCompletedReceiver.java | 59 String dbTime = ContactsDatabaseHelper.getInstance(context).getProperty( in onReceive() 67 dbTime = ContactsDatabaseHelper.getInstance(context).getProperty( in onReceive()
|
D | CallLogDatabaseHelper.java | 294 public String getProperty(String key, String defaultValue) { in getProperty() method in CallLogDatabaseHelper 295 return PropertyUtils.getProperty(getReadableDatabase(), key, defaultValue); in getProperty() 550 if ("1".equals(PropertyUtils.getProperty(calllog, DbProperties.DATA_MIGRATED, ""))) { in migrateFromLegacyTables() 596 PropertyUtils.getProperty(contacts, in migrateFromLegacyTables()
|
/packages/services/Car/tools/emulator/ |
D | vhal_emulator_test.py | 234 self._vhal.getProperty(cfg.prop, area) 258 self._vhal.getProperty(cfg.prop, area) 277 self._vhal.getProperty(prop, 0) 323 self._vhal.getProperty(
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | CarPropertyTest.java | 180 CarPropertyValue receivedEvent = propMgr.getProperty(valueClass, in testHvacHardButtonOperations() 219 CarPropertyValue actualEvent = propMgr.getProperty( in testStaticInfoOperations() 252 CarPropertyValue<Object[]> propertyValue = propertyManager.getProperty(Object[].class, in testMixedTypeProperty() 260 CarPropertyValue<Object[]> result = propertyManager.getProperty(Object[].class, in testMixedTypeProperty()
|
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/ |
D | EnvironmentImpl.java | 163 mGeoDataFile = new File(configProperties.getProperty(RESOURCE_CONFIG_KEY_GEODATA_PATH)); in EnvironmentImpl() 165 configProperties.getProperty(RESOURCE_CONFIG_KEY_DEVICE_CONFIG_NAMESPACE)); in EnvironmentImpl() 167 configProperties.getProperty(RESOURCE_CONFIG_KEY_DEVICE_CONFIG_KEY_PREFIX)); in EnvironmentImpl() 170 configProperties.getProperty(RESOURCE_CONFIG_METRICS_REPORTER_IMPL); in EnvironmentImpl()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | Network.java | 85 Boolean.parseBoolean(System.getProperty("http.keepAlive", "true")); 87 httpKeepAlive ? Integer.parseInt(System.getProperty("http.maxConnections", "5")) : 0; 89 Long.parseLong(System.getProperty("http.keepAliveDuration", "300000")); // 5 minutes.
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringConfigurationTest.java | 164 () -> DeviceConfig.getProperty(eq(NAMESPACE_CONNECTIVITY), in setUp() 356 () -> DeviceConfig.getProperty(eq(NAMESPACE_CONNECTIVITY), in initializeBpfOffloadConfiguration() 401 () -> DeviceConfig.getProperty(eq(NAMESPACE_CONNECTIVITY), in testNewDhcpServerDisabled() 411 () -> DeviceConfig.getProperty(eq(NAMESPACE_CONNECTIVITY), in testNewDhcpServerDisabled() 424 () -> DeviceConfig.getProperty(eq(NAMESPACE_CONNECTIVITY), in testNewDhcpServerEnabled() 587 () -> DeviceConfig.getProperty(eq(NAMESPACE_CONNECTIVITY), in setTetherForceUpstreamAutomaticFlagVersion()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | CallLogMigrationTest.java | 123 dbh.getProperty(CallLogDatabaseHelper.DbProperties.CALL_LOG_LAST_SYNCED, "")); in testMigration() 137 dbh.getProperty(CallLogDatabaseHelper.DbProperties.DATA_MIGRATED, "")); in testMigration()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary.cpp | 180 void Dictionary::getProperty(const char *const query, const int queryLength, char *const outResult, in getProperty() function in latinime::Dictionary 183 return mDictionaryStructureWithBufferPolicy->getProperty(query, queryLength, outResult, in getProperty()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/flags/ |
D | DeviceConfigProxy.kt | 25 val hasProperty = DeviceConfig.getProperty(flag.namespace, flag.name) != null in isEnabled()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/ |
D | NearbyConfiguration.java | 56 return DeviceConfig.getProperty(DeviceConfig.NAMESPACE_TETHERING, name); in getDeviceConfigProperty()
|
/packages/modules/Virtualization/tests/hostside/java/android/virt/test/ |
D | MicrodroidTestCase.java | 148 String separator = System.getProperty("path.separator"); in createPayloadMetadata() 176 String separator = System.getProperty("path.separator"); in resignVirtApex() 463 final String buildType = getDevice().getProperty("ro.build.type");
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | CustomVCardEntry.java | 45 public VCardProperty getProperty(String name) { in getProperty() method in CustomVCardEntry
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDeviceConfig.java | 45 public static String getProperty(String namespace, String name) { in getProperty() method in ShadowDeviceConfig
|
/packages/modules/Connectivity/tests/cts/hostside/src/com/android/cts/net/ |
D | HostsideLinkPropertiesGatingTests.java | 62 if ("user".equals(getDevice().getProperty("ro.build.type"))) return; in testExcludedRoutesChangeDisabledByOverrideOnDebugBuild()
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 296 public String getProperty(String key, String defaultValue) { in getProperty() method in DialerDatabaseHelper 297 return getProperty(getReadableDatabase(), key, defaultValue); in getProperty() 300 public String getProperty(SQLiteDatabase db, String key, String defaultValue) { in getProperty() method in DialerDatabaseHelper 328 final String stored = getProperty(db, key, ""); in getPropertyAsInt()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | PropertyUtils.java | 53 public static String getProperty(SQLiteDatabase db, String key, String defaultValue) { in getProperty() method in PropertyUtils
|