/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsPublisherSubscriberTest.java | 51 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 …]
|
D | VmsSubscriberManagerTest.java | 78 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 …]
|
D | VmsPublisherClientServiceTest.java | 43 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/ |
D | VmsPublisherServiceTest.java | 74 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/ |
D | VmsHalServiceTest.java | 79 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/ |
D | IndexDatabaseHelper.java | 74 String PAYLOAD = "payload"; field 135 IndexColumns.PAYLOAD +
|
D | DatabaseIndexingManager.java | 35 … 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/ |
D | SearchIndexablesContractTest.java | 66 assertThat(SearchIndexablesContract.RawData.PAYLOAD) in testRawColumns_matchContractIndexing()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | CursorToSearchResultConverter.java | 137 IndexDatabaseHelper.IndexColumns.PAYLOAD)); in buildSingleSearchResultFromCursor()
|
D | DatabaseResultTask.java | 71 IndexColumns.PAYLOAD
|