/frameworks/compile/mclinker/lib/MC/ |
D | Attribute.cpp | 109 Attribute* copy = new Attribute(*m_pBase); in setWholeArchive() local 110 copy->setWholeArchive(); in setWholeArchive() 111 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in setWholeArchive() 115 Attribute* copy = new Attribute(*m_pBase); in unsetWholeArchive() local 116 copy->unsetWholeArchive(); in unsetWholeArchive() 117 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in unsetWholeArchive() 121 Attribute* copy = new Attribute(*m_pBase); in setAsNeeded() local 122 copy->setAsNeeded(); in setAsNeeded() 123 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in setAsNeeded() 127 Attribute* copy = new Attribute(*m_pBase); in unsetAsNeeded() local [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/statusbar/ |
D | RegisterStatusBarResultTest.java | 73 final RegisterStatusBarResult copy = clone(original); in testParcelable() local 75 assertThat(copy.mIcons).hasSize(original.mIcons.size()); in testParcelable() 77 assertThat(copy.mIcons.get(dumyIconKey).user) in testParcelable() 80 assertThat(copy.mDisabledFlags1).isEqualTo(original.mDisabledFlags1); in testParcelable() 81 assertThat(copy.mAppearance).isEqualTo(original.mAppearance); in testParcelable() 82 assertThat(copy.mAppearanceRegions).isEqualTo(original.mAppearanceRegions); in testParcelable() 83 assertThat(copy.mImeWindowVis).isEqualTo(original.mImeWindowVis); in testParcelable() 84 assertThat(copy.mImeBackDisposition).isEqualTo(original.mImeBackDisposition); in testParcelable() 85 assertThat(copy.mShowImeSwitcher).isEqualTo(original.mShowImeSwitcher); in testParcelable() 86 assertThat(copy.mDisabledFlags2).isEqualTo(original.mDisabledFlags2); in testParcelable() [all …]
|
D | StatusBarIconTest.java | 49 final StatusBarIcon copy = clone(original); in testParcelable() local 51 assertThat(copy.user).isEqualTo(original.user); in testParcelable() 52 assertThat(copy.pkg).isEqualTo(original.pkg); in testParcelable() 53 assertThat(copy.icon.sameAs(original.icon)).isTrue(); in testParcelable() 54 assertThat(copy.iconLevel).isEqualTo(original.iconLevel); in testParcelable() 55 assertThat(copy.visible).isEqualTo(original.visible); in testParcelable() 56 assertThat(copy.number).isEqualTo(original.number); in testParcelable() 57 assertThat(copy.contentDescription).isEqualTo(original.contentDescription); in testParcelable()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/complication/ |
D | ComplicationLayoutParamsTest.java | 146 final ComplicationLayoutParams copy = new ComplicationLayoutParams(params); in testCopyConstruction() local 148 assertThat(copy.getDirection() == params.getDirection()).isTrue(); in testCopyConstruction() 149 assertThat(copy.getPosition() == params.getPosition()).isTrue(); in testCopyConstruction() 150 assertThat(copy.getWeight() == params.getWeight()).isTrue(); in testCopyConstruction() 151 assertThat(copy.getMargin(0) == params.getMargin(1)).isTrue(); in testCopyConstruction() 152 assertThat(copy.getConstraint() == params.getConstraint()).isTrue(); in testCopyConstruction() 153 assertThat(copy.height == params.height).isTrue(); in testCopyConstruction() 154 assertThat(copy.width == params.width).isTrue(); in testCopyConstruction() 169 final ComplicationLayoutParams copy = new ComplicationLayoutParams(params); in testCopyConstructionWithUnspecifiedMargin() local 171 assertThat(copy.getDirection() == params.getDirection()).isTrue(); in testCopyConstructionWithUnspecifiedMargin() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DataCallSessionStats.java | 272 DataCallSession copy = new DataCallSession(); in copyOf() local 273 copy.dimension = call.dimension; in copyOf() 274 copy.isMultiSim = call.isMultiSim; in copyOf() 275 copy.isEsim = call.isEsim; in copyOf() 276 copy.apnTypeBitmask = call.apnTypeBitmask; in copyOf() 277 copy.carrierId = call.carrierId; in copyOf() 278 copy.isRoaming = call.isRoaming; in copyOf() 279 copy.ratAtEnd = call.ratAtEnd; in copyOf() 280 copy.oosAtEnd = call.oosAtEnd; in copyOf() 281 copy.ratSwitchCount = call.ratSwitchCount; in copyOf() [all …]
|
D | ServiceStateStats.java | 216 CellularServiceState copy = new CellularServiceState(); in copyOf() local 217 copy.voiceRat = state.voiceRat; in copyOf() 218 copy.dataRat = state.dataRat; in copyOf() 219 copy.voiceRoamingType = state.voiceRoamingType; in copyOf() 220 copy.dataRoamingType = state.dataRoamingType; in copyOf() 221 copy.isEndc = state.isEndc; in copyOf() 222 copy.simSlotIndex = state.simSlotIndex; in copyOf() 223 copy.isMultiSim = state.isMultiSim; in copyOf() 224 copy.carrierId = state.carrierId; in copyOf() 225 copy.totalTimeMillis = state.totalTimeMillis; in copyOf() [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationValidIntentTest.kt | 43 succeeding += base.copy( in parameters() 48 failing += base.copy( in parameters() 54 base.copy( in parameters() 61 base.copy( in parameters() 73 ).map { base.copy(categorySet = it + "invalid.CATEGORY") } in parameters() 76 failing += base.copy(action = Intent.ACTION_SEND) in parameters() 79 failing += base.copy(domain = "invalid") in parameters() 82 failing += base.copy(domain = "") in parameters() 85 failing += base.copy( in parameters() 90 failing += base.copy( in parameters()
|
/frameworks/base/core/java/android/content/res/ |
D | GradientColor.java | 132 private GradientColor(GradientColor copy) { in GradientColor() argument 133 if (copy != null) { in GradientColor() 134 mChangingConfigurations = copy.mChangingConfigurations; in GradientColor() 135 mDefaultColor = copy.mDefaultColor; in GradientColor() 136 mShader = copy.mShader; in GradientColor() 137 mGradientType = copy.mGradientType; in GradientColor() 138 mCenterX = copy.mCenterX; in GradientColor() 139 mCenterY = copy.mCenterY; in GradientColor() 140 mStartX = copy.mStartX; in GradientColor() 141 mStartY = copy.mStartY; in GradientColor() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerStreamListener.cpp | 140 size_t copy = entry->mSize; in read() local 141 if (copy > size) { in read() 142 copy = size; in read() 150 if (mem == NULL || mem->size() < copy || mem->size() - copy < entry->mOffset) { in read() 157 copy); in read() 159 entry->mOffset += copy; in read() 160 entry->mSize -= copy; in read() 168 return copy; in read()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/ |
D | MediaCarouselControllerTest.kt | 159 DATA.copy( in testPlayerOrdering() 171 DATA.copy( in testPlayerOrdering() 183 DATA.copy( in testPlayerOrdering() 195 DATA.copy( in testPlayerOrdering() 207 DATA.copy( in testPlayerOrdering() 219 DATA.copy( in testPlayerOrdering() 231 DATA.copy( in testPlayerOrdering() 243 DATA.copy( in testPlayerOrdering() 255 DATA.copy( in testPlayerOrdering() 267 DATA.copy( in testPlayerOrdering() [all …]
|
/frameworks/native/opengl/tools/glgen/src/ |
D | GenerateGL.java | 26 static void copy(String filename, PrintStream out) throws IOException { in copy() method in GenerateGL 53 copy("stubs/jsr239/" + fname + in emit() 55 copy("stubs/jsr239/" + fname + ".java-impl", glImplStream); in emit() 56 copy("stubs/jsr239/" + fname + ".cpp", cStream); in emit() 153 copy("stubs/jsr239/GL10Header.java-if", gl10Stream); in main() 154 copy("stubs/jsr239/GL10ExtHeader.java-if", gl10ExtStream); in main() 155 copy("stubs/jsr239/GL11Header.java-if", gl11Stream); in main() 156 copy("stubs/jsr239/GL11ExtHeader.java-if", gl11ExtStream); in main() 157 copy("stubs/jsr239/GL11ExtensionPackHeader.java-if", gl11ExtPackStream); in main() 158 copy("stubs/jsr239/GLImplHeader.java-impl", glImplStream); in main() [all …]
|
D | GenerateGLES.java | 26 static void copy(String filename, PrintStream out) throws IOException { in copy() method in GenerateGLES 51 copy(javaPath, glStream); in emit() 52 copy(stubRoot + ".cpp", cStream); in emit() 99 copy("stubs/gles11/" + suffix + "Header.java-if", gl11Stream); in main() 100 copy("stubs/gles11/" + suffix + "cHeader.cpp", gl11cStream); in main() 101 copy("stubs/gles11/common.cpp", gl11cStream); in main()
|
/frameworks/base/libs/hwui/ |
D | FrameMetricsReporter.cpp | 24 FatVector<sp<FrameMetricsObserver>, 10> copy; in reportFrameMetrics() local 27 copy.reserve(mObservers.size()); in reportFrameMetrics() 46 copy.push_back(observer); in reportFrameMetrics() 50 for (size_t i = 0; i < copy.size(); i++) { in reportFrameMetrics() 51 copy[i]->notify(stats); in reportFrameMetrics()
|
/frameworks/base/ |
D | Android.mk | 18 $(eval $(call declare-1p-copy-files,frameworks/base,.ogg)) 19 $(eval $(call declare-1p-copy-files,frameworks/base,.kl)) 20 $(eval $(call declare-1p-copy-files,frameworks/base,.kcm)) 21 $(eval $(call declare-1p-copy-files,frameworks/base,.idc)) 22 $(eval $(call declare-1p-copy-files,frameworks/base,dirty-image-objects)) 23 $(eval $(call declare-1p-copy-files,frameworks/base/config,)) 24 $(eval $(call declare-1p-copy-files,frameworks/native/data,))
|
/frameworks/av/media/libstagefright/httplive/ |
D | LiveDataSource.cpp | 114 size_t copy = size - sizeDone; in readAt_l() local 116 if (copy > buffer->size()) { in readAt_l() 117 copy = buffer->size(); in readAt_l() 120 memcpy((uint8_t *)data + sizeDone, buffer->data(), copy); in readAt_l() 122 sizeDone += copy; in readAt_l() 124 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); in readAt_l()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | RequestQueue.java | 84 ArrayList<Rec> copy = null; 87 copy = new ArrayList<Rec>(mPending); 91 if (copy != null) { 92 final int size = copy.size(); 94 copy.get(i).runnable.run();
|
/frameworks/av/media/libdatasource/ |
D | DataURISource.cpp | 104 size_t copy = mBuffer->size() - offset; in readAt() local 105 if (copy > size) { in readAt() 106 copy = size; in readAt() 109 memcpy(data, mBuffer->data() + offset, copy); in readAt() 111 return copy; in readAt()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/models/recommendation/ |
D | SmartspaceMediaDataTest.kt | 41 val data = DEFAULT_DATA.copy(recommendations = recommendations) in getValidRecommendations_onlyReturnsRecsWithIcons() 48 val data = DEFAULT_DATA.copy(recommendations = listOf()) in isValid_emptyList_returnsFalse() 56 DEFAULT_DATA.copy( in isValid_tooFewRecs_returnsFalse() 75 val data = DEFAULT_DATA.copy(recommendations = recommendations) in isValid_tooFewRecsWithIcons_returnsFalse() 88 val data = DEFAULT_DATA.copy(recommendations = recommendations) in isValid_enoughRecsWithIcons_returnsTrue() 101 val data = DEFAULT_DATA.copy(recommendations = recommendations) in isValid_manyRecsWithIcons_returnsTrue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/demomode/ |
D | DemoModeController.kt | 170 val copy: List<DemoModeCommandReceiver> in <lambda>() constant 171 synchronized(this) { copy = receivers.toList() } in <lambda>() 173 copy.forEach { r -> r.onDemoModeStarted() } in <lambda>() 180 val copy: List<DemoModeCommandReceiver> in <lambda>() constant 181 synchronized(this) { copy = receivers.toList() } in <lambda>() 183 copy.forEach { r -> r.onDemoModeFinished() } in <lambda>() 213 val copy: List<DemoModeCommandReceiver> in <lambda>() constant 214 synchronized(this) { copy = receivers.toList() } in <lambda>() 215 copy.forEach { recv -> pw.print(" ${recv.javaClass.simpleName}") } in <lambda>()
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothPacketEncoder.java | 131 int copy = mMaxPacketSize - mAccumulatedBytes; 132 if (copy > remaining) copy = remaining; 133 System.arraycopy(msg, offset, mAccumulationBuffer, mAccumulatedBytes, copy); 134 mAccumulatedBytes += copy; 135 offset += copy; 136 remaining -= copy;
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/ |
D | FakeUserTracker.kt | 75 val copy = callbacks.toList() in onUserChanging() constant 76 val latch = CountDownLatch(copy.size) in onUserChanging() 77 copy.forEach { it.onUserChanging(userId, userContext, latch) } in onUserChanging() 81 val copy = callbacks.toList() in onUserChanged() constant 82 copy.forEach { it.onUserChanged(userId, userContext) } in onUserChanged()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | CharSequencesTest.java | 32 String copy = toString(forAsciiBytes(bytes)); in testCharSequences() local 33 assertTrue(s.equals(copy)); in testCharSequences() 35 copy = toString(forAsciiBytes(bytes, 0, s.length())); in testCharSequences() 36 assertTrue(s.equals(copy)); in testCharSequences()
|
/frameworks/base/data/keyboards/ |
D | keyboards.mk | 18 $(call find-copy-subdir-files,*.kl,$(LOCAL_PATH),system/usr/keylayout) \ 19 $(call find-copy-subdir-files,*.kcm,$(LOCAL_PATH),system/usr/keychars) \ 20 $(call find-copy-subdir-files,*.idc,$(LOCAL_PATH),system/usr/idc)
|
/frameworks/native/libs/ftl/ |
D | small_vector_test.cpp | 100 const auto copy = "quince"s; in TEST() local 102 SmallVector vector = {copy, std::move(move)}; in TEST() 119 const auto copy = "red"s; in TEST() local 122 SmallVector vector = ftl::init::list<std::string>(copy.c_str())(std::move(move))(list); in TEST() 146 SmallVector<const std::string, 2> copy(vector); in TEST() local 147 EXPECT_EQ(copy, vector); in TEST() 151 copy = other; in TEST() 152 EXPECT_EQ(copy, other); in TEST() 158 SmallVector<const std::string, 3> copy(vector); in TEST() local 159 EXPECT_EQ(copy, vector); in TEST() [all …]
|
/frameworks/av/media/ |
D | Android.mk | 3 $(eval $(call declare-1p-copy-files,frameworks/av/media/libeffects,audio_effects.conf)) 4 $(eval $(call declare-1p-copy-files,frameworks/av/media/libeffects,audio_effects.xml)) 5 $(eval $(call declare-1p-copy-files,frameworks/av/media/libstagefright,))
|