/frameworks/av/services/camera/libcameraservice/utils/ |
D | ClientManager.h | 81 template<class KEY, class VALUE> 84 ClientDescriptor(const KEY& key, const VALUE& value, int32_t cost, 85 const std::set<KEY>& conflictingKeys, int32_t score, int32_t ownerId, int32_t state); 86 ClientDescriptor(KEY&& key, VALUE&& value, int32_t cost, std::set<KEY>&& conflictingKeys, 94 const KEY& getKey() const; 119 bool isConflicting(const KEY& key) const; 124 std::set<KEY> getConflicting() const; 136 KEY mKey; 139 std::set<KEY> mConflicting; 149 template<class KEY, class VALUE> [all …]
|
/frameworks/base/tools/aapt/ |
D | AaptUtil.h | 30 template <typename KEY, typename VALUE> 31 void appendValue(android::KeyedVector<KEY, android::Vector<VALUE> >& keyedVector, 32 const KEY& key, const VALUE& value); 34 template <typename KEY, typename VALUE> 35 void appendValue(android::KeyedVector<KEY, android::SortedVector<VALUE> >& keyedVector, 36 const KEY& key, const VALUE& value); 42 template <typename KEY, typename VALUE> 43 void appendValue(android::KeyedVector<KEY, android::Vector<VALUE> >& keyedVector, in appendValue() argument 44 const KEY& key, const VALUE& value) { in appendValue() 52 template <typename KEY, typename VALUE> [all …]
|
/frameworks/base/core/tests/systemproperties/src/android/os/ |
D | SystemPropertiesTest.java | 25 private static final String KEY = "sys.testkey"; field in SystemPropertiesTest 40 SystemProperties.set(KEY, Long.toString(i)); in testStressMemoryPropertyConsistency() 41 long ret = SystemProperties.getLong(KEY, -1); in testStressMemoryPropertyConsistency() 50 SystemProperties.set(KEY, ""); in testProperties() 51 value = SystemProperties.get(KEY, "default"); in testProperties() 54 SystemProperties.set(KEY, "SA"); in testProperties() 55 value = SystemProperties.get(KEY, "default"); in testProperties() 58 value = SystemProperties.get(KEY); in testProperties() 61 SystemProperties.set(KEY, ""); in testProperties() 62 value = SystemProperties.get(KEY, "default"); in testProperties() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | SystemPropertiesTest.java | 26 private static final String KEY = "com.android.frameworks.coretests"; field in SystemPropertiesTest 32 SystemProperties.set(KEY, ""); in testProperties() 33 value = SystemProperties.get(KEY, "default"); in testProperties() 36 SystemProperties.set(KEY, "AAA"); in testProperties() 37 value = SystemProperties.get(KEY, "default"); in testProperties() 40 value = SystemProperties.get(KEY); in testProperties() 43 SystemProperties.set(KEY, ""); in testProperties() 44 value = SystemProperties.get(KEY, "default"); in testProperties() 47 value = SystemProperties.get(KEY); in testProperties()
|
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/ |
D | PreferenceDataStoreTest.java | 78 private static final String KEY = "TestPrefKey"; field in PreferenceDataStoreTest 93 mPreference.setKey(KEY); in setup() 97 mManager.getSharedPreferences().edit().remove(KEY).commit(); in setup() 158 verify(mDataStore, atLeastOnce()).putString(eq(KEY), anyString()); in testDataStoresHierarchy() 216 verify(mDataStore, atLeast(0)).getString(eq(KEY), nullable(String.class)); in putStringTestCommon() 217 verify(mDataStore, atLeastOnce()).putString(eq(KEY), anyString()); in putStringTestCommon() 221 assertNull(mSharedPref.getString(KEY, null)); in putStringTestCommon() 232 verify(mDataStore, atLeastOnce()).getString(eq(KEY), eq(TEST_STR)); in testGetStringWithDataStoreOnPref() 243 verify(mDataStore, atLeastOnce()).getString(eq(KEY), eq(TEST_STR)); in testGetStringWithDataStoreOnMgr() 258 mSharedPref.edit().putString(KEY, TEST_WRONG_STR).commit(); in testDefaultStringValue() [all …]
|
D | PreferencePersistTest.java | 52 private static final String KEY = "TestPrefKey"; field in PreferencePersistTest 73 mPreference.setKey(KEY); in setup() 80 mSharedPref.edit().remove(KEY).apply(); in setup() 81 assertNull(mSharedPref.getString(KEY, null)); in setup() 102 assertEquals(expected, mSharedPref.getString(KEY, null)); in string_persist_getsStoredToSharedPrefs() 113 assertNull(mSharedPref.getString(KEY, null)); in string_persistWhileDisabled_notPersisted() 156 assertThat(mSharedPref.getStringSet(KEY, null), in stringSet_persist_getsStoredToSharedPrefs() 168 assertNull(mSharedPref.getString(KEY, null)); in stringSet_persistWhileDisabled_notPersisted() 212 assertEquals(expected, mSharedPref.getInt(KEY, -1)); in int_persist_getsStoredToSharedPrefs() 223 assertEquals(-1, mSharedPref.getLong(KEY, -1)); in int_persistWhileDisabled_notPersisted() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | ScoredNetworkTest.java | 48 private static final NetworkKey KEY field in ScoredNetworkTest 54 ScoredNetwork scoredNetwork = new ScoredNetwork(KEY, null); in calculateRankingOffsetShouldThrowUnsupportedOperationException() 65 ScoredNetwork scoredNetwork = new ScoredNetwork(KEY, CURVE); in calculateRankingOffsetWithRssiCurveShouldReturnExpectedScore() 71 ScoredNetwork scoredNetwork1 = new ScoredNetwork(KEY, CURVE); in rankingScoresShouldDifferByRankingScoreOffset() 73 = new ScoredNetwork(KEY, CURVE, false /* meteredHint */, ATTRIBUTES); in rankingScoresShouldDifferByRankingScoreOffset() 85 = new ScoredNetwork(KEY, CURVE, false /* meteredHint */, attr); in calculateRankingScoreShouldNotResultInIntegerOverflow() 94 new ScoredNetwork(KEY, CURVE, false /* meteredHint */, attr); in calculateRankingScoreShouldNotResultInIntegerUnderflow() 100 ScoredNetwork network = new ScoredNetwork(KEY, null /* rssiCurve */); in hasRankingScoreShouldReturnFalse() 107 new ScoredNetwork(KEY, null /* rssiCurve */, false /* meteredHint */, ATTRIBUTES); in hasRankingScoreShouldReturnTrueWhenAttributesHasRankingScoreOffset() 114 new ScoredNetwork(KEY, CURVE , false /* meteredHint */); in hasRankingScoreShouldReturnTrueWhenCurveIsPresent() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/ |
D | TunablePaddingTest.java | 39 private static final String KEY = "KEY"; field in TunablePaddingTest 64 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testFlags() 70 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testFlags() 76 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testFlags() 82 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testFlags() 93 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testRtl() 99 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testRtl() 109 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testTuning() 111 mTunablePadding.onTuningChanged(KEY, String.valueOf(value)); in testTuning()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | BranchIsland.h | 120 size_t operator()(const Key& KEY) const { in operator() 121 llvm::StringRef sym_name(KEY.symbol()->name()); in operator() 123 return (size_t((uintptr_t)KEY.prototype())) ^ str_hasher(sym_name) ^ in operator() 124 KEY.addend(); in operator()
|
/frameworks/rs/cpp/util/ |
D | TypeHelpers.h | 226 template <typename KEY, typename VALUE> 228 typedef KEY key_t; 231 KEY key; 235 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { } 236 explicit key_value_pair_t(const KEY& k) : key(k) { } 240 inline const KEY& getKey() const {
|
/frameworks/base/core/java/android/provider/ |
D | BrowserContract.java | 704 public static final String KEY = "key"; field in BrowserContract.Settings 723 KEY + "=?", new String[] { KEY_SYNC_ENABLED }, null); in isSyncEnabled() 738 values.put(KEY, KEY_SYNC_ENABLED); in setSyncEnabled()
|
D | Contacts.java | 127 public static final String KEY = "key"; field 230 values.put(KEY, key); in setSetting()
|
D | CalendarContract.java | 1876 public static final String KEY = "key"; field
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | NavBarTuner.java | 17 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.KEY; 144 if (button.startsWith(KEY)) { in bindButton() 145 type.setValue(KEY); in bindButton() 216 if (KEY.equals(button)) { in setValue()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | KeyEntryMap.h | 20 template <typename KEY, typename ENTRY> 23 typedef KEY KeyType;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarInflaterView.java | 66 public static final String KEY = "key"; field in NavigationBarInflaterView 337 } else if (button.startsWith(KEY)) { in createView()
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Instrument.java | 232 proto.writeString(InstrumentationData.ResultsBundleEntry.KEY, key); in writeBundle()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 683 final long startKey = proto.start(NetworkStatsCollectionStatsProto.KEY); in writeToProto()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 361 proto.write(NotificationRecordProto.KEY, sbn.getKey()); in dump()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 23365 field public static final java.lang.String KEY = "key"; 23913 field public static final deprecated java.lang.String KEY = "key";
|
/frameworks/base/api/ |
D | current.txt | 32893 field public static final java.lang.String KEY = "key"; 33451 field public static final deprecated java.lang.String KEY = "key";
|
D | test-current.txt | 33082 field public static final java.lang.String KEY = "key"; 33640 field public static final deprecated java.lang.String KEY = "key";
|
D | system-current.txt | 35811 field public static final java.lang.String KEY = "key"; 36369 field public static final deprecated java.lang.String KEY = "key";
|