Home
last modified time | relevance | path

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

12345678910>>...26

/frameworks/native/services/inputflinger/tests/
DAnrTracker_test.cpp34 tracker.insert(1, nullptr); in TEST()
46 tracker.insert(1, token1); in TEST()
47 tracker.insert(2, token2); in TEST()
48 tracker.insert(3, token1); in TEST()
49 tracker.insert(4, token2); in TEST()
50 tracker.insert(5, token1); in TEST()
62 tracker.insert(1, nullptr); in TEST()
72 tracker.insert(1, nullptr); in TEST()
82 tracker.insert(2, nullptr); in TEST()
83 tracker.insert(5, nullptr); in TEST()
[all …]
/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/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabProviderTest.java69 mContext.getContentResolver().insert(CONTACT_URI, data); in testQueryContactInfo()
85 mContext.getContentResolver().insert(CONTACT_URI, data); in testContactIsUnique()
89 mContext.getContentResolver().insert(CONTACT_URI, data); in testContactIsUnique()
107 mContext.getContentResolver().insert(COMMON_URI, data); in testQueryCommonInfo()
126 mContext.getContentResolver().insert(COMMON_URI, data); in testCommonIsNotUnique()
133 mContext.getContentResolver().insert(COMMON_URI, data); in testCommonIsNotUnique()
151 mContext.getContentResolver().insert(PRESENCE_URI, data); in testQueryPresentInfo()
169 mContext.getContentResolver().insert(PRESENCE_URI, data); in testPresentTupleIsNotUnique()
175 mContext.getContentResolver().insert(PRESENCE_URI, data); in testPresentTupleIsNotUnique()
192 mContext.getContentResolver().insert(OPTIONS_URI, data); in testQueryOptionInfo()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/usage/
DEventListTest.java71 listUnderTest.insert(getUsageEvent(random.nextLong())); in testInsertsSortedRandom()
83 listUnderTest.insert(getUsageEvent(randomTimeStamp)); in testInsertsSortedWithDuplicates()
92 listUnderTest.insert(getUsageEvent(2)); in testFirstIndexOnOrAfter()
93 listUnderTest.insert(getUsageEvent(5)); in testFirstIndexOnOrAfter()
94 listUnderTest.insert(getUsageEvent(5)); in testFirstIndexOnOrAfter()
95 listUnderTest.insert(getUsageEvent(5)); in testFirstIndexOnOrAfter()
96 listUnderTest.insert(getUsageEvent(8)); in testFirstIndexOnOrAfter()
117 listUnderTest.insert(getUsageEvent(i)); in testClear()
127 listUnderTest.insert(getUsageEvent(i)); in testSize()
/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/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/av/media/bufferpool/1.0/
DAccessorImpl.cpp93 bool insert(std::map<T, std::set<U>> *mapOfSet, T key, U value) { in insert() function
97 mapOfSet->insert(std::make_pair(key, valueSet)); in insert()
100 iter->second.insert(value); in insert()
155 mBufferPool.mConnectionIds.insert(id); in connect()
267 bool added = insert(&mUsingBuffers, connectionId, bufferId); in handleOwnBuffer()
272 insert(&mUsingConnections, bufferId, connectionId); in handleOwnBuffer()
285 mFreeBuffers.insert(bufferId); in handleReleaseBuffer()
321 mTransactions.insert(std::make_pair( in handleTransferTo()
324 insert(&mPendingTransactions, message.targetConnectionId, in handleTransferTo()
335 mTransactions.insert(std::make_pair( in handleTransferFrom()
[all …]
DAccessor.cpp34 mAccessors.insert(std::make_pair(connectionId, accessor)); in add()
62 mConnectionToCookie.insert(std::make_pair(connectionId, cookie)); in addCookieToConnection()
65 it->second.insert(connectionId); in addCookieToConnection()
67 mCookieToConnections.insert(std::make_pair( in addCookieToConnection()
85 connectionsToClose.insert(std::make_pair(*conIt, accessorIt->second)); in serviceDied()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIntRangeManager.java116 void insert(ClientRange range) { in insert() method in IntRangeManager.IntRange
118 int insert = -1; in insert() local
127 insert = i + 1; in insert()
128 if (insert < len) { in insert()
140 if (insert != -1 && insert < len) { in insert()
141 mClients.add(insert, range); in insert()
229 range.insert(new ClientRange(startId, endId, client)); in enableRange()
251 range.insert(new ClientRange(startId, endId, client)); in enableRange()
373 range.insert(new ClientRange(startId, endId, client)); in enableRange()
394 range.insert(new ClientRange(startId, endId, client)); in enableRange()
[all …]
/frameworks/base/media/java/android/media/
DMediaInserter.java49 public void insert(Uri tableUri, ContentValues values) throws RemoteException { in insert() method in MediaInserter
50 insert(tableUri, values, false); in insert()
54 insert(tableUri, values, true); in insertwithPriority()
57 … 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/tools/aapt2/java/
DProguardRules.h56 manifest_class_set_[class_name].insert(file); in AddManifestClass()
61 conditional_class_set_[class_and_signature].insert(file); in AddConditionalClass()
65 method_set_[name_and_signature].insert(file); in AddMethod()
69 reference_set_[resource_name].insert(file); in AddReference()
/frameworks/base/telephony/java/android/telephony/
DJapanesePhoneNumberFormatter.java203 text.insert(dashPos2, "-"); in format()
207 text.insert(dashPos1, "-"); in format()
217 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/com/android/internal/os/
DZygoteCommandBuffer.java119 insert(mNativeBuffer, Integer.toString(nArgs)); in setCommand()
121 insert(mNativeBuffer, s); in setCommand()
126 private static native void insert(long /* NativeCommandBuffer* */ nbuffer, String s); in insert() method in ZygoteCommandBuffer
/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/native/services/inputflinger/
DPreferStylusOverTouchBlocker.cpp104 mDevicesWithMixedToolType.insert(args.deviceId); in processMotion()
128 mActiveStyli.insert(args.deviceId); in processMotion()
142 mCanceledDevices.insert(deviceId); in processMotion()
158 mCanceledDevices.insert(args.deviceId); in processMotion()
187 presentDevices.insert(device.getId()); in notifyInputDevicesChanged()
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp105 bool insert(std::map<T, std::set<U>> *mapOfSet, T key, U value) { in insert() function
109 mapOfSet->insert(std::make_pair(key, valueSet)); in insert()
112 iter->second.insert(value); in insert()
179 mBufferPool.mConnectionIds.insert(id); in connect()
339 mObservers.insert(std::make_pair(conId, observer)); in onConnect()
426 deads.insert(it->first); in onHandleAck()
445 bool added = insert(&mUsingBuffers, connectionId, bufferId); in handleOwnBuffer()
450 insert(&mUsingConnections, bufferId, connectionId); in handleOwnBuffer()
464 mFreeBuffers.insert(bufferId); in handleReleaseBuffer()
506 mTransactions.insert(std::make_pair( in handleTransferTo()
[all …]
/frameworks/base/libs/hwui/
DRootRenderNode.cpp82 mRunningVDAnimators.insert(mPendingVectorDrawableAnimators.begin(), in attachPendingVectorDrawableAnimators()
106 mPausedVDAnimators.insert(mRunningVDAnimators.begin(), mRunningVDAnimators.end()); in pauseAnimators()
159 mPausedVDAnimators.insert(*it); in runVectorDrawableAnimators()
173 mRunningVDAnimators.insert(*it); in runVectorDrawableAnimators()
220 mPendingVectorDrawableAnimators.insert(anim); in addVectorDrawableAnimator()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java105 number.insert(3, "1"); // 6501-23 in testInsertChars()
117 number.insert(5, "4567"); // change to 650-1456723 in testInsertChars()
136 number.insert(9, " 4"); // (6501) 23 4 in testStopFormatting()
162 number.insert(8, "-"); // (650) 12-3 in testStopFormatting()
180 number.insert(9, " 4"); // (650) 123 4 in testRestartFormatting()
198 number.insert(9, "4"); // (650) 1234 in testRestartFormatting()
232 number.insert(5, "4"); // (6504) 123 in testTextChangedByOtherTextWatcher()
/frameworks/base/core/java/android/util/
DSparseLongArray.java160 mKeys = GrowingArrayUtils.insert(mKeys, mSize, i, key); in put()
161 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value); in put()
184 mKeys = GrowingArrayUtils.insert(mKeys, mSize, i, key); in incrementValue()
185 mValues = GrowingArrayUtils.insert(mValues, mSize, i, summand); in incrementValue()

12345678910>>...26