Searched refs:key (Results 1 - 25 of 58) sorted by relevance

123

/development/apps/Development/src/com/android/development/
H A DColumnData.java25 key = k;
28 public String key; field in class:ColumnData
H A DInstrumentationList.java177 for (String key : results.keySet()) {
179 "INSTRUMENTATION_STATUS_RESULT: " + key + "=" + results.get(key));
187 for (String key : results.keySet()) {
189 "INSTRUMENTATION_RESULT: " + key + "=" + results.get(key));
/development/testrunner/
H A Dam_instrument_parser.py69 key/value pairs from the bundle passed into
86 key = ''
94 key = re_result.search(line).group(1).strip(string.whitespace)
95 if key.startswith('performance.'):
96 key = key[len('performance.'):]
99 result_dict[key] = float(val)
101 result_dict[key] = val
103 result_dict[key] = val
106 key
[all...]
/development/ndk/platforms/android-3/arch-arm/include/asm/
H A Dipcbuf.h17 __kernel_key_t key; member in struct:ipc64_perm
/development/ndk/platforms/android-9/arch-mips/include/asm/
H A Dipcbuf.h24 __kernel_key_t key; member in struct:ipc64_perm
/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Dipcbuf.h24 __kernel_key_t key; member in struct:ipc64_perm
/development/ndk/platforms/android-3/include/linux/
H A Dlockdep.h24 #define lockdep_init_map(lock, name, key) do { (void)(key); } while (0)
25 #define lockdep_set_class(lock, key) do { (void)(key); } while (0)
26 #define lockdep_set_class_and_name(lock, key, name) do { (void)(key); } while (0)
H A Dipc.h21 __kernel_key_t key; member in struct:ipc_perm
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
H A DLatinKeyboardView.java39 protected boolean onLongPress(Key key) { argument
40 if (key.codes[0] == Keyboard.KEYCODE_CANCEL) {
44 return super.onLongPress(key);
H A DLatinKeyboard.java43 Key key = new LatinKey(res, parent, x, y, parser);
44 if (key.codes[0] == 10) {
45 mEnterKey = key;
46 } else if (key.codes[0] == ' ') {
47 mSpaceKey = key;
49 return key;
54 * appropriate label on the keyboard's enter key (if it has one).
101 * Overriding this method so that we can reduce the target area for the key that
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/
H A DUtils.java52 for (String key : mStatusTracker.keySet()) {
53 sbStatus.insert(0,key + ": " + mStatusTracker.getStatus(key) + "\n");
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
H A DDiskLruCache.java59 * entry has a string key and a fixed number of values. Values are byte
136 * cache entry. Each line contains space-separated values: a state, a key,
374 String key = parts[1];
376 lruEntries.remove(key);
380 Entry entry = lruEntries.get(key);
382 entry = new Entry(key);
383 lruEntries.put(key, entry);
444 writer.write(DIRTY + ' ' + entry.key + '\n');
446 writer.write(CLEAN + ' ' + entry.key + entry.getLengths() + '\n');
469 * Returns a snapshot of the entry named {@code key}, o
473 get(String key) argument
513 edit(String key) argument
517 edit(String key, long expectedSequenceNumber) argument
631 remove(String key) argument
716 validateKey(String key) argument
731 private final String key; field in class:DiskLruCache.Snapshot
735 Snapshot(String key, long sequenceNumber, InputStream[] ins) argument
897 private final String key; field in class:DiskLruCache.Entry
911 Entry(String key) argument
[all...]
H A DImageCache.java135 protected int sizeOf(String key, Bitmap bitmap) {
201 final String key = hashKeyForDisk(data);
204 DiskLruCache.Snapshot snapshot = mDiskLruCache.get(key);
206 final DiskLruCache.Editor editor = mDiskLruCache.edit(key);
258 final String key = hashKeyForDisk(data);
268 final DiskLruCache.Snapshot snapshot = mDiskLruCache.get(key);
433 public static String hashKeyForDisk(String key) { argument
437 mDigest.update(key.getBytes());
440 cacheKey = String.valueOf(key.hashCode());
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/
H A Dip_conntrack_tuple.h36 __be16 key; member in struct:ip_conntrack_manip_proto::__anon165
69 __be16 key; member in struct:ip_conntrack_tuple::__anon166::__anon167::__anon172
/development/samples/ApiDemos/src/com/example/android/apis/preference/
H A DAdvancedPreferences.java72 // Set up a listener whenever a key changes
80 // Unregister the listener whenever a key changes
86 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument
88 if (key.equals(KEY_MY_PREFERENCE)) {
90 + sharedPreferences.getInt(key, 0), Toast.LENGTH_SHORT).show();
/development/samples/BackupRestore/src/com/example/android/backuprestore/
H A DMultiRecordExampleAgent.java144 // Helper: write the boolean 'value' as a backup record under the given 'key',
146 void writeBackupEntity(BackupDataOutput data, ByteArrayOutputStream bufStream, String key) argument
149 data.writeEntityHeader(key, buf.length);
166 String key = data.getKey();
178 if (FILLING_KEY.equals(key)) {
180 } else if (MAYO_KEY.equals(key)) {
182 } else if (TOMATO_KEY.equals(key)) {
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
H A DRemoteControlClientCompat.java145 * The metadata key for the content artwork / album art.
177 * @param key The identifier of a the metadata field to set. Valid values are
189 * @param value The text for the given key, or {@code null} to signify there is no valid
194 public MetadataEditorCompat putString(int key, String value) { argument
197 mPutStringMethod.invoke(mActualMetadataEditor, key, value);
207 * @param key the identifier of the bitmap to set. The only valid value is
215 public MetadataEditorCompat putBitmap(int key, Bitmap bitmap) { argument
218 mPutBitmapMethod.invoke(mActualMetadataEditor, key, bitmap);
230 * @param key the identifier of a the metadata field to set. Valid values are
236 * @param value The long value for the given key
241 putLong(int key, long value) argument
[all...]
/development/tools/mkstubs/src/com/android/mkstubs/
H A DAsmAnalyzer.java87 String key = it.next();
89 // TODO: We *could* filter out all private classes here: classes.get(key).getAccess().
92 if (!filter.accept(key)) {
93 log.debug("- Remove class " + key);
/development/ndk/platforms/android-9/include/android/
H A Dstorage_manager.h103 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key,
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
H A DCubeWallpaper2Settings.java51 String key) {
50 onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) argument
/development/samples/training/network-usage/src/com/example/android/networkusage/
H A DSettingsActivity.java61 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument
/development/tools/
H A Dmake_key17 # Generates a public/private key pair suitable for use in signing
24 Creates <name>.pk8 key and <name>.x509.pem cert. Cert contains the
36 # Use named pipes to connect get the raw RSA private key to the cert-
37 # and .pk8-creating programs, to avoid having the private key ever
54 openssl req -new -x509 -sha1 -key ${two} -out $1.x509.pem \
/development/tools/apkcheck/src/com/android/apkcheck/
H A DClassInfo.java174 * Retrieves a method from the list, matching on the part of the key
238 * hash table key.
294 * key may have changed. (We're using an iterator, so we create a
303 String key = keyIter.next();
304 FieldInfo fieldInfo = mFieldList.get(key);
313 String key = keyIter.next();
314 MethodInfo methodInfo = mMethodList.get(key);
/development/ide/xcode/ports/
H A DSkOSWindow_Mac.cpp226 SkKey key = raw2key(raw); local
227 if (key != kNONE_SkKey)
228 (void)win->handleKey(key);
232 SkKey key = raw2key(raw); local
233 if (key != kNONE_SkKey)
234 (void)win->handleKeyUp(key);
/development/samples/Snake/src/com/example/android/snake/
H A DTileView.java94 * Function to set the specified Drawable as the tile for a particular integer key.
96 * @param key
99 public void loadTile(int key, Drawable tile) { argument
105 mTileArray[key] = bitmap;

Completed in 776 milliseconds

123