/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastSearchIndexableProvider.java | 114 Object[] ref = new Object[7]; in queryXmlResources() local 115 ref[COLUMN_INDEX_XML_RES_RANK] = INDEXABLE_RES[n].rank; in queryXmlResources() 116 ref[COLUMN_INDEX_XML_RES_RESID] = INDEXABLE_RES[n].xmlResId; in queryXmlResources() 117 ref[COLUMN_INDEX_XML_RES_CLASS_NAME] = null; in queryXmlResources() 118 ref[COLUMN_INDEX_XML_RES_ICON_RESID] = INDEXABLE_RES[n].iconResId; in queryXmlResources() 119 ref[COLUMN_INDEX_XML_RES_INTENT_ACTION] = Intent.ACTION_MAIN; in queryXmlResources() 120 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE] = getContextMethod().getPackageName(); in queryXmlResources() 121 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS] = INDEXABLE_RES[n].className; in queryXmlResources() 122 cursor.addRow(ref); in queryXmlResources() 170 Object[] ref; in queryNonIndexableKeys() 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/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/Traceur/src/com/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/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 | 539 public RecommendationHandler(@NonNull Looper looper, RecommendationDataManager ref) { in RecommendationHandler() argument 540 super(looper, ref); in RecommendationHandler() 579 public RecommendationMainHandler(@NonNull Looper looper, RecommendationDataManager ref) { in RecommendationMainHandler() argument 580 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/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 | 124 public PrefetchHandler(ChannelsPosterPrefetcher ref) { in PrefetchHandler() argument 126 super(Looper.getMainLooper(), ref); in PrefetchHandler() local
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/ |
D | SnackbarManager.kt | 21 import java.lang.ref.WeakReference
|
/packages/apps/Launcher3/go/src/com/android/launcher3/model/ |
D | LoaderResults.java | 22 import java.lang.ref.WeakReference;
|