Home
last modified time | relevance | path

Searched refs:modes (Results 1 – 25 of 31) 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.java208 ArrayList<OverlayMode> modes = new ArrayList<>(); in updateOverlayDisplayDevicesLocked() local
220 modes.add(new OverlayMode(width, height, densityDpi)); in updateOverlayDisplayDevicesLocked()
231 if (!modes.isEmpty()) { in updateOverlayDisplayDevicesLocked()
240 + ": name=" + name + ", modes=" + Arrays.toString(modes.toArray()) in updateOverlayDisplayDevicesLocked()
243 mOverlays.add(new OverlayDisplayHandle(name, modes, gravity, flags, number)); in updateOverlayDisplayDevicesLocked()
281 List<OverlayMode> modes, int activeMode, int defaultMode, in OverlayDisplayDevice() argument
291 mRawModes = modes; in OverlayDisplayDevice()
292 mModes = new Display.Mode[modes.size()]; in OverlayDisplayDevice()
293 for (int i = 0; i < modes.size(); i++) { in OverlayDisplayDevice()
294 OverlayMode mode = modes.get(i); in OverlayDisplayDevice()
[all …]
DDisplayModeDirector.java208 Display.Mode[] modes = mSupportedModesByDisplay.get(displayId); in getDesiredDisplayModeSpecs() local
210 if (modes == null || defaultMode == null) { in getDesiredDisplayModeSpecs()
232 availableModes = filterModes(modes, primarySummary); in getDesiredDisplayModeSpecs()
362 final Display.Mode[] modes = mSupportedModesByDisplay.valueAt(i); in dump() local
363 pw.println(" " + id + " -> " + Arrays.toString(modes)); in dump()
961 Display.Mode[] modes = mSupportedModesByDisplay.get(displayId); in findModeByIdLocked() local
962 if (modes == null) { in findModeByIdLocked()
965 for (Display.Mode mode : modes) { in findModeByIdLocked()
1001 SparseArray<Display.Mode[]> modes = new SparseArray<>(); in observe() local
1008 modes.put(displayId, info.supportedModes); in observe()
[all …]
DLocalDisplayAdapter.java981 Display.Mode[] modes = new Display.Mode[size]; in getDisplayModes() local
984 modes[i] = record.mMode; in getDisplayModes()
986 return modes; in getDisplayModes()
/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/av/media/libstagefright/codecs/amrwbenc/inc/
Dmime_io.tab24 /* number of speech bits for all modes */
35 /* sorting tables for all modes */
/frameworks/base/core/java/android/view/
DDisplayInfo.java497 Display.Mode[] modes = supportedModes; in findDefaultModeByRefreshRate() local
499 for (int i = 0; i < modes.length; i++) { in findDefaultModeByRefreshRate()
500 if (modes[i].matches( in findDefaultModeByRefreshRate()
502 return modes[i].getModeId(); in findDefaultModeByRefreshRate()
512 Display.Mode[] modes = supportedModes; in getDefaultRefreshRates() local
515 for (int i = 0; i < modes.length; i++) { in getDefaultRefreshRates()
516 Display.Mode mode = modes[i]; in getDefaultRefreshRates()
DDisplay.java915 final Display.Mode[] modes = mDisplayInfo.supportedModes; in getSupportedModes() local
916 return Arrays.copyOf(modes, modes.length); in getSupportedModes()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java95 KeyguardSecurityModel.SecurityMode[] modes = in showSecurityScreen_canInflateAllModes() local
97 for (KeyguardSecurityModel.SecurityMode mode : modes) { in showSecurityScreen_canInflateAllModes()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java63 Display.Mode[] modes = new Display.Mode[refreshRates.length]; in createDirectorFromRefreshRateArray() local
65 modes[i] = new Display.Mode( in createDirectorFromRefreshRateArray()
69 supportedModesByDisplay.put(displayId, modes); in createDirectorFromRefreshRateArray()
72 defaultModesByDisplay.put(displayId, modes[0]); in createDirectorFromRefreshRateArray()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java209 final String modes[] = {"Touch", "Ball"}; in changeMode() local
212 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.cpp855 VkPresentModeKHR* modes) { in GetPhysicalDeviceSurfacePresentModesKHR() argument
894 if (modes) { in GetPhysicalDeviceSurfacePresentModesKHR()
898 std::copy_n(present_modes.data(), *count, modes); in GetPhysicalDeviceSurfacePresentModesKHR()
922 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/
DSurfaceFlinger.cpp1166 std::vector<ColorMode> modes; in getDisplayColorModes() local
1176 modes = getHwComposer().getColorModes(*displayId); in getDisplayColorModes()
1186 std::remove_copy_if(modes.cbegin(), modes.cend(), std::back_inserter(*outColorModes), in getDisplayColorModes()
1189 std::copy(modes.cbegin(), modes.cend(), std::back_inserter(*outColorModes)); in getDisplayColorModes()
1221 Vector<ColorMode> modes; in setActiveColorMode() local
1222 getDisplayColorModes(displayToken, &modes); in setActiveColorMode()
1223 bool exists = std::find(std::begin(modes), std::end(modes), mode) != std::end(modes); in setActiveColorMode()
2512 std::vector<ColorMode> modes = getHwComposer().getColorModes(*displayId); in setupNewDisplayDeviceInternal() local
2513 for (ColorMode colorMode : modes) { in setupNewDisplayDeviceInternal()
4608 std::vector<ColorMode> modes = getHwComposer().getColorModes(*displayId); in dumpWideColorInfo() local
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp425 std::vector<ui::ColorMode> modes; in getColorModes() local
426 auto error = mDisplayData.at(displayId).hwcDisplay->getColorModes(&modes); in getColorModes()
428 return modes; in getColorModes()
/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/base/tools/protologtool/
DREADME.md7 ProtoLogTool incorporates three different modes of operation:
/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.java2067 HashSet<Byte> modes = new HashSet<Byte>(); in testSetMiracastMode_success() local
2072 modes.add(mode); in testSetMiracastMode_success()
2080 assertTrue(modes.contains(ISupplicantP2pIface.MiracastMode.SOURCE)); in testSetMiracastMode_success()
2083 assertTrue(modes.contains(ISupplicantP2pIface.MiracastMode.SINK)); in testSetMiracastMode_success()
2087 assertTrue(modes.contains(ISupplicantP2pIface.MiracastMode.DISABLED)); in testSetMiracastMode_success()
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto206 // decoupling of vibrate and silent modes. This setting will likely be

12