Home
last modified time | relevance | path

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

/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/tests/tests/os/src/android/os/cts/
DParcelFileDescriptor_AutoCloseOutputStreamTest.java22 import java.nio.channels.FileLock;
/cts/apps/CameraITS/tests/scene1/
Dtest_raw_exposure.py154 channels = ["Red", "Gr", "Gb", "Blue"]
157 s, channels[chan],
/cts/suite/audio_quality/lib/src/audio/
DAudioPlaybackLocal.cpp61 config.channels = 2; in doPrepare()
DAudioRecordingLocal.cpp48 config.channels = 2; in doPrepare()
/cts/tests/tests/media/src/android/media/cts/
DAudioNativeTest.java261 for (int channels : deviceInfo.getChannelCounts()) { in testInputChannelMasksPreQ()
262 maxInputChannels = Math.max(channels, maxInputChannels); in testInputChannelMasksPreQ()
/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.java28 import java.nio.channels.AsynchronousFileChannel;
29 import java.nio.channels.FileChannel;
30 import java.nio.channels.FileLock;
/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.java31 import java.nio.channels.FileChannel;
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java164 List<NotificationChannel> channels = mNotificationManager.getNotificationChannels(); in tearDown() local
166 for (NotificationChannel nc : channels) { in tearDown()
936 List<NotificationChannel> channels = mNotificationManager.getNotificationChannels(); in testGetChannels() local
937 for (NotificationChannel nc : channels) { in testGetChannels()
2005 List<NotificationChannel> channels = in testNotificationDelegate_grantAndReadChannels() local
2010 assertNotNull(channels); in testNotificationDelegate_grantAndReadChannels()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java53 import java.nio.channels.FileChannel;
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTest.java47 import java.nio.channels.FileChannel;