/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | SearchQueue.java | 44 Entry entry = new Entry(); 45 entry.connId = connId; 46 entry.srvcType = srvcType; 47 entry.srvcInstId = srvcInstId; 48 entry.srvcUuidLsb = srvcUuidLsb; 49 entry.srvcUuidMsb = srvcUuidMsb; 50 entry.charUuidLsb = 0; 51 mEntries.add(entry); 58 Entry entry = new Entry(); 59 entry [all...] |
H A D | ScanFilterQueue.java | 92 Entry entry = new Entry(); 93 entry.type = TYPE_DEVICE_ADDRESS; 94 entry.address = address; 95 entry.addr_type = type; 96 mEntries.add(entry); 100 Entry entry = new Entry(); 101 entry.type = TYPE_SERVICE_DATA_CHANGED; 102 mEntries.add(entry); 106 Entry entry = new Entry(); 107 entry [all...] |
H A D | HandleMap.java | 116 for(Entry entry : mEntries) { 117 if (entry.type != TYPE_SERVICE || 118 entry.serverIf != serverIf || 119 entry.handle != handle) 122 entry.started = started; 128 for(Entry entry : mEntries) { 129 if (entry.handle == handle) 130 return entry; 137 for(Entry entry : mEntries) { 138 if (entry [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
H A D | RestrictionUtils.java | 66 RestrictionEntry entry = new RestrictionEntry( 69 entry.setTitle(res.getString(sRestrictionTitles[i])); 70 entry.setDescription(res.getString(sRestrictionDescriptions[i])); 71 entry.setType(RestrictionEntry.TYPE_BOOLEAN); 72 entries.add(entry); 83 for (RestrictionEntry entry : entries) { 84 userRestrictions.putBoolean(entry.getKey(), !entry.getSelectedState()); 85 if (entry.getKey().equals(UserManager.DISALLOW_SHARE_LOCATION) 86 && !entry [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
H A D | RestrictionUtils.java | 57 RestrictionEntry entry = new RestrictionEntry( 60 entry.setTitle(res.getString(sRestrictionTitles[i])); 61 entry.setDescription(res.getString(sRestrictionDescriptions[i])); 62 entry.setType(RestrictionEntry.TYPE_BOOLEAN); 63 entries.add(entry); 74 for (RestrictionEntry entry : entries) { 75 userRestrictions.putBoolean(entry.getKey(), !entry.getSelectedState()); 76 if (entry.getKey().equals(UserManager.DISALLOW_SHARE_LOCATION) 77 && !entry [all...] |
H A D | AppRestrictionsManager.java | 127 RestrictionEntry entry = restrictionEntryKey != null ? findRestriction(restrictionEntryKey) 134 switch (entry.getType()) { 139 .checked(entry.getSelectedState()) 146 .checked(!entry.getSelectedState()) 154 String value = entry.getSelectedString(); 156 value = entry.getDescription(); 158 String[] choiceEntries = entry.getChoiceEntries(); 159 String[] choiceValues = entry.getChoiceValues(); 180 entry.getAllSelectedStrings()); 181 String[] choiceEntries = entry [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | Profile.java | 39 // This is a watchdog entry for one thread. 109 for (WatchEntry entry : mList) { 110 if (currentTime > entry.wakeTime) { 111 entry.wakeTime += entry.cycleTime; 112 Thread thread = entry.thread; 113 sampleStack(entry); 116 if (entry.wakeTime > nextWakeTime) { 117 nextWakeTime = entry.wakeTime; 125 private void sampleStack(WatchEntry entry) { argument [all...] |
H A D | IdentityCache.java | 44 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); 45 while (entry != null) { 46 mWeakMap.remove(entry.mKey); 47 entry = (Entry<K, V>) mQueue.poll(); 53 Entry<K, V> entry = mWeakMap.put( 55 return entry == null ? null : entry.get(); 60 Entry<K, V> entry = mWeakMap.get(key); 61 return entry == null ? null : entry [all...] |
/packages/apps/Email/src/com/android/email/mail/internet/ |
H A D | AuthenticationCache.java | 67 CacheEntry entry = null; 69 entry = getEntry(context, account); 71 synchronized (entry) { 72 final long actualExpiration = entry.mExpirationTime - EXPIRATION_THRESHOLD; 77 refreshEntry(context, entry); 79 return entry.mAccessToken; 85 CacheEntry entry = getEntry(context, account); 86 synchronized (entry) { 87 refreshEntry(context, entry); 88 return entry 115 refreshEntry(Context context, CacheEntry entry) argument 141 saveEntry(Context context, CacheEntry entry) argument 154 clearEntry(Context context, CacheEntry entry) argument [all...] |
/packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/dictionary/structure/v4/content/ |
H A D | language_model_dict_content_test.cpp | 34 const ProbabilityEntry entry = local 36 EXPECT_EQ(flag, entry.getFlags()); 37 EXPECT_EQ(probability, entry.getProbability()); 51 const ProbabilityEntry entry = LanguageModelDictContent.getProbabilityEntry(wordId); local 52 EXPECT_EQ(flag, entry.getFlags()); 53 EXPECT_EQ(timestamp, entry.getHistoricalInfo()->getTimeStamp()); 54 EXPECT_EQ(level, entry.getHistoricalInfo()->getLevel()); 55 EXPECT_EQ(count, entry.getHistoricalInfo()->getCount());
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AlbumSetSlidingWindow.java | 212 AlbumSetEntry entry = mData[slotIndex % mData.length]; 213 if (entry.coverLoader != null) entry.coverLoader.startLoad(); 214 if (entry.labelLoader != null) entry.labelLoader.startLoad(); 219 AlbumSetEntry entry = mData[slotIndex % mData.length]; 220 if (entry.coverLoader != null) entry.coverLoader.cancelLoad(); 221 if (entry.labelLoader != null) entry 239 isLabelChanged( AlbumSetEntry entry, String title, int totalCount, int sourceType) argument 246 updateAlbumSetEntry(AlbumSetEntry entry, int slotIndex) argument [all...] |
H A D | PhotoFallbackEffect.java | 74 Entry entry = mList.get(i); 75 if (entry.path == path) return entry; 83 Entry entry = mList.get(i); 84 if (entry.index < 0) continue; 85 entry.dest = mPositionProvider.getPosition(entry.index); 86 drawEntry(canvas, entry); 91 private void drawEntry(GLCanvas canvas, Entry entry) { argument 92 if (!entry [all...] |
H A D | AlbumSlidingWindow.java | 81 public PanoSupportListener (AlbumEntry entry) { argument 82 mEntry = entry; 183 AlbumEntry entry = mData[index % mData.length]; 184 if (entry.bitmapTexture != null) { 185 mTileUploader.addTexture(entry.bitmapTexture); 196 AlbumEntry entry = mData[i % mData.length]; 197 if (entry.bitmapTexture != null) { 198 mTileUploader.addTexture(entry.bitmapTexture); 228 AlbumEntry entry = mData[slotIndex % mData.length]; 229 if (entry [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | LruCache.java | 53 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); 54 while (entry != null) { 55 mWeakMap.remove(entry.mKey); 56 entry = (Entry<K, V>) mQueue.poll(); 63 Entry<K, V> entry = mWeakMap.put( 65 return entry == null ? null : entry.get(); 72 Entry<K, V> entry = mWeakMap.get(key); 73 return entry == null ? null : entry [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
H A D | ContactFragment.java | 234 public void onPrimaryAction(ViewEntry entry); argument 235 public void onSecondaryAction(ViewEntry entry); argument 245 public void onPrimaryAction(ViewEntry entry) { argument 246 Intent intent = entry.intent; 256 public void onSecondaryAction(ViewEntry entry) { argument 257 Intent intent = entry.secondaryIntent; 274 ViewEntry entry = ViewAdapter.getEntry(mSections, position, SHOW_SEPARATORS); 275 if (entry != null) { 276 mController.onPrimaryAction(entry); 371 final ViewEntry entry 589 collapseWith(ViewEntry entry) argument 623 shouldCollapseWith(ViewEntry entry) argument 655 ViewEntry entry; field in class:ContactFragment.ViewCache 708 bindView(View view, ViewEntry entry) argument [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | AppViewHolder.java | 15 public ApplicationsState.AppEntry entry; field in class:AppViewHolder 46 if (ManageApplications.DEBUG) Log.i(ManageApplications.TAG, "updateSizeText of " + entry.label + " " + entry 47 + ": " + entry.sizeStr); 48 if (entry.sizeStr != null) { 51 appSize.setText(entry.internalSizeStr); 54 appSize.setText(entry.externalSizeStr); 57 appSize.setText(entry.sizeStr); 60 } else if (entry.size == ApplicationsState.SIZE_INVALID) {
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | FileUtil.java | 39 for (File entry : directory.listFiles()) { 40 if (entry.isDirectory()) { 41 deleteDirectoryRecursively(entry); 43 if (!entry.delete()) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactTilePhoneFrequentView.java | 50 public void loadFromContact(ContactEntry entry) { argument 51 super.loadFromContact(entry); 53 if (entry != null) { 55 mPhoneNumberString = entry.phoneNumber;
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
H A D | PhotoAppWidgetProvider.java | 40 static RemoteViews buildWidget(Context context, int id, Entry entry) { argument 42 switch (entry.type) { 45 return buildStackWidget(context, id, entry); 47 return buildFrameWidget(context, id, entry); 49 throw new RuntimeException("invalid type - " + entry.type); 64 Entry entry = helper.getEntry(id); 65 if (entry != null) { 66 RemoteViews views = buildWidget(context, id, entry); 80 private static RemoteViews buildStackWidget(Context context, int widgetId, Entry entry) { argument 86 intent.putExtra(WidgetService.EXTRA_WIDGET_TYPE, entry 104 buildFrameWidget(Context context, int appWidgetId, Entry entry) argument [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | LruCache.java | 57 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); 58 while (entry != null) { 59 mWeakMap.remove(entry.mKey); 60 entry = (Entry<K, V>) mQueue.poll(); 72 Entry<K, V> entry = mWeakMap.put( 74 return entry == null ? null : entry.get(); 81 Entry<K, V> entry = mWeakMap.get(key); 82 return entry == null ? null : entry [all...] |
H A D | FileCache.java | 104 FileEntry entry = new FileEntry(); 105 entry.hashCode = Utils.crc64Long(downloadUrl); 106 entry.contentUrl = downloadUrl; 107 entry.filename = file.getName(); 108 entry.size = file.length(); 109 entry.lastAccess = System.currentTimeMillis(); 110 if (entry.size >= mCapacity) { 112 throw new IllegalArgumentException("file too large: " + entry.size); 118 entry.filename = original.filename; 119 entry [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | PhotoDataAdapter.java | 296 ImageEntry entry = mImageCache.get(path); 299 if (entry == null || entry.screenNailTask != future) { 304 entry.screenNailTask = null; 307 if (entry.screenNail instanceof TiledScreenNail) { 308 TiledScreenNail original = (TiledScreenNail) entry.screenNail; 313 entry.failToLoad = true; 315 entry.failToLoad = false; 316 entry.screenNail = screenNail; 321 if (i == 0) updateTileProvider(entry); 610 updateTileProvider(ImageEntry entry) argument [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
H A D | ApplicationsState.java | 443 final AppEntry entry = mEntriesMap.get(info.packageName); 444 if (entry != null) { 445 entry.info = info; 473 AppEntry entry = mEntriesMap.get(packageName); 474 if (entry == null) { 478 entry = getEntryLocked(info); 484 return entry; 491 AppEntry entry = mEntriesMap.get(packageName); 492 if (entry != null) { 545 AppEntry entry [all...] |
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
H A D | SmilPlayer.java | 223 TimelineEntry entry = new TimelineEntry(beginOffset, 225 timeline.add(entry); 236 TimelineEntry entry = new TimelineEntry(endOffset, 238 timeline.add(entry); 378 private synchronized boolean isBeginOfSlide(TimelineEntry entry) { argument 379 return (TimelineEntry.ACTION_BEGIN == entry.getAction()) 380 && (entry.getElement() instanceof SmilParElementImpl); 388 TimelineEntry entry = mAllEntries.get(i); 389 actionEntry(entry); 395 TimelineEntry entry 517 actionEntry(TimelineEntry entry) argument [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | IconCache.java | 184 CacheEntry entry = cacheLocked(application.componentName, info, labelCache, 187 application.title = entry.title; 188 application.iconBitmap = entry.icon; 189 application.contentDescription = entry.contentDescription; 205 CacheEntry entry = cacheLocked(component, launcherActInfo, null, user); 206 return entry.icon; 217 CacheEntry entry = cacheLocked(component, info, labelCache, info.getUser()); 218 return entry.icon; 229 CacheEntry entry = mCache.get(cacheKey); 230 if (entry [all...] |