Home
last modified time | relevance | path

Searched defs:cursor (Results 1 – 25 of 171) sorted by relevance

1234567

/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabProviderTest.java71 Cursor cursor = mContext.getContentResolver().query(CONTACT_URI, in testQueryContactInfo() local
91 Cursor cursor = mContext.getContentResolver().query(CONTACT_URI, in testContactIsUnique() local
109 Cursor cursor = mContext.getContentResolver().query(COMMON_URI, in testQueryCommonInfo() local
135 Cursor cursor = mContext.getContentResolver().query(COMMON_URI, in testCommonIsNotUnique() local
153 Cursor cursor = mContext.getContentResolver().query(PRESENCE_URI, in testQueryPresentInfo() local
177 Cursor cursor = mContext.getContentResolver().query(PRESENCE_URI, in testPresentTupleIsNotUnique() local
194 Cursor cursor = mContext.getContentResolver().query(OPTIONS_URI, in testQueryOptionInfo() local
216 Cursor cursor = mContext.getContentResolver().query(OPTIONS_URI, in testOptionIsNotUnique() local
248 Cursor cursor = mContext.getContentResolver().query(ALL_DATA_URI, in testQueryByAllDataURI() local
305 Cursor cursor = mContext.getContentResolver().query(testUri, in testQueryBySubIdAndPhoneNumber() local
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DMatrixCursorTest.java28 Cursor cursor = new MatrixCursor(new String[] { "a" }); in testEmptyCursor() local
33 MatrixCursor cursor = new MatrixCursor(new String[] { "a" }); in testNullValue() local
47 MatrixCursor cursor = newMatrixCursor(); in testMatrixCursor() local
79 MatrixCursor cursor = newMatrixCursor(); in testAddArray() local
92 MatrixCursor cursor = newMatrixCursor(); in testAddIterable() local
111 MatrixCursor cursor = newMatrixCursor(); in testAddArrayList() local
132 MatrixCursor cursor = newMatrixCursor(); in testRowBuilderOffer() local
200 private void checkValues(MatrixCursor cursor) { in checkValues()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DPhotoPagerAdapter.java50 public Fragment getItem(Context context, Cursor cursor, int position) { in getItem()
102 public String getPhotoUri(Cursor cursor) { in getPhotoUri()
106 public String getThumbnailUri(Cursor cursor) { in getThumbnailUri()
110 public String getContentType(Cursor cursor) { in getContentType()
114 public String getPhotoName(Cursor cursor) { in getPhotoName()
118 public boolean shouldShowLoadingIndicator(Cursor cursor) { in shouldShowLoadingIndicator()
127 private String getString(Cursor cursor, String column) { in getString()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/search/
DSpaSearchProvider.kt135 val cursor = MatrixCursor(QueryEnum.SEARCH_IMMUTABLE_STATUS_DATA_QUERY.getColumns()) in querySearchImmutableStatusData() constant
146 val cursor = MatrixCursor(QueryEnum.SEARCH_MUTABLE_STATUS_DATA_QUERY.getColumns()) in querySearchMutableStatusData() constant
157 val cursor = MatrixCursor(QueryEnum.SEARCH_STATIC_DATA_QUERY.getColumns()) in querySearchStaticData() constant
168 val cursor = MatrixCursor(QueryEnum.SEARCH_DYNAMIC_DATA_QUERY.getColumns()) in querySearchDynamicData() constant
179 val cursor = MatrixCursor(QueryEnum.SEARCH_STATIC_ROW_QUERY.getColumns()) in querySearchStaticRow() constant
191 val cursor = MatrixCursor(QueryEnum.SEARCH_DYNAMIC_ROW_QUERY.getColumns()) in querySearchDynamicRow() constant
/frameworks/base/core/java/android/widget/
DCursorTreeAdapter.java63 public CursorTreeAdapter(Cursor cursor, Context context) { in CursorTreeAdapter()
76 public CursorTreeAdapter(Cursor cursor, Context context, boolean autoRequery) { in CursorTreeAdapter()
80 private void init(Cursor cursor, Context context, boolean autoRequery) { in init()
139 public void setGroupCursor(Cursor cursor) { in setGroupCursor()
196 Cursor cursor = mGroupCursorHelper.moveTo(groupPosition); in getGroupView() local
221 protected abstract View newGroupView(Context context, Cursor cursor, boolean isExpanded, in newGroupView()
233 protected abstract void bindGroupView(View view, Context context, Cursor cursor, in bindGroupView()
240 Cursor cursor = cursorHelper.moveTo(childPosition); in getChildView() local
265 protected abstract View newChildView(Context context, Cursor cursor, boolean isLastChild, in newChildView()
277 protected abstract void bindChildView(View view, Context context, Cursor cursor, in bindChildView()
[all …]
DResourceCursorTreeAdapter.java51 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, in ResourceCursorTreeAdapter()
76 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, in ResourceCursorTreeAdapter()
92 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int groupLayout, in ResourceCursorTreeAdapter()
98 public View newChildView(Context context, Cursor cursor, boolean isLastChild, in newChildView()
104 public View newGroupView(Context context, Cursor cursor, boolean isExpanded, ViewGroup parent) { in newGroupView()
DSimpleCursorTreeAdapter.java102 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, in SimpleCursorTreeAdapter()
139 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, in SimpleCursorTreeAdapter()
172 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int groupLayout, in SimpleCursorTreeAdapter()
212 private void bindView(View view, Context context, Cursor cursor, int[] from, int[] to) { in bindView()
241 private void initFromColumns(Cursor cursor, String[] fromColumnNames, int[] fromColumns) { in initFromColumns()
248 protected void bindChildView(View view, Context context, Cursor cursor, boolean isLastChild) { in bindChildView()
258 protected void bindGroupView(View view, Context context, Cursor cursor, boolean isExpanded) { in bindGroupView()
324 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue()
DSuggestionsAdapter.java186 Cursor cursor = null; in runQueryOnBackgroundThread() local
233 private void updateSpinnerState(Cursor cursor) { in updateSpinnerState()
284 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
316 public void bindView(View view, Context context, Cursor cursor) { in bindView()
402 private Drawable getIcon1(Cursor cursor) { in getIcon1()
414 private Drawable getIcon2(Cursor cursor) { in getIcon2()
455 public CharSequence convertToString(Cursor cursor) { in convertToString()
646 private Drawable getDefaultIcon1(Cursor cursor) { in getDefaultIcon1()
717 public static String getColumnString(Cursor cursor, String columnName) { in getColumnString()
722 private static String getStringOrNull(Cursor cursor, int col) { in getStringOrNull()
DCursorFilter.java32 CharSequence convertToString(Cursor cursor); in convertToString()
35 void changeCursor(Cursor cursor); in changeCursor()
49 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint); in performFiltering() local
DCursorAdapter.java326 public abstract View newView(Context context, Cursor cursor, ViewGroup parent); in newView()
336 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView()
347 public abstract void bindView(View view, Context context, Cursor cursor); in bindView()
355 public void changeCursor(Cursor cursor) { in changeCursor()
407 public CharSequence convertToString(Cursor cursor) { in convertToString()
/frameworks/ex/common/java/com/android/common/widget/
DCompositeCursorAdapter.java38 Cursor cursor; field in CompositeCursorAdapter.Partition
105 Cursor cursor = mPartitions.get(partitionIndex).cursor; in removePartition() local
133 Cursor cursor = partition.cursor; in close() local
172 Cursor cursor = partition.cursor; in ensureCacheValid() local
216 public void changeCursor(int partition, Cursor cursor) { in changeCursor()
235 Cursor cursor = mPartitions.get(partition).cursor; in isPartitionEmpty() local
368 protected View getHeaderView(int partition, Cursor cursor, View convertView, in getHeaderView()
380 protected View newHeaderView(Context context, int partition, Cursor cursor, in newHeaderView()
388 protected void bindHeaderView(View view, int partition, Cursor cursor) { in bindHeaderView()
394 protected View getView(int partition, Cursor cursor, int position, View convertView, in getView()
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
DDebugProvider.kt119 val cursor = MatrixCursor(QueryEnum.PAGE_DEBUG_QUERY.getColumns()) in queryPageDebug() constant
136 val cursor = MatrixCursor(QueryEnum.ENTRY_DEBUG_QUERY.getColumns()) in queryEntryDebug() constant
154 val cursor = MatrixCursor(QueryEnum.PAGE_INFO_QUERY.getColumns()) in queryPageInfo() constant
171 val cursor = MatrixCursor(QueryEnum.ENTRY_INFO_QUERY.getColumns()) in queryEntryInfo() constant
/frameworks/base/core/java/android/database/
DDatabaseUtils.java449 public static void cursorFillWindow(final Cursor cursor, in cursorFillWindow()
669 public static void dumpCursor(Cursor cursor) { in dumpCursor()
680 public static void dumpCursor(Cursor cursor, PrintStream stream) { in dumpCursor()
701 public static void dumpCursor(Cursor cursor, StringBuilder sb) { in dumpCursor()
722 public static String dumpCursorToString(Cursor cursor) { in dumpCursorToString()
733 public static void dumpCurrentRow(Cursor cursor) { in dumpCurrentRow()
743 public static void dumpCurrentRow(Cursor cursor, PrintStream stream) { in dumpCurrentRow()
767 public static void dumpCurrentRow(Cursor cursor, StringBuilder sb) { in dumpCurrentRow()
791 public static String dumpCurrentRowToString(Cursor cursor) { in dumpCurrentRowToString()
804 public static void cursorStringToContentValues(Cursor cursor, String field, in cursorStringToContentValues()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabControllerImpl.java323 Cursor cursor = mContext.getContentResolver().query( in generateEabResult() local
375 Cursor cursor = mContext.getContentResolver().query(queryUri, null, null, null, null); in generateEabResultIncludingExpired() local
411 private void updateCapability(Uri contactUri, Cursor cursor, in updateCapability()
430 private RcsUceCapabilityBuilderWrapper createNewBuilder(Uri contactUri, Cursor cursor) { in createNewBuilder()
457 private String createOptionTuple(Cursor cursor) { in createOptionTuple()
461 private RcsContactPresenceTuple createPresenceTuple(Uri contactUri, Cursor cursor) { in createPresenceTuple()
538 private boolean isCapabilityExpired(Cursor cursor) { in isCapabilityExpired()
564 private boolean isNonRcsCapability(Cursor cursor) { in isNonRcsCapability()
569 private boolean isAvailabilityExpired(Cursor cursor) { in isAvailabilityExpired()
586 private String getRequestTimestamp(Cursor cursor) { in getRequestTimestamp()
[all …]
DEabUtil.java49 try (Cursor cursor = context.getContentResolver().query( in getContactFromEab()
85 try (Cursor cursor = context.getContentResolver().query( in getCapabilityFromEab()
142 Cursor cursor = null; in getEabContactId() local
165 Cursor cursor = null; in getEabCommonId() local
/frameworks/av/services/audiopolicy/permission/
DNativePermissionController.cpp75 const auto& cursor = package_map_.find(newPackageState.uid); in updatePackagesForUid() local
97 auto& cursor = permission_map_[static_cast<size_t>(perm)]; in populatePermissionState() local
120 const auto cursor = package_map_.find(uid); in getPackagesForUid() local
143 const auto cursor = package_map_.find(uid); in validateUidPackagePair() local
/frameworks/ex/common/tests/src/com/android/common/widget/
DCompositeCursorAdapterTest.java48 … protected View newHeaderView(Context context, int partition, Cursor cursor, ViewGroup parent) { in newHeaderView()
53 protected void bindHeaderView(View view, int partition, Cursor cursor) { in bindHeaderView()
59 protected View newView(Context context, int sectionIndex, Cursor cursor, int position, in newView()
65 protected void bindView(View v, int partition, Cursor cursor, int position) { in bindView()
252 MatrixCursor cursor = new MatrixCursor(new String[]{name}); in makeCursor() local
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java88 Cursor cursor = getCursor(dlRequest); in doErrorTest() local
135 Cursor cursor = mDownloadManager.query(new Query().setFilterById(requestId)); in verifyDownload() local
170 Cursor cursor = getCursor(dlRequest); in testDownloadToExternal_fileExists() local
324 Cursor cursor = mDownloadManager.query(new Query().setFilterById(dlRequest)); in testRemoveDownload() local
355 Cursor cursor = getCursor(dlRequest); in testSetTitle() local
411 Cursor cursor = getCursor(dlRequest); in testServerDropConnection_body() local
/frameworks/libs/systemui/weathereffects/tests/src/com/google/android/wallpaper/weathereffects/provider/
DWeatherEffectsContentProviderTest.kt62 val cursor = weatherEffectsContentProvider.query( in query_updateWallpaper_returnsCorrectData() constant
91 val cursor = weatherEffectsContentProvider.query( in query_updateWallpaper_withNoParams_returnsCorrectData() constant
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java174 Cursor cursor = null; in performFiltering() local
238 Cursor cursor = mContentResolver.query( in performFiltering() local
247 Cursor cursor = (Cursor) results.values; in publishResults() local
314 protected View newView(Context context, int partitionIndex, Cursor cursor, in newView()
325 protected void bindView(View v, int partition, Cursor cursor, int position) { in bindView()
495 MatrixCursor cursor = new MatrixCursor(new String[]{SEARCHING_CURSOR_MARKER}); in createLoadingCursor() local
501 CharSequence constraint, int partitionIndex, Cursor cursor) { in onPartitionLoadFinished()
528 private Cursor removeDuplicatesAndTruncate(int partition, Cursor cursor) { in removeDuplicatesAndTruncate()
554 private boolean hasDuplicates(Cursor cursor, int partition) { in hasDuplicates()
573 Cursor cursor = getCursor(partition); in isDuplicate() local
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DRedactingProvider.java36 final MatrixCursor cursor = new MatrixCursor( in query() local
46 final MatrixCursor cursor = new MatrixCursor( in query() local
57 final MatrixCursor cursor = new MatrixCursor( in query() local
/frameworks/base/core/java/android/content/
DContentQueryMap.java62 public ContentQueryMap(Cursor cursor, String columnNameOfKey, boolean keepUpdated, in ContentQueryMap()
131 final Cursor cursor = mCursor; in requery() local
148 private synchronized void readCursorIntoCache(Cursor cursor) { in readCursorIntoCache()
DCursorEntityIterator.java38 public CursorEntityIterator(Cursor cursor) { in CursorEntityIterator()
51 public abstract Entity getEntityAndIncrementCursor(Cursor cursor) throws RemoteException; in getEntityAndIncrementCursor()
/frameworks/base/core/java/android/text/util/
DRfc822Tokenizer.java51 int cursor = text.length(); in tokenize() local
210 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart()
241 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/
DServiceStateAnalyticsProvider.java138 Cursor cursor = null; in insertDataToDb() local
160 private void updateIfEntryExistsOtherwiseInsert(Cursor cursor, ContentValues values) { in updateIfEntryExistsOtherwiseInsert()
190 Cursor cursor = null; in getTotalUpTime() local
226 Cursor cursor = null; in outOfServiceDuration() local
262 Cursor cursor = null; in getOutOfServiceDurationByReason() local
308 Cursor cursor = null; in getInServiceDurationByRat() local

1234567