Home
last modified time | relevance | path

Searched refs:isWritable (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHapPresetInfo.java47 int presetIndex, @NonNull String presetName, boolean isWritable, boolean isAvailable) { in BluetoothHapPresetInfo() argument
50 this.mIsWritable = isWritable; in BluetoothHapPresetInfo()
89 public boolean isWritable() { in isWritable() method in BluetoothHapPresetInfo
170 public @NonNull Builder setWritable(boolean isWritable) { in setWritable() argument
171 mIsWritable = isWritable; in setWritable()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/
DPropertyHalServiceConfigsUnitTest.java194 .isWritable(mContext, VehiclePropertyIds.ENGINE_OIL_LEVEL)).isFalse(); in testIsReadableWritableForSystemProperty()
198 .isWritable(mContext, VehiclePropertyIds.HVAC_FAN_SPEED)).isTrue(); in testIsReadableWritableForSystemProperty()
202 .isWritable(mContext, VehiclePropertyIds.WINDSHIELD_WIPERS_SWITCH)).isTrue(); in testIsReadableWritableForSystemProperty()
206 .isWritable(mContext, VehiclePropertyIds.CRUISE_CONTROL_COMMAND)).isFalse(); in testIsReadableWritableForSystemProperty()
210 .isWritable(mContext, VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS)).isTrue(); in testIsReadableWritableForSystemProperty()
214 .isWritable(mContext, VehiclePropertyIds.DISTANCE_DISPLAY_UNITS)).isTrue(); in testIsReadableWritableForSystemProperty()
223 .isWritable(mContext, VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS)).isFalse(); in testIsReadableWritableForSystemProperty()
227 .isWritable(mContext, VehiclePropertyIds.DISTANCE_DISPLAY_UNITS)).isFalse(); in testIsReadableWritableForSystemProperty()
274 assertThat(mPropertyHalServiceConfigs.isWritable(mContext, vendorProp)).isTrue(); in testIsReadableWritableForVendorProperty()
281 assertThat(mPropertyHalServiceConfigs.isWritable(mContext, vendorProp)).isFalse(); in testIsReadableWritableForVendorProperty()
[all …]
/packages/modules/Bluetooth/android/pandora/server/src/
DHap.kt166 .setIsWritable(presetInfo.isWritable()) in <lambda>()
193 .setIsWritable(it.isWritable()) in <lambda>()
247 .setIsWritable(presetInfo.isWritable()) in <lambda>()
298 .setIsWritable(presetRecord.isWritable()) in <lambda>()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlNativeCallbackTest.java193 boolean isWritable = true; in onExtAudioInDescriptionChanged()
195 mNativeCallback.onExtAudioInDescriptionChanged(id, description, isWritable, null); in onExtAudioInDescriptionChanged()
197 .onExtAudioInDescriptionChanged(any(), eq(id), eq(description), eq(isWritable)); in onExtAudioInDescriptionChanged()
/packages/apps/Contacts/src/com/android/contacts/detail/
DPhotoSelectionHandler.java150 boolean isWritable = false; in handlePhotoActivityResult()
155 isWritable = true; in handlePhotoActivityResult()
158 if (isWritable) { in handlePhotoActivityResult()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlNativeCallback.java193 int id, String description, boolean isWritable, byte[] address) { in onExtAudioInDescriptionChanged() argument
197 getDevice(address), id, description, isWritable)); in onExtAudioInDescriptionChanged()
DVolumeControlInputDescriptor.java152 void onDescriptionChanged(int id, String description, boolean isWritable) { in onDescriptionChanged() argument
157 desc.mDescriptionIsWritable = isWritable; in onDescriptionChanged()
DVolumeControlService.java1385 BluetoothDevice device, int id, String description, boolean isWritable) {
1391 + (", isWritable=" + isWritable)
1406 input.onDescriptionChanged(id, description, isWritable);
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java201 when(mHalService.isWritable(mContext, WRITE_ONLY_INT_PROPERTY_ID)) in setUp()
210 when(mHalService.isWritable(mContext, WRITE_ONLY_LONG_PROPERTY_ID)) in setUp()
219 when(mHalService.isWritable(mContext, WRITE_ONLY_FLOAT_PROPERTY_ID)) in setUp()
228 when(mHalService.isWritable(mContext, WRITE_ONLY_ENUM_PROPERTY_ID)) in setUp()
236 when(mHalService.isWritable(mContext, WRITE_ONLY_OTHER_ENUM_PROPERTY_ID)) in setUp()
246 when(mHalService.isWritable(mContext, ON_CHANGE_READ_WRITE_PROPERTY_ID)) in setUp()
264 when(mHalService.isWritable(mContext, READ_WRITE_INT_PROPERTY_ID)) in setUp()
723 when(mHalService.isWritable(mContext, READ_WRITE_INT_PROPERTY_ID)) in testSetPropertiesAsync_noWritePermission()
1524 when(mHalService.isWritable(mContext, NO_PERMISSION_PROPERTY_ID)) in setProperty_throwsSecurityExceptionIfAppDoesNotHavePermissionToWrite()
2114 when(mHalService.isWritable(mContext, SPEED_ID)).thenReturn(false); in testGetMinMaxSupportedValue_noPermission()
[all …]
/packages/modules/Nfc/framework/api/
Dmodule-lib-lint-baseline.txt61 RequiresPermission: android.nfc.tech.Ndef#isWritable():
62 Method 'isWritable' documentation mentions permissions without declaring @RequiresPermission
Dlint-baseline.txt66 RequiresPermission: android.nfc.tech.Ndef#isWritable():
67 Method 'isWritable' documentation mentions permissions without declaring @RequiresPermission
Dsystem-lint-baseline.txt80 RequiresPermission: android.nfc.tech.Ndef#isWritable():
81 Method 'isWritable' documentation mentions permissions without declaring @RequiresPermission
/packages/modules/Nfc/tests/cts/tests/src/android/nfc/tech/cts/interactive/
DNdefTagTester.java57 return ndef != null && ndef.isWritable(); in isTestableTag()
/packages/modules/Nfc/framework/java/android/nfc/tech/
DNdef.java241 public boolean isWritable() { in isWritable() method in Ndef
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/
Dhap.proto96 bool isWritable = 3; field
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java812 && !mPropertyHalService.isWritable(mContext, propId)) { in getPropertyConfigList()
1184 && mPropertyHalService.isWritable(mContext, propertyId) in isSupportedAndHasWritePermissionOnly()
1280 && !mPropertyHalService.isWritable(mContext, propertyId)) { in verifyGetSupportedValueRequestAndGetAreaIdConfig()
1462 if (!mPropertyHalService.isWritable(mContext, propertyId)) { in validateSetParameters()
/packages/modules/Bluetooth/android/pandora/test/
Dhap_test.py51 PresetRecord.Property.Writable(grpc_preset.isWritable), # type: ignore
/packages/apps/Settings/tests/robotests/src/com/android/settings/service/
DPreferenceServiceRequestTransformerTest.kt184 assertThat(isWritable).isTrue() in transformCatalystGetValueResponse_success_returnsValidFrameworkResponse()
/packages/modules/Nfc/tests/cts/tests/src/android/nfc/tech/cts/
DNdefTest.java147 assertEquals(true, ndef.isWritable()); in testIsWritable()
/packages/services/Car/service/src/com/android/car/hal/property/
DPropertyHalServiceConfigs.java360 public boolean isWritable(Context context, int halPropId) { in isWritable() method in PropertyHalServiceConfigs
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java316 public boolean isWritable(AccountWithDataSet account) {
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogStorage.java526 private SQLiteDatabase getDatabase(boolean isWritable) { in getDatabase() argument
528 SQLiteDatabase db = isWritable ? mDbHelper.getWritableDatabase() in getDatabase()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientServiceTest.java522 assertThat(preset.get().isWritable()).isTrue(); in testStackEventOnPresetInfo()
/packages/modules/Virtualization/libs/framework-virtualization/src/android/system/virtualmachine/
DVirtualMachineCustomImageConfig.java435 public boolean isWritable() { in isWritable() method in VirtualMachineCustomImageConfig.Disk
DVirtualMachineConfig.java734 config.disks[i].writable = customImageConfig.getDisks()[i].isWritable(); in toVsRawConfig()

12