Home
last modified time | relevance | path

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

/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.cpp138 void SensorTest::testDirectReport(JNIEnv* env, int32_t sensorType, int32_t channelType, int32_t rat… in testDirectReport() argument
155 || !sensor.isDirectChannelTypeSupported(channelType)) { in testDirectReport()
160 std::unique_ptr<TestSharedMemory> mem(TestSharedMemory::create(channelType, kMemSize)); in testDirectReport()
163 switch (channelType) { in testDirectReport()
/cts/tests/tests/libcorefileio/src/android/cts/
DLockHoldingService.java146 ChannelType channelType = (ChannelType) bundle.get(CHANNEL_TYPE_KEY); in acquireLock() local
149 this.fileLock = FileChannelInterProcessLockTest.acquire(this, lockType, channelType); in acquireLock()
163 ChannelType channelType = (ChannelType) bundle.get(CHANNEL_TYPE_KEY); in acquireLockAndThenWaitThenRelease() local
166 this.fileLock = FileChannelInterProcessLockTest.acquire(this, lockType, channelType); in acquireLockAndThenWaitThenRelease()
DFileChannelInterProcessLockTest.java620 static FileLock acquire(Context context, LockType lockType, ChannelType channelType) throws
627 if (channelType == ChannelType.SYNC_CHANNEL) {
630 } else if (channelType == ChannelType.ASYNC_CHANNEL) {
823 static void requestRemoteLock(LockType lockType, ChannelType channelType) throws Exception {
828 bundle.putSerializable(LockHoldingService.CHANNEL_TYPE_KEY, channelType);
833 static void requestRemoteLockAndRelease(LockType lockType, ChannelType channelType,
839 bundle.putSerializable(LockHoldingService.CHANNEL_TYPE_KEY, channelType);
/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()