Home
last modified time | relevance | path

Searched refs:deviceConfig (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/libs/androidfw/tests/
DConfig_test.cpp55 ResTable_config deviceConfig; in TEST() local
56 memset(&deviceConfig, 0, sizeof(deviceConfig)); in TEST()
57 deviceConfig.density = ResTable_config::DENSITY_XHIGH; in TEST()
58 deviceConfig.sdkVersion = 21; in TEST()
65 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
69 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
73 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
76 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
79 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
83 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
[all …]
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/
DBubblePositionerTest.kt213 val deviceConfig = in testBubbleBarExpandedViewHeightAndWidth() constant
223 positioner.update(deviceConfig) in testBubbleBarExpandedViewHeightAndWidth()
240 val deviceConfig = in testBubbleBarExpandedViewHeightAndWidth_screenWidthTooSmall() constant
249 positioner.update(deviceConfig) in testBubbleBarExpandedViewHeightAndWidth_screenWidthTooSmall()
263 val deviceConfig = in testGetExpandedViewHeight_max() constant
269 positioner.update(deviceConfig) in testGetExpandedViewHeight_max()
278 val deviceConfig = in testGetExpandedViewHeight_customHeight_valid() constant
284 positioner.update(deviceConfig) in testGetExpandedViewHeight_customHeight_valid()
307 val deviceConfig = in testGetExpandedViewHeight_customHeight_tooSmall() constant
313 positioner.update(deviceConfig) in testGetExpandedViewHeight_customHeight_tooSmall()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DServerFlagReaderImplTest.kt44 private val deviceConfig = DeviceConfigProxyFake() constant in com.android.systemui.flags.ServerFlagReaderImplTest
51 serverFlagReader = ServerFlagReaderImpl(NAMESPACE, deviceConfig, executor, false) in setup()
59 deviceConfig.setProperty(NAMESPACE, "flag_1", "1", false) in testChange_alertsListener()
67 val serverFlagReader = ServerFlagReaderImpl(NAMESPACE, deviceConfig, executor, true) in testChange_ignoresListenersDuringTest()
71 deviceConfig.setProperty(NAMESPACE, "flag_override_1", "1", false) in testChange_ignoresListenersDuringTest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DServerFlagReader.kt46 private val deviceConfig: DeviceConfigProxy, constant in com.android.systemui.flags.ServerFlagReaderImpl
80 !namespace.isBlank() && !name.isBlank() && deviceConfig.getProperty( in hasOverride()
87 !namespace.isBlank() && !name.isBlank() && deviceConfig.getBoolean( in hasOverride()
98 deviceConfig.addOnPropertiesChangedListener( in hasOverride()
117 deviceConfig: DeviceConfigProxy, in bindsReader()
122 SYSUI_NAMESPACE, deviceConfig, executor, isTestHarness in bindsReader()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerConstants.java67 WindowManagerConstants(WindowManagerService service, DeviceConfigInterface deviceConfig) { in WindowManagerConstants() argument
69 DisplayContent::updateSystemGestureExclusionLimit), deviceConfig); in WindowManagerConstants()
75 DeviceConfigInterface deviceConfig) { in WindowManagerConstants() argument
78 mDeviceConfig = deviceConfig; in WindowManagerConstants()
DHighRefreshRateDenylist.java49 HighRefreshRateDenylist(Resources r, DeviceConfigInterface deviceConfig) { in HighRefreshRateDenylist() argument
51 deviceConfig.addOnPropertiesChangedListener(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in HighRefreshRateDenylist()
53 final String property = deviceConfig.getProperty(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in HighRefreshRateDenylist()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java113 public void update(DeviceConfig deviceConfig) { in update() argument
114 mDeviceConfig = deviceConfig; in update()
118 mRotation, deviceConfig.getInsets(), deviceConfig.isLargeScreen(), in update()
119 deviceConfig.isSmallTablet(), mShowingInBubbleBar, in update()
120 deviceConfig.getWindowBounds()); in update()
121 updateInternal(mRotation, deviceConfig.getInsets(), deviceConfig.getWindowBounds()); in update()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/binder/
DSideFpsOverlayViewBinderTest.kt99 private lateinit var deviceConfig: DeviceConfig variable in com.android.systemui.biometrics.ui.binder.SideFpsOverlayViewBinderTest
342 deviceConfig: DeviceConfig, in setupTestConfiguration()
346 this@SideFpsOverlayViewBinderTest.deviceConfig = deviceConfig in setupTestConfiguration()
348 when (deviceConfig) { in setupTestConfiguration()
/frameworks/base/services/core/java/com/android/server/display/feature/
DDeviceConfigParameterProvider.java40 public DeviceConfigParameterProvider(DeviceConfigInterface deviceConfig) { in DeviceConfigParameterProvider() argument
41 mDeviceConfig = deviceConfig; in DeviceConfigParameterProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DSideFpsOverlayViewModelTest.kt108 private lateinit var deviceConfig: DeviceConfig variable in com.android.systemui.biometrics.ui.viewmodel.SideFpsOverlayViewModelTest
401 deviceConfig: DeviceConfig, in setupTestConfiguration()
405 this@SideFpsOverlayViewModelTest.deviceConfig = deviceConfig in setupTestConfiguration()
407 when (deviceConfig) { in setupTestConfiguration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerProxy.java66 DeviceConfigProxy deviceConfig, DumpManager dumpManager, in FalsingManagerProxy() argument
70 mDeviceConfig = deviceConfig; in FalsingManagerProxy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyConstants.java73 DeviceConfigProxy deviceConfig in SmartReplyConstants() argument
95 mDeviceConfig = deviceConfig; in SmartReplyConstants()
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioPolicyServiceClient.aidl43 in AudioConfigBase deviceConfig, in onRecordingConfigurationUpdate() argument
/frameworks/base/services/core/java/com/android/server/display/
DSmallAreaDetectionController.java63 SmallAreaDetectionController(Context context, DeviceConfigInterface deviceConfig) { in SmallAreaDetectionController() argument
66 deviceConfig.addOnPropertiesChangedListener(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in SmallAreaDetectionController()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/
DBridgeClient.java657 ConfigGenerator deviceConfig, boolean decoration) throws ClassNotFoundException, in renderAndVerify() argument
659 SessionParams params = createSessionParams(layoutFileName, deviceConfig); in renderAndVerify()
666 protected SessionParams createSessionParams(String layoutFileName, ConfigGenerator deviceConfig) in createSessionParams() argument
685 .setConfigGenerator(deviceConfig) in createSessionParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/dagger/
DKeyguardModule.java141 DeviceConfigProxy deviceConfig, in newKeyguardViewMediator() argument
189 deviceConfig, in newKeyguardViewMediator()
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/bar/
DBubbleExpandedViewPinControllerTest.kt81 val deviceConfig = in <lambda>() constant
90 positioner.update(deviceConfig) in <lambda>()
92 SCREEN_HEIGHT - deviceConfig.insets.bottom - BUBBLE_BAR_HEIGHT in <lambda>()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp270 const audio_config_base_t *deviceConfig, in onRecordingConfigurationUpdate() argument
276 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in onRecordingConfigurationUpdate()
DAudioPolicyService.h383 const audio_config_base_t *deviceConfig,
391 const audio_config_base_t *deviceConfig,
637 const audio_config_base_t *deviceConfig,
863 const audio_config_base_t *deviceConfig,
916 const audio_config_base_t *deviceConfig,
DAudioPolicyService.cpp507 const audio_config_base_t *deviceConfig, in onRecordingConfigurationUpdate() argument
513 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in onRecordingConfigurationUpdate()
521 const audio_config_base_t *deviceConfig, in doOnRecordingConfigurationUpdate() argument
529 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in doOnRecordingConfigurationUpdate()
729 const audio_config_base_t *deviceConfig, in onRecordingConfigurationUpdate() argument
748 *deviceConfig, true /*isInput*/)); in onRecordingConfigurationUpdate()
2301 const audio_config_base_t *deviceConfig, in recordingConfigurationUpdateCommand() argument
2313 data->mDeviceConfig = *deviceConfig; in recordingConfigurationUpdateCommand()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h85 const audio_config_base_t *deviceConfig __unused, in onRecordingConfigurationUpdate()
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.cpp801 AudioConfig deviceConfig = initialConfig; in prepareToOpenStream() local
802 if (setConfigFromPortConfig(&deviceConfig, devicePortConfig)->base != initialConfig.base) { in prepareToOpenStream()
807 &deviceConfig, mixPortConfig, patch); in prepareToOpenStream()
809 *config = deviceConfig; in prepareToOpenStream()
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h83 const audio_config_base_t *deviceConfig,
896 const media::audio::common::AudioConfigBase& deviceConfig,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h564 const audio_config_base_t *deviceConfig,
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java560 List<DeviceConfig> deviceConfig, @AudioCodec int[] audioCodecs) { in getSupportedShortAudioDescriptorsFromConfig() argument
565 for (DeviceConfig device : deviceConfig) { in getSupportedShortAudioDescriptorsFromConfig()

12