Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 113) sorted by relevance

12345

/sdk/emulator/qtools/
Dhash_table.h17 char *key; member
23 void Update(const char *key, T value);
24 bool Remove(const char *key);
25 T Find(const char *key);
30 uint32_t HashFunction(const char *key);
74 delete[] ptr->key; in ~HashTable()
84 uint32_t HashTable<T>::HashFunction(const char *key) in HashFunction() argument
88 int len = strlen(key); in HashFunction()
89 for(int ii = 0; ii < len; ++key, ++ii) in HashFunction()
90 hash = ((hash << 5) + hash) + *key; in HashFunction()
[all …]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/util/
DSparseArray.java53 public E get(int key) { in get() argument
54 return get(key, null); in get()
62 public E get(int key, E valueIfKeyNotFound) { in get() argument
63 int i = binarySearch(mKeys, 0, mSize, key); in get()
75 public void delete(int key) { in delete() argument
76 int i = binarySearch(mKeys, 0, mSize, key); in delete()
89 public void remove(int key) { in remove() argument
90 delete(key); in remove()
125 public void put(int key, E value) { in put() argument
126 int i = binarySearch(mKeys, 0, mSize, key); in put()
[all …]
DSparseIntArray.java50 public int get(int key) { in get() argument
51 return get(key, 0); in get()
58 public int get(int key, int valueIfKeyNotFound) { in get() argument
59 int i = binarySearch(mKeys, 0, mSize, key); in get()
71 public void delete(int key) { in delete() argument
72 int i = binarySearch(mKeys, 0, mSize, key); in delete()
93 public void put(int key, int value) { in put() argument
94 int i = binarySearch(mKeys, 0, mSize, key); in put()
121 mKeys[i] = key; in put()
158 public int indexOfKey(int key) { in indexOfKey() argument
[all …]
/sdk/monkeyrunner/src/com/android/monkeyrunner/recorder/actions/
DPyDictUtilBuilder.java34 private void addHelper(String key, String value) { in addHelper() argument
35 sb.append("'").append(key).append("'"); in addHelper()
39 public PyDictUtilBuilder add(String key, int value) { in add() argument
40 addHelper(key, Integer.toString(value)); in add()
44 public PyDictUtilBuilder add(String key, float value) { in add() argument
45 addHelper(key, Float.toString(value)); in add()
49 public PyDictUtilBuilder add(String key, String value) { in add() argument
50 addHelper(key, "'" + value + "'"); in add()
59 public PyDictUtilBuilder addTuple(String key, int x, int y) { in addTuple() argument
61 addHelper(key, valuestr); in addTuple()
DPressAction.java38 private final String key; field in PressAction
41 public PressAction(String key, String downUpFlag) { in PressAction() argument
42 this.key = key; in PressAction()
46 public PressAction(String key) { in PressAction() argument
47 this(key, MonkeyDevice.DOWN_AND_UP); in PressAction()
53 DOWNUP_FLAG_MAP.get(downUpFlag), key); in getDisplayName()
59 add("name", key). in serialize()
66 device.press(key, TouchPressType.fromIdentifier(downUpFlag)); in execute()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/
DDisplaySync.java187 String key = scanner.findInLine(charPat); in getTextFromDetails() local
189 if (auth == GMAIL && "M".equals(key)) { in getTextFromDetails()
191 } else if (auth == GMAIL && "L".equals(key)) { in getTextFromDetails()
193 } else if (auth == GMAIL && "C".equals(key)) { in getTextFromDetails()
195 } else if (auth == GMAIL && "A".equals(key)) { in getTextFromDetails()
197 } else if (auth == GMAIL && "U".equals(key)) { in getTextFromDetails()
199 } else if (auth == GMAIL && "u".equals(key)) { in getTextFromDetails()
201 } else if (auth == GMAIL && "S".equals(key)) { in getTextFromDetails()
203 } else if ("Q".equals(key)) { in getTextFromDetails()
205 } else if ("E".equals(key)) { in getTextFromDetails()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLSparseArrayProperty.java68 public IGLProperty getProperty(int key) { in getProperty() argument
69 IGLProperty p = mSparseArray.get(key); in getProperty()
71 add(key); in getProperty()
72 p = mSparseArray.get(key); in getProperty()
82 public void put(int key, IGLProperty element) { in put() argument
84 mSparseArray.put(key, element); in put()
87 public void add(int key) { in add() argument
90 mSparseArray.put(key, prop); in add()
93 public void delete(int key) { in delete() argument
94 mSparseArray.delete(key); in delete()
[all …]
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/core/
DPkgCategoryApi.java57 AndroidVersion key = (AndroidVersion) getKey(); in getApiLabel() local
58 if (key.equals(KEY_TOOLS)) { in getApiLabel()
60 } else if (key.equals(KEY_TOOLS_PREVIEW)) { in getApiLabel()
62 } else if (key.equals(KEY_EXTRA)) { in getApiLabel()
65 return key.toString(); in getApiLabel()
73 AndroidVersion key = (AndroidVersion) getKey(); in getLabel() local
75 if (key.equals(KEY_TOOLS)) { in getLabel()
77 } else if (key.equals(KEY_TOOLS_PREVIEW)) { in getLabel()
79 } else if (key.equals(KEY_EXTRA)) { in getLabel()
/sdk/uiautomatorviewer/src/com/android/uiautomator/tree/
DAttributePair.java20 public String key, value; field in AttributePair
22 public AttributePair(String key, String value) { in AttributePair() argument
23 this.key = key; in AttributePair()
DUiNode.java33 public void addAtrribute(String key, String value) { in addAtrribute() argument
34 mAttributes.put(key, value); in addAtrribute()
36 if ("bounds".equals(key)) { in addAtrribute()
105 public String getAttribute(String key) { in getAttribute() argument
106 return mAttributes.get(key); in getAttribute()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/
DProjectPropertiesWorkingCopy.java110 String key = entry.getKey(); in merge() local
112 if (!mProperties.containsKey(key) && value != null) { in merge()
113 mProperties.put(key, value); in merge()
152 String key = m.group(1); in save() local
156 visitedProps.add(key); in save()
159 if (mType.isRemovedProperty(key)) { in save()
161 } else if (mProperties.containsKey(key)) { // if the property still exists. in save()
163 value = mProperties.get(key); in save()
167 if (mType.isKnownProperty(key)) { in save()
174 writeValue(writer, key, value, false /*addComment*/); in save()
[all …]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/sources/
DSdkSourceProperties.java85 public String getProperty(@NonNull String key, in getProperty() argument
95 value = sSourcesProperties.getProperty(key + sourceUrl, defaultValue); in getProperty()
111 public void setProperty(String key, String sourceUrl, String value) { in setProperty() argument
117 key += sourceUrl; in setProperty()
119 String old = sSourcesProperties.getProperty(key); in setProperty()
122 sSourcesProperties.remove(key); in setProperty()
126 sSourcesProperties.setProperty(key, value); in setProperty()
147 for (Object key : keys) { in toString()
148 sb.append('\n').append(key) in toString()
149 .append(" = ").append(sSourcesProperties.get(key)); //$NON-NLS-1$ in toString()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
DAbstractPropertiesFieldsPart.java171 String key = line.substring(0, pos).trim(); in saveFieldsToModel() local
173 Control field = mNameToField.get(key); in saveFieldsToModel()
177 line = key + "=" + getFieldText(field); in saveFieldsToModel()
184 allKeywords.remove(key); in saveFieldsToModel()
197 for (String key : allKeywords) { in saveFieldsToModel()
198 Control field = mNameToField.get(key); in saveFieldsToModel()
201 String line = key + "=" + getFieldText(field); in saveFieldsToModel()
227 allKeywords.remove(key); in saveFieldsToModel()
286 String key = line.substring(0, pos).trim(); in onModelInit() local
288 Control field = mNameToField.get(key); in onModelInit()
[all …]
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DMonitorThread.java258 SelectionKey key = iter.next(); in run() local
262 if (key.attachment() instanceof Client) { in run()
263 processClientActivity(key); in run()
265 else if (key.attachment() instanceof Debugger) { in run()
266 processDebuggerActivity(key); in run()
268 else if (key.attachment() instanceof MonitorThread) { in run()
269 processDebugSelectedActivity(key); in run()
301 private void processClientActivity(SelectionKey key) { in processClientActivity() argument
302 Client client = (Client)key.attachment(); in processClientActivity()
305 if (key.isReadable() == false || key.isValid() == false) { in processClientActivity()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DIconFactory.java139 String key = Character.toString((char) shape) + Integer.toString(color) + osName; in getIcon() local
140 Image icon = mIconMap.get(key); in getIcon()
141 if (icon == null && !mIconMap.containsKey(key)) { in getIcon()
148 mIconMap.put(key, icon); in getIcon()
180 String key = Character.toString((char) shape) + Integer.toString(color) + osName; in getImageDescriptor() local
181 ImageDescriptor id = mImageDescMap.get(key); in getImageDescriptor()
182 if (id == null && !mImageDescMap.containsKey(key)) { in getImageDescriptor()
193 mImageDescMap.put(key, id); in getImageDescriptor()
214 String key = osName; in getIcon() local
215 Image icon = mIconMap.get(key); in getIcon()
[all …]
/sdk/emulator/opengl/tests/emulator_test_renderer/
Dmain.cpp143 if (ev.key.keysym.sym == SDLK_q && in WinMain()
144 ev.key.keysym.mod & KMOD_META) { in WinMain()
148 injector->sendKeyDown(convert_keysym(ev.key.keysym.sym)); in WinMain()
150 if (ev.key.keysym.sym == SDLK_KP_MINUS) { in WinMain()
163 else if (ev.key.keysym.sym == SDLK_KP_PLUS) { in WinMain()
176 else if (ev.key.keysym.sym == SDLK_KP_MULTIPLY) { in WinMain()
180 else if (ev.key.keysym.sym == SDLK_KP_ENTER) { in WinMain()
185 injector->sendKeyUp(convert_keysym(ev.key.keysym.sym)); in WinMain()
/sdk/monkeyrunner/src/com/android/monkeyrunner/controller/
DVariableFrame.java53 private final String key; field in VariableFrame.VariableHolder
56 public VariableHolder(String key, String value) { in VariableHolder() argument
57 this.key = key; in VariableHolder()
62 return key; in getKey()
70 return key.compareTo(o.key); in compareTo()
/sdk/traceview/src/com/android/traceview/
DColorController.java67 int key = (red << 16) | (green << 8) | blue; in requestColor() local
68 Color color = colorCache.get(key); in requestColor()
71 colorCache.put(key, color); in requestColor()
77 int key = (red << 16) | (green << 8) | blue; in requestColorSquare() local
78 Image image = imageCache.get(key); in requestColorSquare()
86 imageCache.put(key, image); in requestColorSquare()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
DAttributeSortOrder.java34 AttributeSortOrder(String key) { in AttributeSortOrder() argument
35 this.key = key; in AttributeSortOrder()
38 public final String key; field in AttributeSortOrder
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAndroidTargetParser.java527 for (String key : new String[] { "Menu", //$NON-NLS-1$ in collectMenuDefinitions()
530 if (map.containsKey(key)) { in collectMenuDefinitions()
531 map2.put(key, map.get(key)); in collectMenuDefinitions()
535 key, attrsXmlParser.getOsAttrsXmlPath()); in collectMenuDefinitions()
538 key, attrsXmlParser.getOsAttrsXmlPath())); in collectMenuDefinitions()
554 for (String key : new String[] { "Searchable", //$NON-NLS-1$ in collectSearchableDefinitions()
556 if (map.containsKey(key)) { in collectSearchableDefinitions()
557 map2.put(key, map.get(key)); in collectSearchableDefinitions()
561 key, attrsXmlParser.getOsAttrsXmlPath()); in collectSearchableDefinitions()
564 key, attrsXmlParser.getOsAttrsXmlPath())); in collectSearchableDefinitions()
[all …]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/avd/
DHardwareProperties.java210 String key = m.group(1); in parseHardwareDefinitions() local
213 if (HW_PROP_NAME.equals(key)) { in parseHardwareDefinitions()
225 if (HW_PROP_TYPE.equals(key)) { in parseHardwareDefinitions()
230 } else if (HW_PROP_DEFAULT.equals(key)) { in parseHardwareDefinitions()
232 } else if (HW_PROP_ABSTRACT.equals(key)) { in parseHardwareDefinitions()
234 } else if (HW_PROP_DESC.equals(key)) { in parseHardwareDefinitions()
236 } else if (HW_PROP_ENUM.equals(key)) { in parseHardwareDefinitions()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
DLogCatFilterSettingsSerializer.java111 String key = kv.get(index); in decodeFromPreferenceString() local
115 if (key.equals(KW_TAG)) { in decodeFromPreferenceString()
117 } else if (key.equals(KW_TEXT)) { in decodeFromPreferenceString()
119 } else if (key.equals(KW_PID)) { in decodeFromPreferenceString()
121 } else if (key.equals(KW_APP)) { in decodeFromPreferenceString()
123 } else if (key.equals(KW_LOGLEVEL)) { in decodeFromPreferenceString()
/sdk/testapps/jarCheckTests3/app/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/jarCheckTests2/lib1/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/jarCheckTests3/lib1/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.

12345