Home
last modified time | relevance | path

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

/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/hal/test/
DAidlVehiclePropValueBuilder.java124 int[] newValues = new int[newSize]; in addIntValues() local
126 newValues[i] = mPropValue.value.int32Values[i]; in addIntValues()
129 newValues[oldSize + i] = values[i]; in addIntValues()
131 mPropValue.value.int32Values = newValues; in addIntValues()
142 float[] newValues = new float[newSize]; in addFloatValues() local
144 newValues[i] = mPropValue.value.floatValues[i]; in addFloatValues()
147 newValues[oldSize + i] = values[i]; in addFloatValues()
149 mPropValue.value.floatValues = newValues; in addFloatValues()
160 byte[] newValues = new byte[newSize]; in addByteValues()
162 newValues[i] = mPropValue.value.byteValues[i]; in addByteValues()
[all …]
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/
DAssistedDialingSettingFragment.java127 List<CharSequence> newValues = new ArrayList<>(); in updateCountryChoices() local
129 newValues.add(countryChooserPref.getEntryValues()[0]); in updateCountryChoices()
134 newValues.add(tuple.countryCode()); in updateCountryChoices()
139 countryChooserPref.setEntryValues(newValues.toArray(new CharSequence[newValues.size()])); in updateCountryChoices()
141 if (!newValues.contains(countryChooserPref.getValue())) { in updateCountryChoices()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java237 ContentValues newValues = getTestVoicemailValues(); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus() local
238 newValues.put(Voicemails.IS_READ, 1); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
239 newValues.put(Voicemails.DIRTY, "0"); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
240 assertStoredValues(uri, newValues); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
253 ContentValues newValues = getTestVoicemailValues(); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty() local
254 newValues.put(Voicemails.DIRTY, "1"); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty()
255 newValues.put(Voicemails.TRANSCRIPTION, "foo"); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty()
256 assertStoredValues(uri, newValues); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty()
269 ContentValues newValues = getTestVoicemailValues(); in testUpdateOwnPackageVoicemail_retainDirtyStatus_notDirty() local
270 newValues.put(Voicemails.DIRTY, "0"); in testUpdateOwnPackageVoicemail_retainDirtyStatus_notDirty()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockNumberTaskFragment.java54 ContentValues newValues = new ContentValues(); in doInBackground() local
55 newValues.put(BlockedNumberContract.BlockedNumbers.COLUMN_ORIGINAL_NUMBER, in doInBackground()
58 newValues); in doInBackground()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DLongArray.java133 final long[] newValues = new long[newCapacity]; in ensureCapacity() local
134 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
135 mValues = newValues; in ensureCapacity()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DIntArray.java166 final int[] newValues = new int[newCapacity]; in ensureCapacity() local
167 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
168 mValues = newValues; in ensureCapacity()
DLongArray.java141 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); in ensureCapacity() local
142 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
143 mValues = newValues; in ensureCapacity()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DIntArray.java122 final int[] newValues = new int[newCapacity]; in ensureCapacity() local
123 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
124 mValues = newValues; in ensureCapacity()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumbersUtil.java162 ContentValues newValues = new ContentValues(); in importSendToVoicemailContacts()
163 newValues.put(Contacts.SEND_TO_VOICEMAIL, 0); in importSendToVoicemailContacts()
168 newValues, in importSendToVoicemailContacts()
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/
DClusterHomeManagerTest.java256 int[] newValues = new int[8]; in testClusterState_InvalidProp() local
258 newValues[i] = event.value.int32Values[i]; in testClusterState_InvalidProp()
260 event.value.int32Values = newValues; in testClusterState_InvalidProp()
/packages/services/Telephony/src/com/android/phone/
DTelephonyShellCommand.java1628 PersistableBundle newValues = mCarrierConfigManager.getConfigForSubId(options.mSubId); in handleCcSetValue() local
1629 if (newValues == null) { in handleCcSetValue()
1636 String newValueString = ccValueToString(key, type, newValues); in handleCcSetValue()
1679 PersistableBundle newValues = mCarrierConfigManager.getConfigForSubId(options.mSubId); in handleCcSetValuesFromXml() local
1680 if (newValues == null) { in handleCcSetValuesFromXml()
1689 String newValueString = ccValueToString(key, type, newValues); in handleCcSetValuesFromXml()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt132 newValues: Collection<K>, in <lambda>()
136 val listHas = newValues.toMutableSet() in <lambda>()
137 for (newVal in newValues) { in <lambda>()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVehicleStubTest.java1043 VehiclePropValues newValues = new VehiclePropValues(); in testAidlVehicleCallbackOnPropertyEventLargeData()
1044 newValues.payloads = new VehiclePropValue[0]; in testAidlVehicleCallbackOnPropertyEventLargeData()
1045 return newValues; in testAidlVehicleCallbackOnPropertyEventLargeData()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java405 final ContentValues newValues = new ContentValues(); in testUpdationWithInvalidFilePath_throwsIllegalArgumentException() local
406 newValues.put(MediaStore.MediaColumns.DATA, "/storage/emulated/0/../../../data/media/"); in testUpdationWithInvalidFilePath_throwsIllegalArgumentException()
409 () -> sIsolatedResolver.update(uri, newValues, null)); in testUpdationWithInvalidFilePath_throwsIllegalArgumentException()