/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | PowerComponentHandlerUnitTest.java | 23 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()
|
D | PolicyReaderUnitTest.java | 23 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/ |
D | PowerComponentHandlerTest.cpp | 91 {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()
|
D | PolicyManagerTest.cpp | 119 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/ |
D | CameraPictureSizesCacher.java | 52 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/ |
D | SupplicantP2pIfaceHalAidlImplTest.java | 679 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 …]
|
D | SupplicantP2pIfaceCallbackAidlImplTest.java | 400 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()
|
D | SupplicantP2pIfaceCallbackHidlImplTest.java | 308 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()
|
D | SupplicantP2pIfaceHalHidlImplTest.java | 726 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/ |
D | PowerComponentUtil.java | 156 return PowerComponent.DISPLAY; in toPowerComponent() 204 case PowerComponent.DISPLAY: in powerComponentToString()
|
D | PowerComponent.java | 37 int DISPLAY = 3; field
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | BasePreferenceControllerTest.java | 211 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/ |
D | SimpleBuildNumberPreferenceController.java | 39 return BidiFormatter.getInstance().unicodeWrap(Build.DISPLAY); in getSummary()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallbackHidlImpl.java | 198 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()
|
D | SupplicantP2pIfaceCallbackAidlImpl.java | 202 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()
|
D | SupplicantP2pIfaceHalAidlImpl.java | 401 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/ |
D | FakeRefactoredCarPowerPolicyDaemon.java | 124 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/ |
D | PowerComponentHandler.java | 20 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/ |
D | PresenceDevice.java | 48 DeviceType.DISPLAY, 61 int DISPLAY = 3; field
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WpsInfo.java | 32 public static final int DISPLAY = 1; field in WpsInfo
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | BuildNumberPreferenceController.java | 64 preference.setSummary(Build.DISPLAY); in updateState()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DisplaySettings.java | 45 return SettingsEnums.DISPLAY; in getMetricsCategory()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | FakeSettingsFragment.java | 55 return MetricsProto.MetricsEvent.DISPLAY; in getMetricsCategory()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/search/ |
D | FakeSettingsFragment.java | 54 return MetricsProto.MetricsEvent.DISPLAY; in getMetricsCategory()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | PolicyManager.cpp | 103 PowerComponent::DISPLAY, 114 PowerComponent::DISPLAY, 129 PowerComponent::DISPLAY,
|