Home
last modified time | relevance | path

Searched defs:key (Results 101 – 125 of 3744) sorted by relevance

12345678910>>...150

/aosp14/frameworks/base/core/java/android/content/integrity/
H A DAtomicFormula.java139 public AtomicFormula(@Key int key) { in AtomicFormula()
140 checkArgument(isValidKey(key), "Unknown key: %d", key); in AtomicFormula() local
156 public LongAtomicFormula(@Key int key) { in LongAtomicFormula()
323 public StringAtomicFormula(@Key int key) { in StringAtomicFormula()
488 AppInstallMetadata appInstallMetadata, int key) { in getMetadataValue()
508 private static String hashValue(@Key int key, String value) { in hashValue()
541 public BooleanAtomicFormula(@Key int key) { in BooleanAtomicFormula()
558 public BooleanAtomicFormula(@Key int key, boolean value) { in BooleanAtomicFormula()
658 AppInstallMetadata appInstallMetadata, int key) { in getBooleanMetadataValue()
675 static String keyToString(int key) { in keyToString()
[all …]
/aosp12/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DContentValuesBuilder.java31 public ContentValuesBuilder put(String key, String value) { in put()
47 public ContentValuesBuilder put(String key, Integer value) { in put()
73 public ContentValuesBuilder put(String key, byte[] value) { in put()
78 public ContentValuesBuilder putNull(String key) { in putNull()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
H A DWhenToDreamPickerTest.java84 final String key = DreamSettings.getKeyFromSetting(DreamBackend.WHILE_CHARGING); in setDreamWhileCharging() local
91 final String key = DreamSettings.getKeyFromSetting(DreamBackend.WHILE_DOCKED); in setDreamWhileDocked() local
98 final String key = DreamSettings.getKeyFromSetting(DreamBackend.EITHER); in setDreamWhileChargingOrDocked() local
105 final String key = DreamSettings.getKeyFromSetting(DreamBackend.NEVER); in setDreamNever() local
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DTransitionStore.java24 public void put(Object key, Object value) { in put()
28 public <T> void putIfNotPresent(Object key, T valueIfNull) { in putIfNotPresent()
33 public <T> T get(Object key) { in get()
38 public <T> T get(Object key, T valueIfNull) { in get()
/aosp12/system/keymaster/include/keymaster/km_openssl/
H A Drsa_operation.h38 keymaster_padding_t padding, EVP_PKEY* key) in RsaOperation()
93 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaSignOperation()
117 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaVerifyOperation()
142 keymaster_padding_t padding, EVP_PKEY* key) in RsaCryptOperation()
167 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaEncryptOperation()
181 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaDecryptOperation()
198 OperationPtr CreateOperation(Key&& key, const AuthorizationSet& begin_params, in CreateOperation()
247 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation()
260 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation()
273 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DPrefs.java124 public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) { in getBoolean()
128 public static void putBoolean(Context context, @Key String key, boolean value) { in putBoolean()
132 public static int getInt(Context context, @Key String key, int defaultValue) { in getInt()
136 public static void putInt(Context context, @Key String key, int value) { in putInt()
140 public static long getLong(Context context, @Key String key, long defaultValue) { in getLong()
144 public static void putLong(Context context, @Key String key, long value) { in putLong()
148 public static String getString(Context context, @Key String key, String defaultValue) { in getString()
152 public static void putString(Context context, @Key String key, String value) { in putString()
156 public static void putStringSet(Context context, @Key String key, Set<String> value) { in putStringSet()
161 Context context, @Key String key, Set<String> defaultValue) { in getStringSet()
[all …]
/aosp12/system/bt/common/
H A Dlru.h77 V* Find(const K& key) { in Find()
95 bool Get(const K& key, V* value) { in Get()
113 bool HasKey(const K& key) { in HasKey()
126 std::optional<Node> Put(const K& key, V value) { in Put()
154 bool Remove(const K& key) { in Remove()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/
H A DZenModePrioritySendersPreferenceController.java71 public ZenModePrioritySendersPreferenceController(Context context, String key, in ZenModePrioritySendersPreferenceController()
133 private static int keyToSetting(String key) { in keyToSetting()
147 private String getSummary(String key) { in getSummary()
171 private RadioButtonPreference makeRadioPreference(String key, int titleId) { in makeRadioPreference()
201 private View.OnClickListener getWidgetClickListener(String key) { in getWidgetClickListener()
/aosp12/frameworks/av/media/libmediahelper/
H A DAudioParameter.cpp76 String8 key = String8(pair, eqIdx); in AudioParameter() local
118 status_t AudioParameter::add(const String8& key, const String8& value) in add()
129 status_t AudioParameter::addKey(const String8& key) in addKey()
134 status_t AudioParameter::addInt(const String8& key, const int value) in addInt()
145 status_t AudioParameter::addFloat(const String8& key, const float value) in addFloat()
156 status_t AudioParameter::remove(const String8& key) in remove()
166 status_t AudioParameter::get(const String8& key, String8& value) const in get() argument
176 status_t AudioParameter::getInt(const String8& key, int& value) const in getInt() argument
192 status_t AudioParameter::getFloat(const String8& key, float& value) const in getFloat() argument
218 status_t AudioParameter::getAt(size_t index, String8& key, String8& value) const in getAt()
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DGenerationRegistry.java93 public void incrementGeneration(int key, String name) { in incrementGeneration()
101 private void incrementGenerationInternal(int key, @NonNull String indexMapKey) { in incrementGenerationInternal()
135 public void incrementGenerationForUnsetSettings(int key) { in incrementGenerationForUnsetSettings()
150 public void addGenerationData(Bundle bundle, int key, String indexMapKey) { in addGenerationData()
184 public void addGenerationDataForUnsetSettings(Bundle bundle, int key) { in addGenerationDataForUnsetSettings()
208 private MemoryIntArray getBackingStoreLocked(int key, boolean createIfNotExist) { in getBackingStoreLocked()
237 private void destroyBackingStoreLocked(int key) { in destroyBackingStoreLocked()
252 private static int getKeyIndexLocked(int key, String indexMapKey, in getKeyIndexLocked()
309 final int key = mKeyToBackingStoreMap.keyAt(i); in dumpProto() local
356 final int key = mKeyToBackingStoreMap.keyAt(i); in dump() local
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DImportantNoticeUtilsTests.java61 private Integer getInt(final String key) { in getInt()
68 public Long getLong(final String key) { in getLong()
75 private void putInt(final String key, final Integer value) { in putInt()
83 private void putLong(final String key, final Long value) { in putLong()
91 private void removePreference(final String key) { in removePreference()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DSparseWeakArray.java72 public E get(long key) { in get()
80 public E get(long key, E valueIfKeyNotFound) { in get()
93 public void delete(long key) { in delete()
107 public void remove(long key) { in remove()
152 public void put(long key, E value) { in put()
235 public int indexOfKey(long key) { in indexOfKey()
282 public void append(long key, E value) { in append()
307 private static int binarySearch(long[] a, int start, int len, long key) { in binarySearch()
/aosp12/packages/apps/Camera2/src/com/android/camera/device/
H A DMultiCameraDeviceLifecycle.java137 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API2, cameraId); in openCamera2Device() local
163 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API_PORTABILITY_AUTO, in openPortabilityDevice() local
190 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API_PORTABILITY_API2, in openCamera2PortabilityDevice() local
216 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API_PORTABILITY_API1, cameraId); in openLegacyPortabilityDevice() local
240 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API1, cameraId); in openLegacyCameraDevice() local
281 CameraDeviceKey key, CameraDeviceActionProvider<TDevice> provider) { in openDevice()
320 createLifecycle(CameraDeviceKey key, in createLifecycle()
362 private void onCameraDeviceShutdown(CameraDeviceKey key) { in onCameraDeviceShutdown()
/aosp12/system/core/mini_keyctl/
H A Dmini_keyctl.cpp50 key_serial_t key; in parseKeyOrDie() local
57 int Unlink(key_serial_t key, const std::string& keyring) { in Unlink()
74 key_serial_t key = add_key(type.c_str(), desc.c_str(), data.c_str(), data.size(), keyring_id); in Add() local
97 key_serial_t key = add_key(type.c_str(), desc.c_str(), data.c_str(), data.size(), keyring_id); in Padd() local
117 std::string RetrieveSecurityContext(key_serial_t key) { in RetrieveSecurityContext()
158 key_serial_t key = parseKeyOrDie(argv[2]); in main() local
164 key_serial_t key = parseKeyOrDie(key_str); in main() local
/aosp12/system/nfc/utils/
H A Dconfig.cc110 void ConfigFile::addConfig(const std::string& key, ConfigValue& value) { in addConfig()
135 string key(Trim(line.substr(0, search))); in parseFromString() local
147 bool ConfigFile::hasKey(const std::string& key) { in hasKey()
151 ConfigValue& ConfigFile::getValue(const std::string& key) { in getValue()
157 std::string ConfigFile::getString(const std::string& key) { in getString()
161 unsigned ConfigFile::getUnsigned(const std::string& key) { in getUnsigned()
165 std::vector<uint8_t> ConfigFile::getBytes(const std::string& key) { in getBytes()
/aosp14/system/core/mini_keyctl/
H A Dmini_keyctl.cpp50 key_serial_t key; in parseKeyOrDie() local
57 int Unlink(key_serial_t key, const std::string& keyring) { in Unlink()
74 key_serial_t key = add_key(type.c_str(), desc.c_str(), data.c_str(), data.size(), keyring_id); in Add() local
97 key_serial_t key = add_key(type.c_str(), desc.c_str(), data.c_str(), data.size(), keyring_id); in Padd() local
117 std::string RetrieveSecurityContext(key_serial_t key) { in RetrieveSecurityContext()
158 key_serial_t key = parseKeyOrDie(argv[2]); in main() local
164 key_serial_t key = parseKeyOrDie(key_str); in main() local
/aosp12/system/bt/osi/src/
H A Dconfig.cc37 void section_t::Set(std::string key, std::string value) { in Set()
55 bool section_t::Has(const std::string& key) { in Has()
65 bool config_t::Has(const std::string& key) { in Has()
82 const std::string& key) { in entry_find()
147 const std::string& key) { in config_has_key()
152 const std::string& key, int def_value) { in config_get_int()
172 const std::string& key, bool def_value) { in config_get_bool()
184 const std::string& key, in config_get_string()
193 const std::string& key, int value) { in config_set_int()
203 const std::string& key, bool value) { in config_set_bool()
[all …]
/aosp12/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/1/android/system/keystore2/
H A DIKeystoreSecurityLevel.aidl38 …tem.keystore2.CreateOperationResponse createOperation(in android.system.keystore2.KeyDescriptor ke… in createOperation()
39 …android.system.keystore2.KeyMetadata generateKey(in android.system.keystore2.KeyDescriptor key, in… in generateKey()
40 …android.system.keystore2.KeyMetadata importKey(in android.system.keystore2.KeyDescriptor key, in @… in importKey()
41 …android.system.keystore2.KeyMetadata importWrappedKey(in android.system.keystore2.KeyDescriptor ke… in importWrappedKey()
43 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
/aosp12/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/
H A DIKeystoreSecurityLevel.aidl38 …tem.keystore2.CreateOperationResponse createOperation(in android.system.keystore2.KeyDescriptor ke… in createOperation()
39 …android.system.keystore2.KeyMetadata generateKey(in android.system.keystore2.KeyDescriptor key, in… in generateKey()
40 …android.system.keystore2.KeyMetadata importKey(in android.system.keystore2.KeyDescriptor key, in @… in importKey()
41 …android.system.keystore2.KeyMetadata importWrappedKey(in android.system.keystore2.KeyDescriptor ke… in importWrappedKey()
43 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
/aosp12/system/hardware/interfaces/keystore2/aidl/android/system/keystore2/
H A DIKeystoreSecurityLevel.aidl88 CreateOperationResponse createOperation(in KeyDescriptor key, in createOperation()
133 KeyMetadata generateKey(in KeyDescriptor key, in @nullable KeyDescriptor attestationKey, in generateKey()
147 KeyMetadata importKey(in KeyDescriptor key, in @nullable KeyDescriptor attestationKey, in importKey()
176 KeyMetadata importWrappedKey(in KeyDescriptor key, in KeyDescriptor wrappingKey, in importWrappedKey()
214 void deleteKey(in KeyDescriptor key); in deleteKey()
/aosp12/packages/apps/Camera2/src/com/android/camera/processing/memory/
H A DSimpleLruResourcePool.java44 public Resource<TValue> acquire(TKey key) { in acquire()
62 protected abstract TValue create(TKey key); in create()
68 protected TValue recycle(TKey key, TValue value) { in recycle()
75 private void release(TKey key, TValue value) { in release()
95 TKey key, TValue value) { in SynchronizedResource()
/aosp12/hardware/nxp/secure_element/pn8x/libese-spi/p73/utils/
H A Dconfig.cpp110 string key(Trim(line.substr(0, search))); in parseFromString() local
123 bool ConfigFile::hasKey(const std::string& key) { in hasKey()
127 ConfigValue& ConfigFile::getValue(const std::string& key) { in getValue()
133 std::string ConfigFile::getString(const std::string& key) { in getString()
137 unsigned ConfigFile::getUnsigned(const std::string& key) { in getUnsigned()
141 std::vector<uint8_t> ConfigFile::getBytes(const std::string& key) { in getBytes()
/aosp12/hardware/nxp/secure_element/snxxx/libese-spi/p73/utils/
H A Dconfig.cpp129 string key(Trim(line.substr(0, search))); in parseFromString() local
142 bool ConfigFile::hasKey(const std::string& key) { in hasKey()
146 ConfigValue& ConfigFile::getValue(const std::string& key) { in getValue()
152 std::string ConfigFile::getString(const std::string& key) { in getString()
156 unsigned ConfigFile::getUnsigned(const std::string& key) { in getUnsigned()
160 std::vector<uint8_t> ConfigFile::getBytes(const std::string& key) { in getBytes()
/aosp12/hardware/st/secure_element/ese-spi-driver/utils-lib/
H A Dconfig.cc105 string key(Trim(line.substr(0, search))); in parseFromString() local
118 bool ConfigFile::hasKey(const std::string& key) { in hasKey()
122 ConfigValue& ConfigFile::getValue(const std::string& key) { in getValue()
128 std::string ConfigFile::getString(const std::string& key) { in getString()
132 unsigned ConfigFile::getUnsigned(const std::string& key) { in getUnsigned()
136 std::vector<uint8_t> ConfigFile::getBytes(const std::string& key) { in getBytes()
/aosp12/frameworks/base/core/java/android/util/
H A DLongSparseLongArray.java101 public long get(long key) { in get()
109 public long get(long key, long valueIfKeyNotFound) { in get()
122 public void delete(long key) { in delete()
144 public void put(long key, long value) { in put()
220 public int indexOfKey(long key) { in indexOfKey()
251 public void append(long key, long value) { in append()
279 long key = keyAt(i); in toString() local

12345678910>>...150