/frameworks/base/core/java/com/android/server/backup/ |
H A D | ShortcutBackupHelper.java | 41 protected byte[] getBackupPayload(String key) { argument 42 switch (key) { 51 Slog.w(TAG, "Unknown key: " + key); 57 protected void applyRestoredPayload(String key, byte[] payload) { argument 58 switch (key) { 67 Slog.w(TAG, "Unknown key: " + key);
|
H A D | UsageStatsBackupHelper.java | 34 protected byte[] getBackupPayload(String key) { argument 35 if (KEY_USAGE_STATS.equals(key)) { 42 out.write(localUsageStatsManager.getBackupPayload(UserHandle.USER_SYSTEM, key)); 54 protected void applyRestoredPayload(String key, byte[] payload) { argument 55 if (KEY_USAGE_STATS.equals(key)) { 63 localUsageStatsManager.applyRestoredPayload(user, key, restoreData);
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreKeyFactorySpi.java | 44 protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpecClass) argument 46 if (key == null) { 47 throw new InvalidKeySpecException("key == null"); 48 } else if ((!(key instanceof AndroidKeyStorePrivateKey)) 49 && (!(key instanceof AndroidKeyStorePublicKey))) { 51 "Unsupported key type: " + key.getClass().getName() 55 // key is an Android Keystore private or public key 60 if (!(key instanceo 141 engineTranslateKey(Key key) argument [all...] |
H A D | KeyStoreCryptoOperationUtils.java | 46 KeyStore keyStore, AndroidKeyStoreKey key, int beginOpResultCode) { 54 keyStore.getInvalidKeyException(key.getAlias(), key.getUid(), beginOpResultCode); 58 // exception is such authentication is possible for this key 60 // the key is permanently invalidated (KeyPermanentlyInvalidatedException). 75 KeyStore keyStore, AndroidKeyStoreKey key, int beginOpResultCode) { 89 return getInvalidKeyExceptionForInit(keyStore, key, beginOpResultCode); 45 getInvalidKeyExceptionForInit( KeyStore keyStore, AndroidKeyStoreKey key, int beginOpResultCode) argument 74 getExceptionForCipherInit( KeyStore keyStore, AndroidKeyStoreKey key, int beginOpResultCode) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | KeyValueMap.java | 36 throw new RuntimeException("Key-value argument " + i + " must be a key of type " 39 String key = (String)keyValues[i]; 41 put(key, value); 51 public String getString(String key) { argument 52 Object result = get(key); 56 public int getInt(String key) { argument 57 Object result = get(key); 61 public float getFloat(String key) { argument 62 Object result = get(key);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | MultiValueMap.java | 13 public void put(String key, T value) { argument 14 key = key.toLowerCase(); 15 ArrayList<T> values = mMap.get(key); 18 mMap.put(key, values); 23 public T get(String key) { argument 24 key = key.toLowerCase(); 25 List<T> values = mMap.get(key); 35 public T replace(String key, argument 52 remove(String key, T value) argument [all...] |
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
H A D | SettingsStateTest.java | 91 "key", String.valueOf((char) ch)); 109 private void checkWriteSingleSetting(XmlSerializer serializer, String key, String value) argument 111 checkWriteSingleSetting(key + "/" + value, serializer, key, value); 115 String key, String value) throws Exception { 119 serializer, "1", key, value, "package"); 114 checkWriteSingleSetting(String msg, XmlSerializer serializer, String key, String value) argument
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | AssetJsonWriter.java | 45 * Appends a field to the output, putting both the key and value in lowercase. Null values are 48 public void writeFieldLower(String key, String value) { argument 56 mWriter.name(key.toLowerCase(Locale.US)); 65 * Appends an array to the output, putting both the key and values in lowercase. If {@code 69 public void writeArrayUpper(String key, List<String> values) { argument 77 mWriter.name(key.toLowerCase(Locale.US));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | PreviewNavInflater.java | 44 public void onTuningChanged(String key, String newValue) { argument 45 if (NAV_BAR_VIEWS.equals(key)) { 49 super.onTuningChanged(key, newValue); 52 super.onTuningChanged(key, newValue);
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
H A D | SettingsActivity.java | 61 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | SystemProperties_Delegate.java | 37 /*package*/ static String native_get(String key) { argument 38 return native_get(key, ""); 42 /*package*/ static String native_get(String key, String def) { argument 44 String value = properties.get(key); 52 /*package*/ static int native_get_int(String key, int def) { argument 54 String value = properties.get(key); 63 /*package*/ static long native_get_long(String key, long def) { argument 65 String value = properties.get(key); 78 /*package*/ static boolean native_get_boolean(String key, boolean def) { argument 80 String value = properties.get(key); 96 native_set(String key, String def) argument [all...] |
/frameworks/base/tools/split-select/ |
H A D | TestRules.cpp | 27 const Rule EqRule(Rule::Key key, long value) { argument 30 rule.key = key; 35 const Rule GtRule(Rule::Key key, long value) { argument 38 rule.key = key; 43 const Rule LtRule(Rule::Key key, long value) { argument 46 rule.key = key; 51 const Rule ContainsAnyRule(Rule::Key key, cons argument 59 ContainsAnyRule(Rule::Key key, const char* str1, const char* str2) argument [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | HashEntry.h | 48 KeyType& key() { return m_Key; } function in class:mcld::HashEntry 50 const KeyType& key() const { return m_Key; } function in class:mcld::HashEntry
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/util/ |
H A D | SystemProperties.java | 30 * Gets system properties set by <code>adb shell setprop <em>key</em> <em>value</em></code> 32 * @param key the property key. 37 public static String get(String key, String defaultValue) { argument 41 return (String) get.invoke(null, key, defaultValue);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | StringFloat.java | 7 public String key; field in class:StringFloat 25 key = newKey; 38 out.writeString(key); 43 key = in.readString();
|
H A D | StringString.java | 7 public String key; field in class:StringString 33 out.writeString(key); 38 key = in.readString();
|
/frameworks/native/cmds/installd/ |
H A D | system_properties.h | 40 std::string key = line.substr(0, equals_pos); local 44 properties_.insert(std::make_pair(key, value)); 50 // Look up the key in the map. Returns null if the key isn't mapped. 51 const std::string* GetProperty(const std::string& key) const { 52 auto it = properties_.find(key); 59 void SetProperty(const std::string& key, const std::string& value) { argument 60 properties_.insert(std::make_pair(key, value));
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | PooledCache.java | 21 V get(K key, boolean incrementRefCount); argument 22 V put(K key, V value); argument
|
H A D | RequestKey.java | 33 * this object will be used as a cache key. 80 * @param key The key to create a FileDescriptorFactory for. This key will be passed to the 81 * callback so it can check whether the key has changed. 92 public Cancelable createFileDescriptorFactoryAsync(RequestKey key, Callback callback); argument 121 * @param key The key that the FileDescriptorFactory was created for. The callback should 122 * check that the key has not changed. 125 void fileDescriptorFactoryCreated(RequestKey key, FileDescriptorFactor argument [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | ContentValuesBuilder.java | 31 public ContentValuesBuilder put(String key, String value) { argument 32 mContentValues.put(key, value); 37 public ContentValuesBuilder put(String key, Byte value) { 38 mContentValues.put(key, value); 42 public ContentValuesBuilder put(String key, Short value) { 43 mContentValues.put(key, value); 47 public ContentValuesBuilder put(String key, Integer value) { argument 48 mContentValues.put(key, value); 53 public ContentValuesBuilder put(String key, Long value) { 54 mContentValues.put(key, valu 73 put(String key, byte[] value) argument 78 putNull(String key) argument [all...] |
/frameworks/support/v4/donut/android/support/v4/app/ |
H A D | BundleCompatDonut.java | 38 public static IBinder getBinder(Bundle bundle, String key) { argument 51 return (IBinder) sGetIBinderMethod.invoke(bundle, key); 61 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument 75 sPutIBinderMethod.invoke(bundle, key, binder);
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/ |
H A D | TransportMediatorCallback.java | 22 public void handleKey(KeyEvent key); argument
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
H A D | BaseKeyboardShortcutsTestCase.java | 115 private void sendControlChar(char key) throws Throwable { argument 118 KeyEvent[] events = map.getEvents(new char[] {key});
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | NoCache.java | 30 public Entry get(String key) { argument 35 public void put(String key, Entry entry) { argument 39 public void invalidate(String key, boolean fullExpire) { argument 43 public void remove(String key) { argument
|
/frameworks/av/camera/ |
H A D | CameraParameters2.cpp | 67 // Find the bounds of the key name. 72 // Create the key string. 92 void CameraParameters2::set(const char *key, const char *value) argument 95 if (strchr(key, '=') || strchr(key, ';')) { 96 //XXX ALOGE("Key \"%s\"contains invalid character (= or ;)", key); 105 // Replacing a value updates the key's order to be the new largest order 106 ssize_t res = mMap.replaceValueFor(String8(key), String8(value)); 107 LOG_ALWAYS_FATAL_IF(res < 0, "replaceValueFor(%s,%s) failed", key, value); 110 void CameraParameters2::set(const char *key, in [all...] |