Searched refs:key (Results 276 - 300 of 852) sorted by relevance

<<11121314151617181920>>

/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener.cpp56 if (a.key.id) {
57 if (b.key.id) {
58 return a.key.id.value() < b.key.id.value();
61 } else if (!b.key.id) {
62 return a.key.name.value() < b.key.name.value();
85 Reference key = Reference(ResTable_map::ATTR_TYPE); variable
87 flattenEntry(&key, &val);
91 Reference key variable
97 Reference key = Reference(ResTable_map::ATTR_MAX); variable
192 flattenKey(Reference* key, ResTable_map* outEntry) argument
202 flattenEntry(Reference* key, Item* value) argument
[all...]
/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java229 final String table, final String key) {
243 Bundle b = provider.call(resolveCallingPackage(), callGetCommand, key, arg);
248 System.err.println("Can't read key " + key + " in " + table + " for user " + userHandle);
254 final String table, final String key, final String value) {
268 provider.call(resolveCallingPackage(), callPutCommand, key, arg);
270 System.err.println("Can't set key " + key + " in " + table + " for user " + userHandle);
275 final String table, final String key) {
277 if ("system".equals(table)) targetUri = Settings.System.getUriFor(key);
228 getForUser(IContentProvider provider, int userHandle, final String table, final String key) argument
253 putForUser(IContentProvider provider, int userHandle, final String table, final String key, final String value) argument
274 deleteForUser(IContentProvider provider, int userHandle, final String table, final String key) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java88 /** Default key width */
91 /** Default key height */
100 /** Key instance for the shift key, if present */
103 /** Key index for the shift key, if present */
106 /** Current key width, while loading the keyboard */
109 /** Current key height, while loading the keyboard */
145 /** Number of key widths from current touch point to search for nearest keys. */
152 * Some of the key size defaults can be overridden per row from what the {@link Keyboard}
162 /** Default width of a key in this row. */
164 /** Default height of a key i
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DAesCtrDecryptor.cpp29 android::status_t AesCtrDecryptor::decrypt(const android::Vector<uint8_t>& key, argument
41 AES_set_encrypt_key(key.array(), kBlockBitCount, &opensslKey);
/frameworks/av/include/drm/
H A DDrmInfoRequest.h66 * Iterator for key
136 * Adds optional information as <key, value> pair to this instance
138 * @param[in] key Key to add
142 status_t put(const String8& key, const String8& value);
145 * Retrieves the value of given key
147 * @param key Key whose value to be retrieved
150 String8 get(const String8& key) const;
/frameworks/av/media/libstagefright/webm/
H A DWebmFrame.cpp49 WebmFrame::WebmFrame(int type, bool key, uint64_t absTimecode, MediaBuffer *mbuf) argument
51 mKey(key),
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInput.java45 * String key = data.getKey();
48 * if (key.equals(MY_BACKUP_KEY_ONE)) {
56 * } else if (key.equals(MY_BACKUP_KEY_TO_IGNORE) {
57 * // a key we recognize but wish to discard
70 String key; field in class:BackupDataInput.EntityHeader
121 * Report the key associated with the current entity in the restore stream
122 * @return the current entity's key string
127 return mHeader.key;
/frameworks/base/core/java/android/nfc/
H A DINfcTag.aidl39 int formatNdef(int nativeHandle, in byte[] key);
/frameworks/base/core/java/com/android/internal/app/
H A DIMediaContainerService.aidl24 String copyPackageToContainer(String packagePath, String containerId, String key,
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java89 public void setMetaValue(String key, Object value) { argument
93 mMetaData.put(key, value);
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.h54 bool CallSetValue(const std::string& key, const std::string& value);
55 std::string CallGetValue(const std::string& key);
H A Dgl_env.cpp390 void GLEnv::AttachShader(int key, ShaderProgram* shader) { argument
391 ShaderProgram* existingShader = ShaderWithKey(key);
394 attached_shaders_[key] = shader;
397 void GLEnv::AttachVertexFrame(int key, VertexFrame* frame) { argument
398 VertexFrame* existingFrame = VertexFrameWithKey(key);
401 attached_vframes_[key] = frame;
404 ShaderProgram* GLEnv::ShaderWithKey(int key) { argument
405 return FindPtrOrNull(attached_shaders_, key);
408 VertexFrame* GLEnv::VertexFrameWithKey(int key) { argument
409 return FindPtrOrNull(attached_vframes_, key);
[all...]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
H A DMDNSUtils.java48 String key = entry.getKey().toLowerCase();
50 switch (key) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumePrefs.java62 public static boolean get(Context context, String key, boolean def) { argument
63 return prefs(context).getBoolean(key, def);
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmAnalyzerTest.java171 for (String key : found.keySet()) {
172 ClassReader value = found.get(key);
173 assertNotNull("No value for " + key, value);
174 assertEquals(key, AsmAnalyzer.classReaderToClassName(value));
197 for (String key : found.keySet()) {
198 ClassReader value = found.get(key);
199 assertNotNull("No value for " + key, value);
200 assertEquals(key, AsmAnalyzer.classReaderToClassName(value));
/frameworks/base/tools/split-select/
H A DRule.h59 Key key; member in struct:split::Rule
74 , key(NONE)
H A DRule.cpp35 , key(rhs.key)
97 switch (key) {
114 str.appendFormat("%d", key);
135 switch (key) {
/frameworks/compile/mclinker/include/mcld/ADT/
H A DHashEntry.h48 KeyType& key() { return m_Key; } function in class:mcld::HashEntry
50 const KeyType& key() const { return m_Key; } function in class:mcld::HashEntry
/frameworks/native/cmds/service/
H A Dservice.cpp204 char* key = strtok_r(argv[optind], "=", &context1); local
208 if (key == NULL) break;
210 if (strcmp(key, "action") == 0)
214 else if (strcmp(key, "data") == 0)
218 else if (strcmp(key, "type") == 0)
222 else if (strcmp(key, "launchFlags") == 0)
226 else if (strcmp(key, "component") == 0)
230 else if (strcmp(key, "categories") == 0)
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DEditTextPreferenceDialogFragment.java33 public static EditTextPreferenceDialogFragment newInstance(String key) { argument
37 b.putString(ARG_KEY, key);
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DEditTextPreferenceDialogFragmentCompat.java32 public static EditTextPreferenceDialogFragmentCompat newInstance(String key) { argument
36 b.putString(ARG_KEY, key);
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DIconCache.java98 private QueryEntry(IconKey key) { argument
99 mKey = key;
160 IconKey key = null;
163 key = queryEntry.getKey();
166 if (key == null) {
175 return key;
178 private boolean updateIcon(IconKey key, HSIconFileElement iconFileElement) { argument
181 if (queryEntry.getKey().equals(key)) {
191 mOsuInfo.setIconFileElement(iconFileElement, key.getFileName());
279 IconKey key;
[all...]
/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h37 * The ClientDescriptor class is a container for a given key/value pair identifying a shared
47 ClientDescriptor(const KEY& key, const VALUE& value, int32_t cost,
49 ClientDescriptor(KEY&& key, VALUE&& value, int32_t cost, std::set<KEY>&& conflictingKeys,
55 * Return the key for this descriptor.
80 * Return true if the given key is in this descriptor's conflicting keys list.
82 bool isConflicting(const KEY& key) const;
94 // This class is ordered by key
113 ClientDescriptor<KEY, VALUE>::ClientDescriptor(const KEY& key, const VALUE& value, int32_t cost, argument
114 const std::set<KEY>& conflictingKeys, int32_t priority, int32_t ownerId) : mKey{key},
119 ClientDescriptor<KEY, VALUE>::ClientDescriptor(KEY&& key, VALU argument
384 const KEY& key = client->getKey(); local
560 remove( const KEY& key) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsTaskLoader.java169 Drawable cachedIcon = mIconCache.get(t.key);
170 ThumbnailData cachedThumbnailData = mThumbnailCache.get(t.key);
175 t.key.userId, mContext.getResources());
179 t.key.getComponent(), t.key.userId);
181 if (DEBUG) Log.d(TAG, "Loading icon: " + t.key);
182 cachedIcon = ssp.getBadgedActivityIcon(info, t.key.userId);
192 mIconCache.put(t.key, cachedIcon);
197 if (DEBUG) Log.d(TAG, "Loading thumbnail: " + t.key);
198 cachedThumbnailData = ssp.getTaskThumbnail(t.key
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DNsdServiceInfoTest.java56 // Single key + value length too long.
75 // 6 char key + 5 char value + 2 bytes overhead = 13 byte record length.
76 String key = String.format("key%d", i);
77 info.setAttribute(key, "12345");
151 for (String key : originalMap.keySet()) {
152 assertTrue(Arrays.equals(originalMap.get(key), resultMap.get(key)));

Completed in 3436 milliseconds

<<11121314151617181920>>