Home
last modified time | relevance | path

Searched refs:channelType (Results 1 – 5 of 5) 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(this, lockType, channelType); in acquireLock()
147 ChannelType channelType = (ChannelType) intent.getSerializableExtra(CHANNEL_TYPE_KEY); in acquireLockAndThenWaitThenRelease() local
148 this.fileLock = FileChannelInterProcessLockTest.acquire(this, lockType, channelType); in acquireLockAndThenWaitThenRelease()
DFileChannelInterProcessLockTest.java616 static FileLock acquire(Context context, LockType lockType, ChannelType channelType) throws
623 if (channelType == ChannelType.SYNC_CHANNEL) {
626 } 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()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DSensorDeviceInfo.java97 for (int channelType : CHANNEL_TYPES) { in collectDeviceInfo()
98 if (sensor.isDirectChannelTypeSupported(channelType)) { in collectDeviceInfo()
99 supportedChannelType.add(channelType); in collectDeviceInfo()