/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothHapPresetInfo.java | 47 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/ |
D | PropertyHalServiceConfigsUnitTest.java | 194 .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/ |
D | Hap.kt | 166 .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/ |
D | VolumeControlNativeCallbackTest.java | 193 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/ |
D | PhotoSelectionHandler.java | 150 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/ |
D | VolumeControlNativeCallback.java | 193 int id, String description, boolean isWritable, byte[] address) { in onExtAudioInDescriptionChanged() argument 197 getDevice(address), id, description, isWritable)); in onExtAudioInDescriptionChanged()
|
D | VolumeControlInputDescriptor.java | 152 void onDescriptionChanged(int id, String description, boolean isWritable) { in onDescriptionChanged() argument 157 desc.mDescriptionIsWritable = isWritable; in onDescriptionChanged()
|
D | VolumeControlService.java | 1385 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/ |
D | CarPropertyServiceUnitTest.java | 201 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/ |
D | module-lib-lint-baseline.txt | 61 RequiresPermission: android.nfc.tech.Ndef#isWritable(): 62 Method 'isWritable' documentation mentions permissions without declaring @RequiresPermission
|
D | lint-baseline.txt | 66 RequiresPermission: android.nfc.tech.Ndef#isWritable(): 67 Method 'isWritable' documentation mentions permissions without declaring @RequiresPermission
|
D | system-lint-baseline.txt | 80 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/ |
D | NdefTagTester.java | 57 return ndef != null && ndef.isWritable(); in isTestableTag()
|
/packages/modules/Nfc/framework/java/android/nfc/tech/ |
D | Ndef.java | 241 public boolean isWritable() { in isWritable() method in Ndef
|
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/ |
D | hap.proto | 96 bool isWritable = 3; field
|
/packages/services/Car/service/src/com/android/car/ |
D | CarPropertyService.java | 812 && !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/ |
D | hap_test.py | 51 PresetRecord.Property.Writable(grpc_preset.isWritable), # type: ignore
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/service/ |
D | PreferenceServiceRequestTransformerTest.kt | 184 assertThat(isWritable).isTrue() in transformCatalystGetValueResponse_success_returnsValidFrameworkResponse()
|
/packages/modules/Nfc/tests/cts/tests/src/android/nfc/tech/cts/ |
D | NdefTest.java | 147 assertEquals(true, ndef.isWritable()); in testIsWritable()
|
/packages/services/Car/service/src/com/android/car/hal/property/ |
D | PropertyHalServiceConfigs.java | 360 public boolean isWritable(Context context, int halPropId) { in isWritable() method in PropertyHalServiceConfigs
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | AccountTypeManager.java | 316 public boolean isWritable(AccountWithDataSet account) {
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | WatchdogStorage.java | 526 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/ |
D | HapClientServiceTest.java | 522 assertThat(preset.get().isWritable()).isTrue(); in testStackEventOnPresetInfo()
|
/packages/modules/Virtualization/libs/framework-virtualization/src/android/system/virtualmachine/ |
D | VirtualMachineCustomImageConfig.java | 435 public boolean isWritable() { in isWritable() method in VirtualMachineCustomImageConfig.Disk
|
D | VirtualMachineConfig.java | 734 config.disks[i].writable = customImageConfig.getDisks()[i].isWritable(); in toVsRawConfig()
|