/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/ |
D | Asn1NodeTest.java | 40 Asn1Node node = Asn1Node.newBuilder(0x65).build(); in testCreateConstructedNodeWithShortTag() 51 Asn1Node node = Asn1Node.newBuilder(0x3F34).build(); in testCreateConstructedNodeWithLongTag() 63 Asn1Node.newBuilder(0x3F34) in testChildren() 64 .addChild(Asn1Node.newBuilder(0x35).addChild(Asn1Node.newBuilder(0x36))) in testChildren() 65 .addChild(Asn1Node.newBuilder(0x35)) in testChildren() 66 .addChild(Asn1Node.newBuilder(0x37)) in testChildren() 91 Asn1Node.newBuilder(0x3F34) in testNonExitingChildren() 92 .addChild(Asn1Node.newBuilder(0x34)) in testNonExitingChildren() 93 .addChild(Asn1Node.newBuilder(0x35).addChild(Asn1Node.newBuilder(0x36))) in testNonExitingChildren() 125 Asn1Node.newBuilder(0x30) in testBuilderAndGetters() [all …]
|
/frameworks/libs/systemui/motiontoollib/src/com/android/app/motiontool/ |
D | DdmHandleMotionTool.kt | 69 val responseData: ByteArray = MotionToolsResponse.newBuilder() in handleChunk() 70 .setError(ErrorResponse.newBuilder() in handleChunk() 89 MotionToolsResponse.newBuilder().setError(ErrorResponse.newBuilder() in handleChunk() 99 MotionToolsResponse.newBuilder().apply { in handleBeginTraceRequest() 101 setBeginTrace(BeginTraceResponse.newBuilder().setTraceId( in handleBeginTraceRequest() 107 MotionToolsResponse.newBuilder().apply { in handlePollTraceRequest() 109 setPollTrace(PollTraceResponse.newBuilder() in handlePollTraceRequest() 115 MotionToolsResponse.newBuilder().apply { in handleEndTraceRequest() 117 setEndTrace(EndTraceResponse.newBuilder() in handleEndTraceRequest() 128 return MotionToolsResponse.newBuilder() in handleHandshakeRequest() [all …]
|
D | MotionToolManager.kt | 126 ?.get() ?: return ExportedData.newBuilder().build() in <lambda>()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
D | EuiccPortTest.java | 570 Asn1Node.newBuilder(0xA0).build().toBytes(), in testAuthenticateServer() 571 Asn1Node.newBuilder(0xA1).build().toBytes(), in testAuthenticateServer() 572 Asn1Node.newBuilder(0xA2).build().toBytes(), in testAuthenticateServer() 573 Asn1Node.newBuilder(0xA3).build().toBytes(), resultCaptor, mHandler); in testAuthenticateServer() 596 Asn1Node.newBuilder(0xA0).build().toBytes(), in testAuthenticateServer_Error() 597 Asn1Node.newBuilder(0xA1).build().toBytes(), in testAuthenticateServer_Error() 598 Asn1Node.newBuilder(0xA2).build().toBytes(), in testAuthenticateServer_Error() 599 Asn1Node.newBuilder(0xA3).build().toBytes(), resultCaptor, mHandler); in testAuthenticateServer_Error() 627 Asn1Node.newBuilder(0xA0).build().toBytes(), in testAuthenticateService_devCap() 628 Asn1Node.newBuilder(0xA1).build().toBytes(), in testAuthenticateService_devCap() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ParcelableCall.java | 262 ParcelableCallBuilder newBuilder = new ParcelableCallBuilder(); in fromParcelableCall() local 263 newBuilder.mId = parcelableCall.mId; in fromParcelableCall() 264 newBuilder.mState = parcelableCall.mState; in fromParcelableCall() 265 newBuilder.mDisconnectCause = parcelableCall.mDisconnectCause; in fromParcelableCall() 266 newBuilder.mCannedSmsResponses = parcelableCall.mCannedSmsResponses; in fromParcelableCall() 267 newBuilder.mCapabilities = parcelableCall.mCapabilities; in fromParcelableCall() 268 newBuilder.mProperties = parcelableCall.mProperties; in fromParcelableCall() 269 newBuilder.mSupportedAudioRoutes = parcelableCall.mSupportedAudioRoutes; in fromParcelableCall() 270 newBuilder.mConnectTimeMillis = parcelableCall.mConnectTimeMillis; in fromParcelableCall() 271 newBuilder.mHandle = parcelableCall.mHandle; in fromParcelableCall() [all …]
|
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/ |
D | LogParserTest.kt | 71 val logBuilder = ProtoLogFileProto.newBuilder() in parse() 72 val logMessageBuilder = ProtoLogMessage.newBuilder() in parse() 90 val logBuilder = ProtoLogFileProto.newBuilder() in parse_formatting() 91 val logMessageBuilder = ProtoLogMessage.newBuilder() in parse_formatting() 113 val logBuilder = ProtoLogFileProto.newBuilder() in parse_invalidParamsTooMany() 114 val logMessageBuilder = ProtoLogMessage.newBuilder() in parse_invalidParamsTooMany() 135 val logBuilder = ProtoLogFileProto.newBuilder() in parse_invalidParamsNotEnough() 136 val logMessageBuilder = ProtoLogMessage.newBuilder() in parse_invalidParamsNotEnough() 152 val logBuilder = ProtoLogFileProto.newBuilder() in parse_invalidMagicNumber() 162 val logBuilder = ProtoLogFileProto.newBuilder() in parse_invalidVersion() [all …]
|
/frameworks/libs/systemui/motiontoollib/tests/com/android/app/motiontool/ |
D | DdmHandleMotionToolTest.kt | 146 val pollTraceRequest = MotionToolsRequest.newBuilder() in <lambda>() 147 .setPollTrace(PollTraceRequest.newBuilder() in <lambda>() 154 val endTraceRequest = MotionToolsRequest.newBuilder() in <lambda>() 155 .setEndTrace(EndTraceRequest.newBuilder() in <lambda>() 162 val beginTraceRequest = MotionToolsRequest.newBuilder() in <lambda>() 163 .setBeginTrace(BeginTraceRequest.newBuilder() in <lambda>() 164 .setWindow(WindowIdentifier.newBuilder() in <lambda>() 171 val handshakeRequest = MotionToolsRequest.newBuilder() in <lambda>() 172 .setHandshake(HandshakeRequest.newBuilder() in <lambda>() 173 .setWindow(WindowIdentifier.newBuilder() in <lambda>()
|
/frameworks/base/tests/Codegen/src/com/android/codegentest/ |
D | SampleDataClassTest.java | 57 private SampleDataClass mSpecimen = newBuilder().build(); 59 private static SampleDataClass.Builder newBuilder() { in newBuilder() method in SampleDataClassTest 143 assertEquals(43, newBuilder().setNum(43).build().getNum()); in testBuilder_propagatesValuesToInstance() 148 newBuilder().addLinkAddress(new LinkAddress("127.0.0.1/24")); in testPluralFields_canHaveCustomSingularBuilderName() 153 SampleDataClass.Builder builder = newBuilder(); in testBuilder_usableOnlyOnce() 174 String dataclassToString = newBuilder() in testIntDefs_haveCorrectToString() 185 newBuilder().setFlags(12345).build(); in testFlags_getValidated() 190 newBuilder().setState(12345).build(); in testIntEnums_getValidated() 195 newBuilder().setStateName("foo").build(); in testStringEnums_getValidated() 200 newBuilder().setNum2(-1).setNum4(1).build(); in testCustomValidation_isTriggered() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/devicepolicy/ |
D | FactoryResetterTest.java | 105 assertThrows(NullPointerException.class, () -> FactoryResetter.newBuilder(null)); in testFactoryResetBuilder_nullContext() 111 () -> FactoryResetter.newBuilder(mContext).setReason(null)); in testFactoryResetBuilder_nullReason() 120 () -> FactoryResetter.newBuilder(mContext).build().factoryReset()); in testFactoryReset_minimumArgs_noMasterClearPermission() 132 () -> FactoryResetter.newBuilder(mContext).build().factoryReset()); in testFactoryReset_minimumArgs_withRestriction_notForced() 143 FactoryResetter.newBuilder(mContext).build().factoryReset(); in testFactoryReset_minimumArgs_noRestriction_notForced() 154 FactoryResetter.newBuilder(mContext).setForce(true).build().factoryReset(); in testFactoryReset_minimumArgs_withRestriction_forced() 165 boolean success = FactoryResetter.newBuilder(mContext) in testFactoryReset_storageOnly() 180 boolean success = FactoryResetter.newBuilder(mContext) in testFactoryReset_frpOnly() 195 boolean success = FactoryResetter.newBuilder(mContext) in testFactoryReset_allArgs() 215 boolean success = FactoryResetter.newBuilder(mContext) in testFactoryReset_minimumArgs_safetyChecker_neverReplied() [all …]
|
/frameworks/base/tests/vcn/java/android/net/vcn/ |
D | VcnGatewayConnectionConfigTest.java | 99 newBuilder().setVcnUnderlyingNetworkPriorities(UNDERLYING_NETWORK_TEMPLATES); in buildTestConfig() 104 private static VcnGatewayConnectionConfig.Builder newBuilder() { in newBuilder() method in VcnGatewayConnectionConfigTest 125 return buildTestConfigWithExposedCaps(newBuilder(), exposedCaps); in buildTestConfigWithExposedCaps() 170 newBuilder().build(); in testBuilderRequiresNonEmptyExposedCaps() 180 newBuilder().setVcnUnderlyingNetworkPriorities(null); in testBuilderRequiresNonNullNetworkTemplates() 189 newBuilder().setRetryIntervalsMillis(null); in testBuilderRequiresNonNullRetryInterval() 198 newBuilder().setRetryIntervalsMillis(new long[0]); in testBuilderRequiresNonEmptyRetryInterval() 207 newBuilder().setMaxMtu(VcnGatewayConnectionConfig.MIN_MTU_V6 - 1); in testBuilderRequiresValidMtu()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
D | EuiccPort.java | 199 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_GET_PROFILES) in getAllProfiles() 246 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_GET_PROFILES) in getProfile() 247 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_0) in getProfile() 283 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_DISABLE_PROFILE) in disableProfile() 284 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_0) in disableProfile() 322 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_ENABLE_PROFILE) in switchToProfile() 323 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_0) in switchToProfile() 369 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_GET_EID) in getEid() 395 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_SET_NICKNAME) in setNickname() 423 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_DELETE_PROFILE) in deleteProfile() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierRestrictionRulesTest.java | 63 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testBuilderAllowedAndExcludedCarriers() 79 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder().build(); in testBuilderEmptyLists() 98 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testBuilderWildCharacter() 119 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testBuilderDefaultAllowed() 138 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testBuilderAllCarriersAllowed() 158 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testParcel() 184 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder().build(); in testDefaultMultiSimPolicy() 192 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testTestCarrierId_allCarriersAllowed() 228 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testTestCarrierId_defaultNotAllowed() 267 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testTestCarrierId_defaultAllowed() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | SysUiStatsEvent.java | 69 Builder newBuilder() { in newBuilder() method in SysUiStatsEvent.BuilderFactory 70 return new Builder(StatsEvent.newBuilder()); in newBuilder()
|
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/ |
D | DeviceStateManagerGlobalTest.java | 106 DeviceStateRequest request = DeviceStateRequest.newBuilder(DEFAULT_DEVICE_STATE).build(); in registerCallback() 142 DeviceStateRequest request = DeviceStateRequest.newBuilder(OTHER_DEVICE_STATE).build(); in submitRequest() 163 DeviceStateRequest request = DeviceStateRequest.newBuilder(OTHER_DEVICE_STATE).build(); in submitBaseStateOverrideRequest() 187 DeviceStateRequest request = DeviceStateRequest.newBuilder(OTHER_DEVICE_STATE).build(); in submitBaseAndEmulatedStateOverride() 196 DeviceStateRequest secondRequest = DeviceStateRequest.newBuilder( in submitBaseAndEmulatedStateOverride() 220 DeviceStateRequest request = DeviceStateRequest.newBuilder(OTHER_DEVICE_STATE).build(); in verifyDeviceStateRequestCallbacksCalled()
|
/frameworks/base/services/core/java/com/android/server/media/metrics/ |
D | MediaMetricsManagerService.java | 159 StatsEvent statsEvent = StatsEvent.newBuilder() in reportPlaybackMetrics() 209 StatsEvent statsEvent = StatsEvent.newBuilder() in reportBundleMetrics() 228 StatsEvent statsEvent = StatsEvent.newBuilder() in reportPlaybackStateEvent() 291 StatsEvent statsEvent = StatsEvent.newBuilder() in reportPlaybackErrorEvent() 309 StatsEvent statsEvent = StatsEvent.newBuilder() in reportNetworkEvent() 326 StatsEvent statsEvent = StatsEvent.newBuilder() in reportTrackChangeEvent()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvInputHardwareInfo.java | 193 Builder newBuilder = new Builder() in toBuilder() local 200 newBuilder.hdmiPortId(mHdmiPortId); in toBuilder() 202 return newBuilder; in toBuilder()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | WrappedSysUiStatsEvent.java | 137 Builder newBuilder() { in newBuilder() method in WrappedSysUiStatsEvent.WrappedBuilderFactory 138 WrappedBuilder b = new WrappedBuilder(StatsEvent.newBuilder()); in newBuilder()
|
/frameworks/base/services/core/java/com/android/server/devicestate/ |
D | DeviceStateManagerShellCommand.java | 102 DeviceStateRequest request = DeviceStateRequest.newBuilder(requestedState).build(); in runState() 143 DeviceStateRequest request = DeviceStateRequest.newBuilder(requestedState).build(); in runBaseState()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | MetricsCollectorTest.java | 133 StatsEvent.newBuilder() in onPullAtom_simSlotState_bothSimPresent() 167 StatsEvent.newBuilder() in onPullAtom_supportedRadioAccessFamily_singlePhone() 187 StatsEvent.newBuilder() in onPullAtom_supportedRadioAccessFamily_dualPhones() 209 StatsEvent.newBuilder() in onPullAtom_supportedRadioAccessFamily_dualPhonesWithUnknownRaf()
|
/frameworks/base/core/java/android/hardware/devicestate/ |
D | DeviceStateRequest.java | 75 public static Builder newBuilder(int requestedState) { in newBuilder() method in DeviceStateRequest
|
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | ViewCapture.java | 405 ExportedData.Builder exportedDataBuilder = ExportedData.newBuilder(); 410 ViewNode.Builder nodeBuilder = ViewNode.newBuilder(); 412 FrameData.Builder frameDataBuilder = FrameData.newBuilder() 530 ViewNode.Builder childViewNode = ViewNode.newBuilder();
|
/frameworks/base/services/core/java/com/android/server/stats/bootstrap/ |
D | StatsBootstrapAtomService.java | 44 StatsEvent.Builder builder = StatsEvent.newBuilder().setAtomId(atom.atomId); in reportBootstrapAtom()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ConversationNotifications.kt | 209 private fun ConversationState.shouldIncrementUnread(newBuilder: Notification.Builder) = in onRankingUpdate() 214 Notification.areStyledNotificationsVisiblyDifferent(oldBuilder, newBuilder)
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/ |
D | WindowAreaComponentImpl.java | 143 mDeviceStateRequest = DeviceStateRequest.newBuilder(mRearDisplayState).build(); in startRearDisplaySession()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | FactoryResetter.java | 165 public static Builder newBuilder(Context context) { in newBuilder() method in FactoryResetter
|