Home
last modified time | relevance | path

Searched refs:maxIndex (Results 1 – 17 of 17) sorted by relevance

/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/
DPrivacyGeneratorStatisticalTest.java99 private void totalIndicesAddedTest(int numTrials, int maxIndex, double poissonMean) { in totalIndicesAddedTest() argument
108 totalIndicesAdded += mPrivacyGenerator.generateNoise(maxIndex, report).size(); in totalIndicesAddedTest()
110 double stddev = Math.sqrt((double) (numTrials * (1 + maxIndex)) * poissonMean); in totalIndicesAddedTest()
111 double expectedIndicesAdded = (double) (numTrials * (1 + maxIndex)) * poissonMean; in totalIndicesAddedTest()
232 private void distributionIndicesAdded(int numTrials, int maxIndex) { in distributionIndicesAdded() argument
240 int n = maxIndex + 1; in distributionIndicesAdded()
245 mPrivacyGenerator.generateNoise(maxIndex, report); in distributionIndicesAdded()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/
DPrivacyGenerator.java46 int maxIndex, ReportDefinition reportDefinition) { in generateNoise() argument
47 checkArgument(maxIndex >= 0, "maxIndex value cannot be negative"); in generateNoise()
58 new BigDecimal(maxIndex) in generateNoise()
71 .setIndex(sampleUniformDistribution(maxIndex)) in generateNoise()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterDeleteSet.java192 int maxIndex = minIndex; in reload() local
196 maxIndex = Math.max(d.index, maxIndex); in reload()
201 int to = Math.min(maxIndex + 5, n); in reload()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DVolumeChangePreferenceFragment.java133 final int maxIndex = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in commit() local
136 .setMaxVolumeIndex(maxIndex) in commit()
138 final int volumeIndex = (int) (maxIndex * mCurrentVolumeIndex); in commit()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DEncodedStringValue.java267 int maxIndex = addr.length - 1; in concat() local
268 for (int i = 0; i <= maxIndex; i++) { in concat()
270 if (i < maxIndex) { in concat()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DEncodedStringValue.java252 int maxIndex = addr.length - 1; in concat() local
253 for (int i = 0; i <= maxIndex; i++) { in concat()
255 if (i < maxIndex) { in concat()
/packages/modules/NeuralNetworks/common/cpu_operations/
DHeatmapMaxKeypoint.cpp102 uint32_t maxIndex = 0; in heatmapMaxKeypointFloat32Nhwc() local
108 maxIndex = k; in heatmapMaxKeypointFloat32Nhwc()
112 uint32_t maxIndexWidth = maxIndex % heatmapSize; in heatmapMaxKeypointFloat32Nhwc()
113 uint32_t maxIndexHeight = maxIndex / heatmapSize; in heatmapMaxKeypointFloat32Nhwc()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/s2/
DS2Support.java275 long maxIndex = getMaxIndex(s2Level); in calcMaxS2CellId() local
276 return cellId(s2Level, MAX_FACE_ID, maxIndex); in calcMaxS2CellId()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeDialogImpl.java176 int maxIndex = INVALID_INDEX;
179 maxIndex = carVolumeGroupInfo.getMaxVolumeGainIndex();
185 updateVolumePreference(groupId, maxIndex, currentIndex, isMuted, eventTypes,
897 private void updateVolumePreference(int groupId, int maxIndex, int currentIndex, in updateVolumePreference() argument
913 && maxIndex != INVALID_INDEX) { in updateVolumePreference()
914 volumeItem.mCarVolumeItem.setMax(maxIndex); in updateVolumePreference()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java1209 int maxIndex = smsManager.getSmsCapacityOnIcc(); in deleteAllMessagesFromIcc() local
1211 for (int messageIndex = 1; messageIndex <= maxIndex; messageIndex++) { in deleteAllMessagesFromIcc()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java564 int getLeAudioVolume(int index, int minIndex, int maxIndex, int streamType) { in getLeAudioVolume() argument
566 return (int) Math.round((double) index * BT_LE_AUDIO_MAX_VOL / maxIndex); in getLeAudioVolume()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java1028 int maxIndex = mCarAudioService.getGroupMaxVolume(zoneId, groupId); in runSetGroupVolume() local
1030 + (int) ((float) (maxIndex - minIndex) * ((float) percentVolume / 100.0f)); in runSetGroupVolume()
/packages/apps/TV/libs/m2/
Dchecker-qual-2.8.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/checkerframework/ org/ ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...