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.java56 private static final byte[] PAYLOAD = {0xa, 0xb}; field in VmsPublisherSubscriberTest
203 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring()
204 assertDataMessage(SUBSCRIPTION_LAYER, PAYLOAD); in testStartMonitoring()
210 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring_AfterPublish()
221 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring_MultipleLayers()
222 assertDataMessage(SUBSCRIPTION_LAYER, PAYLOAD); in testStartMonitoring_MultipleLayers()
233 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring_MultiplePublishers()
234 assertDataMessage(SUBSCRIPTION_LAYER, PAYLOAD); in testStartMonitoring_MultiplePublishers()
248 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStopMonitoring()
259 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testSubscribe()
[all …]
DVmsSubscriberManagerTest.java81 private static final byte[] PAYLOAD = {0xa, 0xb}; field in VmsSubscriberManagerTest
96 PAYLOAD); in testSubscribe()
100 assertArrayEquals(PAYLOAD, message.second); in testSubscribe()
116 PAYLOAD); in testSubscribeToPublisher()
134 PAYLOAD); in testSubscribeFromPublisher()
138 assertArrayEquals(PAYLOAD, message.second); in testSubscribeFromPublisher()
155 PAYLOAD); in testUnsubscribe()
173 PAYLOAD); in testSubscribeFromWrongPublisher()
192 PAYLOAD); in testUnsubscribeFromPublisher()
210 PAYLOAD); in testSubscribeAll()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsBrokerServiceTest.java102 private static final byte[] PAYLOAD = {1, 2, 3, 4, 5, 6, 7, 8}; field in VmsBrokerServiceTest
2533 () -> mBrokerService.publishPacket(new Binder(), providerId, LAYER1, PAYLOAD)); in testPublishPacket_UnknownClient()
2543 () -> mBrokerService.publishPacket(mClientToken1, providerId, LAYER1, PAYLOAD)); in testPublishPacket_UnknownOffering()
2553 mBrokerService.publishPacket(mClientToken1, 12345, LAYER1, PAYLOAD); in testPublishPacket_UnknownOffering_LegacyClient()
2555 verify(mClientLog1).logPacketSent(LAYER1, PAYLOAD.length); in testPublishPacket_UnknownOffering_LegacyClient()
2556 verify(mClientLog1).logPacketReceived(LAYER1, PAYLOAD.length); in testPublishPacket_UnknownOffering_LegacyClient()
2557 verifyPacketReceived(mClientCallback1, 12345, LAYER1, PAYLOAD); in testPublishPacket_UnknownOffering_LegacyClient()
2570 mBrokerService.publishPacket(mClientToken1, providerId, LAYER1, PAYLOAD); in testPublishPacket_NoSubscribers()
2572 verify(mClientLog1).logPacketSent(LAYER1, PAYLOAD.length); in testPublishPacket_NoSubscribers()
2573 verify(mNoSubscribersLog).logPacketDropped(LAYER1, PAYLOAD.length); in testPublishPacket_NoSubscribers()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java76 private static final byte[] PAYLOAD = new byte[]{1, 2, 3, 4}; field in VmsHalServiceTest
203 verify(mVmsClient).publishPacket(PUBLISHER_ID, LAYER, PAYLOAD); in testHandleDataEvent()
215 mEventCallback.onPacketReceived(PUBLISHER_ID, LAYER, PAYLOAD); in testOnPacketReceivedEvent()
328 when(mVmsClient.registerProvider(PAYLOAD)).thenReturn(PUBLISHER_ID); in testHandlePublisherIdRequestEvent()
359 when(mVmsClient.getProviderDescription(PUBLISHER_ID)).thenReturn(PAYLOAD); in testHandlePublisherInformationRequestEvent()
1028 byte[] dumpsysOutput = new byte[PAYLOAD.length]; in testDumpMetrics_VendorProperty()
1029 assertEquals(PAYLOAD.length, inputStream.read(dumpsysOutput)); in testDumpMetrics_VendorProperty()
1030 assertArrayEquals(PAYLOAD, dumpsysOutput); in testDumpMetrics_VendorProperty()
/packages/services/Car/tests/carservice_test/src/com/android/car/vms/
DVmsClientTest.java81 private static final byte[] PAYLOAD = {1, 2, 3, 4, 5, 6, 7, 8}; field in VmsClientTest
2169 () -> client.publishPacket(providerId, LAYER1, PAYLOAD)); in testPublishPacket_UnknownOffering()
2181 client.publishPacket(providerId, LAYER1, PAYLOAD); in testPublishPacket_NoSubscribers()
2198 client.publishPacket(providerId, LAYER1, PAYLOAD); in testPublishPacket_MonitorSubscriber_Enabled()
2201 verifyPacketReceived(mClientCallback1, providerId, LAYER1, PAYLOAD); in testPublishPacket_MonitorSubscriber_Enabled()
2216 client.publishPacket(providerId, LAYER1, PAYLOAD); in testPublishPacket_MonitorSubscriber_EnabledAndDisabled()
2235 client.publishPacket(providerId, LAYER1, PAYLOAD); in testPublishPacket_LayerSubscriber()
2238 verifyPacketReceived(mClientCallback1, providerId, LAYER1, PAYLOAD); in testPublishPacket_LayerSubscriber()
2255 client.publishPacket(providerId, LAYER1, PAYLOAD); in testPublishPacket_LayerSubscriber_Unsubscribe()
2274 client.publishPacket(providerId, LAYER1, PAYLOAD); in testPublishPacket_LayerSubscriber_DifferentLayer()
[all …]
/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/legacy_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