/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/ |
D | DisplaySoundFragmentTest.java | 51 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()
|
D | ResolutionSelectionFragmentTest.java | 63 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/ |
D | ZenModesListPreferenceControllerTest.java | 17 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 …]
|
D | ZenModeSetCalendarPreferenceControllerTest.java | 17 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…
|
D | ZenModePrioritySendersPreferenceControllerTest.java | 17 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…
|
D | ZenModeAppsPreferenceControllerTest.java | 17 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/ |
D | OneCameraCharacteristicsImpl.java | 166 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/ |
D | ZenModesListPreferenceController.java | 16 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()
|
D | ZenModesBackend.java | 17 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()
|
D | ZenModePeopleLinkPreferenceController.java | 17 package com.android.settings.notification.modes; 19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
|
D | ZenModeCallsLinkPreferenceController.java | 17 package com.android.settings.notification.modes; 19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
|
D | ZenModeOtherLinkPreferenceController.java | 17 package com.android.settings.notification.modes; 19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
|
D | ZenModeDisplayLinkPreferenceController.java | 17 package com.android.settings.notification.modes; 19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
|
D | ZenModeNotifVisLinkPreferenceController.java | 17 package com.android.settings.notification.modes; 19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
|
D | ZenModeMessagesLinkPreferenceController.java | 17 package com.android.settings.notification.modes; 19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
|
D | ZenModeActionsPreferenceController.java | 17 package com.android.settings.notification.modes; 19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
|
D | ZenModeSetTriggerLinkPreferenceController.java | 16 package com.android.settings.notification.modes; 21 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
|
D | ZenModeAppsPreferenceController.java | 17 package com.android.settings.notification.modes; 19 import static com.android.settings.notification.modes.ZenModeFragmentBase.MODE_ID;
|
D | ZenModeAppsLinkPreferenceController.java | 17 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/ |
D | mirror_pad.mod.py | 30 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/ |
D | DisplaySoundUtils.java | 81 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/ |
D | MemtagHelper.java | 41 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/ |
D | ScreenResolutionControllerTest.java | 57 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/ |
D | CameraDeviceReport.java | 259 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/ |
D | PeakRefreshRatePreferenceControllerTest.java | 80 Display.Mode[] modes = new Display.Mode[]{ in setUp() local 89 when(mDisplayMock.getSupportedModes()).thenReturn(modes); in setUp()
|