Home
last modified time | relevance | path

Searched refs:PAYLOAD (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherSubscriberTest.java51 private static final byte[] PAYLOAD = {0xa, 0xb}; field in VmsPublisherSubscriberTest
198 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring()
199 assertDataMessage(SUBSCRIPTION_LAYER, PAYLOAD); in testStartMonitoring()
205 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring_AfterPublish()
216 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring_MultipleLayers()
217 assertDataMessage(SUBSCRIPTION_LAYER, PAYLOAD); in testStartMonitoring_MultipleLayers()
228 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring_MultiplePublishers()
229 assertDataMessage(SUBSCRIPTION_LAYER, PAYLOAD); in testStartMonitoring_MultiplePublishers()
243 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStopMonitoring()
253 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testSubscribe()
[all …]
DVmsSubscriberManagerTest.java78 private static final byte[] PAYLOAD = {0xa, 0xb}; field in VmsSubscriberManagerTest
93 PAYLOAD); in testSubscribe()
97 assertArrayEquals(PAYLOAD, message.second); in testSubscribe()
113 PAYLOAD); in testSubscribeToPublisher()
131 PAYLOAD); in testSubscribeFromPublisher()
135 assertArrayEquals(PAYLOAD, message.second); in testSubscribeFromPublisher()
152 PAYLOAD); in testUnsubscribe()
170 PAYLOAD); in testSubscribeFromWrongPublisher()
189 PAYLOAD); in testUnsubscribeFromPublisher()
207 PAYLOAD); in testSubscribeAll()
[all …]
DVmsPublisherClientServiceTest.java43 public static final byte[] PAYLOAD = new byte[]{1, 1, 2, 3, 5, 8, 13}; field in VmsPublisherClientServiceTest
54 getMockPublisherClient().publish(MOCK_PUBLISHER_LAYER, MOCK_PUBLISHER_ID, PAYLOAD); in testPublish()
77 assertArrayEquals(PAYLOAD, payload); in testPublish()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsPublisherServiceTest.java74 private static final byte[] PAYLOAD = new byte[]{1, 2, 3, 4}; field in VmsPublisherServiceTest
207 PAYLOAD); in testPublish()
208 verify(mSubscriberClient).onVmsMessageReceived(LAYER, PAYLOAD); in testPublish()
209 verify(mSubscriberClient2).onVmsMessageReceived(LAYER, PAYLOAD); in testPublish()
211 verify(mPublisherLog).logPacketSent(LAYER, PAYLOAD.length); in testPublish()
212 verify(mSubscriberLog).logPacketReceived(LAYER, PAYLOAD.length); in testPublish()
213 verify(mSubscriberLog2).logPacketReceived(LAYER, PAYLOAD.length); in testPublish()
232 PAYLOAD); in testPublish_NoSubscribers()
234 verify(mPublisherLog).logPacketSent(LAYER, PAYLOAD.length); in testPublish_NoSubscribers()
235 verify(mNoSubscribersLog).logPacketDropped(LAYER, PAYLOAD.length); in testPublish_NoSubscribers()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java79 private static final byte[] PAYLOAD = new byte[]{1, 2, 3, 4}; field in VmsHalServiceTest
225 verify(mPublisherService).publish(mToken, LAYER, PUBLISHER_ID, PAYLOAD); in testHandleDataEvent()
334 when(mPublisherService.getPublisherId(PAYLOAD)).thenReturn(PUBLISHER_ID); in testHandlePublisherIdRequestEvent()
365 when(mSubscriberService.getPublisherInfo(PUBLISHER_ID)).thenReturn(PAYLOAD); in testHandlePublisherInformationRequestEvent()
1041 byte[] dumpsysOutput = new byte[PAYLOAD.length]; in testDumpMetrics_VendorProperty()
1042 assertEquals(PAYLOAD.length, inputStream.read(dumpsysOutput)); in testDumpMetrics_VendorProperty()
1043 assertArrayEquals(PAYLOAD, dumpsysOutput); in testDumpMetrics_VendorProperty()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexDatabaseHelper.java74 String PAYLOAD = "payload"; field
135 IndexColumns.PAYLOAD +
DDatabaseIndexingManager.java35 … static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.PAYLOAD;
234 values.put(PAYLOAD, dataRow.payload); in insertIndexData()
/packages/apps/Settings/tests/unit/src/com/android/settings/search/
DSearchIndexablesContractTest.java66 assertThat(SearchIndexablesContract.RawData.PAYLOAD) in testRawColumns_matchContractIndexing()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DCursorToSearchResultConverter.java137 IndexDatabaseHelper.IndexColumns.PAYLOAD)); in buildSingleSearchResultFromCursor()
DDatabaseResultTask.java71 IndexColumns.PAYLOAD