Searched refs:ranges (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/services/core/jni/
H A Dcom_android_server_ConsumerIrService.cpp72 consumerir_freq_range_t *ranges; local
79 ranges = new consumerir_freq_range_t[len];
81 len = dev->get_carrier_freqs(dev, len, ranges);
83 delete[] ranges;
91 delete[] ranges;
95 arr[i*2] = ranges[i].min;
96 arr[i*2+1] = ranges[i].max;
99 delete[] ranges;
/frameworks/minikin/libs/minikin/
H A DSparseBitSet.cpp31 uint32_t SparseBitSet::calcNumPages(const uint32_t* ranges, size_t nRanges) { argument
36 uint32_t start = ranges[i * 2];
37 uint32_t end = ranges[i * 2 + 1];
55 void SparseBitSet::initFromRanges(const uint32_t* ranges, size_t nRanges) { argument
62 mMaxVal = ranges[nRanges * 2 - 1];
65 uint32_t nPages = calcNumPages(ranges, nRanges);
72 uint32_t start = ranges[i * 2];
73 uint32_t end = ranges[i * 2 + 1];
/frameworks/minikin/include/minikin/
H A DSparseBitSet.h42 // Initialize the set to a new value, represented by ranges. For
43 // simplicity, these ranges are arranged as pairs of values,
45 void initFromRanges(const uint32_t* ranges, size_t nRanges);
78 static uint32_t calcNumPages(const uint32_t* ranges, size_t nRanges);
/frameworks/base/core/jni/
H A Dandroid_view_InputDevice.cpp71 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); local
72 for (size_t i = 0; i < ranges.size(); i++) {
73 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i);
/frameworks/native/opengl/libagl/
H A DTokenizer.cpp164 const run_t* ranges = mRanges.array(); local
168 ALOGD("%zu: (%u, %u)\n", i, ranges[i].first, ranges[i].length);
/frameworks/base/core/java/android/net/
H A DNetworkAgent.java104 * Sent by the NetworkAgent to ConnectivityService to add new UID ranges
111 * Sent by the NetworkAgent to ConnectivityService to remove UID ranges
387 * Called by the VPN code when it wants to add ranges of UIDs to be routed
390 public void addUidRanges(UidRange[] ranges) { argument
391 queueOrSendMessage(EVENT_UID_RANGES_ADDED, ranges);
395 * Called by the VPN code when it wants to remove ranges of UIDs from being routed
398 public void removeUidRanges(UidRange[] ranges) { argument
399 queueOrSendMessage(EVENT_UID_RANGES_REMOVED, ranges);
/frameworks/base/core/java/android/os/
H A DINetworkManagementService.aidl141 * arg is a set of start end pairs defining the ranges.
350 * Set all packets from users in ranges to go through VPN specified by netId.
352 void addVpnUidRanges(int netId, in UidRange[] ranges);
355 * Clears the special VPN rules for users in ranges and VPN specified by netId.
357 void removeVpnUidRanges(int netId, in UidRange[] ranges);
/frameworks/base/media/java/android/media/
H A DUtils.java35 * @throws java.lang.IllegalArgumentException if ranges are not distinct
37 public static <T extends Comparable<? super T>> void sortDistinctRanges(Range<T>[] ranges) { argument
38 Arrays.sort(ranges, new Comparator<Range<T>>() {
47 "sample rate ranges must be distinct (" + lhs + " and " + rhs + ")");
53 * Returns the intersection of two sets of non-intersecting ranges
54 * @param one a sorted set of non-intersecting ranges in ascending order
55 * @param another another sorted set of non-intersecting ranges in ascending order
83 * Returns the index of the range that contains a value in a sorted array of distinct ranges.
84 * @param ranges a sorted array of non-intersecting ranges i
91 binarySearchDistinctRanges(Range<T>[] ranges, T value) argument
[all...]
H A DMediaCodecInfo.java768 * Returns the array of supported sample rate ranges. The
769 * array is sorted in ascending order, and the ranges are
837 ArrayList<Range<Integer>> ranges = new ArrayList<Range<Integer>>();
840 ranges.add(Range.create(rate, rate));
843 mSampleRateRanges = ranges.toArray(new Range[ranges.size()]);
929 // restrict ranges
950 if (info.containsKey("sample-rate-ranges")) {
951 String[] rateStrings = info.getString("sample-rate-ranges").split(",");
1392 // full positive ranges ar
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java235 public void removePages(PageRange[] ranges) { argument
242 ranges = PageRangeUtils.normalize(ranges);
244 final int rangeCount = ranges.length;
246 PageRange range = ranges[i];
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java625 // Add ranges covering all UIDs for allowedApplications.
638 // Add all ranges for user skipping UIDs for disallowedApplications.
658 // Returns the subset of the full list of active UID ranges the VPN applies to (mVpnUsers) that
662 final List<UidRange> ranges = new ArrayList<UidRange>();
665 ranges.add(range);
668 return ranges;
675 final List<UidRange> ranges = uidRangesForUser(userHandle);
677 mNetworkAgent.removeUidRanges(ranges.toArray(new UidRange[ranges.size()]));
679 mVpnUsers.removeAll(ranges);
[all...]
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp919 || !strcmp(attrs[i], "ranges")
1004 AString max, value, ranges; local
1017 (found = msg->findString("ranges", &ranges))) {
1018 return limitFoundMissingAttr(name, "ranges", found);
1032 } else if (ranges.size()) {
1034 tag.append("-ranges");
1035 mCurrentInfo->addDetail(tag, ranges);
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java1916 public void addVpnUidRanges(int netId, UidRange[] ranges) { argument
1923 // Avoid overly long commands by limiting number of UID ranges per command.
1924 for (int i = 0; i < ranges.length; i++) {
1925 argv[argc++] = ranges[i].toString();
1926 if (i == (ranges.length - 1) || argc == argv.length) {
1938 public void removeVpnUidRanges(int netId, UidRange[] ranges) { argument
1945 // Avoid overly long commands by limiting number of UID ranges per command.
1946 for (int i = 0; i < ranges.length; i++) {
1947 argv[argc++] = ranges[i].toString();
1948 if (i == (ranges
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyMetadataMapper.java409 throw new AssertionError("Supported FPS ranges cannot be null.");
415 Range<Integer>[] ranges = new Range[rangesSize];
418 ranges[i++] = Range.create(
422 m.set(CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES, ranges);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java519 * selected, application can get the supported FPS ranges by
520 * {@link #getHighSpeedVideoFpsRangesFor}, and use these FPS ranges to setup the recording
537 * Get the frame per second ranges (fpsMin, fpsMax) for input high speed video size.
542 * The {@link CaptureRequest#CONTROL_AE_TARGET_FPS_RANGE FPS ranges} reported in this method
547 * See {@link #getHighSpeedVideoFpsRanges} for the characteristics of the returned FPS ranges.
551 * @return an array of supported high speed video recording FPS ranges The upper bound of
552 * returned ranges is guaranteed to be greater than or equal to 120.
577 * Get a list of supported high speed video recording FPS ranges.
603 * The FPS ranges reported by this method will have below characteristics:
608 * fps_max]. These kinds of FPS ranges ar
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.cpp947 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); local
948 if (!ranges.isEmpty()) {
950 for (size_t i = 0; i < ranges.size(); i++) {
951 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i);
3431 // Compute oriented precision, scales and ranges.
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 673 milliseconds