Home
last modified time | relevance | path

Searched refs:secondary (Results 1 – 3 of 3) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java947 int memType, boolean secondary, int timeoutMs) { in collectSensorEventsRealtime() argument
948 return collectSensorEventsRealtime(memType, secondary, timeoutMs, in collectSensorEventsRealtime()
953 int memType, boolean secondary, int timeoutMs, int initialOffset, long initialCounter) { in collectSensorEventsRealtime() argument
966 memType, secondary, offset + ATOMIC_COUNTER_OFFSET, ATOMIC_COUNTER_SIZE)) { in collectSensorEventsRealtime()
978 if (!readSharedMemory(memType, secondary, offset, SENSORS_EVENT_SIZE)) { in collectSensorEventsRealtime()
1107 private SensorDirectChannel prepareDirectChannel(int memType, boolean secondary) { in prepareDirectChannel() argument
1113 MemoryFile memoryFile = secondary ? mMemoryFileSecondary : mMemoryFile; in prepareDirectChannel()
1114 assertTrue("MemoryFile" + (secondary ? "(secondary)" : "") + " is null", in prepareDirectChannel()
1121 = secondary ? mHardwareBufferSecondary : mHardwareBuffer; in prepareDirectChannel()
1122 assertTrue("HardwareBuffer" + (secondary ? "(secondary)" : "") + " is null", in prepareDirectChannel()
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DExternalStorageHostTest.java328 final int secondary = mUsers[1]; in testMultiUserStorageIsolated() local
339 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testCleanIsolatedStorage", secondary); in testMultiUserStorageIsolated()
343 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testWriteIsolatedStorage", secondary); in testMultiUserStorageIsolated()
347 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testReadIsolatedStorage", secondary); in testMultiUserStorageIsolated()
351 runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testUserIsolation", secondary); in testMultiUserStorageIsolated()
355 … runDeviceTests(MULTIUSER_PKG, MULTIUSER_CLASS, "testMediaProviderUserIsolation", secondary); in testMultiUserStorageIsolated()
/cts/tests/app/src/android/app/cts/
DWallpaperManagerTest.java290 Color secondary = colors.getSecondaryColor(); in wallpaperColors_secondary() local
292 Assert.assertEquals("red", 0f, secondary.red(), delta); in wallpaperColors_secondary()
293 Assert.assertEquals("green", 0f, secondary.green(), delta); in wallpaperColors_secondary()
294 Assert.assertEquals("blue", 1f, secondary.blue(), delta); in wallpaperColors_secondary()