Home
last modified time | relevance | path

Searched refs:TEST_ID (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBatteryManagerTest.java22 private static final int TEST_ID = 123; field in ShadowBatteryManagerTest
48 assertThat(batteryManager.getIntProperty(TEST_ID)).isEqualTo(Integer.MIN_VALUE); in testGetIntProperty()
50 shadowBatteryManager.setIntProperty(TEST_ID, 5); in testGetIntProperty()
51 assertThat(batteryManager.getIntProperty(TEST_ID)).isEqualTo(5); in testGetIntProperty()
53 shadowBatteryManager.setIntProperty(TEST_ID, 0); in testGetIntProperty()
54 assertThat(batteryManager.getIntProperty(TEST_ID)).isEqualTo(0); in testGetIntProperty()
56 shadowBatteryManager.setIntProperty(TEST_ID, Integer.MAX_VALUE); in testGetIntProperty()
57 assertThat(batteryManager.getIntProperty(TEST_ID)).isEqualTo(Integer.MAX_VALUE); in testGetIntProperty()
62 assertThat(batteryManager.getLongProperty(TEST_ID)).isEqualTo(Long.MIN_VALUE); in testGetLongProperty()
64 shadowBatteryManager.setLongProperty(TEST_ID, 5L); in testGetLongProperty()
[all …]
DShadowCarrierConfigManagerTest.java24 private static final int TEST_ID = 123; field in ShadowCarrierConfigManagerTest
47 shadowOf(carrierConfigManager).setConfigForSubId(TEST_ID, persistableBundle); in testGetConfigForSubId()
49 PersistableBundle verifyBundle = carrierConfigManager.getConfigForSubId(TEST_ID); in testGetConfigForSubId()
/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_lib.sh65 if [ -n "$TEST_ID" -a -d "/dev/memcg/$TEST_ID" ]; then
66 for i in "/dev/memcg/$TEST_ID/"*; do
72 rmdir "/dev/memcg/$TEST_ID"
482 TEST_ID="$1"
499 ROD rmdir "/dev/memcg/$TEST_ID"
500 TEST_ID=""
507 TEST_ID="$1"
529 ROD mkdir "/dev/memcg/$TEST_ID"
530 ROD cd "/dev/memcg/$TEST_ID"
/external/linux-kselftest/tools/testing/selftests/kmod/
Dkmod.sh526 TEST_ID=${i%:*:*}
527 ENABLED=$(get_test_enabled $TEST_ID)
528 TEST_COUNT=$(get_test_count $TEST_ID)
530 test_case $TEST_ID $TEST_COUNT
/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc29 const uint32_t TEST_ID = 12345; variable
82 TEST_ID, TEST_NAME, false)); in SetUp()
112 EXPECT_EQ(TEST_ID, allocator_->Id()); in TEST_F()
232 EXPECT_EQ(TEST_ID, allocator2->Id()); in TEST_F()
247 EXPECT_EQ(TEST_ID, allocator3->Id()); in TEST_F()
623 SharedPersistentMemoryAllocator local(std::move(shmem1), TEST_ID, "", in TEST()
649 EXPECT_EQ(TEST_ID, shalloc2.Id()); in TEST()
675 EXPECT_EQ(TEST_ID, shalloc3.Id()); in TEST()
732 LocalPersistentMemoryAllocator local(TEST_MEMORY_SIZE, TEST_ID, ""); in TEST()
757 EXPECT_EQ(TEST_ID, file.Id()); in TEST()
[all …]
/external/linux-kselftest/tools/testing/selftests/sysctl/
Dsysctl.sh686 TEST_ID=${i%:*:*}
687 ENABLED=$(get_test_enabled $TEST_ID)
688 TEST_COUNT=$(get_test_count $TEST_ID)
690 test_case $TEST_ID $TEST_COUNT