/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastSearchIndexableProvider.java | 76 Object[] ref = new Object[7]; in queryXmlResources() local 77 ref[COLUMN_INDEX_XML_RES_RANK] = INDEXABLE_RES[n].rank; in queryXmlResources() 78 ref[COLUMN_INDEX_XML_RES_RESID] = INDEXABLE_RES[n].xmlResId; in queryXmlResources() 79 ref[COLUMN_INDEX_XML_RES_CLASS_NAME] = null; in queryXmlResources() 80 ref[COLUMN_INDEX_XML_RES_ICON_RESID] = INDEXABLE_RES[n].iconResId; in queryXmlResources() 81 ref[COLUMN_INDEX_XML_RES_INTENT_ACTION] = Intent.ACTION_MAIN; in queryXmlResources() 82 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE] = getContext().getPackageName(); in queryXmlResources() 83 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS] = INDEXABLE_RES[n].className; in queryXmlResources() 84 cursor.addRow(ref); in queryXmlResources() 135 Object[] ref; in queryNonIndexableKeys() local [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/ |
D | SettingsSearchIndexablesProvider.java | 105 Object[] ref = new Object[INDEXABLES_XML_RES_COLUMNS.length]; in queryXmlResources() local 106 ref[COLUMN_INDEX_XML_RES_RANK] = val.rank; in queryXmlResources() 107 ref[COLUMN_INDEX_XML_RES_RESID] = val.xmlResId; in queryXmlResources() 108 ref[COLUMN_INDEX_XML_RES_CLASS_NAME] = val.className; in queryXmlResources() 109 ref[COLUMN_INDEX_XML_RES_ICON_RESID] = val.iconResId; in queryXmlResources() 110 ref[COLUMN_INDEX_XML_RES_INTENT_ACTION] = val.intentAction; in queryXmlResources() 111 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE] = val.intentTargetPackage; in queryXmlResources() 112 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS] = null; // intent target class in queryXmlResources() 113 cursor.addRow(ref); in queryXmlResources() 124 Object[] ref = new Object[INDEXABLES_RAW_COLUMNS.length]; in queryRawData() local [all …]
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | SettingsSearchIndexablesProvider.java | 105 Object[] ref = new Object[INDEXABLES_XML_RES_COLUMNS.length]; in queryXmlResources() local 106 ref[COLUMN_INDEX_XML_RES_RANK] = val.rank; in queryXmlResources() 107 ref[COLUMN_INDEX_XML_RES_RESID] = val.xmlResId; in queryXmlResources() 108 ref[COLUMN_INDEX_XML_RES_CLASS_NAME] = val.className; in queryXmlResources() 109 ref[COLUMN_INDEX_XML_RES_ICON_RESID] = val.iconResId; in queryXmlResources() 110 ref[COLUMN_INDEX_XML_RES_INTENT_ACTION] = val.intentAction; in queryXmlResources() 111 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE] = val.intentTargetPackage; in queryXmlResources() 112 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS] = null; // intent target class in queryXmlResources() 113 cursor.addRow(ref); in queryXmlResources() 124 Object[] ref = new Object[INDEXABLES_RAW_COLUMNS.length]; in queryRawData() local [all …]
|
/packages/apps/Traceur/src/com/google/android/traceur/ |
D | SearchProvider.java | 54 Object[] ref = new Object[INDEXABLES_RAW_COLUMNS.length]; in queryRawData() local 55 ref[COLUMN_INDEX_RAW_KEY] = context.getString(R.string.system_tracing); in queryRawData() 56 ref[COLUMN_INDEX_RAW_TITLE] = context.getString(R.string.system_tracing); in queryRawData() 57 ref[COLUMN_INDEX_RAW_SUMMARY_ON] = context.getString(R.string.record_system_activity); in queryRawData() 58 ref[COLUMN_INDEX_RAW_KEYWORDS] = context.getString(R.string.keywords); in queryRawData() 59 ref[COLUMN_INDEX_RAW_INTENT_ACTION] = Intent.ACTION_MAIN; in queryRawData() 60 ref[COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE] = getContext().getApplicationInfo().packageName; in queryRawData() 61 ref[COLUMN_INDEX_RAW_INTENT_TARGET_CLASS] = MainActivity.class.getName(); in queryRawData() 63 cursor.addRow(ref); in queryRawData()
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
D | dbregtest.cpp | 155 PgmImage ref(file_name); in main() local 157 if ( ref.GetDataPointer() == NULL ) in main() 163 cout << ref << endl; in main() 166 int format = ref.GetFormat(); in main() 171 w = ref.GetWidth(); in main() 172 h = ref.GetHeight(); in main() 185 color_ref = ref; in main() 189 ref.ConvertToGray(); in main() 202 reg.AddFrame(ref.GetRowPointers(),H,false,false); in main() 215 reg.UpdateReference(ref.GetRowPointers()); in main() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | ClipStorageReader.java | 73 FileLockEntry ref; in close() local 75 ref = sLocks.get(mCanonicalPath); in close() 77 assert(ref.mCount > 0); in close() 78 if (--ref.mCount == 0) { in close() 81 ref.mLock.release(); in close() 82 ref.mScanner.close(); in close() 87 if (mScanner != ref.mScanner) { in close()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | CommonNicknameCache.java | 27 import java.lang.ref.SoftReference; 104 SoftReference<String[]> ref; in getCommonNicknameClusters() local 108 ref = mNicknameClusterCache.get(normalizedName); in getCommonNicknameClusters() 109 if (ref == null) { in getCommonNicknameClusters() 112 clusters = ref.get(); in getCommonNicknameClusters() 118 ref = clusters == null ? null : new SoftReference<String[]>(clusters); in getCommonNicknameClusters() 120 mNicknameClusterCache.put(normalizedName, ref); in getCommonNicknameClusters()
|
/packages/services/Car/tools/hidl_parser/ |
D | parser.py | 239 def __init__(self, ref): argument 240 self.ref = ref 243 return self.ref 247 if case.name == self.ref: return case.value.resolve(enum, document) 276 def __init__(self, where, ref): argument 278 self.ref = ref 281 return '%s:%s' % (self.where, self.ref) 285 return EnumValueLocalRef(self.ref).resolve(enum, document)
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | WeakHandler.java | 23 import java.lang.ref.WeakReference; 45 public WeakHandler(@NonNull Looper looper, T ref) { in WeakHandler() argument 47 mRef = new WeakReference<>(ref); in WeakHandler() 55 public WeakHandler(T ref) { in WeakHandler() argument 56 mRef = new WeakReference<>(ref); in WeakHandler()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | BitmapCache.java | 25 import java.lang.ref.WeakReference; 165 WeakReference<Bitmap> ref = list.get(i); in cache() local 166 if (ref.get() == bitmap) { in cache() 177 WeakReference<Bitmap> ref = null; in getBitmap() local 180 ref = list.remove(0); in getBitmap() 186 if (ref != null) { in getBitmap() 187 bitmap = ref.get(); in getBitmap()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | PersonalizationHelper.java | 26 import java.lang.ref.SoftReference; 52 final SoftReference<UserHistoryDictionary> ref = in getUserHistoryDictionary() local 54 final UserHistoryDictionary dict = ref == null ? null : ref.get(); in getUserHistoryDictionary()
|
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
D | DialerFutures.java | 56 final AtomicReference<AggregateFuture<T>> ref = Atomics.newReference(output); in firstMatchingImpl() local 65 AggregateFuture<T> output = ref.get(); in firstMatchingImpl() 71 ref.set(null); // unpin in firstMatchingImpl() 82 ref.set(null); // unpin in firstMatchingImpl()
|
D | DialerFutureSerializer.java | 38 private final AtomicReference<ListenableFuture<?>> ref = field in DialerFutureSerializer 73 final ListenableFuture<?> oldFuture = ref.getAndSet(newFuture); in submitAsync()
|
/packages/apps/Camera2/src_pd/com/android/camera/stats/ |
D | UsageStatistics.java | 45 public void mediaInteraction(String ref, int interactionType, int cause, float age) { in mediaInteraction() argument 48 public void mediaView(String ref, long modifiedMillis, float zoom) { in mediaView() argument 68 public void videoCaptureDoneEvent(String ref, long durationMsec, boolean front, in videoCaptureDoneEvent() argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ProviderExecutor.java | 23 import java.lang.ref.WeakReference; 58 for (WeakReference<Preemptable> ref : mPreemptable) { in preempt() 59 final Preemptable p = ref.get(); in preempt()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | MetadataUtils.java | 92 private static float convertRationalLatLonToFloat(String rationalString, String ref) { in convertRationalLatLonToFloat() argument 110 if ((ref.equals("S") || ref.equals("W"))) { in convertRationalLatLonToFloat()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | RecycleBitmapPool.java | 22 import java.lang.ref.SoftReference; 143 SoftReference<Bitmap> ref = list.remove(list.size() - 1); in getRecycledBitmap() local 144 Bitmap bitmap = ref.get(); in getRecycledBitmap()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardLayoutSet.java | 52 import java.lang.ref.SoftReference; 213 final SoftReference<Keyboard> ref = sKeyboardCache.get(id); in getKeyboard() local 214 final Keyboard cachedKeyboard = (ref == null) ? null : ref.get(); in getKeyboard() 248 + ((ref == null) ? "LOAD" : "GCed") + " id=" + id); in getKeyboard()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | RecommendationDataManager.java | 533 public RecommendationHandler(@NonNull Looper looper, RecommendationDataManager ref) { in RecommendationHandler() argument 534 super(looper, ref); in RecommendationHandler() 573 public RecommendationMainHandler(@NonNull Looper looper, RecommendationDataManager ref) { in RecommendationMainHandler() argument 574 super(looper, ref); in RecommendationMainHandler()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | IdentityCache.java | 19 import java.lang.ref.ReferenceQueue; 20 import java.lang.ref.WeakReference;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | RefCountedMediaResource.java | 94 for (final String ref : mRefHistory) { in release() 95 LogUtil.i(TAG, ref); in release()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | LruCache.java | 19 import java.lang.ref.ReferenceQueue; 20 import java.lang.ref.WeakReference;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | FileCleaningTracker.java | 20 import java.lang.ref.PhantomReference; 21 import java.lang.ref.ReferenceQueue;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | LruCache.java | 19 import java.lang.ref.ReferenceQueue; 20 import java.lang.ref.WeakReference;
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelsPosterPrefetcher.java | 122 public PrefetchHandler(ChannelsPosterPrefetcher ref) { in PrefetchHandler() argument 124 super(Looper.getMainLooper(), ref); in PrefetchHandler() local
|