Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DByteArrayHelpers.java159 public static byte[] toByteArray(Number... numbers) { in toByteArray() argument
160 if (numbers.length == 0) { in toByteArray()
164 if (VERBOSE) Log.v(TAG, "toByteArray - input: " + Arrays.toString(numbers)); in toByteArray()
167 ByteBuffer byteBuffer = ByteBuffer.allocate(numbers.length * (Double.SIZE / Byte.SIZE)) in toByteArray()
170 for (int i = 0; i < numbers.length; ++i) { in toByteArray()
171 Number value = numbers[i]; in toByteArray()
197 if (numbers.length != 0 && byteBuffer.position() < numbers.length) { in toByteArray()
200 numbers.length, byteBuffer.position())); in toByteArray()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DManageDialog.java149 String[] numbers = getNumbers(); in handleMessage() local
150 if (numbers != null) { in handleMessage()
160 numbers[1], numbers[2])); in handleMessage()
164 numbers[9], numbers[10])); in handleMessage()
181 String[] numbers = line.substring(prefix.length()).split(" +"); in getNumbers() local
183 if (!numbers[i].equals("0")) { in getNumbers()
184 return numbers; in getNumbers()
/frameworks/native/services/surfaceflinger/EventLog/
DEventLogTags.logtags1 # The entries in this file map a sparse set of log tag numbers to tag names.
4 # Tag numbers are decimal integers, from 0 to 2^31. (Let's leave the
7 # Tag names are one or more ASCII letters and numbers or underscores, i.e.
11 # Tag numbers and names are separated by whitespace. Blank lines and lines
/frameworks/ex/common/tests/src/com/android/common/widget/
DGroupingListAdapterTests.java107 private void buildCursor(String... numbers) { in buildCursor() argument
110 for (String number : numbers) { in buildCursor()
288 String[] numbers = new String[500]; in testGroupDescriptorArrayGrowth() local
289 for (int i = 0; i < numbers.length; i++) { in testGroupDescriptorArrayGrowth()
292 numbers[i] = String.valueOf((i / 2) * 2); in testGroupDescriptorArrayGrowth()
295 buildCursor(numbers); in testGroupDescriptorArrayGrowth()
/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java155 public boolean updateWithPhoneNumber(Collection<String> numbers) { in updateWithPhoneNumber() argument
157 Log.d(TAG, "updateWithPhoneNumber: " + Arrays.toString(numbers.toArray())); in updateWithPhoneNumber()
159 if (numbers != null && !numbers.isEmpty()) { in updateWithPhoneNumber()
162 final String[] questionMarks = new String[numbers.size()]; in updateWithPhoneNumber()
164 whereArgs.addAll(numbers); in updateWithPhoneNumber()
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java119 int[] numbers = context.getResources().getIntArray( in EmergencyAffordanceService() local
121 mEmergencyCallMccNumbers = new ArrayList<>(numbers.length); in EmergencyAffordanceService()
122 for (int i = 0; i < numbers.length; i++) { in EmergencyAffordanceService()
123 mEmergencyCallMccNumbers.add(numbers[i]); in EmergencyAffordanceService()
/frameworks/rs/tests/java_api/Refocus/dataExtraction/
DRefocusTestTimingProcess.txt7 1. All the timing numbers are in nanoseconds, since a lot of the kernel is processed really fast.
8 … the logcat would have 7 time entries for this kernel and we need to add these 7 numbers together.
14 …g title, and paste them in the N5.txt file. If you want to take 3 set of numbers and average them,…
/frameworks/rs/script_api/
Drs_convert.spec41 Converting numbers too large to fit the destination type yields undefined results.
109 input numbers greater than INT_MAX/255.f or less than INT_MIN/255.f result in
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsFilter.java301 private static boolean isSmsFromNumbers(SmsMessage message, List<String> numbers) { in isSmsFromNumbers() argument
307 for (String number : numbers) { in isSmsFromNumbers()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java598 float[] numbers = new float[tokens.length]; in readFloatArray() local
600 numbers[i] = Float.parseFloat(tokens[i]); in readFloatArray()
602 return numbers; in readFloatArray()
/frameworks/ex/common/java/com/android/common/
DGoogleLogTags.logtags24 # These event log tags must be assigned specific numbers (no "?") in the range
/frameworks/support/buildSrc/src/main/groovy/android/support/gmaven/
DGMavenVersionChecker.groovy26 * Queries maven.google.com to get the version numbers for each artifact.
/frameworks/base/media/java/android/media/
DExifInterface.java1604 final String[] numbers = values[j].split("/"); in setAttribute() local
1605 rationalArray[j] = new Rational((long) Double.parseDouble(numbers[0]), in setAttribute()
1606 (long) Double.parseDouble(numbers[1])); in setAttribute()
1616 final String[] numbers = values[j].split("/"); in setAttribute() local
1617 rationalArray[j] = new Rational((long) Double.parseDouble(numbers[0]), in setAttribute()
1618 (long) Double.parseDouble(numbers[1])); in setAttribute()
/frameworks/support/exifinterface/src/android/support/media/
DExifInterface.java3950 final String[] numbers = values[j].split("/"); in setAttribute() local
3951 rationalArray[j] = new Rational((long) Double.parseDouble(numbers[0]), in setAttribute()
3952 (long) Double.parseDouble(numbers[1])); in setAttribute()
3962 final String[] numbers = values[j].split("/"); in setAttribute() local
3963 rationalArray[j] = new Rational((long) Double.parseDouble(numbers[0]), in setAttribute()
3964 (long) Double.parseDouble(numbers[1])); in setAttribute()
/frameworks/base/data/keyboards/
DGeneric.kl415 # Axes that are not mapped will be assigned generic axis numbers by the input subsystem.
/frameworks/rs/script_api/include/
Drs_convert.rsh39 * Converting numbers too large to fit the destination type yields undefined results.
1572 * input numbers greater than INT_MAX/255.f or less than INT_MIN/255.f result in
/frameworks/base/proto/src/
Dmetrics_constants.proto1659 // Logged when the user saves a modification to notification importance. Negative numbers