/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardSimPinView.java | 173 String entry = mPasswordEntry.getText().toString(); 175 if (entry.length() < 4) {
|
H A D | KeyguardAbsKeyInputView.java | 151 String entry = mPasswordEntry.getText().toString(); 152 if (mLockPatternUtils.checkPassword(entry)) { 155 } else if (entry.length() > MINIMUM_PASSWORD_LENGTH_BEFORE_REPORT ) { 169 // Prevent user from using the PIN/Password entry until scheduled deadline.
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 215 for (Map.Entry<K, V> entry : map.entrySet()) { 216 toEvict = entry; 236 * Removes the entry for {@code key} if it exists. 269 * @param evicted true if the entry is being removed to make space, false 305 * Returns the size of the entry for {@code key} and {@code value} in 309 * <p>An entry's size must not change while it is in the cache. 316 * Clear the cache, calling {@link #entryRemoved} on each removed entry.
|
/frameworks/base/core/java/android/app/ |
H A D | FragmentBreadCrumbs.java | 52 /** Listener to inform when a parent entry is clicked */ 70 * @param flags Additional information about the entry. Currently 74 * the default action (popping back stack to this entry) to occur. 127 * Inserts an optional parent entry at the first position in the breadcrumbs. Selecting this 128 * entry will result in a call to the specified listener's 132 * @param title the title for the parent entry 133 * @param shortTitle the short title for the parent entry 135 * A null will result in no action being taken when the parent entry is clicked. 157 final BackStackRecord entry = new BackStackRecord( 159 entry [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | Request.java | 195 Entry<String, String> entry; 198 entry = i.next(); 199 addHeader(entry.getKey(), entry.getValue());
|
/frameworks/base/core/jni/ |
H A D | android_util_EventLog.cpp | 197 logger_entry* entry = (logger_entry*) buf; local 198 int32_t tag = * (int32_t*) (buf + sizeof(*entry)); 206 jsize len = sizeof(*entry) + entry->len;
|
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 177 ALOGD("Couldn't read zip entry info\n"); 289 const ZipEntryRO entry = zipFile.findEntryByIndex(i); local 290 if (entry == NULL) { 294 // Make sure this entry has a filename. 295 if (zipFile.getEntryFileName(entry, fileName, sizeof(fileName))) { 349 install_status_t ret = callFunc(env, callArg, &zipFile, entry, lastSlash + 1); 352 ALOGV("Failure for entry %s", lastSlash + 1);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
H A D | BandwidthTest.java | 340 for (Entry entry : totalStats.values()) { 341 results.putInt(label + "uid", entry.uid); 342 results.putLong(label + "tx", entry.txBytes); 343 results.putLong(label + "rx", entry.rxBytes);
|
/frameworks/base/services/java/com/android/server/ |
H A D | NetworkManagementService.java | 349 for (Map.Entry<String, Long> entry : activeQuotas.entrySet()) { 350 setInterfaceQuota(entry.getKey(), entry.getValue()); 359 for (Map.Entry<String, Long> entry : activeAlerts.entrySet()) { 360 setInterfaceAlert(entry.getKey(), entry.getValue()); 1331 final NetworkStats.Entry entry = new NetworkStats.Entry(); 1332 entry.iface = ifaceIn; 1333 entry.uid = UID_TETHERING; 1334 entry [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | TorusTest.java | 243 FileA3D.IndexEntry entry = model.getIndexEntry(0); 244 if (entry == null || entry.getEntryType() != FileA3D.EntryType.MESH) { 247 mTorus = (Mesh)entry.getObject();
|
/frameworks/native/libs/utils/ |
H A D | BasicHashtable.cpp | 148 size_t BasicHashtableImpl::add(hash_t hash, const void* entry) { argument 179 initializeBucketEntry(*bucket, entry); 225 initializeBucketEntry(*toBucket, fromBucket.entry); 280 initializeBucketEntry(toBucket, fromBucket.entry);
|
H A D | BlobCache.cpp | 86 // Create a new cache entry. 105 ALOGV("set: created new cache entry with %d byte key and %d byte value", 108 // Update the existing cache entry. 126 ALOGV("set: updated existing cache entry with %d byte key and %d byte " 144 ALOGV("get: no cache entry found for key of size %d", keySize); 264 ALOGE("unflatten: not enough room for cache entry headers"); 276 ALOGE("unflatten: not enough room for cache entry headers"); 298 // Remove a random cache entry until the total cache size gets below half 302 const CacheEntry& entry(mCacheEntries[i]); 303 mTotalSize -= entry [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | ChooseAccountTypeActivity.java | 77 for (Map.Entry<String, AuthInfo> entry: mTypeToAuthenticatorInfo.entrySet()) { 78 final String type = entry.getKey(); 79 final AuthInfo info = entry.getValue();
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStore.java | 122 * Get all the gesture entry names in the library 143 * Add a gesture for the entry 145 * @param entryName entry name 165 * given entry, the gesture entry will be removed. 167 * @param entryName entry name 178 // if there are no more samples, remove the entry automatically 189 * Remove a entry of gestures 191 * @param entryName the entry name 200 * Get all the gestures of an entry [all...] |
/frameworks/base/core/java/android/os/ |
H A D | DropBoxManager.java | 61 * Broadcast Action: This is broadcast when a new entry is added in the dropbox. 80 * when the entry was created. 85 * A single entry retrieved from the drop box. 122 * The data array must not be modified after creating this entry. 156 * The file will be read when the entry's contents are requested. 169 /** Close the input stream associated with this entry. */ 174 /** @return the tag originally attached to the entry. */ 177 /** @return time when the entry was originally created. */ 185 * @return the uncompressed text contents of the entry, null if the entry i [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | ListPreference.java | 71 * Each entry must have a corresponding index in 99 * The array to find the value to save for a preference when an entry from 111 * @param entryValuesResId The entry values array as a resource. 141 * marker in it (i.e. "%s" or "%1$s"), then the current entry 148 final CharSequence entry = getEntry(); 149 if (mSummary == null || entry == null) { 152 return String.format(mSummary, entry); 160 * marker in it (i.e. "%s" or "%1$s"), then the current entry 176 * Sets the value to the given index from the entry values. 197 * Returns the entry correspondin [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | Tweener.java | 47 Entry<Object, Tweener> entry = iter.next(); 48 if (entry.getValue().animator == animator) { 49 if (DEBUG) Log.v(TAG, "Removing tweener " + sTweens.get(entry.getKey())
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkStatsServiceTest.java | 974 final NetworkStats.Entry entry = new NetworkStats.Entry(); 978 entry.add(stats.getValues(i, null)); 984 entry.add(stats.getValues(i, null)); 988 assertEquals("unexpected rxBytes", rxBytes, entry.rxBytes); 989 assertEquals("unexpected rxPackets", rxPackets, entry.rxPackets); 990 assertEquals("unexpected txBytes", txBytes, entry.txBytes); 991 assertEquals("unexpected txPackets", txPackets, entry.txPackets); 992 assertEquals("unexpected operations", operations, entry.operations); 997 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null); 998 assertEquals("unexpected rxBytes", rxBytes, entry [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnectionPool.java | 575 for (Map.Entry<SQLiteConnection, AcquiredConnectionStatus> entry 577 AcquiredConnectionStatus oldStatus = entry.getValue(); 580 keysToUpdate.add(entry.getKey()); 1027 for (Map.Entry<SQLiteConnection, AcquiredConnectionStatus> entry : 1029 final SQLiteConnection connection = entry.getKey(); 1031 indentedPrinter.println(" Status: " + entry.getValue());
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 1765 struct dirent* entry; local 1767 entry = readdir(dir); 1768 if (entry == NULL) 1771 if (isHidden(srcDir.string(), entry->d_name)) 1774 String8 name(entry->d_name); 1938 const AaptSymbolEntry& entry = javaSymbols->mSymbols.valueAt(i); local 1941 entry.sourcePos.error("Symbol '%s' declared with <java-symbol> not defined\n", name.string()); 1946 // i, N, name.string(), entry.isJavaSymbol ? 1 : 0); 1947 mSymbols.editValueAt(pos).isJavaSymbol = entry.isJavaSymbol; 1994 const String8& filePath, const AaptGroupEntry& entry, 1993 addFile( const String8& filePath, const AaptGroupEntry& entry, const String8& srcDir, sp<AaptGroup>* outGroup, const String8& resType) argument 2234 struct dirent* entry = readdir(dir); local 2322 ZipEntry* entry = zip->getEntryByIndex(i); local [all...] |
/frameworks/base/services/java/com/android/server/input/ |
H A D | PersistentDataStore.java | 264 for (Map.Entry<String, InputDeviceState> entry : mInputDevices.entrySet()) { 265 final String descriptor = entry.getKey(); 266 final InputDeviceState state = entry.getValue();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
H A D | LocationBasedCountryDetectorTest.java | 103 for (Entry<String, LocationListener> entry : mListeners.entrySet()) { 104 if (entry.getValue().equals(listener)) { 105 mListeners.remove(entry.getKey());
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | FrameFormat.java | 376 for (Entry<String, Object> entry : metaData.entrySet()) { 377 buffer.append(entry.getKey() + ": " + entry.getValue() + " ");
|
/frameworks/av/media/libstagefright/ |
H A D | OggExtractor.cpp | 327 const TOCEntry &entry = mTableOfContents.itemAt(center); local 329 if (timeUs < entry.mTimeUs) { 331 } else if (timeUs > entry.mTimeUs) { 339 const TOCEntry &entry = mTableOfContents.itemAt(left); local 341 ALOGV("seeking to entry %d / %d at offset %lld", 342 left, mTableOfContents.size(), entry.mPageOffset); 344 return seekToOffset(entry.mPageOffset); 653 TOCEntry &entry = local 656 entry.mPageOffset = offset; 657 entry [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentService.java | 763 ObserverEntry entry = mObservers.get(i); 764 if (entry.observer.asBinder() == observerBinder) { 767 observerBinder.unlinkToDeath(entry, 0); 784 ObserverEntry entry = mObservers.get(i); 788 boolean selfChange = (entry.observer.asBinder() == observerBinder); 795 || entry.userHandle == UserHandle.USER_ALL 796 || targetUserHandle == entry.userHandle) { 798 if (leaf || (!leaf && entry.notifyForDescendants)) { 799 calls.add(new ObserverCall(this, entry.observer, selfChange));
|