Searched refs:channelType (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/libcorefileio/src/android/cts/ |
D | LockHoldingService.java | 126 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()
|
D | FileChannelInterProcessLockTest.java | 615 static FileLock acquire(Context context, LockType lockType, ChannelType channelType) throws 622 if (channelType == ChannelType.SYNC_CHANNEL) { 625 } else if (channelType == ChannelType.ASYNC_CHANNEL) {
|
/cts/tests/sensor/jni/ |
D | SensorTest.h | 46 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()
|
D | SensorTestCases.cpp | 136 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/ |
D | SensorDeviceInfo.java | 97 for (int channelType : CHANNEL_TYPES) { in collectDeviceInfo() 98 if (sensor.isDirectChannelTypeSupported(channelType)) { in collectDeviceInfo() 99 supportedChannelType.add(channelType); in collectDeviceInfo()
|