Home
last modified time | relevance | path

Searched refs:newBuilder (Results 1 – 25 of 126) sorted by relevance

123456

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarNavigationManagerTest.java63 ImageReference imageReference = ImageReference.newBuilder().build(); in testSerializeAndDeserializeProto()
64 Distance distance = Distance.newBuilder().build(); in testSerializeAndDeserializeProto()
65 Maneuver maneuver = Maneuver.newBuilder().build(); in testSerializeAndDeserializeProto()
66 Lane lane = Lane.newBuilder().build(); in testSerializeAndDeserializeProto()
67 LaneDirection laneDirection = LaneDirection.newBuilder().build(); in testSerializeAndDeserializeProto()
68 Cue cue = Cue.newBuilder().build(); in testSerializeAndDeserializeProto()
69 CueElement cueElement = CueElement.newBuilder().build(); in testSerializeAndDeserializeProto()
70 Step step = Step.newBuilder().build(); in testSerializeAndDeserializeProto()
71 LatLng latLng = LatLng.newBuilder().build(); in testSerializeAndDeserializeProto()
72 Destination destination = Destination.newBuilder().build(); in testSerializeAndDeserializeProto()
[all …]
DCarPropertyConfigTest.java34 .newBuilder(Float.class, FLOAT_PROPERTY_ID, CAR_AREA_TYPE) in createFloatPropertyConfig()
77 .newBuilder(Integer.class, INT_PROPERTY_ID, CAR_AREA_TYPE) in testWriteReadIntegerValue()
100 .newBuilder(Long.class, LONG_PROPERTY_ID, CAR_AREA_TYPE) in testWriteReadLongValue()
121 .newBuilder(Integer[].class, INT_ARRAY_PROPERTY_ID, CAR_AREA_TYPE) in testWriteReadIntegerArray()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java126 navigationStateArray[0] = NavigationStateProto.newBuilder() in getNavStateData()
127 .addSteps(Step.newBuilder() in getNavStateData()
128 .setManeuver(Maneuver.newBuilder() in getNavStateData()
131 .setDistance(Distance.newBuilder() in getNavStateData()
136 .setCue(Cue.newBuilder() in getNavStateData()
137 .addElements(CueElement.newBuilder() in getNavStateData()
140 .addElements(CueElement.newBuilder() in getNavStateData()
142 .setImage(NavigationState.ImageReference.newBuilder() in getNavStateData()
152 .addLanes(Lane.newBuilder() in getNavStateData()
153 .addLaneDirections(LaneDirection.newBuilder() in getNavStateData()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDrivingRestrictionsTest.java65 .newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in configureMockedHal()
69 .newBuilder(VehicleProperty.PARKING_BRAKE_ON) in configureMockedHal()
73 .newBuilder(VehicleProperty.GEAR_SELECTION) in configureMockedHal()
99 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in testDrivingStateChange()
109 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in testDrivingStateChange()
119 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in testDrivingStateChange()
131 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in testDrivingStateChange()
147 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in testDrivingStateChange()
166 VehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in testDrivingStateChange()
189 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in testDrivingStateChangeForMalformedInputs()
[all …]
DCarSensorManagerTest.java51 VehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in configureMockedHal()
55 VehiclePropValueBuilder.newBuilder(VehicleProperty.PERF_VEHICLE_SPEED) in configureMockedHal()
59 VehiclePropValueBuilder.newBuilder(VehicleProperty.FUEL_LEVEL) in configureMockedHal()
63 VehiclePropValueBuilder.newBuilder(VehicleProperty.PARKING_BRAKE_ON) in configureMockedHal()
67 VehiclePropValueBuilder.newBuilder(VehicleProperty.CURRENT_GEAR) in configureMockedHal()
71 VehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in configureMockedHal()
75 VehiclePropValueBuilder.newBuilder(VehicleProperty.IGNITION_STATE) in configureMockedHal()
162 VehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in testEvents()
186 VehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in testEvents()
211 value = VehiclePropValueBuilder.newBuilder(VehicleProperty.NIGHT_MODE) in testEvents()
[all …]
DCarVendorExtensionManagerTest.java94 VehiclePropConfigBuilder.newBuilder(CUSTOM_GLOBAL_INT_PROP_ID)
97 VehiclePropConfigBuilder.newBuilder(CUSTOM_ZONED_FLOAT_PROP_ID)
102 VehiclePropConfigBuilder.newBuilder(CUSTOM_BYTES_PROP_ID_1)
105 VehiclePropConfigBuilder.newBuilder(CUSTOM_BYTES_PROP_ID_2).build(),
106 VehiclePropConfigBuilder.newBuilder(CUSTOM_STRING_PROP_ID).build(),
107 VehiclePropConfigBuilder.newBuilder(CUSTOM_GLOBAL_LONG_PROP_ID).build(),
108 VehiclePropConfigBuilder.newBuilder(CUSTOM_INT_ARRAY_PROP_ID).build(),
109 VehiclePropConfigBuilder.newBuilder(CUSTOM_LONG_ARRAY_PROP_ID).build(),
DCarStorageMonitoringTest.java193 WearEstimateRecord.Builder.newBuilder()
198 WearEstimateRecord.Builder.newBuilder()
203 WearEstimateRecord.Builder.newBuilder()
213 WearEstimateRecord.Builder.newBuilder()
218 WearEstimateRecord.Builder.newBuilder()
223 WearEstimateRecord.Builder.newBuilder()
233 WearEstimateRecord.Builder.newBuilder()
238 WearEstimateRecord.Builder.newBuilder()
243 WearEstimateRecord.Builder.newBuilder()
DCarHvacManagerTest.java177 VehiclePropValue v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_DEFROSTER) in testEvent()
190 v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_TEMPERATURE_CURRENT) in testEvent()
203 v = VehiclePropValueBuilder.newBuilder(VehicleProperty.HVAC_FAN_SPEED) in testEvent()
236 VehiclePropValue dummyValue = VehiclePropValueBuilder.newBuilder(property) in onPropertySubscribe()
DMockedCarTestBase.java216 VehiclePropConfigBuilder builder = VehiclePropConfigBuilder.newBuilder(propertyId); in addProperty()
222 VehiclePropConfigBuilder builder = VehiclePropConfigBuilder.newBuilder(propertyId); in addProperty()
229 VehiclePropConfigBuilder builder = VehiclePropConfigBuilder.newBuilder(propertyId); in addProperty()
236 VehiclePropConfigBuilder builder = VehiclePropConfigBuilder.newBuilder(propertyId) in addStaticProperty()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DSettingsContextualCardProvider.java36 ContextualCard.newBuilder() in getContextualCards()
42 ContextualCard.newBuilder() in getContextualCards()
48 ContextualCard.newBuilder() in getContextualCards()
54 ContextualCard.newBuilder() in getContextualCards()
62 ContextualCard.newBuilder() in getContextualCards()
70 ContextualCard.newBuilder() in getContextualCards()
76 ContextualCard.newBuilder() in getContextualCards()
82 ContextualCard.newBuilder() in getContextualCards()
87 final ContextualCardList cards = ContextualCardList.newBuilder() in getContextualCards()
/packages/apps/Car/libs/EncryptionRunner/src/android/car/encryptionrunner/
DDummyEncryptionRunner.java65 return HandshakeMessage.newBuilder() in initHandshake()
80 return HandshakeMessage.newBuilder() in respondToInitRequest()
107 return HandshakeMessage.newBuilder() in continueHandshake()
120 return HandshakeMessage.newBuilder() in continueHandshake()
135 return HandshakeMessage.newBuilder() in authenticateReconnection()
147 return HandshakeMessage.newBuilder() in initReconnectAuthentication()
164 return HandshakeMessage.newBuilder().setKey(new DummyKey()).setHandshakeState( in verifyPin()
DUkey2EncryptionRunner.java75 return HandshakeMessage.newBuilder() in initHandshake()
103 return HandshakeMessage.newBuilder() in respondToInitRequest()
145 return HandshakeMessage.newBuilder() in continueHandshake()
151 return HandshakeMessage.newBuilder() in continueHandshake()
219 return HandshakeMessage.newBuilder() in verifyPin()
264 return HandshakeMessage.newBuilder() in authenticateReconnection()
276 return HandshakeMessage.newBuilder() in authenticateReconnection()
311 return HandshakeMessage.newBuilder() in initReconnectAuthentication()
316 return HandshakeMessage.newBuilder() in initReconnectAuthentication()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DSettingsContextualCardProvider.java33 ContextualCard.newBuilder() in getContextualCards()
39 ContextualCard.newBuilder() in getContextualCards()
45 ContextualCard.newBuilder() in getContextualCards()
51 ContextualCard.newBuilder() in getContextualCards()
59 ContextualCard.newBuilder() in getContextualCards()
64 final ContextualCardList cards = ContextualCardList.newBuilder() in getContextualCards()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DMetricsLoggerTest.java44 MetricsLogger.dumpProto(BluetoothLog.newBuilder()); in setUp()
50 MetricsLogger.dumpProto(BluetoothLog.newBuilder()); in tearDown()
59 BluetoothLog.Builder metricsBuilder = BluetoothLog.newBuilder(); in testLogProfileConnectionEvent()
67 BluetoothLog.Builder metricsBuilderAfterDump = BluetoothLog.newBuilder(); in testLogProfileConnectionEvent()
81 BluetoothLog.Builder metricsBuilder = BluetoothLog.newBuilder(); in testLogProfileConnectionEventMultipleProfile()
94 BluetoothLog.Builder metricsBuilderAfterDump = BluetoothLog.newBuilder(); in testLogProfileConnectionEventMultipleProfile()
/packages/services/Car/EncryptionRunner/src/android/car/encryptionrunner/
DDummyEncryptionRunner.java61 return HandshakeMessage.newBuilder() in initHandshake()
76 return HandshakeMessage.newBuilder() in respondToInitRequest()
99 return HandshakeMessage.newBuilder() in continueHandshake()
108 return HandshakeMessage.newBuilder() in continueHandshake()
129 return HandshakeMessage.newBuilder() in verifyPin()
DUkey2EncryptionRunner.java47 return HandshakeMessage.newBuilder() in initHandshake()
69 return HandshakeMessage.newBuilder() in respondToInitRequest()
110 return HandshakeMessage.newBuilder() in continueHandshake()
168 return HandshakeMessage.newBuilder() in verifyPin()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/notificationmsg/
DNotificationMsgDelegate.java109 Action action = Action.newBuilder() in dismiss()
113 return CarToPhoneMessage.newBuilder() in dismiss()
122 Action action = Action.newBuilder() in markAsRead()
126 return CarToPhoneMessage.newBuilder() in markAsRead()
146 MapEntry entry = MapEntry.newBuilder() in reply()
150 Action action = Action.newBuilder() in reply()
155 return CarToPhoneMessage.newBuilder() in reply()
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarImporterTest.java95 mCalendarsProto = Calendars.newBuilder() in setUp()
96 .addCalendar(Calendar.newBuilder() in setUp()
254 Event.Builder builder = Event.newBuilder()
259 .setStartDate(Timestamp.newBuilder().setSeconds(startTimeSecs))
260 .setEndDate(Timestamp.newBuilder().setSeconds(endTimeSecs))
261 .setTimeZone(TimeZone.newBuilder().setName(timeZone));
270 return Attendee.newBuilder()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java54 NetworkValidationReported.newBuilder();
55 private final ProbeEvents.Builder mProbeEventsBuilder = ProbeEvents.newBuilder();
56 private final CapportApiData.Builder mCapportApiDataBuilder = CapportApiData.newBuilder();
200 final ProbeEvent.Builder probeEventBuilder = ProbeEvent.newBuilder() in addProbeEvent()
/packages/apps/TV/common/src/com/android/tv/common/compat/internal/
DRecordingSessionCompatProcessor.java60 NotifyDevToast devMessage = NotifyDevToast.newBuilder().setMessage(message).build(); in notifyDevToast()
68 RecordingStarted event = RecordingStarted.newBuilder().setUri(uri).build(); in notifyRecordingStarted()
76 return RecordingSessionEvent.newBuilder().setCompatVersion(Constants.TIF_COMPAT_VERSION); in createSessionEvent()
DTifSessionCompatProcessor.java58 NotifyDevToast devMessage = NotifyDevToast.newBuilder().setMessage(message).build(); in notifyDevToast()
66 NotifySignalStrength.newBuilder().setSignalStrength(value).build(); in notifySignalStrength()
73 return SessionEvent.newBuilder().setCompatVersion(Constants.TIF_COMPAT_VERSION); in createSessionEvent()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DCarEmulator.java67 VehiclePropConfigBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in init()
81 VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT) in injectKey()
98 return VehiclePropValueBuilder.newBuilder(VehicleProperty.HW_KEY_INPUT)
/packages/services/Car/service/src/com/android/car/trust/
DBLEMessageV1Factory.java97 return BLEMessage.newBuilder() in makeAcknowledgementMessage()
118 return BLEMessage.newBuilder() in makeBLEMessage()
151 bleMessages.add(BLEMessage.newBuilder() in makeBLEMessages()
/packages/apps/TV/common/src/com/android/tv/common/flags/impl/
DDefaultCloudEpgFlags.java27 StringListParam.newBuilder()
49 StringListParam.newBuilder() in setThirdPartyEpgInputCsv()
/packages/apps/Dialer/java/com/android/contacts/common/widget/
DSelectPhoneAccountDialogOptionsUtil.java47 SelectPhoneAccountDialogOptions.newBuilder(); in builderWithAccounts()
51 SelectPhoneAccountDialogOptions.Entry.newBuilder(), phoneAccountHandle)); in builderWithAccounts()

123456