Home
last modified time | relevance | path

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

/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.java191 .isWritable(mContext, VehiclePropertyIds.ENGINE_OIL_LEVEL)).isFalse(); in testIsReadableWritableForSystemProperty()
195 .isWritable(mContext, VehiclePropertyIds.HVAC_FAN_SPEED)).isTrue(); in testIsReadableWritableForSystemProperty()
199 .isWritable(mContext, VehiclePropertyIds.WINDSHIELD_WIPERS_SWITCH)).isTrue(); in testIsReadableWritableForSystemProperty()
203 .isWritable(mContext, VehiclePropertyIds.CRUISE_CONTROL_COMMAND)).isFalse(); in testIsReadableWritableForSystemProperty()
207 .isWritable(mContext, VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS)).isTrue(); in testIsReadableWritableForSystemProperty()
211 .isWritable(mContext, VehiclePropertyIds.DISTANCE_DISPLAY_UNITS)).isTrue(); in testIsReadableWritableForSystemProperty()
220 .isWritable(mContext, VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS)).isFalse(); in testIsReadableWritableForSystemProperty()
224 .isWritable(mContext, VehiclePropertyIds.DISTANCE_DISPLAY_UNITS)).isFalse(); in testIsReadableWritableForSystemProperty()
271 assertThat(mPropertyHalServiceConfigs.isWritable(mContext, vendorProp)).isTrue(); in testIsReadableWritableForVendorProperty()
278 assertThat(mPropertyHalServiceConfigs.isWritable(mContext, vendorProp)).isFalse(); in testIsReadableWritableForVendorProperty()
[all …]
/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/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java187 when(mHalService.isWritable(mContext, WRITE_ONLY_INT_PROPERTY_ID)) in setUp()
196 when(mHalService.isWritable(mContext, WRITE_ONLY_LONG_PROPERTY_ID)) in setUp()
205 when(mHalService.isWritable(mContext, WRITE_ONLY_FLOAT_PROPERTY_ID)) in setUp()
214 when(mHalService.isWritable(mContext, WRITE_ONLY_ENUM_PROPERTY_ID)) in setUp()
222 when(mHalService.isWritable(mContext, WRITE_ONLY_OTHER_ENUM_PROPERTY_ID)) in setUp()
232 when(mHalService.isWritable(mContext, ON_CHANGE_READ_WRITE_PROPERTY_ID)) in setUp()
250 when(mHalService.isWritable(mContext, READ_WRITE_INT_PROPERTY_ID)) in setUp()
556 when(mHalService.isWritable(mContext, READ_WRITE_INT_PROPERTY_ID)) in testSetPropertiesAsync_noWritePermission()
1355 when(mHalService.isWritable(mContext, NO_PERMISSION_PROPERTY_ID)) in setProperty_throwsSecurityExceptionIfAppDoesNotHavePermissionToWrite()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java732 && !mPropertyHalService.isWritable(mContext, propId)) { in getPropertyConfigList()
1101 && mPropertyHalService.isWritable(mContext, propertyId) in isSupportedAndHasWritePermissionOnly()
1225 if (!mPropertyHalService.isWritable(mContext, propertyId)) { in validateSetParameters()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachineCustomImageConfig.java218 public boolean isWritable() { in isWritable() method in VirtualMachineCustomImageConfig.Disk
DVirtualMachineConfig.java701 config.disks[i].writable = customImageConfig.getDisks()[i].isWritable(); in toVsRawConfig()
/packages/services/Car/service/src/com/android/car/hal/property/
DPropertyHalServiceConfigs.java378 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.java513 private SQLiteDatabase getDatabase(boolean isWritable) { in getDatabase() argument
516 return isWritable ? mDbHelper.getWritableDatabase() : mDbHelper.getReadableDatabase(); in getDatabase()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java1173 public boolean isWritable(Context context, int mgrPropId) { in isWritable() method in PropertyHalService
1174 return mPropertyHalServiceConfigs.isWritable(context, managerToHalPropId(mgrPropId)); in isWritable()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientTest.java833 Assert.assertTrue(preset.get().isWritable()); in testStackEventOnPresetInfo()
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DLeAudioRecycleViewAdapter.java398 + (info.isWritable() in setHasStateObservers()
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt368 method public boolean isWritable();