/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/hal/test/ |
D | AidlVehiclePropValueBuilder.java | 124 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/ |
D | AssistedDialingSettingFragment.java | 127 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/ |
D | VoicemailProviderTest.java | 237 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/ |
D | BlockNumberTaskFragment.java | 54 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/ |
D | LongArray.java | 133 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/ |
D | IntArray.java | 166 final int[] newValues = new int[newCapacity]; in ensureCapacity() local 167 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity() 168 mValues = newValues; in ensureCapacity()
|
D | LongArray.java | 141 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/ |
D | IntArray.java | 122 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/ |
D | FilteredNumbersUtil.java | 162 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/ |
D | ClusterHomeManagerTest.java | 256 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/ |
D | TelephonyShellCommand.java | 1628 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/ |
D | KotlinUtils.kt | 132 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/ |
D | VehicleStubTest.java | 1043 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/ |
D | MediaProviderTest.java | 405 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()
|