/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsPublisherSubscriberTest.java | 203 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/ |
D | ApplicationPoseSource.java | 65 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()
|
D | RotationPoseSource.java | 103 publish(new Pose(Vector3.ORIGIN, Quaternion.multiply(mRotator, base))); in onSensorChanged()
|
D | SixDofPoseSource.java | 113 publish(new Pose(position, Quaternion.multiply(mRotator, rotation))); in onSensorChanged()
|
D | PoseSourceBase.java | 115 protected void publish(@NonNull Pose pose) { in publish() method in PoseSourceBase
|
D | GyroPoseSource.java | 127 publish(new Pose( in onSensorChanged()
|
D | IntegPoseSource.java | 162 publish(new Pose(mPosition, Quaternion.multiply(mRotator, base))); in onSensorChanged()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareServiceImplTest.java | 315 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 …]
|
D | WifiAwareStateManagerTest.java | 811 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 …]
|
D | TestUtils.java | 64 public boolean publish(short transactionId, byte publishId, PublishConfig publishConfig, in publish() method in TestUtils.MonitoredWifiAwareNativeApi
|
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/aware/ |
D | wifi_aware_test.py | 65 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/ |
D | WifiAwareManagerTest.java | 228 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/ |
D | WifiAwareSession.java | 172 public void publish(@NonNull PublishConfig publishConfig, in publish() method in WifiAwareSession 183 mgr.publish(mClientId, (handler == null) ? Looper.getMainLooper() : handler.getLooper(), in publish()
|
D | IWifiAwareManager.aidl | 66 void publish(in String callingPackage, in String callingFeatureId, int clientId, in publish() method
|
D | WifiAwareManager.java | 594 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/ |
D | NullPoseSource.java | 61 publish(pose); in changePose()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | IWifiNanIface.java | 98 boolean publish(short transactionId, byte publishId, PublishConfig publishConfig, in publish() method
|
D | WifiNanIface.java | 383 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/ |
D | WifiAwareSnippet.java | 242 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/ |
D | VmsPublisherClientService.java | 146 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/ |
D | WifiNanIfaceAidlImplTest.java | 98 mDut.publish(tid, pid, pubDefault, null); in testDiscoveryRangingSettings() 99 mDut.publish(tid, pid, pubWithRanging, null); in testDiscoveryRangingSettings()
|
D | WifiNanIfaceHidlImplTest.java | 138 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/ |
D | WifiAwareServiceImpl.java | 467 public void publish(String callingPackage, String callingFeatureId, int clientId, in publish() method in WifiAwareServiceImpl 500 mStateManager.publish(clientId, publishConfig, callback); in publish()
|
D | WifiAwareNativeApi.java | 408 public boolean publish(short transactionId, byte publishId, PublishConfig publishConfig, in publish() method in WifiAwareNativeApi 421 return iface.publish(transactionId, publishId, publishConfig, nik); in publish()
|
D | WifiAwareDiscoverySessionState.java | 246 boolean success = mWifiAwareNativeApi.publish(transactionId, mPubSubId, config, nik); in updatePublish()
|