Home
last modified time | relevance | path

Searched refs:DISPLAY (Results 1 – 25 of 53) sorted by relevance

123

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPowerComponentHandlerUnitTest.java23 import static android.car.hardware.power.PowerComponent.DISPLAY;
80 new int[]{AUDIO, BLUETOOTH, CELLULAR, CPU, DISPLAY, ETHERNET, INPUT, LOCATION, in testGetAccumulatedPolicy_firstTime()
90 DISPLAY, VOICE_INTERACTION}, new int[]{AUDIO}); in testApplyPowerPolicy_oneTime()
92 DISPLAY, VOICE_INTERACTION}, new int[]{AUDIO, CELLULAR, CPU, ETHERNET, INPUT, in testApplyPowerPolicy_oneTime()
105 new CarPowerPolicy("test_policy2", new int[]{WIFI, DISPLAY}, new int[]{NFC}), in testApplyPowerPolicy_multipleTimes()
109 new int[]{AUDIO, MEDIA, DISPLAY, INPUT, CPU}, in testApplyPowerPolicy_multipleTimes()
126 CarPowerPolicy policy2 = new CarPowerPolicy("test_policy2", new int[]{WIFI, DISPLAY}, in testApplyPowerPolicy_withCustomComponents()
133 new int[]{DISPLAY, WIFI, customComponentId}, in testApplyPowerPolicy_withCustomComponents()
142 new int[]{NFC, DISPLAY}); in testApplyPowerPolicy_withCustomComponents()
149 new int[]{DISPLAY, INPUT, MEDIA, BLUETOOTH, CELLULAR, ETHERNET, LOCATION, in testApplyPowerPolicy_withCustomComponents()
DPolicyReaderUnitTest.java23 import static android.car.hardware.power.PowerComponent.DISPLAY;
82 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
86 new int[]{MEDIA, DISPLAY, BLUETOOTH, WIFI, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
91 new int[]{AUDIO, DISPLAY, BLUETOOTH, WIFI, VOICE_INTERACTION,
100 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, PROJECTION, NFC, INPUT,
105 new int[]{AUDIO, MEDIA, DISPLAY, PROJECTION, INPUT, VOICE_INTERACTION,
115 new int[]{AUDIO, MEDIA, DISPLAY, PROJECTION, INPUT, VOICE_INTERACTION,
122 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
128 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
133 new int[]{MEDIA, DISPLAY, BLUETOOTH, WIFI, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
[all …]
/packages/services/Car/cpp/powerpolicy/server/tests/
DPowerComponentHandlerTest.cpp91 {PowerComponent::AUDIO, PowerComponent::DISPLAY}, {}, {}); in TEST_F()
97 ASSERT_FALSE(*handler.getPowerComponentState(PowerComponent::DISPLAY)); in TEST_F()
103 {PowerComponent::AUDIO, PowerComponent::DISPLAY}, in TEST_F()
116 {PowerComponent::WIFI, PowerComponent::DISPLAY}, in TEST_F()
125 {PowerComponent::AUDIO, PowerComponent::MEDIA, PowerComponent::DISPLAY, in TEST_F()
152 {PowerComponent::MEDIA, PowerComponent::DISPLAY, PowerComponent::INPUT, in TEST_F()
DPolicyManagerTest.cpp119 PowerComponent::DISPLAY,
137 PowerComponent::DISPLAY,
153 {PowerComponent::AUDIO, PowerComponent::MEDIA, PowerComponent::DISPLAY,
163 PowerComponent::DISPLAY,
180 PowerComponent::DISPLAY, PowerComponent::BLUETOOTH,
190 {PowerComponent::MEDIA, PowerComponent::DISPLAY,
201 {PowerComponent::MEDIA, PowerComponent::DISPLAY,
218 {PowerComponent::AUDIO, PowerComponent::DISPLAY,
225 {PowerComponent::AUDIO, PowerComponent::DISPLAY,
239 {PowerComponent::AUDIO, PowerComponent::MEDIA, PowerComponent::DISPLAY,
[all …]
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraPictureSizesCacher.java52 editor.putString(key_build, Build.DISPLAY); in updateSizesForCamera()
92 editor.putString(key_build, Build.DISPLAY); in getSizesForCamera()
115 if (thisCameraCachedBuild != null && thisCameraCachedBuild.equals(Build.DISPLAY)) { in getCachedSizesForCamera()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalAidlImplTest.java679 if (method == WpsProvisionMethod.DISPLAY && TextUtils.isEmpty(pin)) { in testConnect_V2_success()
694 WifiP2pConfig config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, ""); in testConnect_V2_success()
702 assertTrue(methods.contains(WpsProvisionMethod.DISPLAY)); in testConnect_V2_success()
705 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, configPin); in testConnect_V2_success()
707 assertTrue(methods.contains(WpsProvisionMethod.DISPLAY)); in testConnect_V2_success()
735 if (method == WpsProvisionMethod.DISPLAY && TextUtils.isEmpty(pin)) { in testConnect_V3_success()
749 WifiP2pConfig config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, ""); in testConnect_V3_success()
757 assertTrue(methods.contains(WpsProvisionMethod.DISPLAY)); in testConnect_V3_success()
760 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, configPin); in testConnect_V3_success()
762 assertTrue(methods.contains(WpsProvisionMethod.DISPLAY)); in testConnect_V3_success()
[all …]
DSupplicantP2pIfaceCallbackAidlImplTest.java400 assertTrue(setups.contains(WpsInfo.DISPLAY)); in testOnGoNegotiationRequest_success()
466 assertTrue(setups.contains(WpsInfo.DISPLAY)); in testOnGoNegotiationRequestWithParams_success()
731 short configMethods = WpsConfigMethods.DISPLAY; in testOnProvisionDiscoveryCompleted()
758 configMethods = WpsConfigMethods.DISPLAY; in testOnProvisionDiscoveryCompleted()
792 params.configMethods = WpsConfigMethods.DISPLAY; in testOnProvisionDiscoveryCompletedEvent()
817 params.configMethods = WpsConfigMethods.DISPLAY; in testOnProvisionDiscoveryCompletedEvent()
855 params.configMethods = WpsConfigMethods.DISPLAY; in testOnProvisionDiscoveryCompletedEvent_vendorData()
873 short configMethods = WpsConfigMethods.DISPLAY; in verifyProvisionDiscoveryFailureEvent()
DSupplicantP2pIfaceCallbackHidlImplTest.java308 assertTrue(setups.contains(WpsInfo.DISPLAY)); in testOnGoNegotiationRequest_success()
426 short configMethods = WpsConfigMethods.DISPLAY; in testOnProvisionDiscoveryCompleted()
453 configMethods = WpsConfigMethods.DISPLAY; in testOnProvisionDiscoveryCompleted()
482 short configMethods = WpsConfigMethods.DISPLAY; in verifyProvisionDiscoveryFailureEvent()
DSupplicantP2pIfaceHalHidlImplTest.java726 if (method == ISupplicantP2pIface.WpsProvisionMethod.DISPLAY in testConnect_success()
743 WifiP2pConfig config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, ""); in testConnect_success()
751 assertTrue(methods.contains(ISupplicantP2pIface.WpsProvisionMethod.DISPLAY)); in testConnect_success()
754 config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, configPin); in testConnect_success()
756 assertTrue(methods.contains(ISupplicantP2pIface.WpsProvisionMethod.DISPLAY)); in testConnect_success()
785 WifiP2pConfig config = createPlaceholderP2pConfig(mPeerMacAddress, WpsInfo.DISPLAY, ""); in testConnect_invalidArguments()
792 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
799 config.wps.setup = WpsInfo.DISPLAY; in testConnect_invalidArguments()
816 WpsInfo.DISPLAY, configPin); in testConnect_failure()
841 WpsInfo.DISPLAY, configPin); in testConnect_exception()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DPowerComponentUtil.java156 return PowerComponent.DISPLAY; in toPowerComponent()
204 case PowerComponent.DISPLAY: in powerComponentToString()
DPowerComponent.java37 int DISPLAY = 3; field
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DBasePreferenceControllerTest.java211 mPreferenceController.setMetricsCategory(SettingsEnums.DISPLAY); in getMetricsCategory_metricsCategoryIsSet_shouldReturnTheSameCategory()
215 assertThat(category).isEqualTo(SettingsEnums.DISPLAY); in getMetricsCategory_metricsCategoryIsSet_shouldReturnTheSameCategory()
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
DSimpleBuildNumberPreferenceController.java39 return BidiFormatter.getInstance().unicodeWrap(Build.DISPLAY); in getSummary()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackHidlImpl.java198 config.wps.setup = WpsInfo.DISPLAY; in onGoNegotiationRequest()
451 } else if (!isRequest && (configMethods & WpsConfigMethods.DISPLAY) != 0) { in onProvisionDiscoveryCompleted()
455 } else if (isRequest && (configMethods & WpsConfigMethods.DISPLAY) != 0) { in onProvisionDiscoveryCompleted()
DSupplicantP2pIfaceCallbackAidlImpl.java202 config.wps.setup = WpsInfo.DISPLAY; in handleGoNegotiationRequestEvent()
589 } else if (!isRequest && (configMethods & WpsConfigMethods.DISPLAY) != 0) { in handleProvisionDiscoveryCompletedEvent()
593 } else if (isRequest && (configMethods & WpsConfigMethods.DISPLAY) != 0) { in handleProvisionDiscoveryCompletedEvent()
DSupplicantP2pIfaceHalAidlImpl.java401 case WpsInfo.DISPLAY: in wpsInfoToConfigMethod()
402 return WpsProvisionMethod.DISPLAY; in wpsInfoToConfigMethod()
936 if (targetMethod == WpsProvisionMethod.DISPLAY) { in provisionDiscovery()
941 targetMethod = WpsProvisionMethod.DISPLAY; in provisionDiscovery()
2677 return WpsConfigMethods.DISPLAY; in stringToWpsConfigMethod()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeRefactoredCarPowerPolicyDaemon.java124 new int[]{PowerComponent.AUDIO, PowerComponent.DISPLAY, PowerComponent.CPU}, in createInitialOnPowerPolicy()
138 PowerComponent.MEDIA, PowerComponent.DISPLAY, PowerComponent.BLUETOOTH, in createAllOnPowerPolicy()
153 PowerComponent.AUDIO, PowerComponent.MEDIA, PowerComponent.DISPLAY, in createNoUserPowerPolicy()
/packages/services/Car/service/src/com/android/car/power/
DPowerComponentHandler.java20 import static android.car.hardware.power.PowerComponent.DISPLAY;
421 super(DISPLAY); in DisplayPowerComponentMediator()
544 case PowerComponent.DISPLAY: in createPowerComponent()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DPresenceDevice.java48 DeviceType.DISPLAY,
61 int DISPLAY = 3; field
/packages/modules/Wifi/framework/java/android/net/wifi/
DWpsInfo.java32 public static final int DISPLAY = 1; field in WpsInfo
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DBuildNumberPreferenceController.java64 preference.setSummary(Build.DISPLAY); in updateState()
/packages/apps/Settings/src/com/android/settings/
DDisplaySettings.java45 return SettingsEnums.DISPLAY; in getMetricsCategory()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DFakeSettingsFragment.java55 return MetricsProto.MetricsEvent.DISPLAY; in getMetricsCategory()
/packages/apps/Settings/tests/unit/src/com/android/settings/search/
DFakeSettingsFragment.java54 return MetricsProto.MetricsEvent.DISPLAY; in getMetricsCategory()
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp103 PowerComponent::DISPLAY,
114 PowerComponent::DISPLAY,
129 PowerComponent::DISPLAY,

123