Home
last modified time | relevance | path

Searched refs:channels (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DRadioAccessSpecifierTest.java32 int[] channels = {5, 6, 7}; in testConstructorAndGetters() local
33 RadioAccessSpecifier radioAccessSpecifier = new RadioAccessSpecifier(ran, bands, channels); in testConstructorAndGetters()
37 assertThat(radioAccessSpecifier.getChannels()).isEqualTo(channels); in testConstructorAndGetters()
40 RadioAccessSpecifier toCompare1 = new RadioAccessSpecifier(ran, bands, channels); in testConstructorAndGetters()
43 RadioAccessSpecifier toCompare3 = new RadioAccessSpecifier(ran+1, bands, channels); in testConstructorAndGetters()
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.cpp107 memset(buffer, 0, framesToErase * pSles->channels * sizeof(short)); in recorderCallback()
174 memset(buffer, 0, pSles->bufSizeInFrames * pSles->channels * sizeof(short)); in playerCallback()
184 for (unsigned k = 0; k < pSles->channels; k++) { in playerCallback()
185 ((short *)buffer)[(i+j)*pSles->channels+k] = j < 4 ? 0x7FFF : 0x8000; in playerCallback()
264 pSles->channels = 1; // -c# in slesCreateServer()
298 pSles->bufSizeInBytes = pSles->channels * pSles->bufSizeInFrames * sizeof(short); in slesCreateServer()
320 size_t frameSize = pSles->channels * sizeof(short); in slesCreateServer()
322 pSles->fifoBuffer = new short[FIFO_FRAMES * pSles->channels]; in slesCreateServer()
336 pSles->fifo2Buffer = new short[FIFO2_FRAMES * pSles->channels]; in slesCreateServer()
375 pcm.numChannels = pSles->channels; in slesCreateServer()
[all …]
Dsles.h38 SLuint32 channels; // -c# member
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareRendererTests.kt92 val channels = ByteArray(buffer.remaining()) in <lambda>() constant
93 buffer.get(channels, 0, channels.size) in <lambda>()
94 val pixels = IntArray(channels.size / 4) in <lambda>()
98 while (channelIndex < channels.size) { in <lambda>()
99 val red = channels[channelIndex++].toInt() and 0xFF in <lambda>()
100 val green = channels[channelIndex++].toInt() and 0xFF in <lambda>()
101 val blue = channels[channelIndex++].toInt() and 0xFF in <lambda>()
102 val alpha = channels[channelIndex++].toInt() and 0xFF in <lambda>()
/cts/tests/tests/media/res/raw/
Dvoice12_48k_128kbps_15s_ac3_readme.txt5 channels=2
/cts/apps/CameraITS/tests/scene1/
Dtest_raw_exposure.py154 channels = ["Red", "Gr", "Gb", "Blue"]
157 s, channels[chan],
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptor_AutoCloseOutputStreamTest.java22 import java.nio.channels.FileLock;
/cts/tests/signature/api-check/hidden-api-blacklist-test-api/src/android/signature/cts/api/test/
DHiddenApiTest.java30 import java.nio.channels.FileChannel;
/cts/tests/tests/media/src/android/media/cts/
DAudioNativeTest.java262 for (int channels : deviceInfo.getChannelCounts()) { in testInputChannelMasksPreQ()
263 maxInputChannels = Math.max(channels, maxInputChannels); in testInputChannelMasksPreQ()
/cts/suite/audio_quality/lib/src/audio/
DAudioRecordingLocal.cpp48 config.channels = 2; in doPrepare()
DAudioPlaybackLocal.cpp61 config.channels = 2; in doPrepare()
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildStep.java23 import java.nio.channels.FileChannel;
/cts/tests/tests/libcorefileio/src/android/cts/
DLockHoldingService.java25 import java.nio.channels.FileLock;
DFileChannelInterProcessLockTest.java29 import java.nio.channels.AsynchronousFileChannel;
30 import java.nio.channels.FileChannel;
31 import java.nio.channels.FileLock;
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DLocaleDeviceInfo.java27 import java.nio.channels.FileChannel;
/cts/tools/release-parser/tests/resources/
Dbuild.prop36 ro.wifi.channels=
Dbuild.prop.pb.txt190 key: "ro.wifi.channels"
DCtsJniTestCases.apk.pb.txt181 return_type: "java.nio.channels.FileChannel"
709 return_type: "java.nio.channels.FileChannel"
2050 name: "java.nio.channels.FileChannel"
2063 parameters: "java.nio.channels.WritableByteChannel"
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DAbstractApiTest.java34 import java.nio.channels.FileChannel;
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java166 List<NotificationChannel> channels = mNotificationManager.getNotificationChannels(); in tearDown() local
168 for (NotificationChannel nc : channels) { in tearDown()
943 List<NotificationChannel> channels = mNotificationManager.getNotificationChannels(); in testGetChannels() local
944 for (NotificationChannel nc : channels) { in testGetChannels()
2045 List<NotificationChannel> channels = in testNotificationDelegate_grantAndReadChannels() local
2050 assertNotNull(channels); in testNotificationDelegate_grantAndReadChannels()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderTest.java219 for (int channels : mEncParamList2) { in setUpParams()
224 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, channels); in setUpParams()
DCodecDecoderTest.java40 import java.nio.channels.FileChannel;
/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp162 int channels = mEncParamList2[i]; in setUpParams() local
167 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_CHANNEL_COUNT, channels); in setUpParams()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
Draw_converter.rscript100 // Sort the RGB channels by value
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java53 import java.nio.channels.FileChannel;

12