Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CirrusLogic/tinyhal
/ functions
Functions
810 in github.com/CirrusLogic/tinyhal
⨍
Functions
810
◇
Types & classes
156
Method
testMultiWriteOneControl
Write the same control multiple times with different values. Writes should happen in the order they are listed in the xml so the control should have t
configmgr/test/java/ThcmPathControlsTest.java:249
Method
testMultiWriteOneControl
Write the same control multiple times with different values. Writes should happen in the order they are listed in the xml so the control should have t
configmgr/test/java/ThcmInitControlsTest.java:184
Method
testMultiWriteOneControl
Write the same control multiple times with different values. Writes should happen in the order they are listed in the xml so the control should have t
configmgr/test/java/ThcmUsecaseControlsTest.java:232
Method
testMultiWriteTwoControls
Write two controls multiple times with different values. All writes to the first control are done before writing to the second control. Writes should
configmgr/test/java/ThcmPathControlsTest.java:273
Method
testMultiWriteTwoControls
Write two controls multiple times with different values. All writes to the first control are done before writing to the second control. Writes should
configmgr/test/java/ThcmInitControlsTest.java:213
Method
testMultiWriteTwoControls
Write two controls multiple times with different values. All writes to the first control are done before writing to the second control. Writes should
configmgr/test/java/ThcmUsecaseControlsTest.java:260
Method
testMultiWriteTwoControlsInterleaved
Write two controls multiple times with different values. The writes of each control are interleaved. Writes should happen in the order they are listed
configmgr/test/java/ThcmPathControlsTest.java:299
Method
testMultiWriteTwoControlsInterleaved
Write two controls multiple times with different values. The writes of each control are interleaved. Writes should happen in the order they are listed
configmgr/test/java/ThcmInitControlsTest.java:248
Method
testMultiWriteTwoControlsInterleaved
Write two controls multiple times with different values. The writes of each control are interleaved. Writes should happen in the order they are listed
configmgr/test/java/ThcmUsecaseControlsTest.java:290
Method
testMultipleInOneDevice
Open two input streams connected to the same single device and then close them.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:587
Method
testMultipleInTwoDevices
Open two input streams both connected to the same two devices and then close them.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:641
Method
testMultipleOutDifferentDevices
Open two output streams each connected to a different device and then close them.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:514
Method
testMultipleOutOneDevice
Open two output streams connected to the same single device and then close them.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:396
Method
testMultipleOutTwoDevices
Open two output streams both connected to the same two devices and then close them.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:450
Method
testNegativeDecimalIntegers
Test values declared as negative decimal integers.
configmgr/test/java/ThcmStreamConstantsTest.java:350
Method
testNoDevice
Open a stream not connected to any device and then close it.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:758
Method
testNotFoundByName
Attempt to open a <code>name</code> attribute that does not match any available cards. @throws IOException If XML file cannot be created or deleted.
configmgr/test/java/ThcmOpenMixerTest.java:246
Method
testNotFoundByNumber
Attempt to open a <code>card</code> attribute that is not a valid card number. @throws IOException If XML file cannot be created or deleted.
configmgr/test/java/ThcmOpenMixerTest.java:199
Method
testOneInputOneOutputStreamApplyRoute
Open one input and one output stream and apply a sequence of devices.
configmgr/test/java/ThcmReportedRoutesTest.java:435
Method
testOneInputOneOutputStreamInitialDevice
Open one input and one output stream many times with different initial devices.
configmgr/test/java/ThcmReportedRoutesTest.java:274
Method
testOneInputStreamApplyRoute
Open one input stream and apply a sequence of devices.
configmgr/test/java/ThcmReportedRoutesTest.java:402
Method
testOneInputStreamApplyRouteSequential
Open a single input stream and connect to multiple devices sequentially.
configmgr/test/java/ThcmDeviceOnOffTest.java:615
Method
testOneInputStreamInitialDevice
Open one input stream many times with different initial devices.
configmgr/test/java/ThcmReportedRoutesTest.java:255
Method
testOneInputStreamMultipleInitialDevices
Open single input stream multiple initial devices.
configmgr/test/java/ThcmDeviceOnOffTest.java:379
Method
testOneInputStreamSingleInitialDevice
Open and close a single input stream to each available initial device.
configmgr/test/java/ThcmDeviceOnOffTest.java:412
Method
testOneOutputStreamApplyRoute
Open one output stream and apply a sequence of devices.
configmgr/test/java/ThcmReportedRoutesTest.java:371
Method
testOneOutputStreamApplyRouteSequential
Open a single output stream and connect to multiple devices sequentially.
configmgr/test/java/ThcmDeviceOnOffTest.java:543
Method
testOneOutputStreamInitialDevice
Open one output stream many times with different initial devices.
configmgr/test/java/ThcmReportedRoutesTest.java:237
Method
testOneOutputStreamMultipleInitialDevices
Open single output stream multiple initial devices.
configmgr/test/java/ThcmDeviceOnOffTest.java:346
Method
testOneOutputStreamSingleInitialDevice
Open and close a single output stream to each available initial device.
configmgr/test/java/ThcmDeviceOnOffTest.java:319
Method
testOpenByName
Open mixer declared by <code>name</code> attribute. Several card names are tested to ensure that it is scanning the available cards for a match. @thr
configmgr/test/java/ThcmOpenMixerTest.java:222
Method
testOpenByNumber
Open mixer declared by <code>card</code> attribute. Several card numbers are tested to ensure that it is passing the defined card number to tinyalsa.
configmgr/test/java/ThcmOpenMixerTest.java:175
Method
testOpenCloseOneInputOneOutputStream
Open and close one input stream and one output stream.
configmgr/test/java/ThcmGlobalPathsTest.java:491
Method
testOpenCloseOneInputStream
Open and close a single input stream.
configmgr/test/java/ThcmGlobalPathsTest.java:374
Method
testOpenCloseOneOutputStream
Open and close a single output stream.
configmgr/test/java/ThcmGlobalPathsTest.java:345
Method
testOpenCloseTwoInputStreams
Open and close two input streams.
configmgr/test/java/ThcmGlobalPathsTest.java:447
Method
testOpenCloseTwoInputStreamsOneDisableOnly
Open and close one normal input stream with another that only has an disable path.
configmgr/test/java/ThcmGlobalPathsTest.java:662
Method
testOpenCloseTwoInputStreamsOneEnableOnly
Open and close one normal input stream with another that only has an enable path.
configmgr/test/java/ThcmGlobalPathsTest.java:620
Method
testOpenCloseTwoOutputStreams
Open and close two output streams.
configmgr/test/java/ThcmGlobalPathsTest.java:403
Method
testOpenCloseTwoOutputStreamsOneDisableOnly
Open and close one normal output stream with another that only has an disable path.
configmgr/test/java/ThcmGlobalPathsTest.java:578
Method
testOpenCloseTwoOutputStreamsOneEnableOnly
Open and close one normal output stream with another that only has an enable path.
configmgr/test/java/ThcmGlobalPathsTest.java:536
Method
testOpenInstances
Test the stream can be opened the expected number of times but no more.
configmgr/test/java/ThcmStreamInstanceTest.java:212
Method
testOutDefaultDevice
Open a stream connected to AUDIO_DEVICE_OUT_DEFAULT and then close it.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:772
Method
testOutInDifferentDevices
Open one input stream and one output stream connected to different devices and then close them.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:705
Method
testOutOneDevice
Open an output stream connected to a single device and then close it.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:280
Method
testOutOneDeviceDisableOnly
Open an output stream connected to a single device that only has a disable path, and then close it.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:319
Method
testOutOneDeviceEnableOnly
Open an output stream connected to a single device that only has an enable path, and then close it.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:300
Method
testOutOneDeviceNoPath
Open an output stream connected to a single device without a path and then close it.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:360
Method
testOutTwoDevices
Open an output stream connected to a two devices and then close it.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:337
Method
testOutTwoDevicesOnePath
Open an output stream connected to a two devices, where only one device has a path, and then close it.
configmgr/test/java/ThcmStreamInitialDeviceTest.java:375
Method
testOutputApplyRouteRefCount
Test that output on/off paths only invoked for first/last connected stream when using apply_route().
configmgr/test/java/ThcmDeviceOnOffTest.java:690
Method
testOutputCloseRefCount
Test that output off paths are only invoked for last disconnected stream when closing streams.
configmgr/test/java/ThcmDeviceOnOffTest.java:790
Method
testOutputsOnly
Test a configuration containing only output devices. @throws java.io.IOException if unable to write the XML file.
configmgr/test/java/ThcmSupportedDevicesTest.java:187
Method
testPositiveDecimalIntegers
Test values declared as positive decimal integers.
configmgr/test/java/ThcmStreamConstantsTest.java:326
Method
testRelativeDefaultPath
XML file in system config file path, only filename passed to init_audio_config(). @throws IOException if cannot create XML file
configmgr/test/java/ThcmRootXmlPathTest.java:249
Method
testRelativeNonDefaultPath
XML file not in system config file path, relative path passed to init_audio_config(). The given path is relative to the system config path. @throws I
configmgr/test/java/ThcmRootXmlPathTest.java:210
Method
testRemoveOneDeviceNoPaths
Open a stream connected to two devices with matching paths in only one device, then remove the device without paths.
configmgr/test/java/ThcmApplyRoute1Test.java:1076
Method
testRemoveTwoDevicesOnePath
Open a stream connected to two devices with matching paths in only one device, then remove both devices.
configmgr/test/java/ThcmApplyRoute1Test.java:1129
Method
testReportedInputsOnly
Test a configuration containing only input devices. @throws java.io.IOException if unable to write the XML file.
configmgr/test/java/ThcmSupportedDevicesTest.java:207
Method
testReportedOutputsAndInputs
Test a configuration containing output and input devices. @throws java.io.IOException if unable to write the XML file.
configmgr/test/java/ThcmSupportedDevicesTest.java:227
Method
testSelectedFile
Check that the correct XML file was parsed. This uses the defined constant, which has a different value in each XML XML file, to check which file was
configmgr/test/java/ThcmCodecProbeTest.java:502
Method
testSingleIndexedLeft
Write a volume to a single indexed left-channel control. Requested left and right percentages are the same
configmgr/test/java/ThcmVolumeControlsTest.java:264
Method
testSingleIndexedRight
Write a volume to a single indexed right-channel control. Requested left and right percentages are the same
configmgr/test/java/ThcmVolumeControlsTest.java:326
Method
testSingleLeft
Write a volume to a single non-indexed left-channel control. Requested left and right percentages are the same
configmgr/test/java/ThcmVolumeControlsTest.java:235
Method
testSingleLeftRangeLimit
Write a volume to a single non-indexed left-channel control with reduced min-max range. The <ctl> entry specifies a min and max that are not the
configmgr/test/java/ThcmVolumeControlsTest.java:475
Method
testSingleRight
Write a volume to a single non-indexed right-channel control. Requested left and right percentages are the same
configmgr/test/java/ThcmVolumeControlsTest.java:297
Method
testSingleRightRangeLimit
Write a volume to a single non-indexed right-channel control with reduced min-max range. The <ctl> entry specifies a min and max that are not th
configmgr/test/java/ThcmVolumeControlsTest.java:507
Method
testSingleWriteMultiControls
Write four controls once with different values for each control.
configmgr/test/java/ThcmPathControlsTest.java:321
Method
testSingleWriteMultiControls
Write four controls once with different values for each control.
configmgr/test/java/ThcmInitControlsTest.java:279
Method
testSingleWriteMultiControls
Write four controls once with different values for each control.
configmgr/test/java/ThcmUsecaseControlsTest.java:316
Method
testSingleWriteMultiControlsReverse
Write four controls once with different values for each control. This is the same as testSingleWriteMultiControls() but the controls are written in re
configmgr/test/java/ThcmPathControlsTest.java:354
Method
testSingleWriteMultiControlsReverse
Write four controls once with different values for each control. This is the same as testSingleWriteMultiControls() but the controls are written in re
configmgr/test/java/ThcmInitControlsTest.java:317
Method
testSingleWriteMultiControlsReverse
Write four controls once with different values for each control. This is the same as testSingleWriteMultiControls() but the controls are written in re
configmgr/test/java/ThcmUsecaseControlsTest.java:353
Method
testStereoIndexed
Write volumes to a 2-element control. All possible combinations of left and right volume are written to different indexes in a single control.
configmgr/test/java/ThcmVolumeControlsTest.java:399
Method
testStereoIndexedRangeLimit
Write a volume to a 2-element control with reduced min-max range. The <ctl> entry specifies a min and max that are not the full range of the con
configmgr/test/java/ThcmVolumeControlsTest.java:580
Method
testStereoPair
Write volumes to a pair of controls. All possible combinations of left and right volume are written to separate controls for left and right.
configmgr/test/java/ThcmVolumeControlsTest.java:360
Method
testStereoPairRangeLimit
Write a volume to a pair of controls with reduced min-max range. The <ctl> entry specifies a min and max that are not the full range of the cont
configmgr/test/java/ThcmVolumeControlsTest.java:539
Method
testStreamCard
()
configmgr/test/java/ThcmStreamAttributesTest.java:369
Method
testStreamDevice
()
configmgr/test/java/ThcmStreamAttributesTest.java:385
Method
testStreamDirection
Test the stream direction indication macros. Tests that the is_input, is_pcm_in/out and is_compressed_in/out macros.
configmgr/test/java/ThcmStreamAttributesTest.java:281
Method
testStreamMatch
Test the correct stream is opened.
configmgr/test/java/ThcmStreamMatchingTest.java:297
Method
testStreamPeriodCount
Test the stream period count. Tests the <code>period_count</code> field of <code>struct hw_stream</code>.
configmgr/test/java/ThcmStreamAttributesTest.java:353
Method
testStreamPeriodSize
Test the stream period size. Tests the <code>period_size</code> field of <code>struct hw_stream</code>.
configmgr/test/java/ThcmStreamAttributesTest.java:333
Method
testStreamRate
Test the stream sample rate. Tests the <code>rate</code> field of <code>struct hw_stream</code>.
configmgr/test/java/ThcmStreamAttributesTest.java:313
Method
testStreamType
Test the stream type indication macros. Tests that the is_hardware, is_pcm and is_compressed macros.
configmgr/test/java/ThcmStreamAttributesTest.java:261
Method
testStrings
Test the raw string values.
configmgr/test/java/ThcmStreamConstantsTest.java:299
Method
testSwapStreamOneDeviceBreakBeforeMake
Move a device from one stream to another with break-before-make
configmgr/test/java/ThcmApplyRoute2Test.java:483
Method
testSwapStreamOneDeviceMakeBeforeBreak
Move a device from one stream to another with make-before-break
configmgr/test/java/ThcmApplyRoute2Test.java:440
Method
testTwoInputStreamApplyRouteOneStream
Open two input streams and apply a sequence of devices to one stream.
configmgr/test/java/ThcmReportedRoutesTest.java:542
Method
testTwoInputStreamsInitialDevice
Open two input streams many times with different initial devices.
configmgr/test/java/ThcmReportedRoutesTest.java:340
Method
testTwoOutputStreamApplyRouteOneStream
Open two output stream and apply a sequence of devices to one stream.
configmgr/test/java/ThcmReportedRoutesTest.java:501
Method
testTwoOutputStreamsInitialDevice
Open two output streams many times with different initial devices.
configmgr/test/java/ThcmReportedRoutesTest.java:309
Method
testTwoOutputStreamsSingleInitialDevice
Open and close two output streams to different initial devices.
configmgr/test/java/ThcmDeviceOnOffTest.java:439
Method
testWriteDataInXml
Write a control from data defined in the xml.
configmgr/test/java/ThcmByteControlTest.java:305
Method
testWriteIndexedElements
Write a test value to individual elements of a multi-element control. Only the indexed element should change.
configmgr/test/java/ThcmBoolControlTest.java:267
Method
testWriteIndexedElements
Write a test value to individual elements of a multi-element control. Only the indexed element should change.
configmgr/test/java/ThcmIntControlTest.java:289
Method
testWriteOneElement
Simple write of a test value to a 1-element control.
configmgr/test/java/ThcmEnumControlTest.java:208
Method
testWriteOneElement
Simple write of a 1-element control.
configmgr/test/java/ThcmBoolControlTest.java:200
Method
testWriteOneElement
Simple write of a test value to a 1-element control.
configmgr/test/java/ThcmIntControlTest.java:231
Method
testWriteOneValueToMultiElement
Write a single test value to a 2-element control. Both elements should change to the test value.
configmgr/test/java/ThcmBoolControlTest.java:232
← previous
next →
701–800 of 810, ranked by callers