HomeSort by relevance Sort by last modified time
    Searched refs:testKey (Results 1 - 24 of 24) sorted by null

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
AbstractSelectionKeyTest.java 32 MockSelectionKey testKey = new MockSelectionKey();
33 assertTrue(testKey.isValid());
40 MockSelectionKey testKey = new MockSelectionKey();
42 testKey.cancel();
47 assertFalse(testKey.isValid());
  /test/vts/web/dashboard/src/main/java/com/android/vts/entity/
UserFavoriteEntity.java 33 public static final String TEST_KEY = "testKey";
36 public final Key testKey;
42 * @param testKey The key of the TestEntity object describing the test.
44 public UserFavoriteEntity(User user, Key testKey) {
46 this.testKey = testKey;
53 favoriteEntity.setProperty(TEST_KEY, this.testKey);
71 Key testKey = (Key) e.getProperty(TEST_KEY);
72 return new UserFavoriteEntity(user, testKey);
  /external/swiftshader/third_party/LLVM/unittests/ADT/
StringMapTest.cpp 22 static const char testKey[];
37 EXPECT_EQ(0u, testMap.count(testKey));
40 EXPECT_TRUE(testMap.find(testKey) == testMap.end());
54 EXPECT_STREQ(testKey, it->first().data());
60 EXPECT_EQ(1u, testMap.count(testKey));
63 EXPECT_TRUE(testMap.find(testKey) == testMap.begin());
70 const char StringMapTest::testKey[] = "key";
72 const char* StringMapTest::testKeyFirst = testKey;
73 size_t StringMapTest::testKeyLength = sizeof(testKey) - 1;
74 const std::string StringMapTest::testKeyStr(testKey);
    [all...]
  /prebuilts/go/darwin-x86/src/os/
env_test.go 74 const testKey = "GO_TEST_UNSETENV"
76 prefix := testKey + "="
84 if err := Setenv(testKey, "1"); err != nil {
90 if err := Unsetenv(testKey); err != nil {
99 const testKey = "GO_TEST_CLEARENV"
114 if err := Setenv(testKey, testValue); err != nil {
115 t.Fatalf("Setenv(%q, %q) failed: %v", testKey, testValue, err)
117 if _, ok := LookupEnv(testKey); !ok {
118 t.Errorf("Setenv(%q, %q) didn't set $%s", testKey, testValue, testKey)
    [all...]
  /prebuilts/go/linux-x86/src/os/
env_test.go 74 const testKey = "GO_TEST_UNSETENV"
76 prefix := testKey + "="
84 if err := Setenv(testKey, "1"); err != nil {
90 if err := Unsetenv(testKey); err != nil {
99 const testKey = "GO_TEST_CLEARENV"
114 if err := Setenv(testKey, testValue); err != nil {
115 t.Fatalf("Setenv(%q, %q) failed: %v", testKey, testValue, err)
117 if _, ok := LookupEnv(testKey); !ok {
118 t.Errorf("Setenv(%q, %q) didn't set $%s", testKey, testValue, testKey)
    [all...]
  /test/vts/web/dashboard/src/main/java/com/android/vts/servlet/
DashboardMainServlet.java 73 private final Key testKey;
79 * @param testKey The key of the test.
82 public TestDisplay(Key testKey, int failCount) {
83 this.testKey = testKey;
93 return this.testKey.getName();
107 return this.testKey.getName().compareTo(test.getName());
140 for (Key testKey : failCountMap.keySet()) {
141 TestDisplay test = new TestDisplay(testKey, failCountMap.get(testKey));
    [all...]
VtsPerformanceJobServlet.java 238 for (Key testKey : allTestKeys) {
245 testKey.getName(), interval.start, interval.end, null, perfSummary);
252 String body = getPeformanceSummary(testKey.getName(), perfSummaries, labels);
256 List<String> emails = EmailHelper.getSubscriberEmails(testKey);
260 String subject = SUBJECT_PREFIX + testKey.getName();
ShowTableServlet.java 172 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName);
179 Filter filter = FilterUtil.getTimeFilter(testKey, startTime, endTime, testRunFilter);
181 .setAncestor(testKey)
ShowCoverageServlet.java 85 Key testKey = KeyFactory.createKey(TestEntity.KIND, test);
86 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time);
VtsAlertJobServlet.java 140 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName);
143 FilterUtil.getTimeFilter(testKey, test.timestamp + 1, null, testTypeFilter);
145 .setAncestor(testKey)
ShowPreferencesServlet.java 125 subscriptionEntityMap.put(favoriteEntity.testKey, favorite);
  /external/llvm/unittests/ADT/
StringMapTest.cpp 24 static const char testKey[];
39 EXPECT_EQ(0u, testMap.count(testKey));
42 EXPECT_TRUE(testMap.find(testKey) == testMap.end());
56 EXPECT_STREQ(testKey, it->first().data());
62 EXPECT_EQ(1u, testMap.count(testKey));
65 EXPECT_TRUE(testMap.find(testKey) == testMap.begin());
72 const char StringMapTest::testKey[] = "key";
74 const char* StringMapTest::testKeyFirst = testKey;
75 size_t StringMapTest::testKeyLength = sizeof(testKey) - 1;
76 const std::string StringMapTest::testKeyStr(testKey);
    [all...]
  /frameworks/base/core/tests/coretests/src/android/provider/
SettingsProviderTest.java 65 final String testKey = "testRowNameContentUriForSecure";
71 Settings.Secure.VALUE, testKey, testValue, secondTestValue);
74 Settings.Secure.putString(getContext().getContentResolver(), testKey, null);
80 final String testKey = Settings.System.VIBRATE_ON;
83 + " framework.", Settings.System.PUBLIC_SETTINGS.contains(testKey));
87 Settings.System.getString(getContext().getContentResolver(), testKey);
91 Settings.System.VALUE, testKey, testValue, secondTestValue);
95 Settings.System.putString(getContext().getContentResolver(), testKey, oldValue);
101 String testKey, String testValue, String secondTestValue) {
105 v.put(nameField, testKey);
    [all...]
  /hardware/libhardware/tests/keymaster/
keymaster_test.cpp 612 UniqueReadOnlyBlob testKey(TEST_RSA_KEY_1, sizeof(TEST_RSA_KEY_1));
613 ASSERT_TRUE(testKey.get() != NULL);
616 sDevice->import_keypair(sDevice, testKey.get(), testKey.length(),
634 UniqueReadOnlyBlob testKey(TEST_EC_KEY_1, sizeof(TEST_EC_KEY_1));
635 ASSERT_TRUE(testKey.get() != NULL);
638 sDevice->import_keypair(sDevice, testKey.get(), testKey.length(),
669 UniqueReadOnlyBlob testKey(TEST_RSA_KEY_1, sizeof(TEST_RSA_KEY_1));
670 ASSERT_TRUE(testKey.get() != NULL)
    [all...]
  /test/vts/web/dashboard/src/main/java/com/android/vts/util/
FilterUtil.java 226 * @param testKey The key of the parent TestEntity object.
233 Key testKey, Long startTime, Long endTime, Filter testRunFilter) {
242 Key startKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, startTime);
248 Key endKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, endTime);
262 public static Filter getTimeFilter(Key testKey, Long startTime, Long endTime) {
263 return getTimeFilter(testKey, startTime, endTime, null);
EmailHelper.java 53 * @param testKey The key for the test for which to fetch the email addresses.
57 public static List<String> getSubscriberEmails(Key testKey) throws IOException {
60 new FilterPredicate(UserFavoriteEntity.TEST_KEY, FilterOperator.EQUAL, testKey);
PerformanceUtil.java 186 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName);
188 Filter runFilter = FilterUtil.getTimeFilter(testKey, startTime, endTime, testTypeFilter);
196 .setAncestor(testKey)
DatastoreHelper.java 66 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName);
67 Key startKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, lowerBound);
89 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName);
90 Key endKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, upperBound);
  /tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
EmmcPerformanceTest.java 181 * @param testKey the key used to report metrics.
190 private void runTest(String testKey, String command, TestType type, boolean dropCache,
193 CLog.i("Starting test %s", testKey);
195 TestIdentifier id = new TestIdentifier(RUN_KEY, testKey);
216 CLog.i("Result for %s, iteration %d: %f KBps", testKey, i + 1, kbps);
219 CLog.w("Skipping %s, iteration %d", testKey, i + 1);
224 metrics.put(testKey, Double.toString(stats.median()));
226 metrics.put(String.format("%s_%s", testKey, entry.getKey()),
232 CLog.i("Test %s finished: mean=%f, stdev=%f, samples=%d", testKey, stats.mean(),
GLBenchmarkTest.java 247 String testKey = METRICS_KEY_MAP.get(testName);
249 benchmarkResult.put(testKey, score);
253 benchmarkResult.put(testKey + "-fps", String.valueOf(fpsValue));
MicroBenchTest.java 251 * @param testKey The key of the test used to report metrics.
260 public TestCase(String testName, String testKey, String command, int iterations,
263 mTestKey = testKey;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
CollationAPITest.java     [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationAPITest.java     [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherTest.java     [all...]

Completed in 1766 milliseconds