/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
FakeIndexProvider.java | 32 public static final String KEY = "TestKey"; 49 result.add(KEY);
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/ |
Keyboard.java | 21 private final Key KEY = new Key(); 22 public final Key getKey(final int i) { return KEY; }
|
/cts/tests/sample/src/android/sample/cts/ |
SampleJUnit4DeviceTest.java | 41 private static final String KEY = "foo"; 51 * This inserts the key value pair and assert they can be retrieved. Then it clears the 58 // Save the key value pair to the preferences and assert they were saved. 59 mActivityRule.getActivity().savePreference(KEY, VALUE); 61 mActivityRule.getActivity().getPreference(KEY)); 66 mActivityRule.getActivity().getPreference(KEY));
|
SampleDeviceTest.java | 29 private static final String KEY = "foo"; 62 * This inserts the key value pair and assert they can be retrieved. Then it clears the 68 // Save the key value pair to the preferences and assert they were saved. 69 mActivity.savePreference(KEY, VALUE); 70 assertEquals("Preferences were not saved", VALUE, mActivity.getPreference(KEY)); 74 assertNull("Preferences were not cleared", mActivity.getPreference(KEY));
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/index/ |
SmaliClassNameIndex.java | 40 public static final StubIndexKey<String, SmaliClass> KEY = 49 return KEY;
|
/frameworks/base/core/tests/coretests/src/android/os/ |
SystemPropertiesTest.java | 26 private static final String KEY = "com.android.frameworks.coretests"; 32 SystemProperties.set(KEY, ""); 33 value = SystemProperties.get(KEY, "default"); 36 SystemProperties.set(KEY, "AAA"); 37 value = SystemProperties.get(KEY, "default"); 40 value = SystemProperties.get(KEY); 43 SystemProperties.set(KEY, ""); 44 value = SystemProperties.get(KEY, "default"); 47 value = SystemProperties.get(KEY);
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
DefaultBrowserShortcutPreferenceController.java | 25 private static final String KEY = "default_browser"; 28 super(context, KEY, packageName);
|
DefaultEmergencyShortcutPreferenceController.java | 24 private static final String KEY = "default_emergency_app"; 27 super(context, KEY, packageName);
|
DefaultHomeShortcutPreferenceController.java | 25 private static final String KEY = "default_home"; 28 super(context, KEY, packageName);
|
DefaultPhoneShortcutPreferenceController.java | 24 private static final String KEY = "default_phone_app"; 27 super(context, KEY, packageName);
|
DefaultSmsShortcutPreferenceController.java | 24 private static final String KEY = "default_sms_app"; 27 super(context, KEY, packageName);
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
DefaultWorkBrowserPreferenceController.java | 27 public static final String KEY = "work_default_browser"; 40 return KEY;
|
DefaultWorkPhonePreferenceController.java | 26 public static final String KEY = "work_default_phone_app"; 47 return KEY;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
FakeContextOnlyPreferenceController.java | 9 public static final String KEY = "fakeController2"; 12 super(context, KEY);
|
/external/guava/guava/src/com/google/common/collect/ |
Maps.java | 86 KEY { 104 return (Function) EntryFunction.KEY; 271 * such as the concurrency level, load factor, key/value reference types, 333 * @param type the key type for this map 667 * key type {@code K}, {@code k.equals(k2)} implies that {@code k2} is also 668 * of type {@code K}. Using a key type for which this may not hold, such as 703 * key type {@code K}, {@code k.equals(k2)} implies that {@code k2} is also of 704 * type {@code K}. Using a key type for which this may not hold, such as 740 * key type {@code K}, {@code k.equals(k2)} implies that {@code k2} is also 741 * of type {@code K}. Using a key type for which this may not hold, such a [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Maps.java | 81 KEY { 99 return (Function) EntryFunction.KEY; 266 * such as the concurrency level, load factor, key/value reference types, 328 * @param type the key type for this map 662 * key type {@code K}, {@code k.equals(k2)} implies that {@code k2} is also 663 * of type {@code K}. Using a key type for which this may not hold, such as 698 * key type {@code K}, {@code k.equals(k2)} implies that {@code k2} is also of 699 * type {@code K}. Using a key type for which this may not hold, such as 746 public boolean containsKey(@Nullable Object key) { 747 return backingSet().contains(key); [all...] |
/external/libese/apps/weaver/tests/ |
weaver_test.cpp | 24 const uint8_t KEY[kEseWeaverKeySize] = { 64 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK); 68 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_read(&mSession, slotId, KEY, readValue, &timeout)); 74 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK); 86 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK); 89 // The read should be successful as the key is unchanged but the value should 93 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_read(&mSession, slotId, KEY, readValue, &timeout));
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
RecordLocationPreference.java | 30 public static final String KEY = "pref_camera_recordlocation_key"; 50 String value = pref.getString(KEY, VALUE_NONE);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeAutomaticRulesPreferenceController.java | 34 protected static final String KEY = "zen_mode_automatic_rules"; 41 super(context, KEY, parent, lifecycle); 46 return KEY;
|
ZenModeBlockedEffectsPreferenceController.java | 28 protected static final String KEY = "zen_mode_block_effects_settings"; 32 super(context, KEY, lifecycle); 38 return KEY;
|
ZenModeAlarmsPreferenceController.java | 32 protected static final String KEY = "zen_mode_alarms"; 35 super(context, KEY, lifecycle); 40 return KEY;
|
ZenModeBehaviorFooterPreferenceController.java | 31 protected static final String KEY = "footer_preference"; 36 super(context, KEY, lifecycle); 47 return KEY;
|
ZenModeButtonPreferenceController.java | 36 protected static final String KEY = "zen_mode_settings_button_container"; 43 super(context, KEY, lifecycle); 54 return KEY;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/featureflags/ |
FeatureFlagPreferenceTest.java | 33 private static final String KEY = "feature_key"; 41 mPreference = new FeatureFlagPreference(mContext, KEY); 46 assertThat(mPreference.getTitle()).isEqualTo(KEY);
|
/external/ltp/testcases/kernel/ipc/semaphore/ |
sem02.c | 56 #define KEY IPC_PRIVATE 83 sem_id = semget(KEY, 1, 0666 | IPC_CREAT);
|