Home
last modified time | relevance | path

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

12345

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/
DDisplaySoundFragmentTest.java51 Display.Mode[] modes = new Display.Mode[] { in testNoSystemPreferredDisplayMode_hidesDisplayModeSetting() local
56 createDisplaySoundFragmentWith(modes, modes[1], null); in testNoSystemPreferredDisplayMode_hidesDisplayModeSetting()
65 Display.Mode[] modes = new Display.Mode[] { in testWithSystemPreferredDisplayMode_showsDisplayModeSetting() local
70 createDisplaySoundFragmentWith(modes, modes[1], modes[1]); in testWithSystemPreferredDisplayMode_showsDisplayModeSetting()
DResolutionSelectionFragmentTest.java63 Display.Mode[] modes = new Display.Mode[] { in testOnPreferenceTreeClick_selectAuto() local
70 createResolutionSelectionFragmentWith(modes); in testOnPreferenceTreeClick_selectAuto()
81 Display.Mode[] modes = new Display.Mode[] { in testOnPreferenceTreeClick_selectMode() local
88 createResolutionSelectionFragmentWith(modes); in testOnPreferenceTreeClick_selectMode()
103 Display.Mode[] modes = new Display.Mode[] { in testGetPreferenceScreen_returnsCorrectModeDescriptions() local
113 createResolutionSelectionFragmentWith(modes); in testGetPreferenceScreen_returnsCorrectModeDescriptions()
153 Display.Mode[] modes = new Display.Mode[] { in testGetUserPreferredDisplayMode_selectsCorrectPreference() local
158 Display.Mode userPreferredMode = modes[1]; in testGetUserPreferredDisplayMode_selectsCorrectPreference()
160 createResolutionSelectionFragmentWith(modes, userPreferredMode); in testGetUserPreferredDisplayMode_selectsCorrectPreference()
172 createResolutionSelectionFragmentWith(modes, null); in testGetUserPreferredDisplayMode_selectsCorrectPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModesListPreferenceControllerTest.java17 package com.android.settings.notification.modes;
105 ImmutableList<ZenMode> modes = ImmutableList.of(newMode("One"), newMode("Two"), in updateState_addsPreferences() local
107 when(mBackend.getModes()).thenReturn(modes); in updateState_addsPreferences()
114 .containsExactlyElementsIn(modes) in updateState_addsPreferences()
117 for (int i = 0; i < modes.size(); i++) { in updateState_addsPreferences()
119 .isEqualTo(modes.get(i)); in updateState_addsPreferences()
126 ImmutableList<ZenMode> modes = ImmutableList.of(newMode("One"), newMode("Two"), in updateState_secondTime_updatesPreferences() local
128 when(mBackend.getModes()).thenReturn(modes); in updateState_secondTime_updatesPreferences()
134 ImmutableList<ZenMode> updatedModes = ImmutableList.of(modes.get(0), modes.get(1), in updateState_secondTime_updatesPreferences()
135 newMode("Two.1"), newMode("Two.2"), modes.get(2), /* deleted "Four" */ in updateState_secondTime_updatesPreferences()
[all …]
DZenModeSetCalendarPreferenceControllerTest.java17 package com.android.settings.notification.modes;
22 import static com.android.settings.notification.modes.ZenModeSetCalendarPreferenceController.CALEND…
23 import static com.android.settings.notification.modes.ZenModeSetCalendarPreferenceController.KEY_CA…
24 import static com.android.settings.notification.modes.ZenModeSetCalendarPreferenceController.KEY_RE…
25 import static com.android.settings.notification.modes.ZenModeSetCalendarPreferenceController.addCal…
DZenModePrioritySendersPreferenceControllerTest.java17 package com.android.settings.notification.modes;
31 import static com.android.settings.notification.modes.ZenModePrioritySendersPreferenceController.KE…
32 import static com.android.settings.notification.modes.ZenModePrioritySendersPreferenceController.KE…
33 import static com.android.settings.notification.modes.ZenModePrioritySendersPreferenceController.KE…
34 import static com.android.settings.notification.modes.ZenModePrioritySendersPreferenceController.KE…
35 import static com.android.settings.notification.modes.ZenModePrioritySendersPreferenceController.KE…
DZenModeAppsPreferenceControllerTest.java17 package com.android.settings.notification.modes;
23 import static com.android.settings.notification.modes.ZenModeAppsPreferenceController.KEY_ALL;
24 import static com.android.settings.notification.modes.ZenModeAppsPreferenceController.KEY_NONE;
25 import static com.android.settings.notification.modes.ZenModeAppsPreferenceController.KEY_PRIORITY;
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraCharacteristicsImpl.java166 int[] modes = mCameraCharacteristics.get( in getSupportedFaceDetectModes() local
169 List<FaceDetectMode> oneModes = new ArrayList<>(modes.length); in getSupportedFaceDetectModes()
171 for(int i=0; i < modes.length; i++) { in getSupportedFaceDetectModes()
172 if (modes[i] == CameraMetadata.STATISTICS_FACE_DETECT_MODE_FULL) { in getSupportedFaceDetectModes()
175 if (modes[i] == CameraMetadata.STATISTICS_FACE_DETECT_MODE_SIMPLE) { in getSupportedFaceDetectModes()
178 if (modes[i] == CameraMetadata.STATISTICS_FACE_DETECT_MODE_OFF) { in getSupportedFaceDetectModes()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModesListPreferenceController.java16 package com.android.settings.notification.modes;
85 List<ZenMode> modes = mBackend.getModes(); in updateState() local
86 for (ZenMode mode : modes) { in updateState()
96 modePreference.setOrder(modes.indexOf(mode)); in updateState()
DZenModesBackend.java17 package com.android.settings.notification.modes;
79 ArrayList<ZenMode> modes = new ArrayList<>(); in getModes() local
81 modes.add(getManualDndMode(currentConfig)); in getModes()
86 modes.add(new ZenMode(ruleId, zenRuleEntry.getValue(), in getModes()
90 modes.sort((l, r) -> { in getModes()
99 return modes; in getModes()
DZenModePeopleLinkPreferenceController.java17 package com.android.settings.notification.modes;
19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
DZenModeCallsLinkPreferenceController.java17 package com.android.settings.notification.modes;
19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
DZenModeOtherLinkPreferenceController.java17 package com.android.settings.notification.modes;
19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
DZenModeDisplayLinkPreferenceController.java17 package com.android.settings.notification.modes;
19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
DZenModeNotifVisLinkPreferenceController.java17 package com.android.settings.notification.modes;
19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
DZenModeMessagesLinkPreferenceController.java17 package com.android.settings.notification.modes;
19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
DZenModeActionsPreferenceController.java17 package com.android.settings.notification.modes;
19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
DZenModeSetTriggerLinkPreferenceController.java16 package com.android.settings.notification.modes;
21 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
DZenModeAppsPreferenceController.java17 package com.android.settings.notification.modes;
19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
DZenModeAppsLinkPreferenceController.java17 package com.android.settings.notification.modes;
19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
/packages/modules/NeuralNetworks/runtime/test/specs/AIDL_V3/
Dmirror_pad.mod.py30 def test(name, seed, input_dims, orig_paddings, modes=[0, 1], clampReflectPadding=False): argument
31 for mode in modes:
96 modes=[1]) # symmetric
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DDisplaySoundUtils.java81 public static boolean isDolbyVisionSupported(Display.Mode[] modes) { in isDolbyVisionSupported() argument
82 for (int i = 0; i < modes.length; i++) { in isDolbyVisionSupported()
83 if (isHdrFormatSupported(modes[i], HDR_TYPE_DOLBY_VISION)) { in isDolbyVisionSupported()
/packages/apps/Settings/src/com/android/settings/security/
DMemtagHelper.java41 String modes[] = SystemProperties.get("arm64.memtag.bootctl", "").split(","); in isChecked() local
42 return Arrays.asList(modes).contains("memtag"); in isChecked()
/packages/apps/Settings/tests/unit/src/com/android/settings/display/
DScreenResolutionControllerTest.java57 Display.Mode[] modes = {modeA, modeB}; in getAvailabilityStatus_hasFhdAndQhdModes_returnAvailable() local
58 doReturn(modes).when(mController).getSupportedModes(); in getAvailabilityStatus_hasFhdAndQhdModes_returnAvailable()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraDeviceReport.java259 public static String intsToString(int[] modes) { in intsToString() argument
261 if (modes != null) { in intsToString()
262 for (int j = 0; j < modes.length; j++) { in intsToString()
263 result += modes[j] + " "; in intsToString()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DPeakRefreshRatePreferenceControllerTest.java80 Display.Mode[] modes = new Display.Mode[]{ in setUp() local
89 when(mDisplayMock.getSupportedModes()).thenReturn(modes); in setUp()

12345