Home
last modified time | relevance | path

Searched refs:mUsage (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DAudioFocusInfoBuilder.java31 private int mUsage; field in AudioFocusInfoBuilder
43 mUsage = usage; in setUsage()
95 if (AudioAttributes.isSystemUsage(mUsage)) { in createAudioFocusInfo()
96 builder.setSystemUsage(mUsage); in createAudioFocusInfo()
98 builder.setUsage(mUsage); in createAudioFocusInfo()
DCarZonesAudioFocusTestBase.java299 private final int mUsage; field in CarZonesAudioFocusTestBase.AudioClientInfo
304 mUsage = usage; in AudioClientInfo()
310 return mUsage; in getUsage()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DAudioPlaybackConfigurationBuilder.java35 private @AudioAttributes.AttributeUsage int mUsage = USAGE_MEDIA; field in AudioPlaybackConfigurationBuilder
41 mUsage = usage; in setUsage()
62 AudioAttributes attributes = new AudioAttributes.Builder().setUsage(mUsage).build(); in build()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DAudioRoutesManager.java58 private int mUsage; field in AudioRoutesManager
105 mUsage = usage; in AudioRoutesManager()
129 if (audioAttributes.getUsage() == mUsage) { in updateAudioRoutesList()
165 mCarAudioManager.getOutputDeviceForUsage(mAudioZone, mUsage); in updateAudioRoutesList()
246 if (audioAttributes.getUsage() == mUsage) { in setAudioRouteActive()
DAudioRouteSelectionDialogFragment.java40 private int mUsage; field in AudioRouteSelectionDialogFragment
44 mUsage = context.getResources().getInteger(R.integer.audio_route_selector_usage); in AudioRouteSelectionDialogFragment()
45 mAudioRoutesManager = new AudioRoutesManager(context, mUsage); in AudioRouteSelectionDialogFragment()
DVolumeItemParser.java100 private final int mUsage; field in VolumeItemParser.VolumeItem
112 mUsage = usage; in VolumeItem()
124 return mUsage; in getUsage()
DAudioRouteSelectorController.java41 private int mUsage; field in AudioRouteSelectorController
48 mUsage = context.getResources().getInteger(R.integer.audio_route_selector_usage); in AudioRouteSelectorController()
49 mAudioRoutesManager = new AudioRoutesManager(context, mUsage); in AudioRouteSelectorController()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsV4lCamera.cpp68 mUsage = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_RARELY | GRALLOC_USAGE_SW_WRITE_OFTEN; in EvsV4lCamera()
594 status_t result = alloc.allocate(mVideo.getWidth(), mVideo.getHeight(), mFormat, 1, mUsage, in increaseAvailableFrames_Locked()
732 pDesc->usage = mUsage; in forwardFrame()
929 evsCamera->mUsage = in Create()
DEvsV4lCamera.h124 uint32_t mUsage = 0; // Values from from Gralloc.h variable
/packages/services/Car/cpp/computepipe/runner/stream_manager/
DPixelStreamManager.cpp35 mUsage(AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN | additionalUsageFlags) { in PixelMemHandle()
79 mDesc.usage = mUsage; in setFrameData()
DPixelStreamManager.h68 int mUsage; variable
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsV4lCamera.cpp68 mUsage = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_RARELY | GRALLOC_USAGE_SW_WRITE_OFTEN; in EvsV4lCamera()
584 auto result = alloc.allocate(mVideo.getWidth(), mVideo.getHeight(), mFormat, 1, mUsage, in increaseAvailableFrames_Locked()
727 .usage = static_cast<BufferUsage>(mUsage), in forwardFrame()
915 evsCamera->mUsage = in Create()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp131 mUsage = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_RARELY | GRALLOC_USAGE_SW_WRITE_OFTEN; in EvsEmulatedCamera()
566 mFormat, 1 /* layers */, mUsage, &memHandle, in increaseAvailableFrames_Locked()
686 pDesc->usage = mUsage; in forwardFrame()
DEvsEmulatedCamera.h123 uint32_t mUsage = 0; // Values from from Gralloc.h variable
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/
DEvsV4lCamera.h112 uint32_t mUsage = 0; // Values from from Gralloc.h variable