Home
last modified time | relevance | path

Searched refs:setProperty (Results 1 – 25 of 70) sorted by relevance

123

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParserTest.java225 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 …]
DMessageParserTest.java75 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/
DAssistantSettingsTest.java20 import static android.provider.DeviceConfig.setProperty;
94 runWithShellPermissionIdentity(() -> setProperty( in testGenerateRepliesDisabled()
106 runWithShellPermissionIdentity(() -> setProperty( in testGenerateRepliesEnabled()
118 runWithShellPermissionIdentity(() -> setProperty( in testGenerateRepliesNullFlag()
127 runWithShellPermissionIdentity(() -> setProperty( in testGenerateRepliesNullFlag()
140 runWithShellPermissionIdentity(() -> setProperty( in testGenerateActionsDisabled()
152 runWithShellPermissionIdentity(() -> setProperty( in testGenerateActionsEnabled()
164 runWithShellPermissionIdentity(() -> setProperty( in testGenerateActionsNullFlag()
173 runWithShellPermissionIdentity(() -> setProperty( in testGenerateActionsNullFlag()
186 runWithShellPermissionIdentity(() -> setProperty( in testMaxMessagesToExtract()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVibrateWhenRingPreferenceControllerTest.java84 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "false", false); in display_shouldDisplay()
92 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "false", false); in display_shouldNotDisplay_notVoiceCapable()
100 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "true", false); in display_shouldNotDisplay_RampingRingerEnabled()
108 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "true", false); in display_shouldNotDisplay_VoiceEnabled_RampingRingerEnabled()
116 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "true", false); in display_shouldNotDisplay_VoiceDisabled_RampingRingerEnabled()
142 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "false", false); in voiceCapable_availabled()
149 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "false", false); in voiceCapable_notAvailabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DEnableContentCapturePreferenceControllerTest.java61 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/
Dgui.py106 vhal.setProperty(c.VEHICLEPROPERTY_TURN_SIGNAL_STATE, 0, group.checkedId())
114 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_PARK)
117 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_REVERSE)
120 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_DRIVE)
138 vhal.setProperty(c.VEHICLEPROPERTY_GEAR_SELECTION, 0, c.VEHICLEGEAR_GEAR_PARK)
Dvhal_emulator_test.py247 self._vhal.setProperty(cfg.prop, area, testValue)
262 self._vhal.setProperty(cfg.prop, area, origValue)
289 self._vhal.setProperty(prop, area, value)
302 self._vhal.setProperty(
Dvhal_prop_simulator.py46 self.vhal.setProperty(prop, area_id, value)
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAdvancedBluetoothDetailsHeaderControllerTest.java148 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_untetheredHeadsetWithConfigOn_returnAvailable()
159 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_untetheredHeadsetWithConfigOff_returnUnavailable()
170 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_notUntetheredHeadsetWithConfigOn_returnUnavailable()
181 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_notUntetheredHeadsetWithConfigOff_returnUnavailable()
201 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in onStart_isAvailable_registerCallback()
214 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in onStop_isAvailable_unregisterCallback()
249 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in onDestroy_isAvailable_recycleBitmap()
DBluetoothDetailsHeaderControllerTest.java129 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/core/instrumentation/
DSettingsEventLogWriterTest.java61 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/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/
DAnalyticsUtilsTest.java69 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/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java483 public <E> void setProperty(@NonNull Class<E> clazz, int propId, int areaId, @NonNull E val) { in setProperty() method in CarPropertyManager
489 mService.setProperty(new CarPropertyValue<>(propId, areaId, val)); in setProperty()
504 setProperty(Boolean.class, prop, areaId, val); in setBooleanProperty()
515 setProperty(Float.class, prop, areaId, val); in setFloatProperty()
526 setProperty(Integer.class, prop, areaId, val); in setIntProperty()
DICarProperty.aidl36 void setProperty(in CarPropertyValue prop) = 4;
/packages/services/Car/car-lib/src/android/car/hardware/
DCarVendorExtensionManager.java187 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/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java260 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/
DXmpPresets.java77 xmpMeta.setProperty(XMP_GOOGLE_FILTER_NAMESPACE, in writeFilterXMP()
79 xmpMeta.setProperty(XMP_GOOGLE_FILTER_NAMESPACE, in writeFilterXMP()
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java200 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/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilitySettingsTest.java146 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TELEPHONY, in testIsRampingRingerEnabled_bothFlagsOn_Enabled()
162 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TELEPHONY, in testIsRampingRingerEnabled_deviceConfigFlagOff_Disabled()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DMockedVehicleHal.java96 public synchronized void injectEvent(VehiclePropValue value, boolean setProperty) { in injectEvent() argument
101 if (setProperty) { in injectEvent()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java343 public void setProperty(CarPropertyValue prop) { in setProperty() method in CarPropertyService
351 mHal.setProperty(prop); in setProperty()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMockitoHelper.java37 System.setProperty(DEXCACHE, dexCache); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDeviceConfig.java38 public static boolean setProperty( in setProperty() method in ShadowDeviceConfig
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DPropertyUtils.java73 public static void setProperty(SQLiteDatabase db, String key, String value) { in setProperty() method in PropertyUtils
/packages/apps/Messaging/tests/src/com/android/messaging/
DTestUtil.java44 System.setProperty("dexmaker.dexcache", in testSetup()

123