OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PhotoDatabaseUtils
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Gallery2/tests/src/com/android/photos/data/
PhotoDatabaseTest.java
66
validateTable(Metadata.TABLE,
PhotoDatabaseUtils
.PROJECTION_METADATA);
67
validateTable(Albums.TABLE,
PhotoDatabaseUtils
.PROJECTION_ALBUMS);
68
validateTable(Photos.TABLE,
PhotoDatabaseUtils
.PROJECTION_PHOTOS);
77
assertFalse(
PhotoDatabaseUtils
.insertAlbum(db, null, null, Albums.VISIBILITY_PRIVATE,
81
assertFalse(
PhotoDatabaseUtils
.insertAlbum(db, null, "hello", null, accountId));
84
assertFalse(
PhotoDatabaseUtils
.insertAlbum(db, null, "hello",
88
assertTrue(
PhotoDatabaseUtils
.insertAlbum(db, PARENT_ID1, "hello",
91
long albumId =
PhotoDatabaseUtils
.queryAlbumIdFromParentId(db, PARENT_ID1);
94
assertTrue(
PhotoDatabaseUtils
.insertAlbum(db, PARENT_ID2, "hello",
97
long otherAlbumId =
PhotoDatabaseUtils
.queryAlbumIdFromParentId(db, PARENT_ID2)
[
all
...]
PhotoProviderTest.java
80
PhotoDatabaseUtils
.insertAccount(db, ACCOUNT_NAME);
81
mAccountId =
PhotoDatabaseUtils
.queryAccountIdFromName(db, ACCOUNT_NAME);
82
PhotoDatabaseUtils
.insertAlbum(db, ALBUM_PARENT_ID, ALBUM_TITLE,
84
mAlbumId =
PhotoDatabaseUtils
.queryAlbumIdFromParentId(db, ALBUM_PARENT_ID);
85
PhotoDatabaseUtils
.insertPhoto(db, 100, 100, System.currentTimeMillis(), mAlbumId,
87
mPhotoId =
PhotoDatabaseUtils
.queryPhotoIdFromAlbumId(db, mAlbumId);
88
PhotoDatabaseUtils
.insertMetadata(db, mPhotoId, META_KEY, META_VALUE);
156
Cursor cursor = mResolver.query(Photos.CONTENT_URI,
PhotoDatabaseUtils
.PROJECTION_PHOTOS,
169
Cursor cursor = mResolver.query(Photos.CONTENT_URI,
PhotoDatabaseUtils
.PROJECTION_PHOTOS,
183
PhotoDatabaseUtils
.PROJECTION_METADATA, null, null, null)
[
all
...]
PhotoDatabaseUtils.java
29
public class
PhotoDatabaseUtils
{
Completed in 1505 milliseconds