Home
last modified time | relevance | path

Searched refs:TEST_ID (Results 1 – 9 of 9) 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/sysctl/
Dsysctl.sh629 TEST_ID="$2"
632 echo "Target for test $TEST_ID: $TARGET not exist, skipping test ..."
838 TEST_ID=${i%:*:*:*}
839 ENABLED=$(get_test_enabled $TEST_ID)
840 TEST_COUNT=$(get_test_count $TEST_ID)
841 TEST_TARGET=$(get_test_target $TEST_ID)
842 if target_exists $TEST_TARGET $TEST_ID; then
846 test_case $TEST_ID $TEST_COUNT $TEST_TARGET
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/offline/
DDashDownloadTestData.java25 String TEST_ID = "test.mpd"; field
26 Uri TEST_MPD_URI = Uri.parse(TEST_ID);
DDownloadServiceDashTest.java18 import static com.google.android.exoplayer2.source.dash.offline.DashDownloadTestData.TEST_ID;
200 context, DownloadService.class, TEST_ID, /* foreground= */ false); in removeAll()
210 TEST_ID, in downloadKeys()
DDownloadManagerDashTest.java18 import static com.google.android.exoplayer2.source.dash.offline.DashDownloadTestData.TEST_ID;
240 TEST_ID, in getDownloadRequest()
249 runOnMainThread(() -> downloadManager.removeDownload(TEST_ID)); in handleRemoveAction()
/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 …]