/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 | 74 final RegisterStatusBarResult copy = clone(original); in testParcelable() local 76 assertThat(copy.mIcons).hasSize(original.mIcons.size()); in testParcelable() 78 assertThat(copy.mIcons.get(dumyIconKey).user) in testParcelable() 81 assertThat(copy.mDisabledFlags1).isEqualTo(original.mDisabledFlags1); in testParcelable() 82 assertThat(copy.mAppearance).isEqualTo(original.mAppearance); in testParcelable() 83 assertThat(copy.mAppearanceRegions).isEqualTo(original.mAppearanceRegions); in testParcelable() 84 assertThat(copy.mImeWindowVis).isEqualTo(original.mImeWindowVis); in testParcelable() 85 assertThat(copy.mImeBackDisposition).isEqualTo(original.mImeBackDisposition); in testParcelable() 86 assertThat(copy.mShowImeSwitcher).isEqualTo(original.mShowImeSwitcher); in testParcelable() 87 assertThat(copy.mDisabledFlags2).isEqualTo(original.mDisabledFlags2); in testParcelable() [all …]
|
D | StatusBarIconTest.java | 50 final StatusBarIcon copy = clone(original); in testParcelable() local 52 assertThat(copy.user).isEqualTo(original.user); in testParcelable() 53 assertThat(copy.pkg).isEqualTo(original.pkg); in testParcelable() 54 assertThat(copy.icon.sameAs(original.icon)).isTrue(); in testParcelable() 55 assertThat(copy.iconLevel).isEqualTo(original.iconLevel); in testParcelable() 56 assertThat(copy.visible).isEqualTo(original.visible); in testParcelable() 57 assertThat(copy.number).isEqualTo(original.number); in testParcelable() 58 assertThat(copy.contentDescription).isEqualTo(original.contentDescription); in testParcelable()
|
/frameworks/libs/binary_translation/kernel_api/tools/ |
D | api_analysis_test.py | 18 import copy 47 host_api = copy.deepcopy(guest_api) 72 host_api = copy.deepcopy(guest_api) 84 host_api = copy.deepcopy(guest_api) 96 host_api = copy.deepcopy(guest_api) 108 host_api = copy.deepcopy(guest_api) 126 host_api = copy.deepcopy(guest_api) 144 host_api = copy.deepcopy(guest_api) 162 host_api = copy.deepcopy(guest_api) 178 host_api = copy.deepcopy(guest_api) [all …]
|
/frameworks/libs/native_bridge_support/android_api/ |
D | api_analysis_test.py | 18 import copy 47 host_api = copy.deepcopy(guest_api) 72 host_api = copy.deepcopy(guest_api) 84 host_api = copy.deepcopy(guest_api) 96 host_api = copy.deepcopy(guest_api) 108 host_api = copy.deepcopy(guest_api) 126 host_api = copy.deepcopy(guest_api) 144 host_api = copy.deepcopy(guest_api) 162 host_api = copy.deepcopy(guest_api) 178 host_api = copy.deepcopy(guest_api) [all …]
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/ |
D | CredentialSelectorViewModel.kt | 92 uiState = uiState.copy(dialogState = DialogState.COMPLETE) in onUserCancel() 96 uiState = uiState.copy(isInitialRender = false) in onInitialRenderComplete() 100 uiState = uiState.copy(cancelRequestState = CancelUiRequestState(appDisplayName)) in onCancellationUiRequested() 108 uiState = uiState.copy(dialogState = DialogState.COMPLETE) in silentlyFinishActivity() 113 uiState = credManRepo.initState().copy(isInitialRender = false) in onNewCredentialManagerRepo() 130 uiState = uiState.copy(providerActivityState = ProviderActivityState.PENDING) in launchProviderUi() 194 uiState = uiState.copy(dialogState = DialogState.COMPLETE) in onProviderActivityResult() 207 uiState = uiState.copy( in resetUiStateForReLaunch() 228 uiState = uiState.copy(dialogState = DialogState.COMPLETE) in onInternalError() 252 uiState.copy( in getFlowOnEntrySelected() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DataCallSessionStats.java | 285 DataCallSession copy = new DataCallSession(); in copyOf() local 286 copy.dimension = call.dimension; in copyOf() 287 copy.isMultiSim = call.isMultiSim; in copyOf() 288 copy.isEsim = call.isEsim; in copyOf() 289 copy.apnTypeBitmask = call.apnTypeBitmask; in copyOf() 290 copy.carrierId = call.carrierId; in copyOf() 291 copy.isRoaming = call.isRoaming; in copyOf() 292 copy.ratAtEnd = call.ratAtEnd; in copyOf() 293 copy.oosAtEnd = call.oosAtEnd; in copyOf() 294 copy.ratSwitchCount = call.ratSwitchCount; in copyOf() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserPropertiesTest.java | 162 final UserProperties copy = new UserProperties(orig, exposeAll, hasManage, hasQuery); in testCopyLacksPermissions() local 163 verifyTestCopyLacksPermissions(orig, copy, exposeAll, hasManage, hasQuery); in testCopyLacksPermissions() 166 assertThat(orig.getPropertiesPresent()).isNotEqualTo(copy.getPropertiesPresent()); in testCopyLacksPermissions() 171 final UserProperties readProps = parcelThenUnparcel(copy); in testCopyLacksPermissions() 182 UserProperties copy, in verifyTestCopyLacksPermissions() argument 188 assertEqualGetterOrThrows(orig::getStartWithParent, copy::getStartWithParent, exposeAll); in verifyTestCopyLacksPermissions() 190 copy::getInheritDevicePolicy, exposeAll); in verifyTestCopyLacksPermissions() 192 copy::getCrossProfileIntentFilterAccessControl, exposeAll); in verifyTestCopyLacksPermissions() 194 copy::getCrossProfileIntentResolutionStrategy, exposeAll); in verifyTestCopyLacksPermissions() 196 copy::getDeleteAppWithParent, exposeAll); in verifyTestCopyLacksPermissions() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/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.getDirectionalSpacing(0) == params.getDirectionalSpacing(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/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/theme/ |
D | WearCredentialSelectorTheme.kt | 40 .copy(error = MaterialTheme.colors.error, onError = MaterialTheme.colors.onError) in WearCredentialSelectorTheme() 90 defaultTypography.display1.copy( in deviceDefaultTypography() 95 defaultTypography.display2.copy( in deviceDefaultTypography() 100 defaultTypography.display1.copy( in deviceDefaultTypography() 105 defaultTypography.title1.copy( in deviceDefaultTypography() 109 defaultTypography.title2.copy( in deviceDefaultTypography() 113 defaultTypography.title3.copy( in deviceDefaultTypography() 117 defaultTypography.body1.copy( in deviceDefaultTypography() 121 defaultTypography.body2.copy( in deviceDefaultTypography() 125 defaultTypography.button.copy( in deviceDefaultTypography() [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/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/ |
D | BubblePositionerTest.kt | 73 positioner.update(defaultDeviceConfig.copy(insets = insets, windowBounds = screenBounds)) in testUpdate() 88 positioner.update(defaultDeviceConfig.copy(isLandscape = true)) in testShowBubblesVertically_phoneLandscape() 95 positioner.update(defaultDeviceConfig.copy(isLargeScreen = true)) in testShowBubblesVertically_tablet() 129 positioner.update(defaultDeviceConfig.copy(isRtl = true)) in testGetRestingPosition_bubble_onPhone_RTL() 139 positioner.update(defaultDeviceConfig.copy(isLargeScreen = true)) in testGetRestingPosition_chatBubble_onTablet() 148 positioner.update(defaultDeviceConfig.copy(isLargeScreen = true, isRtl = true)) in testGetRestingPosition_chatBubble_onTablet_RTL() 158 positioner.update(defaultDeviceConfig.copy(isLargeScreen = true)) in testGetDefaultPosition_appBubble_onTablet() 167 positioner.update(defaultDeviceConfig.copy(isLargeScreen = true, isRtl = true)) in testGetRestingPosition_appBubble_onTablet_RTL() 177 defaultDeviceConfig.copy(isLargeScreen = true, windowBounds = Rect(0, 0, 2000, 1600)) in testGetRestingPosition_afterBoundsChange() 187 defaultDeviceConfig.copy(isLargeScreen = false, windowBounds = Rect(0, 0, 1000, 1600)) in testGetRestingPosition_afterBoundsChange() [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/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/packages/CredentialManager/src/com/android/credentialmanager/common/ui/ |
D | Texts.kt | 43 style = MaterialTheme.typography.headlineSmall.copy(hyphens = Hyphens.Auto), in HeadlineText() 56 style = MaterialTheme.typography.bodyMedium.copy(hyphens = Hyphens.Auto), in BodyMediumText() 74 style = MaterialTheme.typography.bodySmall.copy(hyphens = Hyphens.Auto), 90 style = MaterialTheme.typography.titleLarge.copy(hyphens = Hyphens.Auto), in LargeTitleText() 108 style = MaterialTheme.typography.titleSmall.copy(hyphens = Hyphens.Auto), 124 style = MaterialTheme.typography.titleSmall.copy(hyphens = Hyphens.Auto), in SectionHeaderText() 137 style = MaterialTheme.typography.bodyMedium.copy(hyphens = Hyphens.Auto), in SnackbarContentText() 150 style = MaterialTheme.typography.labelLarge.copy(hyphens = Hyphens.Auto), in SnackbarActionText() 164 style = MaterialTheme.typography.labelLarge.copy(hyphens = Hyphens.Auto), in LargeLabelTextOnSurfaceVariant() 177 style = MaterialTheme.typography.labelLarge.copy(hyphens = Hyphens.Auto), in LargeLabelText()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | NoteTaskEventLoggerTest.kt | 58 val info = createNoteTaskInfo().copy(entryPoint = NoteTaskEntryPoint.WIDGET_PICKER_SHORTCUT) in logNoteTaskOpened_entryPointWidgetPickerShortcut_noteOpenedViaShortcut() 68 val info = createNoteTaskInfo().copy(entryPoint = NoteTaskEntryPoint.QUICK_AFFORDANCE) in onNoteTaskBubbleExpanded_entryPointQuickAffordance_noteOpenedViaQuickAffordance() 80 .copy( in onNoteTaskBubbleExpanded_entryPointTailButtonAndIsKeyguardUnlocked_noteOpenedViaTailButtonUnlocked() 95 .copy( in onNoteTaskBubbleExpanded_entryPointTailButtonAndIsKeyguardLocked_noteOpenedViaTailButtonLocked() 108 val info = createNoteTaskInfo().copy(entryPoint = null) in onNoteTaskBubbleExpanded_noEntryPoint_noLog() 121 .copy( in logNoteTaskClosed_entryPointTailButton_noteClosedViaTailButtonUnlocked() 136 .copy( in logNoteTaskClosed_entryPointTailButtonAndKeyguardLocked_noteClosedViaTailButtonLocked() 149 val info = createNoteTaskInfo().copy(entryPoint = null) in logNoteTaskClosed_noEntryPoint_noLog()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaCarouselControllerTest.kt | 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() 279 DATA.copy( in testPlayerOrdering() 291 DATA.copy( in testPlayerOrdering() 303 DATA.copy( in testPlayerOrdering() 315 DATA.copy( in testPlayerOrdering() 327 DATA.copy( in testPlayerOrdering() [all …]
|
/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/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenDeviceEffectsTest.java | 139 ZenDeviceEffects copy; in writeToParcel_parcelsAndUnparcels() local 143 copy = ZenDeviceEffects.CREATOR.createFromParcel(parcel); in writeToParcel_parcelsAndUnparcels() 148 assertThat(copy.shouldDimWallpaper()).isTrue(); in writeToParcel_parcelsAndUnparcels() 149 assertThat(copy.shouldDisableTouch()).isTrue(); in writeToParcel_parcelsAndUnparcels() 150 assertThat(copy.shouldMinimizeRadioUsage()).isTrue(); in writeToParcel_parcelsAndUnparcels() 151 assertThat(copy.shouldUseNightMode()).isTrue(); in writeToParcel_parcelsAndUnparcels() 152 assertThat(copy.shouldSuppressAmbientDisplay()).isTrue(); in writeToParcel_parcelsAndUnparcels() 153 assertThat(copy.shouldDisplayGrayscale()).isFalse(); in writeToParcel_parcelsAndUnparcels() 154 assertThat(copy.getExtraEffects()).containsExactly("1", "2", "3"); in writeToParcel_parcelsAndUnparcels()
|
/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/base/core/tests/mockingcoretests/src/android/os/ |
D | BundleRecyclingTest.java | 109 Bundle copy = new Bundle(); in bundleClear_whenClearedWithSharedParcel_doesNotRecycleParcel() local 110 copy.putAll(mBundle); in bundleClear_whenClearedWithSharedParcel_doesNotRecycleParcel() 115 copy.clear(); in bundleClear_whenClearedWithSharedParcel_doesNotRecycleParcel() 116 assertTrue(copy.isDefinitelyEmpty()); in bundleClear_whenClearedWithSharedParcel_doesNotRecycleParcel() 128 Bundle copy = mBundle.deepCopy(); in bundleClear_whenClearedWithCopiedParcel_doesNotRecycleParcel() local 129 copy.putAll(mBundle); in bundleClear_whenClearedWithCopiedParcel_doesNotRecycleParcel() 134 copy.clear(); in bundleClear_whenClearedWithCopiedParcel_doesNotRecycleParcel() 135 assertTrue(copy.isDefinitelyEmpty()); in bundleClear_whenClearedWithCopiedParcel_doesNotRecycleParcel() 208 Bundle copy = new Bundle(); in bundleGet_withWithSharedParcel_doesNotRecycleParcel() local 209 copy.putAll(mBundle); in bundleGet_withWithSharedParcel_doesNotRecycleParcel() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/ |
D | FakeUserTracker.kt | 79 val copy = callbacks.toList() in onBeforeUserSwitching() constant 80 copy.forEach { it.onBeforeUserSwitching(userId) } in onBeforeUserSwitching() 84 val copy = callbacks.toList() in onUserChanging() constant 85 copy.forEach { it.onUserChanging(userId, userContext) {} } in onUserChanging() 89 val copy = callbacks.toList() in onUserChanged() constant 90 copy.forEach { it.onUserChanged(userId, userContext) } in onUserChanged()
|