Searched defs:getKey (Results 1 - 25 of 51) sorted by relevance

123

/frameworks/base/telecomm/java/android/telecom/
H A DTimedEvent.java28 public abstract T getKey(); method in class:TimedEvent
35 if (counts.containsKey(entry.getKey())) {
36 counts.put(entry.getKey(), counts.get(entry.getKey()) + 1);
37 result.put(entry.getKey(), result.get(entry.getKey()) + entry.getTime());
39 counts.put(entry.getKey(), 1);
40 result.put(entry.getKey(), (double) entry.getTime());
45 result.put(entry.getKey(), entry.getValue() / counts.get(entry.getKey()));
[all...]
H A DTelecomAnalytics.java93 public Integer getKey() { method in class:TelecomAnalytics.SessionTiming
/frameworks/base/telecomm/java/android/telecom/Logging/
H A DTimedEvent.java28 public abstract T getKey(); method in class:TimedEvent
35 if (counts.containsKey(entry.getKey())) {
36 counts.put(entry.getKey(), counts.get(entry.getKey()) + 1);
37 result.put(entry.getKey(), result.get(entry.getKey()) + entry.getTime());
39 counts.put(entry.getKey(), 1);
40 result.put(entry.getKey(), (double) entry.getTime());
45 result.put(entry.getKey(), entry.getValue() / counts.get(entry.getKey()));
[all...]
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DBenchmarkResultsReporter.java66 sb.append("\n\n").append(getKey(testName));
73 private String getKey(String testName) { method in class:BenchmarkResultsReporter
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInputStream.java30 * through this class's {@link #getKey()} and {@link #size()} methods, respectively.
101 * {@link BackupDataInput#getKey()} on the underlying {@link BackupDataInput}.
103 public String getKey() { method in class:BackupDataInputStream
H A DBackupDataInput.java45 * String key = data.getKey();
96 * return success, the {@link #getKey()} and {@link #getDataSize()} methods can
125 public String getKey() { method in class:BackupDataInput
/frameworks/base/core/java/android/net/
H A DPskKeyManager.java81 * Subclasses should normally provide their own implementation of {@code getKey} because the default
205 public SecretKey getKey(String identityHint, String identity, Socket socket) { method in class:PskKeyManager
223 public SecretKey getKey(String identityHint, String identity, SSLEngine engine) { method in class:PskKeyManager
H A DIpSecAlgorithm.java125 public byte[] getKey() { method in class:IpSecAlgorithm
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DPrinterHashMap.java24 public static String getKey(NsdServiceInfo serviceInfo) { method in class:PrinterHashMap
28 return put(getKey(device), device);
31 return remove(getKey(device));
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
H A DPrinterHashMap.java23 public static String getKey(NsdServiceInfo serviceInfo) { method in class:PrinterHashMap
28 return put(getKey(device), device);
32 return remove(getKey(device));
/frameworks/base/core/java/android/text/
H A DAnnotation.java63 public String getKey() { method in class:Annotation
/frameworks/base/core/java/android/webkit/
H A DTokenBindingService.java93 public abstract void getKey(Uri origin, method in class:TokenBindingService
/frameworks/support/paging/common/src/main/java/android/arch/paging/
H A DPositionalDataSource.java120 Integer getKey(int position, Value item) { method in class:PositionalDataSource
H A DContiguousDataSource.java116 abstract Key getKey(int position, Value item); method in class:ContiguousDataSource
H A DKeyedDataSource.java78 * public String getKey({@literal @}NonNull User item) {
110 return loadAfter(getKey(currentEndItem), pageSize);
117 return loadBefore(getKey(currentBeginItem), pageSize);
136 Key loadBeforeKey = after.isEmpty() ? key : getKey(after.get(0));
146 after = loadAfter(getKey(before.get(0)), initialLoadSize / 2);
175 itemsBefore = countItemsBefore(getKey(list.get(0)));
176 itemsAfter = countItemsAfter(getKey(list.get(list.size() - 1)));
220 public abstract Key getKey(@NonNull Value item); method in class:KeyedDataSource
303 Key getKey(int position, Value item) { method in class:KeyedDataSource
307 return getKey(ite
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingReconsideration.java47 public String getKey() { method in class:RankingReconsideration
/frameworks/support/room/integration-tests/testapp/src/main/java/android/arch/persistence/room/integration/testapp/database/
H A DLastNameAscCustomerDataSource.java64 public String getKey(@NonNull Customer customer) { method in class:LastNameAscCustomerDataSource
/frameworks/base/core/java/android/net/nsd/
H A DDnsSdTxtRecord.java152 for (int i = 0; null != (s = this.getKey(i)); i++) {
194 private String getKey(int index) { method in class:DnsSdTxtRecord
250 for (i = 0; null != (s = this.getKey(i)); i++) {
269 for (int i = 0; null != (a = this.getKey(i)); i++) {
/frameworks/base/core/java/android/service/notification/
H A DAdjustment.java111 public String getKey() { method in class:Adjustment
H A DStatusBarNotification.java309 public String getKey() { method in class:StatusBarNotification
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/test/
H A DComplexQueryDataSourceTest.java62 public LastFirstIdKey getKey(@NonNull User user) { method in class:ComplexQueryDataSourceTest.KeyedUserQueryDataSource
H A DQueryDataSourceTest.java53 public String getKey(@NonNull User item) { method in class:QueryDataSourceTest.KeyedUserQueryDataSource
146 key = keyedDataSource.getKey(expected[19]);
/frameworks/av/services/mediaanalytics/
H A DMetricsSummarizer.cpp68 oitem->getKey().c_str(), oitem->getSessionID(),
77 const char *MetricsSummarizer::getKey() { function in class:android::MetricsSummarizer
90 AString itemKey = item.getKey();
110 if (only != NULL && strcmp(only, (*it)->getKey().c_str()) != 0) {
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DSparseMappingTable.java43 * getOrAddKey, an int key is returned. That key can be re-retreived with getKey without
163 public int getKey(byte id) { method in class:SparseMappingTable.Table
177 * @param key A key as obtained from getKey or getOrAddKey.
187 * @param key A key as obtained from getKey or getOrAddKey.
257 * @param key A key as obtained from getKey or getOrAddKey.
267 * @param key A key as obtained from getKey or getOrAddKey.
/frameworks/native/libs/input/
H A DKeyLayoutMap.cpp87 const Key* key = getKey(scanCode, usageCode);
107 const KeyLayoutMap::Key* KeyLayoutMap::getKey(int32_t scanCode, int32_t usageCode) const { function in class:android::KeyLayoutMap

Completed in 9614 milliseconds

123