Home
last modified time | relevance | path

Searched refs:pet (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/vo/
DPetWithToyIds.java27 public final Pet pet; field in PetWithToyIds
33 public PetWithToyIds(Pet pet) { in PetWithToyIds() argument
34 this.pet = pet; in PetWithToyIds()
38 public PetWithToyIds(Pet pet, List<Integer> toyIds) { in PetWithToyIds() argument
39 this.pet = pet; in PetWithToyIds()
50 if (pet != null ? !pet.equals(that.pet) : that.pet != null) return false; in equals()
56 int result = pet != null ? pet.hashCode() : 0; in hashCode()
64 + "pet=" + pet in toString()
DPet.java72 Pet pet = (Pet) o; in equals()
74 if (mPetId != pet.mPetId) return false; in equals()
75 if (mUserId != pet.mUserId) return false; in equals()
76 if (mName != null ? !mName.equals(pet.mName) : pet.mName != null) return false; in equals()
77 return mAdoptionDate != null ? mAdoptionDate.equals(pet.mAdoptionDate) in equals()
78 : pet.mAdoptionDate == null; in equals()
DUserAndPet.java39 public void setPet(Pet pet) { in setPet() argument
40 mPet = pet; in setPet()
DUserAndPetNonNull.java41 public void setPet(Pet pet) { in setPet() argument
42 mPet = pet; in setPet()
DPetAndToys.java26 public Pet pet; field in PetAndToys
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DTestUtil.java60 Pet pet = new Pet(); in createPet() local
61 pet.setPetId(id); in createPet()
62 pet.setName(UUID.randomUUID().toString()); in createPet()
63 pet.setAdoptionDate(new Date()); in createPet()
64 return pet; in createPet()
67 public static Toy createToyForPet(Pet pet, int toyId) { in createToyForPet() argument
71 toy.setPetId(pet.getPetId()); in createToyForPet()
78 Pet pet = createPet(petStartId++); in createPetsForUser() local
79 pet.setUserId(uid); in createPetsForUser()
80 pets[i] = pet; in createPetsForUser()
DEmbeddedTest.java76 Pet pet = TestUtil.createPet(1); in loadAll() local
78 pet.setUserId(user.getId()); in loadAll()
80 mPetDao.insertOrReplace(pet); in loadAll()
84 assertThat(all.get(0).getPet(), is(pet)); in loadAll()
89 Pet pet = TestUtil.createPet(1); in loadAllGeneric() local
91 pet.setUserId(user.getId()); in loadAllGeneric()
93 mPetDao.insertOrReplace(pet); in loadAllGeneric()
97 assertThat(all.get(0).item, is(pet)); in loadAllGeneric()
102 Pet pet = TestUtil.createPet(1); in loadFromUsers() local
104 pet.setUserId(user.getId()); in loadFromUsers()
[all …]
DPojoWithRelationTest.java199 Pet pet = TestUtil.createPet(i + 1); in largeRelation_child() local
200 pet.setUserId(3); in largeRelation_child()
217 Pet pet = TestUtil.createPet(i + 1); in largeRelation_parent() local
218 pet.setUserId(user.getId()); in largeRelation_parent()
219 pets.add(pet); in largeRelation_parent()
DSimpleEntityReadWriteTest.java113 Pet pet = TestUtil.createPet(1); in insertDifferentEntities() local
114 pet.setUserId(3); in insertDifferentEntities()
115 pet.setName("a"); in insertDifferentEntities()
116 mUserPetDao.insertUserAndPet(user1, pet); in insertDifferentEntities()
126 pet.setName("b"); in insertDifferentEntities()
127 mUserPetDao.updateUsersAndPets(new User[]{user1}, new Pet[]{pet}); in insertDifferentEntities()
136 mUserPetDao.delete2UsersAndPets(user1, user2, new Pet[]{pet}); in insertDifferentEntities()
143 Pet pet = TestUtil.createPet(1); in insertDifferentEntities_transaction() local
144 mPetDao.insertOrReplace(pet); in insertDifferentEntities_transaction()
148 mUserPetDao.insertUserAndPet(user, pet); in insertDifferentEntities_transaction()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/
DPetDao.java45 void delete(Pet pet); in delete() argument
DUserPetDao.java86 void insertUserAndPet(User user, Pet pet); in insertUserAndPet() argument
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dcase.txt4637 man with his own name. It was his pet fad, and he was dead set to
8712 give away her pet spaniel that she loved as if he were her child? He
8812 Sir Robert in his anger takes her pet spaniel away from her. Does not
9279 were followed, however, by her pet spaniel, which yapped continually
Dadvs.txt6317 Every good stone is. They are the devil's pet baits. In the larger
7994 met his fate while indiscreetly playing with a dangerous pet. The
Dmems.txt1895 little girlie, and her mother's pet." The little creature ran across