Home
last modified time | relevance | path

Searched refs:insert (Results 1 – 25 of 457) sorted by relevance

12345678910>>...19

/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/test/
DForeignKeyTest.java66 void insert(A... a); in insert() method
69 void insert(B... b); in insert() method
72 void insert(C... c); in insert() method
75 void insert(D... d); in insert() method
105 void insert(E... e); in insert() method
217 mDao.insert(new B("foo")); in simpleForeignKeyFailure()
229 mDao.insert(new C("foo")); in simpleForeignKeyDeferredFailure()
243 mDao.insert(new B("foo")); in immediateForeignKeyFailure()
244 mDao.insert(new A("foo")); in immediateForeignKeyFailure()
258 mDao.insert(new C("foo")); in deferredForeignKeySuccess()
[all …]
DSimpleEntityReadWriteTest.java87 mUserDao.insert(user); in writeUserAndReadInList()
98 mProductDao.insert(product); in insertNull()
131 mUserDao.insert(user2); in insertDifferentEntities()
156 mUserDao.insert(user); in throwExceptionOnConflict()
160 mUserDao.insert(user2); in throwExceptionOnConflict()
169 mUserDao.insert(user); in replaceOnConflict()
181 mUserDao.insert(user); in updateSimple()
190 mUserDao.insert(user); in updateNonExisting()
226 mUserDao.insert(user); in delete()
248 mUserDao.insert(user); in deleteEverything()
[all …]
DEmbeddedTest.java77 mUserDao.insert(user); in loadAll()
90 mUserDao.insert(user); in loadFromUsers()
101 mUserDao.insert(user); in loadFromUsersWithNullPet()
111 mUserDao.insert(user); in loadFromUsersWithNonNullPet()
123 mUserDao.insert(user); in loadFromPets()
145 mSchoolDao.insert(school); in findSchoolByStreet()
179 mSchoolDao.insert(school); in loadSubFieldsTest()
184 mSchoolDao.insert(school2); in loadSubFieldsTest()
202 mSchoolDao.insert(school); in loadNestedSub()
223 mPetCoupleDao.insert(petCouple); in sameFieldType()
[all …]
DLiveDataQueryTest.java84 mUserDao.insert(TestUtil.createUser(7)); in observeById()
89 mUserDao.insert(u5); in observeById()
119 mUserDao.insert(user1); in observeListQuery()
125 mUserDao.insert(user2); in observeListQuery()
199 mUserDao.insert(user); in withRelation()
233 mToyDao.insert(toy); in withRelationOnly()
254 mUserDao.insert(user); in withWithClause()
261 mUserDao.insert(user); in withWithClause()
269 mUserDao.insert(user); in withWithClause()
289 mUserDao.insert(user); in handleGc()
DInvalidationTest.java118 mUserDao.insert(user); in testInvalidationOnUpdate()
131 mUserDao.insert(user); in testInvalidationOnDelete()
145 mUserDao.insert(TestUtil.createUser(3)); in testInvalidationOnInsert()
155 mUserDao.insert(TestUtil.createUser(3)); in testDontInvalidateOnLateInsert()
166 mUserDao.insert(TestUtil.createUser(3)); in testMultipleTables()
DWithClauseTest.java57 mUserDao.insert(user); in sourceOfData()
64 mUserDao.insert(user); in sourceOfData()
72 mUserDao.insert(user); in sourceOfData()
/frameworks/compile/mclinker/unittests/
DStringTableTest.cpp46 ASSERT_NE(m_pTestee->insert(c), c); in TEST_F()
52 m_pTestee->insert("Hello"); in TEST_F()
53 m_pTestee->insert("World"); in TEST_F()
54 m_pTestee->insert("Media"); in TEST_F()
55 m_pTestee->insert("Tek"); in TEST_F()
69 m_pTestee->insert(""); in TEST_F()
DHashTableTest.cpp70 hashTable->insert(pA, exist); in TEST_F()
96 HashTableTy::entry_type* val = hashTable->insert(key, exist); in TEST_F()
115 entry = hashTable->insert(key, exist); in TEST_F()
137 hashTable->insert(key, exist); in TEST_F()
162 hashTable->insert(key, exist); in TEST_F()
185 hashTable->insert(key, exist); in TEST_F()
205 hashTable->insert(key, exist); in TEST_F()
222 entry = hashTable->insert(key, exist); in TEST_F()
244 entry = hashTable->insert(key, exist); in TEST_F()
267 entry = hashTable->insert(key * 37, exist); in TEST_F()
[all …]
DInputTreeTest.cpp98 m_pTestee->insert<InputTree::Inclusive>(node, *input); in TEST_F()
104 m_pTestee->insert<InputTree::Inclusive>(node, *input); in TEST_F()
127 m_pTestee->insert(node, InputTree::Afterward, *input); in TEST_F()
141 m_pTestee->insert<InputTree::Inclusive>(node, *input); in TEST_F()
145 m_pTestee->insert<InputTree::Positional>(node, *input); in TEST_F()
150 m_pTestee->insert<InputTree::Inclusive>(node, *input); in TEST_F()
152 m_pTestee->insert<InputTree::Positional>(node, *input); in TEST_F()
/frameworks/compile/mclinker/lib/Target/
DELFEmulation.cpp78 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy); in MCLDEmulateELF()
85 pScript.sectionMap().insert("", ""); in MCLDEmulateELF()
93 pScript.directories().insert("=/usr/lib"); in MCLDEmulateELF()
96 pScript.directories().insert("=/mingw/lib"); in MCLDEmulateELF()
99 pScript.directories().insert("=/lib"); in MCLDEmulateELF()
100 pScript.directories().insert("=/usr/lib"); in MCLDEmulateELF()
/frameworks/support/room/compiler/src/test/data/daoWriter/output/
DWriterDao.java104 __insertionAdapterOfUser.insert(user); in insertUser()
115 __insertionAdapterOfUser.insert(user1); in insertUsers()
116 __insertionAdapterOfUser.insert(others); in insertUsers()
127 __insertionAdapterOfUser_1.insert(users); in insertUsers()
138 __insertionAdapterOfUser.insert(user); in insertUserAndBook()
139 __insertionAdapterOfBook.insert(book); in insertUserAndBook()
/frameworks/base/tools/incident_report/
Dgeneric_message.cpp33 mNodes.insert(pair<int32_t,Node>(fieldId, node)); in addInt32()
42 mNodes.insert(pair<int32_t,Node>(fieldId, node)); in addInt64()
52 mNodes.insert(pair<int32_t,Node>(fieldId, node)); in addMessage()
62 mNodes.insert(pair<int32_t,Node>(fieldId, node)); in addString()
/frameworks/compile/mclinker/lib/LD/
DBranchIsland.cpp102 StubEntryType* entry = m_StubMap.insert(key, exist); in addStub()
113 sd->getFragmentList().insert(end(), align_frag); in addStub()
119 sd->getFragmentList().insert(end(), &pStub); in addStub()
129 m_StubMap.insert(key, exist); in addStub()
139 sd->getFragmentList().insert(end(), align_frag); in addStub()
145 sd->getFragmentList().insert(end(), &pStub); in addStub()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIntRangeManager.java112 void insert(ClientRange range) { in insert() method in IntRangeManager.IntRange
114 int insert = -1; in insert() local
123 insert = i + 1; in insert()
124 if (insert < len) { in insert()
136 if (insert != -1 && insert < len) { in insert()
137 mClients.add(insert, range); in insert()
213 range.insert(new ClientRange(startId, endId, client)); in enableRange()
235 range.insert(new ClientRange(startId, endId, client)); in enableRange()
357 range.insert(new ClientRange(startId, endId, client)); in enableRange()
378 range.insert(new ClientRange(startId, endId, client)); in enableRange()
[all …]
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/dao/
DUserDao.java67 public abstract void insert(User user); in insert() method in UserDao
169 insert(a); in insertBothByRunnable()
170 insert(b); in insertBothByRunnable()
179 insert(a); in insertBothByCallable()
180 insert(b); in insertBothByCallable()
266 insert(a);
267 insert(b);
/frameworks/ml/nn/common/operations/
DRNNTest.cpp178 Input_.insert(Input_.end(), batches_ * input_size_, 0.f); in BasicRNNOpModel()
179 HiddenStateIn_.insert(HiddenStateIn_.end(), batches_ * units_, 0.f); in BasicRNNOpModel()
180 HiddenStateOut_.insert(HiddenStateOut_.end(), batches_ * units_, 0.f); in BasicRNNOpModel()
181 Output_.insert(Output_.end(), batches_ * units_, 0.f); in BasicRNNOpModel()
191 X##_.insert(X##_.end(), f.begin(), f.end()); \
328 expected.insert(expected.end(), golden_start, golden_end); in TEST()
329 expected.insert(expected.end(), golden_start, golden_end); in TEST()
DLSTMTest.cpp134 Input_.insert(Input_.end(), n_batch * n_input, 0.f); in LSTMOpModel()
135 OutputStateIn_.insert(OutputStateIn_.end(), n_batch * n_output, 0.f); in LSTMOpModel()
136 CellStateIn_.insert(CellStateIn_.end(), n_batch * n_cell, 0.f); in LSTMOpModel()
146 #define ReserveOutput(X) X##_.insert(X##_.end(), multiAll(*it2++), 0.f); in LSTMOpModel()
157 X##_.insert(X##_.end(), f.begin(), f.end()); \
380 expected.insert(expected.end(), golden_start, golden_end); in TEST()
486 expected.insert(expected.end(), golden_start, golden_end); in TEST()
1106 expected.insert(expected.end(), golden_start_batch0, golden_end_batch0); in TEST()
1107 expected.insert(expected.end(), golden_start_batch1, golden_end_batch1); in TEST()
/frameworks/base/media/java/android/media/
DMediaInserter.java48 public void insert(Uri tableUri, ContentValues values) throws RemoteException { in insert() method in MediaInserter
49 insert(tableUri, values, false); in insert()
53 insert(tableUri, values, true); in insertwithPriority()
56 … private void insert(Uri tableUri, ContentValues values, boolean priority) throws RemoteException { in insert() method in MediaInserter
/frameworks/compile/mclinker/lib/Target/ARM/
DARMEmulation.cpp38 pScript.sectionMap().insert(".ARM.exidx*", ".ARM.exidx"); in MCLDEmulateARMELF()
39 pScript.sectionMap().insert(".ARM.extab*", ".ARM.extab"); in MCLDEmulateARMELF()
40 pScript.sectionMap().insert(".ARM.attributes*", ".ARM.attributes"); in MCLDEmulateARMELF()
/frameworks/base/telephony/java/android/telephony/
DJapanesePhoneNumberFormatter.java201 text.insert(dashPos2, "-"); in format()
205 text.insert(dashPos1, "-"); in format()
215 text.insert(rootIndex, "-"); in format()
/frameworks/compile/mclinker/include/mcld/MC/
DSearchDirs.h65 bool insert(const char* pDirectory);
67 bool insert(const std::string& pDirectory);
69 bool insert(const sys::fs::Path& pDirectory);
/frameworks/compile/mclinker/lib/MC/
DSearchDirs.cpp47 bool SearchDirs::insert(const std::string& pPath) { in insert() function in mcld::SearchDirs
62 bool SearchDirs::insert(const char* pPath) { in insert() function in mcld::SearchDirs
63 return insert(std::string(pPath)); in insert()
66 bool SearchDirs::insert(const sys::fs::Path& pPath) { in insert() function in mcld::SearchDirs
67 return insert(pPath.native()); in insert()
/frameworks/base/core/java/android/content/
DContentInsertHandler.java38 public void insert(ContentResolver contentResolver, InputStream in) in insert() method
47 public void insert(ContentResolver contentResolver, String in) in insert() method
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java91 number.insert(3, "1"); // 6501-23 in testInsertChars()
102 number.insert(5, "4567"); // change to 650-1456723 in testInsertChars()
120 number.insert(9, " 4"); // (6501) 23 4 in testStopFormatting()
146 number.insert(8, "-"); // (650) 12-3 in testStopFormatting()
164 number.insert(9, " 4"); // (650) 123 4 in testRestartFormatting()
182 number.insert(9, "4"); // (650) 1234 in testRestartFormatting()
215 number.insert(5, "4"); // (6504) 123 in testTextChangedByOtherTextWatcher()
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DGrowingArrayUtils.java109 public static <T> T[] insert(T[] array, int currentSize, int index, T element) { in insert() method in GrowingArrayUtils
129 public static int[] insert(int[] array, int currentSize, int index, int element) { in insert() method in GrowingArrayUtils
148 public static long[] insert(long[] array, int currentSize, int index, long element) { in insert() method in GrowingArrayUtils
167 public static boolean[] insert(boolean[] array, int currentSize, int index, boolean element) { in insert() method in GrowingArrayUtils

12345678910>>...19