/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | PropertiesProvisioningDataParserTest.java | 225 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp() 239 props.setProperty(EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME, TEST_PACKAGE_NAME); in testParse_nfcProvisioningIntent() 240 props.setProperty( 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() 299 properties.setProperty(EXTRA_PROVISIONING_USE_MOBILE_DATA, Boolean.toString(true)); in testParse_nfcProvisioningIntent_setUseMobileDataTrue() 308 properties.setProperty(EXTRA_PROVISIONING_USE_MOBILE_DATA, Boolean.toString(false)); in testParse_nfcProvisioningIntent_setUseMobileDataFalse() 324 props.setProperty( in testParse_nfcProvisioning_wifiWithCertificates() 327 props.setProperty(EXTRA_PROVISIONING_WIFI_SSID, TEST_SSID); in testParse_nfcProvisioning_wifiWithCertificates() [all …]
|
D | MessageParserTest.java | 75 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp() 86 props.setProperty(EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME, TEST_PACKAGE_NAME); in test_correctParserUsedToParseNfcIntent() 87 props.setProperty( in test_correctParserUsedToParseNfcIntent()
|
/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | AssistantSettingsTest.java | 20 import static android.provider.DeviceConfig.setProperty; 83 runWithShellPermissionIdentity(() -> setProperty( in testWrongNamespace() 96 setProperty( in testGenerateRepliesDisabled() 109 setProperty( in testGenerateRepliesEnabled() 122 setProperty( in testGenerateRepliesNullFlag() 131 setProperty( in testGenerateRepliesNullFlag() 144 setProperty( in testGenerateActionsDisabled() 157 setProperty( in testGenerateActionsEnabled() 170 setProperty( in testGenerateActionsNullFlag() 179 setProperty( in testGenerateActionsNullFlag() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarPropertyManagerTest.java | 196 mManager.setProperty(Object[].class, CUSTOM_SEAT_MIXED_PROP_ID_1, in testGetMixTypeProperty() 201 mManager.setProperty(Object[].class, CUSTOM_GLOBAL_MIXED_PROP_ID_2, in testGetMixTypeProperty() 213 mManager.setProperty(Integer[].class, CUSTOM_GLOBAL_INT_ARRAY_PROP, VehicleArea.GLOBAL, in testGetIntArrayProperty() 226 mManager.setProperty(Integer[].class, CUSTOM_GLOBAL_INT_ARRAY_PROP, VehicleArea.GLOBAL, in testGetPropertyWithClass() 343 ()->mManager.setProperty(Integer.class, PROP_CAUSE_STATUS_CODE_ACCESS_DENIED, in testSetterExceptionsInQ() 346 ()->mManager.setProperty(Integer.class, PROP_CAUSE_STATUS_CODE_INTERNAL_ERROR, in testSetterExceptionsInQ() 349 ()->mManager.setProperty(Integer.class, PROP_CAUSE_STATUS_CODE_NOT_AVAILABLE, in testSetterExceptionsInQ() 352 ()->mManager.setProperty(Integer.class, PROP_CAUSE_STATUS_CODE_INVALID_ARG, in testSetterExceptionsInQ() 355 ()->mManager.setProperty(Integer.class, PROP_CAUSE_STATUS_CODE_ACCESS_DENIED, in testSetterExceptionsInQ() 365 ()->mManager.setProperty(Integer.class, PROP_CAUSE_STATUS_CODE_ACCESS_DENIED, in testSetterExceptionsInR() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/ |
D | EnableContentCapturePreferenceControllerTest.java | 61 setProperty(0); in isChecked_settingIsOff_false() 68 setProperty(1); in isChecked_settingIsOn_true() 75 setProperty(0); in changePref_turnOn_shouldChangeSettingTo1() 85 setProperty(1); in changePref_turnOff_shouldChangeSettingTo0() 93 private void setProperty(int newValue) throws SettingNotFoundException { in setProperty() method in EnableContentCapturePreferenceControllerTest
|
/packages/services/Car/tools/emulator/ |
D | gui.py | 107 vhal.setProperty(c.VEHICLEPROPERTY_TURN_SIGNAL_STATE, 0, group.checkedId()) 115 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_PARK) 118 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_REVERSE) 121 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_DRIVE) 143 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_PARK)
|
D | vhal_emulator_test.py | 253 self._vhal.setProperty(cfg.prop, area, testValue) 268 self._vhal.setProperty(cfg.prop, area, origValue) 295 self._vhal.setProperty(prop, area, value) 308 self._vhal.setProperty(
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/instrumentation/ |
D | SettingsEventLogWriterTest.java | 61 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in visible_eventLogEnabled_shouldLog() 72 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in hidden_eventLogEnabled_shouldLog() 82 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in visible_eventLogDisabled_shouldNotLog() 93 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in hidden_eventLogDisabled_shouldNotLog()
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/ |
D | CarPropertyManagerPublicPermissionTest.java | 264 mPropertyManager.setProperty(Float[].class, propertyId, DUMMY_AREA_ID, in testCarPropertyManagerSetter() 272 mPropertyManager.setProperty(Integer[].class, propertyId, DUMMY_AREA_ID, in testCarPropertyManagerSetter() 276 mPropertyManager.setProperty(Long.class, propertyId, DUMMY_AREA_ID, in testCarPropertyManagerSetter() 280 mPropertyManager.setProperty(Long[].class, propertyId, DUMMY_AREA_ID, in testCarPropertyManagerSetter() 284 mPropertyManager.setProperty(byte[].class, propertyId, DUMMY_AREA_ID, in testCarPropertyManagerSetter() 288 mPropertyManager.setProperty(Object[].class, propertyId, DUMMY_AREA_ID, in testCarPropertyManagerSetter() 292 mPropertyManager.setProperty(String.class, propertyId, DUMMY_AREA_ID, in testCarPropertyManagerSetter()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/ |
D | AnalyticsUtilsTest.java | 69 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp() 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()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AdvancedBluetoothDetailsHeaderControllerTest.java | 183 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_untetheredHeadsetWithConfigOn_returnAvailable() 194 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_untetheredHeadsetWithConfigOff_returnUnavailable() 205 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_notUntetheredHeadsetWithConfigOn_returnUnavailable() 216 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_notUntetheredHeadsetWithConfigOff_returnUnavailable() 236 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in onStart_isAvailable_registerCallback()
|
D | BluetoothDetailsHeaderControllerTest.java | 129 android.provider.DeviceConfig.setProperty( in isAvailable_untetheredHeadsetWithConfigOn_returnFalse() 140 android.provider.DeviceConfig.setProperty( in isAvailable_untetheredHeadsetWithConfigOff_returnTrue()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | VibrateForCallsPreferenceControllerTest.java | 70 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TELEPHONY, in getAvailabilityStatus_notVoiceCapable_returnUnsupportedOnDevice() 79 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TELEPHONY, in getAvailabilityStatus_rampingRingerEnabled_returnUnsupportedOnDevice() 88 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TELEPHONY, in getAvailabilityStatus_voiceCapableAndRampingRingerDisabled_returnAvailable()
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarVendorExtensionManager.java | 187 mPropertyManager.setProperty(propertyClass, propId, 0 /* area */, value); in setGlobalProperty() 202 public <E> void setProperty(Class<E> propertyClass, int propId, int area, E value) { in setProperty() method in CarVendorExtensionManager 203 mPropertyManager.setProperty(propertyClass, propId, area, value); in setProperty()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 744 public <E> void setProperty(@NonNull Class<E> clazz, int propId, int areaId, @NonNull E val) { in setProperty() method in CarPropertyManager 754 mService.setProperty(new CarPropertyValue<>(propId, areaId, val), in setProperty() 784 setProperty(Boolean.class, prop, areaId, val); in setBooleanProperty() 798 setProperty(Float.class, prop, areaId, val); in setFloatProperty() 812 setProperty(Integer.class, prop, areaId, val); in setIntProperty()
|
D | ICarProperty.aidl | 36 void setProperty(in CarPropertyValue prop, in ICarPropertyEventListener callback) = 4; in setProperty() method
|
/packages/modules/ExtServices/tests/src/android/ext/services/watchdog/ |
D | ExplicitHealthCheckServiceImplTest.java | 85 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in setUp() 89 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in setUp() 96 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in tearDown()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogDatabaseHelper.java | 260 public void setProperty(String key, String value) { in setProperty() method in CallLogDatabaseHelper 261 PropertyUtils.setProperty(getWritableDatabase(), key, value); in setProperty() 513 PropertyUtils.setProperty(calllog, DbProperties.CALL_LOG_LAST_SYNCED, in migrateFromLegacyTables() 531 PropertyUtils.setProperty(calllog, DbProperties.DATA_MIGRATED, "1"); in migrateFromLegacyTables()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | XmpPresets.java | 77 xmpMeta.setProperty(XMP_GOOGLE_FILTER_NAMESPACE, in writeFilterXMP() 79 xmpMeta.setProperty(XMP_GOOGLE_FILTER_NAMESPACE, in writeFilterXMP()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | CarPropertyTest.java | 175 propMgr.setProperty(valueClass, in testHvacHardButtonOperations() 257 propertyManager.setProperty(Object[].class, MIXED_TYPE_PROPERTY, 0, expectedValue); in testMixedTypeProperty() 358 propMgr.setProperty(Object[].class, propId, propertyValue.getAreaId(), values); in injectEventFromVehicleSide()
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 200 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in setupTables() 276 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in onUpgrade() 284 public void setProperty(String key, String value) { in setProperty() method in DialerDatabaseHelper 285 setProperty(getWritableDatabase(), key, value); in setProperty() 288 public void setProperty(SQLiteDatabase db, String key, String value) { in setProperty() method in DialerDatabaseHelper
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | MediaPlayerListTest.java | 66 System.setProperty("dexmaker.share_classloader", "true"); in setUp() 124 System.setProperty("dexmaker.share_classloader", mFlagDexmarker); in tearDown()
|
/packages/services/Car/vehicle-hal-support-lib/test/com/android/car/vehiclehal/test/ |
D | MockedVehicleHal.java | 96 public synchronized void injectEvent(VehiclePropValue value, boolean setProperty) { in injectEvent() argument 101 if (setProperty) { in injectEvent()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | MockitoHelper.java | 37 System.setProperty(DEXCACHE, dexCache); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDeviceConfig.java | 38 public static boolean setProperty( in setProperty() method in ShadowDeviceConfig
|