Home
last modified time | relevance | path

Searched refs:publish (Results 1 – 25 of 44) sorted by relevance

12

/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherSubscriberTest.java203 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring()
210 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring_AfterPublish()
221 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring_MultipleLayers()
224 mPublisher.publish(SUBSCRIPTION_LAYER_OTHER, publisherId, PAYLOAD_OTHER); in testStartMonitoring_MultipleLayers()
233 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStartMonitoring_MultiplePublishers()
237 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId2, PAYLOAD_OTHER); in testStartMonitoring_MultiplePublishers()
248 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testStopMonitoring()
259 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testSubscribe()
267 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testSubscribe_AfterPublish()
281 mPublisher.publish(SUBSCRIPTION_LAYER, publisherId, PAYLOAD); in testSubscribe_MultipleLayers()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/pose/
DApplicationPoseSource.java65 publish(pose); in applyPose()
86 publish(new Pose(new Vector3(v[0], v[1], v[2]), in applyPose()
89 publish(Pose.fromMatrix(new Matrix(v))); in applyPose()
DRotationPoseSource.java103 publish(new Pose(Vector3.ORIGIN, Quaternion.multiply(mRotator, base))); in onSensorChanged()
DSixDofPoseSource.java113 publish(new Pose(position, Quaternion.multiply(mRotator, rotation))); in onSensorChanged()
DPoseSourceBase.java115 protected void publish(@NonNull Pose pose) { in publish() method in PoseSourceBase
DGyroPoseSource.java127 publish(new Pose( in onSensorChanged()
DIntegPoseSource.java162 publish(new Pose(mPosition, Quaternion.multiply(mRotator, base))); in onSensorChanged()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java315 mDut.publish(mPackageName, mFeatureId, clientId, publishConfig, mSessionCallbackMock, in testFailOnAccessClientIdFromWrongUid()
318 verify(mAwareStateManagerMock).publish(clientId, publishConfig, mSessionCallbackMock); in testFailOnAccessClientIdFromWrongUid()
336 mDut.publish(mPackageName, mFeatureId, clientId, publishConfig, mockCallback, mExtras); in testFailOnPublishRangingWithoutRttFeature()
419 mDut.publish(mPackageName, mFeatureId, clientId, publishConfig, mockCallback, mExtras); in testPublish()
421 verify(mAwareStateManagerMock).publish(clientId, publishConfig, mockCallback); in testPublish()
435 mDut.publish(mPackageName, mFeatureId, clientId, publishConfig, mockCallback, mExtras); in testPublishPostT()
437 verify(mAwareStateManagerMock).publish(clientId, publishConfig, mockCallback); in testPublishPostT()
454 mDut.publish(mPackageName, mFeatureId, clientId, publishConfig, mockCallback, mExtras); in testPublishExceptionPostT()
798 mDut.publish(mPackageName, mFeatureId, clientId, publishConfig, mockCallback, mExtras); in testPublishWifiValidSecurityConfig()
800 verify(mAwareStateManagerMock).publish(clientId, publishConfig, mockCallback); in testPublishWifiValidSecurityConfig()
[all …]
DWifiAwareStateManagerTest.java811 mDut.publish(clientId, publishConfig, mockSessionCallback); in testHalNoResponseTimeout()
813 inOrder.verify(mMockNative).publish(anyShort(), eq((byte) 0), eq(publishConfig), isNull()); in testHalNoResponseTimeout()
822 mDut.publish(clientId, publishConfig, mockSessionCallback); in testHalNoResponseTimeout()
824 inOrder.verify(mMockNative).publish(transactionId.capture(), eq((byte) 0), in testHalNoResponseTimeout()
879 mDut.publish(clientId, publishConfig, mockSessionCallback); in testPublishFail()
881 inOrder.verify(mMockNative).publish(transactionId.capture(), eq((byte) 0), in testPublishFail()
893 when(mMockNative.publish(anyShort(), anyByte(), any(), any())).thenReturn(false); in testPublishFail()
895 mDut.publish(clientId, publishConfig, mockSessionCallback); in testPublishFail()
897 inOrder.verify(mMockNative).publish(transactionId.capture(), eq((byte) 0), in testPublishFail()
955 mDut.publish(clientId, publishConfig, mockSessionCallback); in testPublishSuccessTerminated()
[all …]
DTestUtils.java64 public boolean publish(short transactionId, byte publishId, PublishConfig publishConfig, in publish() method in TestUtils.MonitoredWifiAwareNativeApi
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/aware/
Dwifi_aware_test.py65 self.publisher.wifi_aware_snippet.publish(is_unsolicited, is_ranging_required, False)
85 self.publisher.wifi_aware_snippet.publish(is_unsolicited, is_ranging_required, True)
100 self.publisher.wifi_aware_snippet.publish(is_unsolicited, is_ranging_required, True)
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java228 session.publish(publishConfig, mockSessionCallback, mMockLooperHandler); in testConnectFlow()
229 inOrder.verify(mockAwareService).publish(any(), any(), eq(clientId), eq(publishConfig), in testConnectFlow()
237 session.publish(new PublishConfig.Builder().build(), mockSessionCallback, in testConnectFlow()
370 session.publish(publishConfig, mockSessionCallback, mMockLooperHandler); in testPublishFlow()
371 inOrder.verify(mockAwareService).publish(any(), any(), eq(clientId), eq(publishConfig), in testPublishFlow()
471 session.publish(publishConfig, mockSessionCallback, mMockLooperHandler); in testPublishRemoteTerminate()
472 inOrder.verify(mockAwareService).publish(any(), any(), eq(clientId), eq(publishConfig), in testPublishRemoteTerminate()
1042 session.publish(publishConfig, mockSessionCallback, mMockLooperHandler); in testNetworkSpecifierWithClient()
1043 inOrder.verify(mockAwareService).publish(any(), any(), eq(clientId), eq(publishConfig), in testNetworkSpecifierWithClient()
1347 session.publish(publishConfig, mockSessionCallback, mMockLooperHandler); in executeNetworkSpecifierWithClient()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DWifiAwareSession.java172 public void publish(@NonNull PublishConfig publishConfig, in publish() method in WifiAwareSession
183 mgr.publish(mClientId, (handler == null) ? Looper.getMainLooper() : handler.getLooper(), in publish()
DIWifiAwareManager.aidl66 void publish(in String callingPackage, in String callingFeatureId, int clientId, in publish() method
DWifiAwareManager.java594 public void publish(int clientId, Looper looper, PublishConfig publishConfig, in publish() method in WifiAwareManager
608 mService.publish(mContext.getOpPackageName(), mContext.getAttributionTag(), clientId, in publish()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/pose/
DNullPoseSource.java61 publish(pose); in changePose()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DIWifiNanIface.java98 boolean publish(short transactionId, byte publishId, PublishConfig publishConfig, in publish() method
DWifiNanIface.java383 public boolean publish(short transactionId, byte publishId, PublishConfig publishConfig, in publish() method in WifiNanIface
386 () -> mWifiNanIface.publish(transactionId, publishId, publishConfig, nik)); in publish()
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/
DWifiAwareSnippet.java242 public void publish(Boolean isUnsolicited, Boolean isRangingRequired, Boolean isPairingRequired) in publish() method in WifiAwareSnippet
265 mWifiAwareSession.publish(publishConfig, mDiscoveryCb, mHandler); in publish()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsPublisherClientService.java146 public final void publish(@NonNull VmsLayer layer, int publisherId, byte[] payload) { in publish() method in VmsPublisherClientService
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiNanIfaceAidlImplTest.java98 mDut.publish(tid, pid, pubDefault, null); in testDiscoveryRangingSettings()
99 mDut.publish(tid, pid, pubWithRanging, null); in testDiscoveryRangingSettings()
DWifiNanIfaceHidlImplTest.java138 mDut.publish(tid, pid, pubDefault, null); in testDiscoveryRangingSettings()
139 mDut.publish(tid, pid, pubWithRanging, null); in testDiscoveryRangingSettings()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java467 public void publish(String callingPackage, String callingFeatureId, int clientId, in publish() method in WifiAwareServiceImpl
500 mStateManager.publish(clientId, publishConfig, callback); in publish()
DWifiAwareNativeApi.java408 public boolean publish(short transactionId, byte publishId, PublishConfig publishConfig, in publish() method in WifiAwareNativeApi
421 return iface.publish(transactionId, publishId, publishConfig, nik); in publish()
DWifiAwareDiscoverySessionState.java246 boolean success = mWifiAwareNativeApi.publish(transactionId, mPubSubId, config, nik); in updatePublish()

12