/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerSettingsTests.java | 125 insert(OVERLAY_A0); in testBasicSetAndGet() 139 insert(OVERLAY_A0); in testGetUsers() 144 insert(OVERLAY_A1); in testGetUsers() 145 insert(OVERLAY_B1); in testGetUsers() 154 insert(OVERLAY_A0); in testGetOverlaysForUser() 155 insert(OVERLAY_B0); in testGetOverlaysForUser() 156 insert(OVERLAY_A1); in testGetOverlaysForUser() 157 insert(OVERLAY_B1); in testGetOverlaysForUser() 176 insert(OVERLAY_A0); in testRemoveUser() 177 insert(OVERLAY_B0); in testRemoveUser() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerHistoryTest.cpp | 36 mLayerHistory->insert(testLayer, 0, false /*isHDR*/); in forceRelevancy() 53 mLayerHistory->insert(testLayer, 0, false /*isHDR*/); in TEST_F() 61 mLayerHistory->insert(testLayer, 0, false /*isHDR*/); in TEST_F() 70 mLayerHistory->insert(testLayer, 0, true /*isHDR*/); in TEST_F() 86 mLayerHistory->insert(test30FpsLayer, startTime + (i * THIRTY_FPS_INTERVAL), in TEST_F() 106 mLayerHistory->insert(testLayer, 0, false /*isHDR*/); in TEST_F() 112 mLayerHistory->insert(test30FpsLayer, startTime + (i * THIRTY_FPS_INTERVAL), in TEST_F() 118 mLayerHistory->insert(test30FpsLayer, startTime + (i * THIRTY_FPS_INTERVAL), in TEST_F() 126 mLayerHistory->insert(testLayer2, 0, false /*isHDR*/); in TEST_F() 132 mLayerHistory->insert(test30FpsLayer, in TEST_F()
|
/frameworks/compile/mclinker/unittests/ |
D | StringTableTest.cpp | 46 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()
|
D | HashTableTest.cpp | 70 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 …]
|
D | InputTreeTest.cpp | 98 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/base/core/tests/coretests/src/android/app/usage/ |
D | EventListTest.java | 71 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/ |
D | ELFEmulation.cpp | 78 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/cmds/statsd/src/condition/ |
D | SimpleConditionTracker.cpp | 44 mTrackerIndex.insert(mStartLogMatcherIndex); in SimpleConditionTracker() 56 mTrackerIndex.insert(mStopLogMatcherIndex); in SimpleConditionTracker() 68 mTrackerIndex.insert(mStopAllLogMatcherIndex); in SimpleConditionTracker() 136 mLastChangedToFalseDimensions.insert(cond.first); in handleStopAll() 186 mLastChangedToTrueDimensions.insert(outputKey); in handleConditionEvent() 191 mLastChangedToFalseDimensions.insert(outputKey); in handleConditionEvent() 201 mLastChangedToTrueDimensions.insert(outputKey); in handleConditionEvent() 225 mLastChangedToFalseDimensions.insert(outputKey); in handleConditionEvent() 392 dimensionsKeySet.insert(dimensionKey); in isConditionMet() 394 dimensionsKeySet.insert(slice.first); in isConditionMet() [all …]
|
D | StateTracker.cpp | 42 mTrackerIndex.insert(mStartLogMatcherIndex); in StateTracker() 160 mLastChangedToTrueDimensions.insert(state); in evaluateCondition() 163 mLastChangedToFalseDimensions.insert(it->second); in evaluateCondition() 164 mLastChangedToTrueDimensions.insert(state); in evaluateCondition() 198 dimensionsKeySet.insert(state.second); in isConditionMet() 211 dimensionsKeySet.insert(it->second); in isConditionMet() 222 dimensionsKeySet.insert(state.second); in getMetConditionDimension()
|
/frameworks/base/tools/incident_report/ |
D | generic_message.cpp | 33 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/ |
D | BranchIsland.cpp | 102 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/libaudiofoundation/include/media/ |
D | AudioContainers.h | 57 inMaskSet.insert(audio_channel_mask_out_to_in(channel)); in asInMask() 67 outMaskSet.insert(audio_channel_mask_in_to_out(channel)); in asOutMask() 91 deviceTypes.insert(typeToAdd); in resetDeviceTypes() 111 deviceTypes.insert(deviceType); in deviceTypesFromBitMask() 117 deviceTypes.insert(deviceType); in deviceTypesFromBitMask()
|
/frameworks/av/media/bufferpool/1.0/ |
D | AccessorImpl.cpp | 92 bool insert(std::map<T, std::set<U>> *mapOfSet, T key, U value) { in insert() function 96 mapOfSet->insert(std::make_pair(key, valueSet)); in insert() 99 iter->second.insert(value); in insert() 154 mBufferPool.mConnectionIds.insert(id); in connect() 262 bool added = insert(&mUsingBuffers, connectionId, bufferId); in handleOwnBuffer() 267 insert(&mUsingConnections, bufferId, connectionId); in handleOwnBuffer() 280 mFreeBuffers.insert(bufferId); in handleReleaseBuffer() 316 mTransactions.insert(std::make_pair( in handleTransferTo() 319 insert(&mPendingTransactions, message.targetConnectionId, in handleTransferTo() 330 mTransactions.insert(std::make_pair( in handleTransferFrom() [all …]
|
D | Accessor.cpp | 34 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/ |
D | IntRangeManager.java | 115 void insert(ClientRange range) { in insert() method in IntRangeManager.IntRange 117 int insert = -1; in insert() local 126 insert = i + 1; in insert() 127 if (insert < len) { in insert() 139 if (insert != -1 && insert < len) { in insert() 140 mClients.add(insert, range); in insert() 221 range.insert(new ClientRange(startId, endId, client)); in enableRange() 243 range.insert(new ClientRange(startId, endId, client)); in enableRange() 365 range.insert(new ClientRange(startId, endId, client)); in enableRange() 386 range.insert(new ClientRange(startId, endId, client)); in enableRange() [all …]
|
/frameworks/ml/nn/common/operations/ |
D | RNNTest.cpp | 156 Input_.insert(Input_.end(), batches_ * input_size_, 0.f); in BasicRNNOpModel() 157 HiddenStateIn_.insert(HiddenStateIn_.end(), batches_ * units_, 0.f); in BasicRNNOpModel() 158 HiddenStateOut_.insert(HiddenStateOut_.end(), batches_ * units_, 0.f); in BasicRNNOpModel() 159 Output_.insert(Output_.end(), batches_ * units_, 0.f); in BasicRNNOpModel() 168 void Set##X(const std::vector<float>& f) { X##_.insert(X##_.end(), f.begin(), f.end()); } 296 expected.insert(expected.end(), golden_start, golden_end); in TEST() 297 expected.insert(expected.end(), golden_start, golden_end); in TEST()
|
/frameworks/base/media/java/android/media/ |
D | MediaInserter.java | 49 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/av/media/bufferpool/2.0/ |
D | AccessorImpl.cpp | 99 bool insert(std::map<T, std::set<U>> *mapOfSet, T key, U value) { in insert() function 103 mapOfSet->insert(std::make_pair(key, valueSet)); in insert() 106 iter->second.insert(value); in insert() 166 mBufferPool.mConnectionIds.insert(id); in connect() 318 mObservers.insert(std::make_pair(conId, observer)); in onConnect() 405 deads.insert(it->first); in onHandleAck() 424 bool added = insert(&mUsingBuffers, connectionId, bufferId); in handleOwnBuffer() 429 insert(&mUsingConnections, bufferId, connectionId); in handleOwnBuffer() 443 mFreeBuffers.insert(bufferId); in handleReleaseBuffer() 485 mTransactions.insert(std::make_pair( in handleTransferTo() [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.h | 56 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/compile/mclinker/lib/Target/ARM/ |
D | ARMEmulation.cpp | 38 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/compile/mclinker/include/mcld/MC/ |
D | SearchDirs.h | 65 bool insert(const char* pDirectory); 67 bool insert(const std::string& pDirectory); 69 bool insert(const sys::fs::Path& pDirectory);
|
/frameworks/base/telephony/java/android/telephony/ |
D | JapanesePhoneNumberFormatter.java | 203 text.insert(dashPos2, "-"); in format() 207 text.insert(dashPos1, "-"); in format() 217 text.insert(rootIndex, "-"); in format()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerHistory.cpp | 72 void LayerHistory::insert(const std::unique_ptr<LayerHandle>& layerHandle, nsecs_t presentTime, in insert() function in android::scheduler::LayerHistory 81 mActiveLayerInfos.insert({layerHandle->mId, layerInfo}); in insert() 106 mActiveLayerInfos.insert({layerHandle->mId, layerInfo}); in setVisibility() 170 mInactiveLayerInfos.insert({id, layerInfo}); in removeIrrelevantLayers() 186 mInactiveLayerInfos.insert({id, layerInfo}); in clearHistory()
|
/frameworks/compile/mclinker/lib/MC/ |
D | SearchDirs.cpp | 47 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberWatcherTest.java | 93 number.insert(3, "1"); // 6501-23 in testInsertChars() 104 number.insert(5, "4567"); // change to 650-1456723 in testInsertChars() 122 number.insert(9, " 4"); // (6501) 23 4 in testStopFormatting() 148 number.insert(8, "-"); // (650) 12-3 in testStopFormatting() 166 number.insert(9, " 4"); // (650) 123 4 in testRestartFormatting() 184 number.insert(9, "4"); // (650) 1234 in testRestartFormatting() 217 number.insert(5, "4"); // (6504) 123 in testTextChangedByOtherTextWatcher()
|