Searched defs:Key (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvKeys.h11 struct Key { struct in namespace:android
17 static Key KEYS[] = {
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
H A DAesCtrDecryptorUnittest.cpp31 typedef uint8_t Key[kBlockSize]; typedef in class:clearkeydrm::AesCtrDecryptorTest
33 status_t attemptDecrypt(const Key& key, const Iv& iv, const uint8_t* source,
45 void attemptDecryptExpectingSuccess(const Key& key, const Iv& iv,
65 Key key = {
110 Key key = {
156 Key key = {
202 Key key = {
251 Key key = {
305 Key key = {
360 Key ke
[all...]
/frameworks/native/include/input/
H A DKeyLayoutMap.h79 struct Key { struct in class:android::KeyLayoutMap
89 KeyedVector<int32_t, Key> mKeysByScanCode;
90 KeyedVector<int32_t, Key> mKeysByUsageCode;
97 const Key* getKey(int32_t scanCode, int32_t usageCode) const;
H A DKeyCharacterMap.h167 struct Key { struct in class:android::KeyCharacterMap
168 Key();
169 Key(const Key& other);
170 ~Key();
220 status_t finishKey(Key* key);
227 KeyedVector<int32_t, Key*> mKeys;
236 bool getKey(int32_t keyCode, const Key** outKey) const;
238 const Key** outKey, const Behavior** outBehavior) const;
H A DInputTransport.h63 struct Key { struct in union:android::InputMessage::Body
77 return sizeof(Key);
/frameworks/compile/mclinker/include/mcld/LD/
H A DBranchIsland.h102 /** \class Key
103 * \brief Key to recognize a stub in the island.
106 class Key { class in class:mcld::BranchIsland
108 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend) function in class:mcld::BranchIsland::Key
111 ~Key() {}
120 size_t operator()(const Key& KEY) const {
129 bool operator()(const Key& KEY1, const Key& KEY2) const {
157 typedef HashEntry<Key, Stub*, Key
[all...]
/frameworks/base/services/core/java/com/android/server/accounts/
H A DTokenCache.java48 private static class Key { class in class:TokenCache
54 public Key(Account account, String tokenType, String packageName, byte[] sigDigest) { method in class:TokenCache.Key
63 if (o != null && o instanceof Key) {
64 Key cacheKey = (Key) o;
83 private static class TokenLruCache extends LruCache<Key, Value> {
86 private final List<Key> mKeys;
92 public void add(Key k) {
97 for (Key k : mKeys) {
116 protected int sizeOf(Key
[all...]
/frameworks/base/tools/split-select/
H A DRule.h48 enum Key { enum in struct:split::Rule
59 Key key;
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.h43 * Key is used to retrieve a Program in the cache.
44 * A Key is generated from a Description.
46 class Key { class in class:android::ProgramCache
74 inline Key() : mKey(0) { } function in class:android::ProgramCache::Key
75 inline Key(const Key& rhs) : mKey(rhs.mKey) { } function in class:android::ProgramCache::Key
77 inline Key& set(key_t mask, key_t value) {
102 friend inline int strictly_order_type(const Key& lhs, const Key& rhs) {
117 // compute a cache Key fro
[all...]
/frameworks/av/include/media/
H A DMediaAnalyticsItem.h63 // Key: the record descriminator
68 typedef AString Key; typedef in class:android::MediaAnalyticsItem
69 static const Key kKeyNone; // ""
70 static const Key kKeyAny; // "*"
82 MediaAnalyticsItem(Key);
105 MediaAnalyticsItem &setKey(MediaAnalyticsItem::Key);
106 MediaAnalyticsItem::Key getKey();
203 Key mKey;
/frameworks/av/media/libmediametrics/include/
H A DMediaAnalyticsItem.h63 // Key: the record descriminator
68 typedef AString Key; typedef in class:android::MediaAnalyticsItem
69 static const Key kKeyNone; // ""
70 static const Key kKeyAny; // "*"
82 MediaAnalyticsItem(Key);
105 MediaAnalyticsItem &setKey(MediaAnalyticsItem::Key);
106 MediaAnalyticsItem::Key getKey();
203 Key mKey;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DPrefs.java33 Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME,
34 Key.DEBUG_MODE_ENABLED,
35 Key.HOTSPOT_TILE_LAST_USED,
36 Key.COLOR_INVERSION_TILE_LAST_USED,
37 Key.DND_TILE_VISIBLE,
38 Key.DND_TILE_COMBINED_ICON,
39 Key.DND_CONFIRMED_PRIORITY_INTRODUCTION,
40 Key.DND_CONFIRMED_SILENCE_INTRODUCTION,
41 Key.DND_FAVORITE_BUCKET_INDEX,
42 Key
51 public @interface Key { interface in class:Prefs
[all...]
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp98 mKeys.add(other.mKeys.keyAt(i), new Key(*other.mKeys.valueAt(i)));
104 Key* key = mKeys.editValueAt(i);
177 Key* key = overlay->mKeys.valueAt(i);
181 map->mKeys.editValueAt(oldIndex) = new Key(*key);
183 map->mKeys.add(keyCode, new Key(*key));
209 const Key* key;
221 const Key* key;
233 const Key* key;
250 const Key* key;
271 const Key* ke
685 KeyCharacterMap::Key::Key() : function in class:android::KeyCharacterMap::Key
689 KeyCharacterMap::Key::Key(const Key& other) : function in class:android::KeyCharacterMap::Key
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DPendingIntentRecord.java50 final Key key;
62 final static class Key { class in class:PendingIntentRecord
79 Key(int _t, String _p, ActivityRecord _a, String _w, method in class:PendingIntentRecord.Key
122 Key other = (Key)otherObj;
167 return "Key{" + typeName() + " pkg=" + packageName
191 PendingIntentRecord(ActivityManagerService _owner, Key _k, int _u) {
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java85 private ArrayMap<Key, NetworkStatsHistory> mStats = new ArrayMap<>();
151 final Key key = mStats.keyAt(i);
205 final Key key = mStats.keyAt(i);
240 final Key key = mStats.keyAt(i);
281 private void recordHistory(Key key, NetworkStatsHistory history) {
299 final Key key = another.mStats.keyAt(i);
307 final Key key = new Key(ident, uid, set, tag);
352 final Key key = new Key(iden
645 private static class Key implements Comparable<Key> { class in class:NetworkStatsCollection
653 public Key(NetworkIdentitySet ident, int uid, int set, int tag) { method in class:NetworkStatsCollection.Key
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCharacteristics.java43 public final class CameraCharacteristics extends CameraMetadata<CameraCharacteristics.Key<?>> {
46 * A {@code Key} is used to do camera characteristics field lookups with
62 public static final class Key<T> { class in class:CameraCharacteristics
63 private final CameraMetadataNative.Key<T> mKey;
70 public Key(String name, Class<T> type, long vendorId) { method in class:CameraCharacteristics.Key
71 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId);
79 public Key(String name, Class<T> type) { method in class:CameraCharacteristics.Key
80 mKey = new CameraMetadataNative.Key<T>(name, type);
88 public Key(String name, TypeReference<T> typeReference) { method in class:CameraCharacteristics.Key
89 mKey = new CameraMetadataNative.Key<
164 private Key(CameraMetadataNative.Key<?> nativeKey) { method in class:CameraCharacteristics.Key
[all...]
H A DCaptureRequest.java75 public final class CaptureRequest extends CameraMetadata<CaptureRequest.Key<?>>
79 * A {@code Key} is used to do capture request field lookups with
81 * {@link CaptureRequest.Builder#set(Key, Object)}.
96 public final static class Key<T> { class in class:CaptureRequest
97 private final CameraMetadataNative.Key<T> mKey;
104 public Key(String name, Class<T> type, long vendorId) { method in class:CaptureRequest.Key
105 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId);
113 public Key(String name, Class<T> type) { method in class:CaptureRequest.Key
114 mKey = new CameraMetadataNative.Key<T>(name, type);
122 public Key(Strin method in class:CaptureRequest.Key
196 /*package*/ Key(CameraMetadataNative.Key<?> nativeKey) { method in class:CaptureRequest.Key
[all...]
H A DCaptureResult.java52 public class CaptureResult extends CameraMetadata<CaptureResult.Key<?>> {
58 * A {@code Key} is used to do capture result field lookups with
73 public final static class Key<T> { class in class:CaptureResult
74 private final CameraMetadataNative.Key<T> mKey;
81 public Key(String name, Class<T> type, long vendorId) { method in class:CaptureResult.Key
82 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId);
90 public Key(String name, Class<T> type) { method in class:CaptureResult.Key
91 mKey = new CameraMetadataNative.Key<T>(name, type);
99 public Key(String name, TypeReference<T> typeReference) { method in class:CaptureResult.Key
100 mKey = new CameraMetadataNative.Key<
173 /*package*/ Key(CameraMetadataNative.Key<?> nativeKey) { method in class:CaptureResult.Key
[all...]
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java79 public static class Key<T> { class in class:CameraMetadataNative
91 public Key(String name, Class<T> type, long vendorId) { method in class:CameraMetadataNative.Key
93 throw new NullPointerException("Key needs a valid name");
107 * <p>Use the CameraCharacteristics.Key, CaptureResult.Key, or CaptureRequest.Key
110 public Key(String name, Class<T> type) { method in class:CameraMetadataNative.Key
112 throw new NullPointerException("Key needs a valid name");
125 * <p>Use the CameraCharacteristics.Key, CaptureResult.Key, o
129 public Key(String name, TypeReference<T> typeReference) { method in class:CameraMetadataNative.Key
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java50 * &lt;Key android:keyLabel="A" /&gt;
68 private static final String TAG_KEY = "Key";
100 /** Key instance for the shift key, if present */
101 private Key[] mShiftKeys = { null, null };
103 /** Key index for the shift key, if present */
122 private List<Key> mKeys;
125 private List<Key> mModifierKeys;
171 ArrayList<Key> mKeys = new ArrayList<Key>();
231 public static class Key { class in class:Keyboard
314 public Key(Row parent) { method in class:Keyboard.Key
331 public Key(Resources res, Row parent, int x, int y, XmlResourceParser parser) { method in class:Keyboard.Key
[all...]

Completed in 745 milliseconds