Home
last modified time | relevance | path

Searched refs:modes (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java482 int[] modes = getValueFromKeyNonNull(key); in getAeAvailableAntiBandingModesChecked() local
487 for (int mode : modes) { in getAeAvailableAntiBandingModesChecked()
503 return modes; in getAeAvailableAntiBandingModesChecked()
533 int[] modes = getValueFromKeyNonNull(key); in getAvailableTestPatternModesChecked() local
535 if (modes == null) { in getAvailableTestPatternModesChecked()
540 Integer[] boxedModes = CameraTestUtils.toObject(modes); in getAvailableTestPatternModesChecked()
544 return modes; in getAvailableTestPatternModesChecked()
624 int[] modes = getValueFromKeyNonNull(key); in getAvailableHotPixelModesChecked() local
626 if (modes == null) { in getAvailableHotPixelModesChecked()
630 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableHotPixelModesChecked()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java166 ArrayList<OverlayMode> modes = new ArrayList<>(); in updateOverlayDisplayDevicesLocked() local
178 modes.add(new OverlayMode(width, height, densityDpi)); in updateOverlayDisplayDevicesLocked()
189 if (!modes.isEmpty()) { in updateOverlayDisplayDevicesLocked()
198 + ": name=" + name + ", modes=" + Arrays.toString(modes.toArray())); in updateOverlayDisplayDevicesLocked()
200 mOverlays.add(new OverlayDisplayHandle(name, modes, gravity, secure, number)); in updateOverlayDisplayDevicesLocked()
238 List<OverlayMode> modes, int activeMode, int defaultMode, in OverlayDisplayDevice() argument
249 mRawModes = modes; in OverlayDisplayDevice()
250 mModes = new Display.Mode[modes.size()]; in OverlayDisplayDevice()
251 for (int i = 0; i < modes.size(); i++) { in OverlayDisplayDevice()
252 OverlayMode mode = modes.get(i); in OverlayDisplayDevice()
[all …]
DDisplayModeDirector.java121 Display.Mode[] modes = mSupportedModesByDisplay.get(displayId); in getAllowedModes() local
123 if (modes == null || defaultMode == null) { in getAllowedModes()
128 return getAllowedModesLocked(votes, modes, defaultMode); in getAllowedModes()
156 @NonNull Display.Mode[] modes, @NonNull Display.Mode defaultMode) { in getAllowedModesLocked() argument
192 filterModes(modes, width, height, minRefreshRate, maxRefreshRate); in getAllowedModesLocked()
295 final Display.Mode[] modes = mSupportedModesByDisplay.valueAt(i); in dump() local
296 pw.println(" " + id + " -> " + Arrays.toString(modes)); in dump()
585 Display.Mode[] modes = mSupportedModesByDisplay.get(displayId); in findModeByIdLocked() local
586 if (modes == null) { in findModeByIdLocked()
589 for (Display.Mode mode : modes) { in findModeByIdLocked()
[all …]
DLocalDisplayAdapter.java626 public void setAllowedDisplayModesLocked(int[] modes) { in setAllowedDisplayModesLocked() argument
627 updateAllowedModesLocked(modes); in setAllowedDisplayModesLocked()
795 Display.Mode[] modes = new Display.Mode[size]; in getDisplayModes() local
798 modes[i] = record.mMode; in getDisplayModes()
800 return modes; in getDisplayModes()
DLogicalDisplay.java470 public void setAllowedDisplayModesLocked(int[] modes) { in setAllowedDisplayModesLocked() argument
471 mAllowedDisplayModes = modes; in setAllowedDisplayModesLocked()
DDisplayDevice.java147 public void setAllowedDisplayModesLocked(int[] modes) { in setAllowedDisplayModesLocked() argument
/frameworks/opt/net/voip/src/jni/rtp/
DAmrCodec.cpp76 const char *modes = strcasestr(fmtp, "mode-set="); in set() local
77 if (modes) { in set()
80 for (char c = *modes; c && c != ' '; c = *++modes) { in set()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java46 KeyguardSecurityModel.SecurityMode[] modes = in showSecurityScreen_canInflateAllModes() local
48 for (KeyguardSecurityModel.SecurityMode mode : modes) { in showSecurityScreen_canInflateAllModes()
/frameworks/base/core/java/android/view/
DDisplayInfo.java511 Display.Mode[] modes = supportedModes; in findDefaultModeByRefreshRate() local
513 for (int i = 0; i < modes.length; i++) { in findDefaultModeByRefreshRate()
514 if (modes[i].matches( in findDefaultModeByRefreshRate()
516 return modes[i].getModeId(); in findDefaultModeByRefreshRate()
526 Display.Mode[] modes = supportedModes; in getDefaultRefreshRates() local
529 for (int i = 0; i < modes.length; i++) { in getDefaultRefreshRates()
530 Display.Mode mode = modes[i]; in getDefaultRefreshRates()
DDisplay.java868 final Display.Mode[] modes = mDisplayInfo.supportedModes; in getSupportedModes() local
869 return Arrays.copyOf(modes, modes.length); in getSupportedModes()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dmime_io.tab24 /* number of speech bits for all modes */
35 /* sorting tables for all modes */
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java207 final String modes[] = {"Touch", "Ball"}; in changeMode() local
210 item.setTitle(modes[mMode]); in changeMode()
/frameworks/base/core/proto/android/wifi/
Denums.proto24 * Wifi Lock modes, primarily used in
/frameworks/native/vulkan/libvulkan/
Dswapchain.h31 …entModesKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, uint32_t* count, VkPresentModeKHR* modes);
Dswapchain.cpp854 VkPresentModeKHR* modes) { in GetPhysicalDeviceSurfacePresentModesKHR() argument
893 if (modes) { in GetPhysicalDeviceSurfacePresentModesKHR()
897 std::copy(present_modes.begin(), present_modes.begin() + int(*count), modes); in GetPhysicalDeviceSurfacePresentModesKHR()
921 pDeviceGroupPresentCapabilities->modes = in GetDeviceGroupPresentCapabilitiesKHR()
/frameworks/base/core/java/android/net/
Dnetwork-policy-restrictions.md3 …e status of Data Saver mode, Battery Saver mode, and the app's whitelist on those restricted modes.
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp1148 DeviceInfo::OverrideModes modes; in buildFastInfo() local
1153 modes.flashMode = FLASH_MODE_OFF; in buildFastInfo()
1156 modes.flashMode = FLASH_MODE_AUTO; in buildFastInfo()
1159 modes.flashMode = FLASH_MODE_ON; in buildFastInfo()
1162 modes.flashMode = FLASH_MODE_RED_EYE; in buildFastInfo()
1167 modes.flashMode = FLASH_MODE_INVALID; in buildFastInfo()
1170 modes.wbMode = in buildFastInfo()
1183 modes.focusMode = fixedLens ? in buildFastInfo()
1191 modes.focusMode = static_cast<focusMode_t>(afMode); in buildFastInfo()
1196 modes.focusMode = FOCUS_MODE_INVALID; in buildFastInfo()
[all …]
/frameworks/base/core/proto/android/service/
Dprint.proto97 // List of supported color modes
100 // List of supported duplex modes
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp342 std::vector<ui::ColorMode> modes; in getColorModes() local
343 auto error = mDisplayData.at(displayId).hwcDisplay->getColorModes(&modes); in getColorModes()
345 return modes; in getColorModes()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1056 std::vector<ColorMode> modes; in getDisplayColorModes() local
1066 modes = getHwComposer().getColorModes(*displayId); in getDisplayColorModes()
1076 std::remove_copy_if(modes.cbegin(), modes.cend(), std::back_inserter(*outColorModes), in getDisplayColorModes()
1079 std::copy(modes.cbegin(), modes.cend(), std::back_inserter(*outColorModes)); in getDisplayColorModes()
1109 Vector<ColorMode> modes; in setActiveColorMode() local
1110 getDisplayColorModes(displayToken, &modes); in setActiveColorMode()
1111 bool exists = std::find(std::begin(modes), std::end(modes), mode) != std::end(modes); in setActiveColorMode()
2580 std::vector<ColorMode> modes = getHwComposer().getColorModes(*displayId); in setupNewDisplayDeviceInternal() local
2581 for (ColorMode colorMode : modes) { in setupNewDisplayDeviceInternal()
4787 std::vector<ColorMode> modes = getHwComposer().getColorModes(*displayId); in dumpWideColorInfo() local
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java396 int[] modes = new int[antiBandingModes.size()]; in mapControlAe() local
404 modes[j++] = convertedMode; in mapControlAe()
407 m.set(CONTROL_AE_AVAILABLE_ANTIBANDING_MODES, Arrays.copyOf(modes, j)); in mapControlAe()
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal93 * configuration) where modes besides NORMAL have different semantics, and
112 * A set of vendor-defined operating modes, for custom default camera
DICameraDeviceUser.hal119 * CONSTRAINED_HIGH_SPEED_MODE, or one of the vendor modes.
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2047 HashSet<Byte> modes = new HashSet<Byte>(); in testSetMiracastMode_success() local
2052 modes.add(mode); in testSetMiracastMode_success()
2060 assertTrue(modes.contains(ISupplicantP2pIface.MiracastMode.SOURCE)); in testSetMiracastMode_success()
2063 assertTrue(modes.contains(ISupplicantP2pIface.MiracastMode.SINK)); in testSetMiracastMode_success()
2067 assertTrue(modes.contains(ISupplicantP2pIface.MiracastMode.DISABLED)); in testSetMiracastMode_success()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionInfoUpdater.java250 int[] modes = (int[])ar.result; in handleMessage() local
251 if (modes[0] == 1) { // Manual mode. in handleMessage()

12