Home
last modified time | relevance | path

Searched refs:channelType (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/libcorefileio/src/android/cts/
DLockHoldingService.java126 ChannelType channelType = (ChannelType) intent.getSerializableExtra(CHANNEL_TYPE_KEY); in acquireLock() local
129 this.fileLock = FileChannelInterProcessLockTest.acquire(lockType, channelType); in acquireLock()
147 ChannelType channelType = (ChannelType) intent.getSerializableExtra(CHANNEL_TYPE_KEY); in acquireLockAndThenWaitThenRelease() local
148 this.fileLock = FileChannelInterProcessLockTest.acquire(lockType, channelType); in acquireLockAndThenWaitThenRelease()
DFileChannelInterProcessLockTest.java617 static FileLock acquire(LockType lockType, ChannelType channelType) throws
624 if (channelType == ChannelType.SYNC_CHANNEL) {
627 } else if (channelType == ChannelType.ASYNC_CHANNEL) {
/cts/tests/sensor/jni/
DSensorTest.h46 void testDirectReport(JNIEnv *env, int32_t sensorType, int32_t channelType, int32_t rateLevel);
86 bool isDirectChannelTypeSupported(int channelType) const { in isDirectChannelTypeSupported() argument
90 return ASensor_isDirectChannelTypeSupported(mSensor, channelType); in isDirectChannelTypeSupported()
DSensorTestCases.cpp136 void SensorTest::testDirectReport(JNIEnv* env, int32_t sensorType, int32_t channelType, int32_t rat… in testDirectReport() argument
153 || !sensor.isDirectChannelTypeSupported(channelType)) { in testDirectReport()
158 std::unique_ptr<TestSharedMemory> mem(TestSharedMemory::create(channelType, kMemSize)); in testDirectReport()
161 switch (channelType) { in testDirectReport()