/packages/apps/Gallery/src/com/android/camera/gallery/ |
LruCache.java | 65 return entry == null ? null : entry.get(); 68 public synchronized V get(K key) { method in class:LruCache 70 V value = mLruMap.get(key); 72 Entry<K, V> entry = mWeakMap.get(key); 73 return entry == null ? null : entry.get();
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
ArrayListTest.java | 85 al.get(counter) == objArray[counter]); 102 assertTrue("Failed to add Object", alist.get(50) == o); 104 alist.get(51) == objArray[50] 105 && (alist.get(52) == objArray[51])); 106 Object oldItem = alist.get(25); 108 assertNull("Should have returned null", alist.get(25)); 110 .get(26) == oldItem); 113 assertEquals("Failed to add Object", alist.get(0), o); 114 assertEquals(alist.get(1), objArray[0]); 115 assertEquals(alist.get(2), objArray[1]) [all...] |
/external/webkit/JavaScriptCore/wtf/ |
RefPtr.h | 56 template <typename U> RefPtr(const RefPtr<U>& o) : m_ptr(o.get()) { T* ptr = m_ptr; refIfNotNull(ptr); } 58 T* get() const { return m_ptr; } function in class:WTF::RefPtr 100 T* optr = o.get(); 110 T* optr = o.get(); 171 return a.get() == b.get(); 176 return a.get() == b; 181 return a == b.get(); 186 return a.get() != b.get(); [all...] |
/external/webkit/WebCore/platform/network/cf/ |
ResourceHandleCFNet.cpp | 86 // Store the preemptively used initial credential so that if we get an authentication challenge, we won't use the same one again. 141 if (CFStringCompareWithOptions(originalMethod.get(), newMethod.get(), CFRangeMake(0, CFStringGetLength(originalMethod.get())), kCFCompareCaseInsensitive)) { 143 CFURLRequestSetHTTPRequestMethod(mutableRequest.get(), originalMethod.get()); 146 if (!equalIgnoringCase(handle->request().httpMethod(), "GET") && body && !body->isEmpty()) 147 WebCore::setHTTPBody(mutableRequest.get(), body); 152 CFURLRequestSetHTTPHeaderFieldValue(mutableRequest.get(), CFSTR("Content-Type"), originalContentTypeCF.get()); [all...] |
/external/webkit/WebCore/platform/win/ |
COMPtr.h | 55 template <typename U> COMPtr(QueryTag, const COMPtr<U>& ptr) : m_ptr(copyQueryInterfaceRef(ptr.get())) { } 65 T* get() const { return m_ptr; } function in class:COMPtr 77 operator UnspecifiedBoolType() const { return m_ptr ? &COMPtr::get : 0; } 84 template <typename U> void query(const COMPtr<U>& ptr) { query(ptr.get()); } 136 T* optr = o.get(); 148 T* optr = o.get(); 171 return a.get() == b.get(); 176 return a.get() == b; 181 return a == b.get(); [all...] |
/libcore/luni/src/main/java/java/nio/ |
CharBuffer.java | 199 return get(position + index); 234 thisByte = get(thisPos); 235 otherByte = otherBuffer.get(otherPos); 288 equalSoFar = get(myPosition++) == otherBuffer.get(otherPosition++); 301 public abstract char get(); method in class:CharBuffer 308 * {@code get(dst, 0, dst.length)}. 316 public CharBuffer get(char[] dst) { method in class:CharBuffer 317 return get(dst, 0, dst.length); 339 public CharBuffer get(char[] dst, int off, int len) method in class:CharBuffer 363 public abstract char get(int index); method in class:CharBuffer 664 result.append(get(i)); method [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
MediaBucketList.java | 41 MediaBucket bucket = buckets.get(0); 45 item = items.get(0); 61 MediaBucket bucket = buckets.get(0); 70 public ArrayList<MediaBucket> get() { method in class:MediaBucketList 80 MediaBucket bucket = buckets.get(i); 116 mediaSetToAdd = mediaSets.get(slotId); 124 mediaSetToAdd = items.get(0).mParentMediaSet; 132 final MediaBucket bucketCompare = selectedBuckets.get(i); 169 MediaItem item = items.get(i); 174 final MediaItem selectedItem = selectedItems.get(j) [all...] |
MediaFeed.java | 99 MediaSet set = mMediaSets.get(i); 107 MediaClustering mc = mClusterSets.get(i); 176 final MediaSet set = mMediaSets.get(i); 196 MediaSet set = mMediaSets.get(i); 222 return mClusterSets.get(mMediaSets.get(mExpandedMediaSetIndex)); 230 MediaClustering mediaClustering = mClusterSets.get(set); 243 MediaClustering clustering = mClusterSets.get(mediaSet); 260 copyMediaBuckets.add(mediaBuckets.get(i)); 271 MediaBucket bucket = mediaBuckets.get(i) [all...] |
/system/core/nexus/ |
WifiNetwork.h | 79 virtual int get(int idx, int *buffer) = 0; 91 virtual int get(int idx, char *buffer, size_t max) = 0; 100 int get(int idx, int *buffer); 108 int get(int idx, int *buffer); 116 int get(int idx, int *buffer); 124 int get(int idx, char *buffer, size_t max); 132 int get(int idx, char *buffer, size_t max); 140 int get(int idx, char *buffer, size_t max); 148 int get(int idx, char *buffer, size_t max); 156 int get(int idx, char *buffer, size_t max) [all...] |
Property.cpp | 50 int StringProperty::get(int idx, int *buffer) { function in class:StringProperty 51 LOGE("Integer 'get' called on string property!"); 55 int StringProperty::get(int idx, struct in_addr *buffer) { function in class:StringProperty 56 LOGE("IpAddr 'get' called on string property!"); 78 int StringPropertyHelper::get(int idx, char *buffer, size_t max) { function in class:StringPropertyHelper 80 LOGW("Attempt to use array index on StringPropertyHelper::get"); 102 int IntegerProperty::get(int idx, char *buffer, size_t max) { function in class:IntegerProperty 103 LOGE("String 'get' called on integer property!"); 107 int IntegerProperty::get(int idx, struct in_addr *buffer) { function in class:IntegerProperty 108 LOGE("IpAddr 'get' called on integer property!") 129 int IntegerPropertyHelper::get(int idx, int *buffer) { function in class:IntegerPropertyHelper 153 int IPV4AddressProperty::get(int idx, char *buffer, size_t max) { function in class:IPV4AddressProperty 158 int IPV4AddressProperty::get(int idx, int *buffer) { function in class:IPV4AddressProperty 180 int IPV4AddressPropertyHelper::get(int idx, struct in_addr *buffer) { function in class:IPV4AddressPropertyHelper [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationSetTest.java | 104 assertEquals(SHORT_CHILD_DURATION, children.get(0).getDuration()); 105 assertEquals(MEDIUM_CHILD_DURATION, children.get(1).getDuration()); 106 assertEquals(LONG_CHILD_DURATION, children.get(2).getDuration()); 113 assertEquals(ANIMATIONSET_DURATION, children.get(0).getDuration()); 114 assertEquals(ANIMATIONSET_DURATION, children.get(1).getDuration()); 115 assertEquals(ANIMATIONSET_DURATION, children.get(2).getDuration()); 146 children.get(0).setFillAfter(true); 147 children.get(1).setFillAfter(false); 154 assertTrue(children.get(i).getFillAfter()); 168 children.get(0).setFillBefore(true) [all...] |
/external/webkit/WebCore/loader/archive/cf/ |
LegacyWebArchive.cpp | 73 CFDictionarySetValue(propertyList.get(), LegacyWebArchiveResourceDataKey, 0); 74 CFDictionarySetValue(propertyList.get(), LegacyWebArchiveResourceURLKey, 0); 75 CFDictionarySetValue(propertyList.get(), LegacyWebArchiveResourceMIMETypeKey, 0); 88 CFDictionarySetValue(propertyList.get(), LegacyWebArchiveResourceDataKey, cfData.get()); 93 CFDictionarySetValue(propertyList.get(), LegacyWebArchiveResourceURLKey, cfURL.get()); 103 CFDictionarySetValue(propertyList.get(), LegacyWebArchiveResourceFrameNameKey, cfFrameName.get()); 110 CFDictionarySetValue(propertyList.get(), LegacyWebArchiveResourceMIMETypeKey, cfMIMEType.get()) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
ArrayListTest.java | 101 al.get(counter) == objArray[counter]); 124 assertTrue("Failed to add Object", alist.get(50) == o); 126 alist.get(51) == objArray[50] 127 && (alist.get(52) == objArray[51])); 128 Object oldItem = alist.get(25); 130 assertNull("Should have returned null", alist.get(25)); 132 .get(26) == oldItem); 162 assertTrue("Failed to add Object", alist.get(alist.size() - 1) == o); 164 assertNull("Failed to add null", alist.get(alist.size() - 1)); 184 alist.get(i) == objArray[i]) [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/ref/ |
ReferenceTest.java | 108 assertTrue("Start: Object not cleared.", (sr.get() != null) 109 && (wr.get() != null)); 110 assertNull("Referent is not null.", pr.get()); 114 assertTrue("End: Object cleared.", (sr.get() == null) 115 && (wr.get() == null)); 116 assertNull("Referent is not null.", pr.get()); 118 assertTrue("should always pass", tmpA != sr.get() && tmpB != wr.get()); 144 assertTrue("Not properly enqueued.", rq.poll().get() == obj); 156 assertTrue("Not properly enqueued2.", rq.poll().get() == obj) [all...] |
/external/webkit/WebCore/inspector/front-end/ |
Resource.js | 136 get url() 156 get documentURL() 168 get domain() 180 get lastPathComponent() 193 get displayName() 205 get displayDomain() 213 get startTime() 229 get responseReceivedTime() 245 get endTime() 261 get duration( [all...] |
/dalvik/dx/src/com/android/dx/ssa/back/ |
IdenticalBlockCombiner.java | 67 BasicBlock b = blocks.get(bindex); 69 if (toDelete.get(b.getLabel())) { 79 int iLabel = preds.get(i); 83 if (toDelete.get(iLabel) 94 int jLabel = preds.get(j); 110 if (toDelete.get(newBlocks.get(i).getLabel())) { 144 int betaLabel = betaLabels.get(i); 150 BasicBlock predBlock = newBlocks.labelToBlock(preds.get(j));
|
/dalvik/hit/src/com/android/hit/ |
Heap.java | 56 return mFrames.get(id); 64 return mTraces.get(traceSerialNumber); 69 StackTrace trace = mTraces.get(traceSerialNumber); 88 return mThreads.get(serialNumber); 96 return mInstances.get(id); 105 return mClassesById.get(id); 109 return mClassesByName.get(name); 155 ClassObj theClass = mClassesById.get(instance.mClassId); 163 ClassObj superClass = mClassesById.get(theClass.mSuperclassId);
|
/external/chromium/base/ |
event_trace_controller_win.cc | 36 EVENT_TRACE_PROPERTIES& p = *prop.get(); 51 EVENT_TRACE_PROPERTIES& p = *prop.get(); 75 ULONG error = ::ControlTrace(session_, NULL, properties->get(), 90 ULONG error = ::ControlTrace(session_, NULL, properties->get(), 100 ULONG err = ::StartTrace(session_handle, session_name, properties->get()); 106 ULONG err = ::ControlTrace(NULL, session_name, properties->get(), 113 ULONG err = ::ControlTrace(NULL, session_name, properties->get(), 120 ULONG err = ::ControlTrace(NULL, session_name, properties->get(), 127 ULONG err = ::ControlTrace(NULL, session_name, properties->get(),
|
/external/guava/src/com/google/common/base/ |
Suppliers.java | 63 public T get() { method in class:Suppliers.SupplierComposition 64 return function.apply(first.get()); 71 * call to {@code get()} and returns that value on subsequent calls to 72 * {@code get()}. See: 77 * get()} is called on the reserialized instance. 93 public synchronized T get() { method in class:Suppliers.MemoizingSupplier 95 value = delegate.get(); 107 * calls to {@code get()} return the cached value if the expiration time has 114 * get()} is called on the reserialized instance. 117 * should stop being returned by subsequent {@code get()} call 142 public synchronized T get() { method in class:Suppliers.ExpiringMemoizingSupplier 168 public T get() { method in class:Suppliers.SupplierOfInstance 189 public T get() { method in class:Suppliers.ThreadSafeSupplier [all...] |
/external/webkit/JavaScriptCore/profiler/ |
ProfileGenerator.cpp | 66 m_currentNode = ProfileNode::create(Profiler::createCallIdentifier(exec, function ? function.toThisObject(exec) : 0, sourceURL, lineNumber), m_head.get(), m_head.get()); 67 m_head->insertNode(m_currentNode.get()); 103 RefPtr<ProfileNode> returningNode = ProfileNode::create(callIdentifier, m_head.get(), m_currentNode.get()); 123 // will not get didExecute call. 127 RefPtr<ProfileNode> idleNode = ProfileNode::create(CallIdentifier(NonJSExecution, UString(), 0), m_head.get(), m_head.get()); 142 for (ProfileNode* next = m_head.get(); next; next = next->firstChild()) 157 for (ProfileNode* next = m_head.get(); next; next = next->lastChild() [all...] |
/frameworks/base/core/java/android/database/ |
MatrixCursor.java | 64 private Object get(int column) { method in class:MatrixCursor 165 localData[start + i] = columnValues.get(i); 229 Object value = get(column); 236 Object value = get(column); 244 Object value = get(column); 252 Object value = get(column); 260 Object value = get(column); 268 Object value = get(column); 276 return get(column) == null;
|
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowEditor.java | 110 return mModel.get(position).removeText(); 114 return mModel.get(position).removeImage(); 118 return mModel.get(position).removeVideo(); 122 return mModel.get(position).removeAudio(); 127 SlideModel slide = mModel.get(position); 142 mModel.get(position).add(new ImageModel( 148 SlideModel slide = mModel.get(position); 156 SlideModel slide = mModel.get(position); 171 mModel.get(position).setDuration(dur);
|
/cts/tests/tests/util/src/android/util/cts/ |
SparseBooleanArrayTest.java | 62 method = "get", 67 method = "get", 111 assertEquals(VALUES[i], sparseBooleanArray.get(KEYS[i])); 128 assertEquals(oldValue, sparseBooleanArray.get(existKey)); 131 assertEquals(newValue, sparseBooleanArray.get(existKey)); 135 sparseBooleanArray.get(NON_EXISTED_KEY, VALUE_FOR_NON_EXISTED_KEY)); 136 assertEquals(false, sparseBooleanArray.get(NON_EXISTED_KEY)); // the default value is false 147 assertEquals(VALUES[1], sparseBooleanArray.get(KEYS[1])); 151 sparseBooleanArray.get(KEYS[1], VALUE_FOR_NON_EXISTED_KEY)); 180 method = "get", [all...] |
/dalvik/dx/src/com/android/dx/ssa/ |
SsaConverter.java | 154 SsaBasicBlock block = blocks.get(i); 195 SsaBasicBlock block = blocks.get(i); 203 && block.getInsns().get(0).isMoveException()) { 209 SsaBasicBlock predecessor = blocks.get(j); 217 zNode.getInsns().add(0, block.getInsns().get(0).clone()); 240 SsaBasicBlock block = blocks.get(i); 247 SsaBasicBlock succ = blocks.get(j); 269 SsaInsn lastInsn = insns.get(insns.size() - 1); 316 SsaBasicBlock b = ssaBlocks.get(bi); 359 if (!phisites[reg].get(dfBlockIndex)) [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetworkVars.java | 38 * Interface to get the value of a var. 42 * Get the value of the var. 45 public String get(); method in interface:MonkeySourceNetworkVars.VarGetter 55 public String get() { method in class:MonkeySourceNetworkVars.StaticVarGetter 60 // Use a TreeMap to keep the keys sorted so they get displayed nicely in listvar 97 public String get() { 102 public String get() { 110 public String get() { 118 public String get() { 126 public String get() { [all...] |