Searched defs:mMockNative (Results 1 - 6 of 6) sorted by last modified time
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
H A D | WifiAwareDataPathStateManagerTest.java | 107 @Spy private TestUtils.MonitoredWifiAwareNativeApi mMockNative = field in class:WifiAwareDataPathStateManagerTest 161 mDut.setNative(mMockNativeManager, mMockNative); 185 mMockNative.validateUniqueTransactionIds(); 201 InOrder inOrder = inOrder(mMockNative); 206 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); 214 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), 229 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), 250 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), 257 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), 265 verifyNoMoreInteractions(mMockNative, mMockNwMg [all...] |
H A D | WifiAwareStateManagerTest.java | 112 @Spy private TestUtils.MonitoredWifiAwareNativeApi mMockNative = field in class:WifiAwareStateManagerTest 176 mDut.setNative(mMockNativeManager, mMockNative); 194 mMockNative.validateUniqueTransactionIds(); 263 mockSessionCallback2, mMockNative); 268 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); 275 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), 288 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), 296 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), 358 InOrder inOrder = inOrder(mMockContext, mMockNative, mMockAwareDataPathStatemanager, 365 inOrder.verify(mMockNative) [all...] |
/frameworks/base/services/robotests/src/com/android/server/location/ |
H A D | GnssBatchingProviderTest.java | 42 private GnssBatchingProviderNative mMockNative; field in class:GnssBatchingProviderTest 48 when(mMockNative.initBatching()).thenReturn(true); 49 when(mMockNative.startBatch(anyLong(), anyBoolean())).thenReturn(true); 50 when(mMockNative.stopBatch()).thenReturn(true); 51 when(mMockNative.getBatchSize()).thenReturn(BATCH_SIZE); 52 mTestProvider = new GnssBatchingProvider(mMockNative); 59 verify(mMockNative).startBatch(eq(PERIOD_NANOS), eq(WAKE_ON_FIFO_FULL)); 65 verify(mMockNative).stopBatch(); 71 verify(mMockNative).flushBatch(); 82 verify(mMockNative, time [all...] |
H A D | GnssGeofenceProviderTest.java | 44 private GnssGeofenceProvider.GnssGeofenceProviderNative mMockNative; field in class:GnssGeofenceProviderTest 50 when(mMockNative.addGeofence(anyInt(), anyDouble(), anyDouble(), anyDouble(), anyInt(), 52 when(mMockNative.pauseGeofence(anyInt())).thenReturn(true); 53 when(mMockNative.removeGeofence(anyInt())).thenReturn(true); 54 when(mMockNative.resumeGeofence(anyInt(), anyInt())).thenReturn(true); 55 mTestProvider = new GnssGeofenceProvider(Looper.myLooper(), mMockNative); 64 verify(mMockNative).addGeofence(eq(GEOFENCE_ID), eq(LATITUDE), eq(LONGITUDE), 73 verify(mMockNative).pauseGeofence(eq(GEOFENCE_ID)); 79 verify(mMockNative).removeGeofence(eq(GEOFENCE_ID)); 86 verify(mMockNative) [all...] |
H A D | GnssMeasurementsProviderTest.java | 36 private GnssMeasurementsProvider.GnssMeasurementProviderNative mMockNative; field in class:GnssMeasurementsProviderTest 42 when(mMockNative.startMeasurementCollection(anyBoolean())).thenReturn(true); 43 when(mMockNative.stopMeasurementCollection()).thenReturn(true); 46 new Handler(Looper.myLooper()), mMockNative) { 57 verify(mMockNative).startMeasurementCollection(anyBoolean()); 64 verify(mMockNative).stopMeasurementCollection(); 69 when(mMockNative.isMeasurementSupported()).thenReturn(true); 72 when(mMockNative.isMeasurementSupported()).thenReturn(false); 80 verify(mMockNative, times(2)).startMeasurementCollection(anyBoolean()); 88 verify(mMockNative, time [all...] |
H A D | GnssNavigationMessageProviderTest.java | 35 private GnssNavigationMessageProvider.GnssNavigationMessageProviderNative mMockNative; field in class:GnssNavigationMessageProviderTest 41 when(mMockNative.startNavigationMessageCollection()).thenReturn(true); 42 when(mMockNative.stopNavigationMessageCollection()).thenReturn(true); 45 mMockNative) { 56 verify(mMockNative).startNavigationMessageCollection(); 63 verify(mMockNative).stopNavigationMessageCollection(); 68 when(mMockNative.isNavigationMessageSupported()).thenReturn(true); 71 when(mMockNative.isNavigationMessageSupported()).thenReturn(false); 79 verify(mMockNative, times(2)).startNavigationMessageCollection(); 87 verify(mMockNative, time [all...] |
Completed in 152 milliseconds