Searched defs:Key (Results 1 - 21 of 21) 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/default/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,
126 Key key = {
171 Key key = {
217 Key key = {
263 Key key = {
312 Key key = {
366 Key key = {
421 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.h170 struct Key { struct in class:android::KeyCharacterMap
171 Key();
172 Key(const Key& other);
173 ~Key();
223 status_t finishKey(Key* key);
230 KeyedVector<int32_t, Key*> mKeys;
239 bool getKey(int32_t keyCode, const Key** outKey) const;
241 const Key** outKey, const Behavior** outBehavior) const;
H A DInputTransport.h62 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/av/include/media/
H A DMediaAnalyticsItem.h62 // Key: the record descriminator
67 typedef std::string Key; typedef in class:android::MediaAnalyticsItem
68 static const Key kKeyNone; // ""
69 static const Key kKeyAny; // "*"
89 MediaAnalyticsItem(Key);
108 MediaAnalyticsItem &setKey(MediaAnalyticsItem::Key);
109 MediaAnalyticsItem::Key getKey();
216 Key mKey;
/frameworks/av/media/libmediametrics/include/
H A DMediaAnalyticsItem.h62 // Key: the record descriminator
67 typedef std::string Key; typedef in class:android::MediaAnalyticsItem
68 static const Key kKeyNone; // ""
69 static const Key kKeyAny; // "*"
89 MediaAnalyticsItem(Key);
108 MediaAnalyticsItem &setKey(MediaAnalyticsItem::Key);
109 MediaAnalyticsItem::Key getKey();
216 Key mKey;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DPrefs.java34 Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME,
35 Key.DEBUG_MODE_ENABLED,
36 Key.HOTSPOT_TILE_LAST_USED,
37 Key.COLOR_INVERSION_TILE_LAST_USED,
38 Key.DND_TILE_VISIBLE,
39 Key.DND_TILE_COMBINED_ICON,
40 Key.DND_CONFIRMED_PRIORITY_INTRODUCTION,
41 Key.DND_CONFIRMED_SILENCE_INTRODUCTION,
42 Key.DND_FAVORITE_BUCKET_INDEX,
43 Key
62 public @interface Key { interface in class:Prefs
[all...]
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
H A DTestEvents.java96 public @interface Key {} interface in class:TestEvents
171 public Builder pressKey(@Key int... keys) {
/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/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.h44 * Key is used to retrieve a Program in the cache.
45 * A Key is generated from a Description.
47 class Key { class in class:android::ProgramCache
105 inline Key() : mKey(0) {} function in class:android::ProgramCache::Key
106 inline Key(const Key& rhs) : mKey(rhs.mKey) {} function in class:android::ProgramCache::Key
108 inline Key& set(key_t mask, key_t value) {
141 if (inputTF == Key::INPUT_TF_SRGB && outputTF == Key::OUTPUT_TF_LINEAR) {
144 if (inputTF == Key
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java97 private ArrayMap<Key, NetworkStatsHistory> mStats = new ArrayMap<>();
225 final Key key = mStats.keyAt(i);
293 final Key key = mStats.keyAt(i);
368 final Key key = mStats.keyAt(i);
411 private void recordHistory(Key key, NetworkStatsHistory history) {
429 final Key key = another.mStats.keyAt(i);
437 final Key key = new Key(ident, uid, set, tag);
482 final Key key = new Key(iden
775 private static class Key implements Comparable<Key> { class in class:NetworkStatsCollection
783 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.java48 public final class CameraCharacteristics extends CameraMetadata<CameraCharacteristics.Key<?>> {
51 * A {@code Key} is used to do camera characteristics field lookups with
67 public static final class Key<T> { class in class:CameraCharacteristics
68 private final CameraMetadataNative.Key<T> mKey;
75 public Key(String name, Class<T> type, long vendorId) { method in class:CameraCharacteristics.Key
76 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId);
84 public Key(String name, String fallbackName, Class<T> type) { method in class:CameraCharacteristics.Key
85 mKey = new CameraMetadataNative.Key<T>(name, fallbackName, type);
93 public Key(String name, Class<T> type) { method in class:CameraCharacteristics.Key
94 mKey = new CameraMetadataNative.Key<
102 public Key(String name, TypeReference<T> typeReference) { method in class:CameraCharacteristics.Key
178 private Key(CameraMetadataNative.Key<?> nativeKey) { method in class:CameraCharacteristics.Key
[all...]
H A DCaptureRequest.java81 public final class CaptureRequest extends CameraMetadata<CaptureRequest.Key<?>>
85 * A {@code Key} is used to do capture request field lookups with
87 * {@link CaptureRequest.Builder#set(Key, Object)}.
102 public final static class Key<T> { class in class:CaptureRequest
103 private final CameraMetadataNative.Key<T> mKey;
110 public Key(String name, Class<T> type, long vendorId) { method in class:CaptureRequest.Key
111 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId);
119 public Key(String name, Class<T> type) { method in class:CaptureRequest.Key
120 mKey = new CameraMetadataNative.Key<T>(name, type);
128 public Key(Strin method in class:CaptureRequest.Key
202 /*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, String fallbackName, Class<T> type) { method in class:CaptureResult.Key
91 mKey = new CameraMetadataNative.Key<T>(name, fallbackName, type);
99 public Key(String name, Class<T> type) { method in class:CaptureResult.Key
100 mKey = new CameraMetadataNative.Key<
108 public Key(String name, TypeReference<T> typeReference) { method in class:CaptureResult.Key
182 /*package*/ Key(CameraMetadataNative.Key<?> nativeKey) { method in class:CaptureResult.Key
[all...]
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java80 public static class Key<T> { class in class:CameraMetadataNative
93 public Key(String name, Class<T> type, long vendorId) { method in class:CameraMetadataNative.Key
95 throw new NullPointerException("Key needs a valid name");
110 public Key(String name, String fallbackName, Class<T> type) { method in class:CameraMetadataNative.Key
112 throw new NullPointerException("Key needs a valid name");
126 * <p>Use the CameraCharacteristics.Key, CaptureResult.Key, or CaptureRequest.Key
129 public Key(String name, Class<T> type) { method in class:CameraMetadataNative.Key
131 throw new NullPointerException("Key need
149 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 569 milliseconds