Home
last modified time | relevance | path

Searched refs:getValue (Results 1 – 25 of 1008) sorted by relevance

12345678910>>...41

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalTest.java252 mHostapdDeathCaptor.getValue().serviceDied(mDeathRecipientCookieCaptor.getValue()); in testDeathHandling()
265 mHostapdDeathCaptor.getValue().serviceDied(mDeathRecipientCookieCaptor.getValue() - 1); in testStaleDeathHandling()
290 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_Band2G()
291 assertTrue(mIfaceParamsCaptor.getValue().hwModeParams.enable80211N); in testAddAccessPointSuccess_Psk_Band2G()
292 assertFalse(mIfaceParamsCaptor.getValue().hwModeParams.enable80211AC); in testAddAccessPointSuccess_Psk_Band2G()
293 assertEquals(IHostapd.Band.BAND_2_4_GHZ, mIfaceParamsCaptor.getValue().channelParams.band); in testAddAccessPointSuccess_Psk_Band2G()
294 assertFalse(mIfaceParamsCaptor.getValue().channelParams.enableAcs); in testAddAccessPointSuccess_Psk_Band2G()
295 assertFalse(mIfaceParamsCaptor.getValue().channelParams.acsShouldExcludeDfs); in testAddAccessPointSuccess_Psk_Band2G()
296 assertEquals(apChannel, mIfaceParamsCaptor.getValue().channelParams.channel); in testAddAccessPointSuccess_Psk_Band2G()
299 mNetworkParamsCaptor.getValue().ssid); in testAddAccessPointSuccess_Psk_Band2G()
[all …]
DWifiMonitorTest.java93 Message message = messageCaptor.getValue(); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
113 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToErrorWepProhibhited()
114 assertEquals(WifiManager.WPS_WEP_PROHIBITED, messageCaptor.getValue().arg1); in testBroadcastWpsEventFailDueToErrorWepProhibhited()
131 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToConfigAuthError()
132 assertEquals(WifiManager.WPS_AUTH_FAILURE, messageCaptor.getValue().arg1); in testBroadcastWpsEventFailDueToConfigAuthError()
149 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToConfigPbcOverlapError()
150 assertEquals(WifiManager.WPS_OVERLAP_ERROR, messageCaptor.getValue().arg1); in testBroadcastWpsEventFailDueToConfigPbcOverlapError()
167 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToConfigError()
168 assertEquals(WifiManager.ERROR, messageCaptor.getValue().arg1); in testBroadcastWpsEventFailDueToConfigError()
169 assertEquals(WpsConfigError.MSG_TIMEOUT, messageCaptor.getValue().arg2); in testBroadcastWpsEventFailDueToConfigError()
[all …]
DWifiCountryCodeTest.java89 mChangeListenerCaptor.getValue() in setUp()
90 .onDriverCountryCodeChanged(mSetCountryCodeCaptor.getValue()); in setUp()
132 mModeChangeCallbackCaptor.getValue().onActiveModeManagerAdded(mClientModeManager); in useDefaultCountryCode()
134 mClientModeImplListenerCaptor.getValue().onConnectionStart(mClientModeManager); in useDefaultCountryCode()
147 mModeChangeCallbackCaptor.getValue().onActiveModeManagerAdded(mClientModeManager); in useTelephonyCountryCodeOnBootup()
149 mClientModeImplListenerCaptor.getValue().onConnectionStart(mClientModeManager); in useTelephonyCountryCodeOnBootup()
163 mModeChangeCallbackCaptor.getValue().onActiveModeManagerAdded(mClientModeManager); in useTelephonyCountryCodeOnChange()
165 mClientModeImplListenerCaptor.getValue().onConnectionStart(mClientModeManager); in useTelephonyCountryCodeOnChange()
177 mModeChangeCallbackCaptor.getValue().onActiveModeManagerAdded(mClientModeManager); in telephonyCountryCodeChangeAfterSupplicantStarts()
182 mModeChangeCallbackCaptor.getValue().onActiveModeManagerRoleChanged(mClientModeManager); in telephonyCountryCodeChangeAfterSupplicantStarts()
[all …]
DMakeBeforeBreakManagerTest.java86 mCmiListenerCaptor.getValue().onInternetValidated(mNewPrimaryCmm); in makeBeforeBreakDisabled_noOp()
87 mModeChangeCallbackCaptor.getValue().onActiveModeManagerRemoved(mNewPrimaryCmm); in makeBeforeBreakDisabled_noOp()
88 mModeChangeCallbackCaptor.getValue().onActiveModeManagerRoleChanged(mNewPrimaryCmm); in makeBeforeBreakDisabled_noOp()
89 mModeChangeCallbackCaptor.getValue().onActiveModeManagerAdded(mNewPrimaryCmm); in makeBeforeBreakDisabled_noOp()
97 mCmiListenerCaptor.getValue().onInternetValidated(mNewPrimaryCmm); in onL3ValidatedNonSecondaryTransient_noOp()
105 mCmiListenerCaptor.getValue().onInternetValidated(mNewPrimaryCmm); in onL3Validated_noPrimary_immediatelyMakeValidatedNetworkPrimary()
112 mCmiListenerCaptor.getValue().onInternetValidated(mNewPrimaryCmm); in makeBeforeBreakSuccess()
121 mModeChangeCallbackCaptor.getValue().onActiveModeManagerRoleChanged(mOldPrimaryCmm); in makeBeforeBreakSuccess()
139 mModeChangeCallbackCaptor.getValue().onActiveModeManagerRoleChanged(mOldPrimaryCmm); in makeBeforeBreakEnded_mMakeBeforeBreakInfoCleared()
148 mCmiListenerCaptor.getValue().onInternetValidated(mNewPrimaryCmm); in modeChanged_anotherCmm_noOp()
[all …]
DWifiScoreReportTest.java305 NetworkScore networkScore = networkScoreCaptor.getValue(); in mbbNetworkForceKeepUp()
318 NetworkScore networkScore = networkScoreCaptor.getValue(); in mbbNetworkForceKeepUp()
340 NetworkScore networkScore = networkScoreCaptor.getValue(); in calculateAndReportScoreWhileLingering_sendLingeringScore()
354 NetworkScore networkScore = networkScoreCaptor.getValue(); in calculateAndReportScoreWhileLingering_sendLingeringScore()
376 NetworkScore networkScore = networkScoreCaptor.getValue(); in calculateAndReportScoreWhileLingering_sendLingeringScore()
409 NetworkScore networkScore = networkScoreCaptor.getValue(); in testExternalScorerWhileLingering_sendLingeringScore()
418 mExternalScoreUpdateObserverCbCaptor.getValue().notifyStatusUpdate(TEST_SESSION_ID, false); in testExternalScorerWhileLingering_sendLingeringScore()
510 NetworkScore ns = scoreCaptor.getValue(); in giveUpOnBadRssiWhenDataIsNotMoving()
937 mExternalScoreUpdateObserverCbCaptor.getValue().notifyScoreUpdate(-1, 49); in testFrameworkGetsUpdatesScore()
948 mExternalScoreUpdateObserverCbCaptor.getValue().notifyScoreUpdate( in testFrameworkGetsUpdatesScore()
[all …]
DScanRequestProxyTest.java238 assertTrue(mWorkSourceArgumentCaptor.getValue().equals( in testStartScanSuccess()
240 validateScanSettings(mScanSettingsArgumentCaptor.getValue(), false); in testStartScanSuccess()
255 assertTrue(mWorkSourceArgumentCaptor.getValue().equals( in testStartScanSuccessFromAppWithNetworkSettings()
257 validateScanSettings(mScanSettingsArgumentCaptor.getValue(), false, true); in testStartScanSuccessFromAppWithNetworkSettings()
261 mScanSettingsArgumentCaptor.getValue().is6GhzPscOnlyEnabled()); in testStartScanSuccessFromAppWithNetworkSettings()
275 assertEquals(mWorkSourceArgumentCaptor.getValue(), in testStartScanSuccessFromAppWithNetworkSetupWizard()
277 validateScanSettings(mScanSettingsArgumentCaptor.getValue(), false, true); in testStartScanSuccessFromAppWithNetworkSetupWizard()
296 assertEquals(mWorkSourceArgumentCaptor.getValue(), in testStartScanWithHiddenNetworkScanningDisabled()
298 validateScanSettings(mScanSettingsArgumentCaptor.getValue(), false); in testStartScanWithHiddenNetworkScanningDisabled()
319 assertEquals(mWorkSourceArgumentCaptor.getValue(), in testStartScanWithHiddenNetworkScanningEnabled()
[all …]
DWifiNativeInterfaceManagementTest.java256 mIfaceDestroyedListenerCaptor0.getValue(), mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownClientInterface()
269 mIfaceCallback0, mIfaceDestroyedListenerCaptor0.getValue(), in testSetupAndTeardownClientInterfaceForScan()
270 mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownClientInterfaceForScan()
286 mIfaceDestroyedListenerCaptor0.getValue(), mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownSoftApInterface()
308 mIfaceDestroyedListenerCaptor0.getValue(), mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq1()
310 mIfaceDestroyedListenerCaptor1.getValue(), mNetworkObserverCaptor1.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq1()
332 mIfaceDestroyedListenerCaptor1.getValue(), mNetworkObserverCaptor1.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq2()
334 mIfaceDestroyedListenerCaptor0.getValue(), mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq2()
357 mIfaceDestroyedListenerCaptor0.getValue(), mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq3()
359 mIfaceDestroyedListenerCaptor1.getValue(), mNetworkObserverCaptor1.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq3()
[all …]
DWifiNetworkFactoryTest.java269 mDataSource = dataSourceArgumentCaptor.getValue(); in setUp()
275 assertNotNull(mModeChangeCallbackCaptor.getValue()); in setUp()
283 mNetworkProvider = networkProviderArgumentCaptor.getValue(); in setUp()
840 sendUserSelectionSelect(mNetworkRequestUserSelectionCallback.getValue(), mSelectedNetwork); in testPeriodicScanCancelOnUserSelectNetwork()
844 verify(mAlarmManager).cancel(mPeriodicScanListenerArgumentCaptor.getValue()); in testPeriodicScanCancelOnUserSelectNetwork()
920 assertNotNull(matchedScanResultsCaptor.getValue()); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
922 validateScanResults(matchedScanResultsCaptor.getValue(), mTestScanDatas[0].getResults()[0]); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
925 matchedScanResultsCaptor.getValue().size()); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
961 assertNotNull(matchedScanResultsCaptor.getValue()); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult()
963 validateScanResults(matchedScanResultsCaptor.getValue(), mTestScanDatas[0].getResults()[0]); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java208 clientProxyCallback.getValue().onConnectSuccess(clientId); in testConnectFlow()
211 WifiAwareSession session = sessionCaptor.getValue(); in testConnectFlow()
221 inOrder.verify(mockAwareService).disconnect(eq(clientId), eq(binder.getValue())); in testConnectFlow()
253 clientProxyCallback.getValue().onConnectFail(reason); in testConnectFailure()
261 clientProxyCallback.getValue().onConnectSuccess(clientId); in testConnectFailure()
264 WifiAwareSession session = sessionCaptor.getValue(); in testConnectFailure()
291 clientProxyCallback.getValue().onConnectSuccess(clientId); in testInvalidConnectSequence()
299 clientProxyCallback.getValue().onConnectSuccess(clientId + 1); in testInvalidConnectSequence()
346 clientProxyCallback.getValue().onConnectSuccess(clientId); in testPublishFlow()
349 WifiAwareSession session = sessionCaptor.getValue(); in testPublishFlow()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DPrivacyChipViewControllerTest.java148 mRunnableArgumentCaptor.getValue().run(); in addPrivacyChipView_privacyChipViewPresent_micStatusSet()
172 mPicCallbackArgumentCaptor.getValue().onFlagAllChanged(true); in onPrivacyItemsChanged_micIsPartOfPrivacyItems_animateInCalled()
173 mPicCallbackArgumentCaptor.getValue().onFlagMicCameraChanged(true); in onPrivacyItemsChanged_micIsPartOfPrivacyItems_animateInCalled()
175 mPicCallbackArgumentCaptor.getValue() in onPrivacyItemsChanged_micIsPartOfPrivacyItems_animateInCalled()
188 mPicCallbackArgumentCaptor.getValue().onFlagAllChanged(true); in onPrivacyItemsChanged_micIsPartOfPrivacyItemsTwice_animateInCalledOnce()
189 mPicCallbackArgumentCaptor.getValue().onFlagMicCameraChanged(true); in onPrivacyItemsChanged_micIsPartOfPrivacyItemsTwice_animateInCalledOnce()
191 mPicCallbackArgumentCaptor.getValue() in onPrivacyItemsChanged_micIsPartOfPrivacyItemsTwice_animateInCalledOnce()
193 mPicCallbackArgumentCaptor.getValue() in onPrivacyItemsChanged_micIsPartOfPrivacyItemsTwice_animateInCalledOnce()
206 mPicCallbackArgumentCaptor.getValue().onFlagAllChanged(true); in onPrivacyItemsChanged_micIsNotPartOfPrivacyItems_animateOutCalled()
207 mPicCallbackArgumentCaptor.getValue().onFlagMicCameraChanged(true); in onPrivacyItemsChanged_micIsNotPartOfPrivacyItems_animateOutCalled()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java191 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in setUp()
289 mDut.onConfigSuccessResponse(transactionId.getValue()); in testRequestMacAddresses()
307 mDut.onSessionConfigSuccessResponse(transactionId.getValue(), false, subscribeId1); in testRequestMacAddresses()
315 mDut.onSessionConfigSuccessResponse(transactionId.getValue(), false, subscribeId2); in testRequestMacAddresses()
391 mDut.onConfigSuccessResponse(transactionId.getValue()); in testAwareDataPathInterfaceUpDown()
401 mDut.onDisableResponse(transactionId.getValue(), NanStatusType.SUCCESS); in testAwareDataPathInterfaceUpDown()
436 mDut.onDisableResponse(transactionId.getValue(), NanStatusType.SUCCESS); in testDisableUsageDisablesApis()
482 mDut.onConfigSuccessResponse(transactionId.getValue()); in testDisableUsageFlow()
487 collector.checkThat("num of clients", sparseArrayCaptor.getValue().size(), equalTo(1)); in testDisableUsageFlow()
499 mDut.onDisableResponse(transactionId.getValue(), NanStatusType.SUCCESS); in testDisableUsageFlow()
[all …]
DWifiAwareDataPathStateManagerTest.java221 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), capabilities); in testCreateDeleteAllInterfaces()
231 equalTo(interfaceName.getValue())); in testCreateDeleteAllInterfaces()
232 mDut.onCreateDataPathInterfaceResponse(transactionId.getValue(), true, 0); in testCreateDeleteAllInterfaces()
246 interfaceName.getValue().substring(sAwareInterfacePrefix.length())); in testCreateDeleteAllInterfaces()
249 mDut.onDeleteDataPathInterfaceResponse(transactionId.getValue(), false, 0); in testCreateDeleteAllInterfaces()
251 mDut.onDeleteDataPathInterfaceResponse(transactionId.getValue(), true, 0); in testCreateDeleteAllInterfaces()
268 sAwareInterfacePrefix + i, equalTo(interfaceName.getValue())); in testCreateDeleteAllInterfaces()
269 mDut.onDeleteDataPathInterfaceResponse(transactionId.getValue(), true, 0); in testCreateDeleteAllInterfaces()
275 equalTo(interfaceName.getValue())); in testCreateDeleteAllInterfaces()
276 mDut.onCreateDataPathInterfaceResponse(transactionId.getValue(), true, 0); in testCreateDeleteAllInterfaces()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DUrlQuerySanitizerTest.java83 assertEquals(bookName, uqs.getValue(book)); in testUrlQuerySanitizer()
84 assertEquals(bookPrice, uqs.getValue(price)); in testUrlQuerySanitizer()
85 assertNull(uqs.getValue(notExistPar)); in testUrlQuerySanitizer()
92 assertEquals(bookName, uqs.getValue(book)); in testUrlQuerySanitizer()
95 assertEquals(bookPrice, uqs.getValue(price)); in testUrlQuerySanitizer()
97 assertNull(uqs.getValue(notExistPar)); in testUrlQuerySanitizer()
107 assertEquals(EXPECTED_UNDERLINE_NAME, uqs.getValue(NAME)); in testUrlQuerySanitizer()
108 assertEquals(EXPECTED_AGE, uqs.getValue(AGE)); in testUrlQuerySanitizer()
109 assertEquals(EXPECTED_HEIGHT, uqs.getValue(HEIGHT)); in testUrlQuerySanitizer()
110 assertNull(uqs.getValue(notExistPar)); in testUrlQuerySanitizer()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterColorBorderRepresentation.java109 if (border.mParamColor.getValue() == mParamColor.getValue() in equals()
110 && border.mParamRadius.getValue() == mParamRadius.getValue() in equals()
111 && border.mParamSize.getValue() == mParamSize.getValue()) { in equals()
136 return mParamColor.getValue(); in getColor()
144 return mParamSize.getValue(); in getBorderSize()
152 return mParamRadius.getValue(); in getBorderRadius()
177 writer.value(mParamSize.getValue()); in serializeRepresentation()
179 writer.value(mParamRadius.getValue()); in serializeRepresentation()
181 writer.value(mParamColor.getValue()); in serializeRepresentation()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java137 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall()
140 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall()
199 assertMessageArgEquality(correctArgs, captor.getValue());
202 assertMessageArgEquality(correctArgs, captor.getValue());
236 assertMessageArgEquality(correctArgs, captor.getValue());
237 assertMessageArgEquality(correctArgs, captor.getValue());
271 assertMessageArgEquality(expectedArgs, captor.getValue());
277 assertMessageArgEquality(expectedArgs, captor.getValue());
286 assertMessageArgEquality(expectedArgs, captor.getValue());
327 assertMessageArgEquality(expectedArgs, captor.getValue());
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java759 String [] permission = permissionCaptor.getValue(); in checkSendThisDeviceChangedBroadcast()
763 Intent intent = intentCaptor.getValue(); in checkSendThisDeviceChangedBroadcast()
796 Intent intent = intentCaptor.getValue(); in checkSendP2pPersistentGroupsChangedBroadcast()
1521 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenNoChannelUpdated()
1522 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenNoChannelUpdated()
1540 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenChannelUpdateWrongPkgName()
1541 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenChannelUpdateWrongPkgName()
1561 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenPermissionDenied()
1562 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenPermissionDenied()
1585 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenLocationModeDisabled()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDialogDetailsView.java141 double[] latlng = (double[]) detail.getValue(); in setDetails()
148 context, (Long) detail.getValue()); in setDetails()
152 value = "1".equals(detail.getValue()) in setDetails()
159 (MediaDetails.FlashState) detail.getValue(); in setDetails()
170 value = (String) detail.getValue(); in setDetails()
188 if (detail.getValue().toString().equalsIgnoreCase("0")) { in setDetails()
192 value = toLocalInteger(detail.getValue()); in setDetails()
197 if (detail.getValue().toString().equalsIgnoreCase("0")) { in setDetails()
201 value = toLocalInteger(detail.getValue()); in setDetails()
211 value = "\n" + detail.getValue().toString(); in setDetails()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
DCoexManagerTest.java394 mCoexSubscriptionsListenerCaptor.getValue().onSubscriptionsChanged(); in testTelephonyCallback_defaultAlgorithmEnabledXmlExists_registersWithTelephony()
431 mCoexSubscriptionsListenerCaptor.getValue().onSubscriptionsChanged(); in testGetCoexUnsafeChannels_neighboringLte40_returns2gNeighboringChannels()
437 telephonyCallbackCaptor.getValue().onPhysicalChannelConfigChanged(Arrays.asList( in testGetCoexUnsafeChannels_neighboringLte40_returns2gNeighboringChannels()
463 mCoexSubscriptionsListenerCaptor.getValue().onSubscriptionsChanged(); in testGetCoexUnsafeChannels_neighboringLte46_returns5gNeighboringChannels()
469 telephonyCallbackCaptor.getValue().onPhysicalChannelConfigChanged(Arrays.asList( in testGetCoexUnsafeChannels_neighboringLte46_returns5gNeighboringChannels()
496 mCoexSubscriptionsListenerCaptor.getValue().onSubscriptionsChanged(); in testGetCoexUnsafeChannels_channel27065Example_returnsCorrectWifiChannels()
502 telephonyCallbackCaptor.getValue().onPhysicalChannelConfigChanged(Arrays.asList( in testGetCoexUnsafeChannels_channel27065Example_returnsCorrectWifiChannels()
528 mCoexSubscriptionsListenerCaptor.getValue().onSubscriptionsChanged(); in testGetCoexUnsafeChannels_channel3350Example_returnsCorrectWifiChannels()
534 telephonyCallbackCaptor.getValue().onPhysicalChannelConfigChanged(Arrays.asList( in testGetCoexUnsafeChannels_channel3350Example_returnsCorrectWifiChannels()
560 mCoexSubscriptionsListenerCaptor.getValue().onSubscriptionsChanged(); in testGetCoexUnsafeChannels_entire2gBandUnsafe_excludesDefault2gChannel()
[all …]
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DRcsFeatureControllerTest.java99 mConnectorListener.getValue().connectionReady(mFeatureManager); in testRcsFeatureManagerConnectDisconnect()
106 mConnectorListener.getValue().connectionUnavailable( in testRcsFeatureManagerConnectDisconnect()
117 mConnectorListener.getValue().connectionReady(mFeatureManager); in testFeatureManagerConnectedAddRemoveFeature()
134 mConnectorListener.getValue().connectionReady(mFeatureManager); in testFeatureManagerConnectedRegister()
168 mConnectorListener.getValue().connectionReady(mFeatureManager); in testFeatureManagerConnectedHelper()
172 assertNotNull(captor.getValue()); in testFeatureManagerConnectedHelper()
174 captor.getValue().onDeregistered(REASON_DISCONNECTED); in testFeatureManagerConnectedHelper()
183 captor.getValue().onRegistering(attr); in testFeatureManagerConnectedHelper()
191 captor.getValue().onRegistered(attr); in testFeatureManagerConnectedHelper()
204 mConnectorListener.getValue().connectionUnavailable( in testFeatureManagerDisconnectedAddFeature()
[all …]
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/table/packed/
DIntValuePackedTableTest.java76 assertEquals(maxUnsignedInt, table.getEntry(1).getValue()); in valueSizeMax_unsigned()
77 assertEquals(minUnsignedInt, table.getEntry(2).getValue()); in valueSizeMax_unsigned()
99 assertEquals(maxSignedInt, table.getEntry(1).getValue()); in valueSizeMax_signed()
100 assertEquals(minSignedInt, table.getEntry(2).getValue()); in valueSizeMax_signed()
122 assertTrue(setOf(1, 2).contains(entry.getValue())); in addEntry_outOfOrder()
124 assertEquals(3, table.getEntry(101).getValue()); in addEntry_outOfOrder()
152 assertEquals(3456, intValuePackedTable.getEntry(3).getValue()); in getEntry_unsignedValue()
153 assertEquals(1234, intValuePackedTable.getEntry(1).getValue()); in getEntry_unsignedValue()
154 assertEquals(2345, intValuePackedTable.getEntry(2).getValue()); in getEntry_unsignedValue()
172 assertEquals(1234, intValuePackedTable.getEntryByIndex(0).getValue()); in getEntryByIndex()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DDetailsDialog.java98 context, (Long) detail.getValue());
102 value = "1".equals(detail.getValue())
109 (MediaDetails.FlashState) detail.getValue();
120 value = (String) detail.getValue();
138 if (detail.getValue().toString().equalsIgnoreCase("0")) {
142 value = toLocalInteger(detail.getValue());
147 if (detail.getValue().toString().equalsIgnoreCase("0")) {
151 value = toLocalInteger(detail.getValue());
161 value = "\n" + detail.getValue().toString();
162 path = detail.getValue().toString();
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java179 mIntentArgument.getValue()); in testStateTransition_DisconnectedToConnecting_Connect()
197 mIntentArgument.getValue()); in testStateTransition_DisconnectedToConnecting_StackConnected()
215 mIntentArgument.getValue()); in testStateTransition_DisconnectedToConnecting_StackConnecting()
250 mIntentArgument.getValue()); in testStateTransition_ConnectingToDisconnected_StackDisconnected()
269 mIntentArgument.getValue()); in testStateTransition_ConnectingToDisconnected_Timeout()
313 mIntentArgument.getValue()); in testStateTransition_ConnectingToConnected_StackSlcConnected()
336 mIntentArgument.getValue()); in testStateTransition_DisconnectingToDisconnected_StackDisconnected()
356 mIntentArgument.getValue()); in testStateTransition_DisconnectingToDisconnected_Timeout()
379 mIntentArgument.getValue()); in testStateTransition_DisconnectingToConnected_StackSlcCconnected()
399 mIntentArgument.getValue()); in testStateTransition_ConnectedToDisconnecting_Disconnect()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNat464XlatTest.java230 assertFalse(c.getValue().getStackedLinks().isEmpty());
231 assertTrue(c.getValue().getAllInterfaceNames().contains(STACKED_IFACE));
240 assertTrue(c.getValue().getStackedLinks().isEmpty());
241 assertFalse(c.getValue().getAllInterfaceNames().contains(STACKED_IFACE));
280 assertFalse(c.getValue().getStackedLinks().isEmpty());
281 assertTrue(c.getValue().getAllInterfaceNames().contains(STACKED_IFACE));
290 assertTrue(c.getValue().getStackedLinks().isEmpty());
291 assertFalse(c.getValue().getAllInterfaceNames().contains(STACKED_IFACE));
302 assertTrue(c.getValue().getStackedLinks().isEmpty());
303 assertFalse(c.getValue().getAllInterfaceNames().contains(STACKED_IFACE));
[all …]
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipEditor.java134 String getValue() { in getValue() method in SipEditor.PreferenceKey
138 return ((ListPreference) preference).getValue(); in getValue()
145 String oldValue = getValue(); in setValue()
150 getValue()); in setValue()
365 port = Integer.parseInt(PreferenceKey.Port.getValue()); in validateAndSetResult()
424 return PreferenceKey.Username.getValue() + "@" in getProfileName()
425 + PreferenceKey.DomainAddress.getValue(); in getProfileName()
430 PreferenceKey.Username.getValue(), in createSipProfile()
431 PreferenceKey.DomainAddress.getValue()) in createSipProfile()
433 .setPassword(PreferenceKey.Password.getValue()) in createSipProfile()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimSelectNotificationTest.java171 assertThat(nc.getValue().getId()).isEqualTo(ENABLE_MMS_NOTIFICATION_CHANNEL); in onReceiveEnableMms_notificationShouldSend()
172 assertThat(nc.getValue().getName()).isEqualTo(mFakeNotificationChannelTitle); in onReceiveEnableMms_notificationShouldSend()
173 assertThat(nc.getValue().getImportance()).isEqualTo(IMPORTANCE_HIGH); in onReceiveEnableMms_notificationShouldSend()
179 assertThat(notification.getValue().extras.getCharSequence(Notification.EXTRA_TITLE)) in onReceiveEnableMms_notificationShouldSend()
181 assertThat(notification.getValue().extras.getCharSequence(Notification.EXTRA_BIG_TEXT)) in onReceiveEnableMms_notificationShouldSend()
183 assertThat(notification.getValue().contentIntent).isNotNull(); in onReceiveEnableMms_notificationShouldSend()
227 Intent capturedIntent = intentCaptor.getValue(); in onReceivePrimarySubListChange_WithDataPickExtra_shouldStartActivity()
252 Intent capturedIntent = intentCaptor.getValue(); in onReceivePrimarySubListChange_WithDismissExtra_shouldDismiss()
275 assertThat(nc.getValue().getId()).isEqualTo(SIM_WARNING_NOTIFICATION_CHANNEL); in onReceivePrimarySubListChange_DualCdmaWarning_notificationShouldSend()
276 assertThat(nc.getValue().getName()).isEqualTo(mFakeDualCdmaWarningChannelTitle); in onReceivePrimarySubListChange_DualCdmaWarning_notificationShouldSend()
[all …]

12345678910>>...41