Home
last modified time | relevance | path

Searched refs:getProperty (Results 1 – 25 of 64) sorted by relevance

123

/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DNetworkStackUtilsTest.java98 doReturn(null).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_Null()
107 doReturn(TEST_FLAG_VALUE_STRING).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_NotNull()
116 doReturn(TEST_FLAG_VALUE_STRING).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_NormalValue()
126 doReturn(null).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_NullValue()
136 doReturn(Integer.toString(TEST_MAX_FLAG_VALUE + 10)).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_OverMaximumValue()
146 doReturn(Integer.toString(TEST_MIN_FLAG_VALUE - 10)).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_BelowMinimumValue()
156 doReturn(null).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyBoolean_Null()
165 doReturn("true").when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyBoolean_NotNull()
174 doReturn(TEST_FLAG_VALUE_STRING).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testFeatureIsEnabledWithExceptionsEnabled()
182 doReturn(null).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testFeatureIsNotEnabled()
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java366 CarPropertyValue propValue = mService.getProperty(propId, area); in isPropertyAvailable()
382 CarPropertyValue<Boolean> carProp = getProperty(Boolean.class, prop, area); in getBooleanProperty()
393 CarPropertyValue<Float> carProp = getProperty(Float.class, prop, area); in getFloatProperty()
404 CarPropertyValue<Integer> carProp = getProperty(Integer.class, prop, area); in getIntProperty()
416 CarPropertyValue<Integer[]> carProp = getProperty(Integer[].class, prop, area); in getIntArrayProperty()
440 public <E> CarPropertyValue<E> getProperty(@NonNull Class<E> clazz, int propId, int areaId) { in getProperty() method in CarPropertyManager
446 CarPropertyValue<E> propVal = mService.getProperty(propId, areaId); in getProperty()
468 public <E> CarPropertyValue<E> getProperty(int propId, int areaId) { in getProperty() method in CarPropertyManager
470 CarPropertyValue<E> propVal = mService.getProperty(propId, areaId); in getProperty()
DICarProperty.aidl34 CarPropertyValue getProperty(int prop, int zone) = 3; in getProperty() method
/packages/services/Car/car-lib/src/android/car/
DCarInfoManager.java119 CarPropertyValue<String> carProp = mCarPropertyMgr.getProperty(String.class, in getManufacturer()
131 CarPropertyValue<String> carProp = mCarPropertyMgr.getProperty( in getModel()
184 CarPropertyValue<Float> carProp = mCarPropertyMgr.getProperty(Float.class, in getEvBatteryCapacity()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarVendorExtensionManager.java159 return getProperty(propertyClass, propId, 0 /* area */); in getGlobalProperty()
172 public <E> E getProperty(Class<E> propertyClass, int propId, int area) { in getProperty() method in CarVendorExtensionManager
173 return mPropertyManager.getProperty(propertyClass, propId, area).getValue(); in getProperty()
/packages/services/Car/tools/emulator/
Dvhal_emulator_test.py228 self._vhal.getProperty(cfg.prop, area)
252 self._vhal.getProperty(cfg.prop, area)
271 self._vhal.getProperty(prop, 0)
317 self._vhal.getProperty(
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java209 CarPropertyValue value = mHal.getProperty(propId, 0); in registerListener()
218 CarPropertyValue value = mHal.getProperty(propId, areaId); in registerListener()
313 public CarPropertyValue getProperty(int prop, int zone) { in getProperty() method in CarPropertyService
320 return mHal.getProperty(prop, zone); in getProperty()
DCarDrivingStateService.java513 CarPropertyValue propertyValue = mPropertyService.getProperty( in updateVehiclePropertiesIfNeeded()
526 CarPropertyValue propertyValue = mPropertyService.getProperty( in updateVehiclePropertiesIfNeeded()
539 CarPropertyValue propertyValue = mPropertyService.getProperty( in updateVehiclePropertiesIfNeeded()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java256 public String getProperty(String key, String defaultValue) { in getProperty() method in CallLogDatabaseHelper
257 return PropertyUtils.getProperty(getReadableDatabase(), key, defaultValue); in getProperty()
468 if ("1".equals(PropertyUtils.getProperty(calllog, DbProperties.DATA_MIGRATED, ""))) { in migrateFromLegacyTables()
514 PropertyUtils.getProperty(contacts, in migrateFromLegacyTables()
DBootCompletedReceiver.java59 String dbTime = ContactsDatabaseHelper.getInstance(context).getProperty( in onReceive()
67 dbTime = ContactsDatabaseHelper.getInstance(context).getProperty( in onReceive()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogMigrationTest.java77 dbh.getProperty(CallLogDatabaseHelper.DbProperties.CALL_LOG_LAST_SYNCED, "")); in testMigration()
84 dbh.getProperty(CallLogDatabaseHelper.DbProperties.DATA_MIGRATED, "")); in testMigration()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParser.java114 return properties.getProperty(longName); in getPropertyFromLongName()
118 return properties.getProperty(shortName); in getPropertyFromLongName()
293 extrasBundle.putString(propName, extrasProp.getProperty(propName)); in deserializeExtrasBundle()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java165 CarPropertyValue receivedEvent = propMgr.getProperty(valueClass, in testHvacSetGetOperations()
199 CarPropertyValue actualEvent = propMgr.getProperty( in testStaticInfoOperations()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp180 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()
Ddictionary.h104 void getProperty(const char *const query, const int queryLength, char *const outResult,
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java296 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/apps/Messaging/src/com/android/messaging/datamodel/media/
DCustomVCardEntry.java45 public VCardProperty getProperty(String name) { in getProperty() method in CustomVCardEntry
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDeviceConfig.java45 public static String getProperty(String namespace, String name) { in getProperty() method in ShadowDeviceConfig
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/privacy/
DAccessibilityUsagePreferenceController.java50 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_PRIVACY, in getAvailabilityStatus()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DPropertyUtils.java53 public static String getProperty(SQLiteDatabase db, String key, String defaultValue) { in getProperty() method in PropertyUtils
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java522 when(mMockCarPropertyService.getProperty(VehicleProperty.PERF_VEHICLE_SPEED, 0)) in setUpMockParkedState()
532 when(mMockCarPropertyService.getProperty(VehicleProperty.PERF_VEHICLE_SPEED, 0)) in setUpMockDrivingState()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DMultiValueAlpha.java65 public AlphaProperty getProperty(int index) { in getProperty() method in MultiValueAlpha
/packages/apps/Contacts/src/com/android/contacts/extensions/
DExtensionsFactory.java56 final String className = sProperties.getProperty(EXTENDED_PHONE_DIRECTORIES_KEY); in init()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
Ddictionary_structure_with_buffer_policy.h104 virtual void getProperty(const char *const query, const int queryLength, char *const outResult,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.h109 void getProperty(const char *const query, const int queryLength, char *const outResult,

123