Home
last modified time | relevance | path

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

12345678910>>...32

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DHostapdHalTest.java196 mHostapdDeathCaptor.getValue().serviceDied(mDeathRecipientCookieCaptor.getValue()); in testDeathHandling()
209 mHostapdDeathCaptor.getValue().serviceDied(mDeathRecipientCookieCaptor.getValue() - 1); in testStaleDeathHandling()
233 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_Band2G()
234 assertTrue(mIfaceParamsCaptor.getValue().hwModeParams.enable80211N); in testAddAccessPointSuccess_Psk_Band2G()
235 assertFalse(mIfaceParamsCaptor.getValue().hwModeParams.enable80211AC); in testAddAccessPointSuccess_Psk_Band2G()
236 assertEquals(IHostapd.Band.BAND_2_4_GHZ, mIfaceParamsCaptor.getValue().channelParams.band); in testAddAccessPointSuccess_Psk_Band2G()
237 assertFalse(mIfaceParamsCaptor.getValue().channelParams.enableAcs); in testAddAccessPointSuccess_Psk_Band2G()
238 assertFalse(mIfaceParamsCaptor.getValue().channelParams.acsShouldExcludeDfs); in testAddAccessPointSuccess_Psk_Band2G()
239 assertEquals(apChannel, mIfaceParamsCaptor.getValue().channelParams.channel); in testAddAccessPointSuccess_Psk_Band2G()
242 mNetworkParamsCaptor.getValue().ssid); in testAddAccessPointSuccess_Psk_Band2G()
[all …]
DWifiMonitorTest.java87 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
88 assertEquals(WifiManager.WPS_TKIP_ONLY_PROHIBITED, messageCaptor.getValue().arg1); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
105 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToErrorWepProhibhited()
106 assertEquals(WifiManager.WPS_WEP_PROHIBITED, messageCaptor.getValue().arg1); in testBroadcastWpsEventFailDueToErrorWepProhibhited()
123 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToConfigAuthError()
124 assertEquals(WifiManager.WPS_AUTH_FAILURE, messageCaptor.getValue().arg1); in testBroadcastWpsEventFailDueToConfigAuthError()
141 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToConfigPbcOverlapError()
142 assertEquals(WifiManager.WPS_OVERLAP_ERROR, messageCaptor.getValue().arg1); in testBroadcastWpsEventFailDueToConfigPbcOverlapError()
159 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToConfigError()
160 assertEquals(WifiManager.ERROR, messageCaptor.getValue().arg1); in testBroadcastWpsEventFailDueToConfigError()
[all …]
DWifiNativeInterfaceManagementTest.java231 mIfaceDestroyedListenerCaptor0.getValue(), mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownClientInterface()
244 mIfaceCallback0, mIfaceDestroyedListenerCaptor0.getValue(), in testSetupAndTeardownClientInterfaceForScan()
245 mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownClientInterfaceForScan()
260 mIfaceDestroyedListenerCaptor0.getValue(), mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownSoftApInterface()
282 mIfaceDestroyedListenerCaptor0.getValue(), mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq1()
284 mIfaceDestroyedListenerCaptor1.getValue(), mNetworkObserverCaptor1.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq1()
306 mIfaceDestroyedListenerCaptor1.getValue(), mNetworkObserverCaptor1.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq2()
308 mIfaceDestroyedListenerCaptor0.getValue(), mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq2()
330 mIfaceDestroyedListenerCaptor0.getValue(), mNetworkObserverCaptor0.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq3()
332 mIfaceDestroyedListenerCaptor1.getValue(), mNetworkObserverCaptor1.getValue()); in testSetupAndTeardownClientAndSoftApInterface_Seq3()
[all …]
DScanRequestProxyTest.java188 assertTrue(mWorkSourceArgumentCaptor.getValue().equals( in testStartScanSuccess()
190 validateScanSettings(mScanSettingsArgumentCaptor.getValue(), false); in testStartScanSuccess()
205 assertTrue(mWorkSourceArgumentCaptor.getValue().equals( in testStartScanSuccessFromAppWithNetworkSettings()
207 validateScanSettings(mScanSettingsArgumentCaptor.getValue(), false, true); in testStartScanSuccessFromAppWithNetworkSettings()
220 assertEquals(mWorkSourceArgumentCaptor.getValue(), in testStartScanSuccessFromAppWithNetworkSetupWizard()
222 validateScanSettings(mScanSettingsArgumentCaptor.getValue(), false, true); in testStartScanSuccessFromAppWithNetworkSetupWizard()
240 assertEquals(mWorkSourceArgumentCaptor.getValue(), in testStartScanWithHiddenNetworkScanningDisabled()
242 validateScanSettings(mScanSettingsArgumentCaptor.getValue(), false); in testStartScanWithHiddenNetworkScanningDisabled()
263 assertEquals(mWorkSourceArgumentCaptor.getValue(), in testStartScanWithHiddenNetworkScanningEnabled()
265 validateScanSettings(mScanSettingsArgumentCaptor.getValue(), true); in testStartScanWithHiddenNetworkScanningEnabled()
[all …]
DWifiNetworkFactoryTest.java199 mDataSource = dataSourceArgumentCaptor.getValue(); in setUp()
209 mNetworkProvider = networkProviderArgumentCaptor.getValue(); in setUp()
735 assertNotNull(matchedScanResultsCaptor.getValue()); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
737 validateScanResults(matchedScanResultsCaptor.getValue(), mTestScanDatas[0].getResults()[0]); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
740 matchedScanResultsCaptor.getValue().size()); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
778 assertNotNull(matchedScanResultsCaptor.getValue()); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch()
780 validateScanResults(matchedScanResultsCaptor.getValue(), in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch()
784 matchedScanResultsCaptor.getValue().size()); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch()
822 assertNotNull(matchedScanResultsCaptor.getValue()); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch()
824 validateScanResults(matchedScanResultsCaptor.getValue(), mTestScanDatas[0].getResults()[0]); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackHandlerTest.java76 assertTrue(captor.getValue()); in testEmergencyListener()
102 assertEquals(enabled, (boolean) enableArg.getValue()); in testSignalCallback_setWifiIndicators()
103 assertEquals(status, statusArg.getValue()); in testSignalCallback_setWifiIndicators()
104 assertEquals(qs, qsArg.getValue()); in testSignalCallback_setWifiIndicators()
105 assertEquals(in, (boolean) inArg.getValue()); in testSignalCallback_setWifiIndicators()
106 assertEquals(out, (boolean) outArg.getValue()); in testSignalCallback_setWifiIndicators()
107 assertEquals(description, descArg.getValue()); in testSignalCallback_setWifiIndicators()
108 assertTrue(isTransient.getValue()); in testSignalCallback_setWifiIndicators()
109 assertEquals(secondaryLabel, secondary.getValue()); in testSignalCallback_setWifiIndicators()
146 assertEquals(status, statusArg.getValue()); in testSignalCallback_setMobileDataIndicators()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierActionAgentTest.java106 assertEquals(DATA_CARRIER_ACTION_EVENT, message.getValue().what); in testCarrierActionResetOnAPM()
107 assertEquals(false, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM()
109 assertEquals(RADIO_CARRIER_ACTION_EVENT, message.getValue().what); in testCarrierActionResetOnAPM()
110 assertEquals(false, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM()
120 assertEquals(DATA_CARRIER_ACTION_EVENT, message.getValue().what); in testCarrierActionResetOnAPM()
121 assertEquals(true, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM()
124 assertEquals(RADIO_CARRIER_ACTION_EVENT, message.getValue().what); in testCarrierActionResetOnAPM()
125 assertEquals(true, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM()
149 assertEquals(DATA_CARRIER_ACTION_EVENT, message.getValue().what); in testCarrierActionResetOnAPNChange()
150 assertEquals(false, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPNChange()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileLayoutTest.java155 assertTrue(left1.getValue() <= right1.getValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
156 assertTrue(top1.getValue() <= bottom1.getValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
157 assertTrue(left2.getValue() <= right2.getValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
158 assertTrue(top2.getValue() <= bottom2.getValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
162 assertTrue(left1.getValue() > right2.getValue() || right1.getValue() < left2.getValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
165 assertEquals(top1.getValue().intValue(), top2.getValue().intValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
166 assertEquals(bottom1.getValue().intValue(), bottom2.getValue().intValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java265 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testRequestMacAddresses()
273 mDut.onConfigSuccessResponse(transactionId.getValue()); in testRequestMacAddresses()
286 mDut.onSessionConfigSuccessResponse(transactionId.getValue(), false, subscribeId1); in testRequestMacAddresses()
294 mDut.onSessionConfigSuccessResponse(transactionId.getValue(), false, subscribeId2); in testRequestMacAddresses()
362 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testAwareDataPathInterfaceUpDown()
371 mDut.onConfigSuccessResponse(transactionId.getValue()); in testAwareDataPathInterfaceUpDown()
380 mDut.onDisableResponse(transactionId.getValue(), NanStatusType.SUCCESS); in testAwareDataPathInterfaceUpDown()
408 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testDisableUsageDisablesApis()
417 mDut.onDisableResponse(transactionId.getValue(), NanStatusType.SUCCESS); in testDisableUsageDisablesApis()
454 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testDisableUsageFlow()
[all …]
DWifiAwareNativeManagerTest.java127 mManagerStatusListenerCaptor.getValue().onStatusChanged(); in testControlFlowWithoutInterface()
132 mAvailListenerCaptor.getValue().onAvailabilityChanged(true); in testControlFlowWithoutInterface()
137 mManagerStatusListenerCaptor.getValue().onStatusChanged(); in testControlFlowWithoutInterface()
143 mManagerStatusListenerCaptor.getValue().onStatusChanged(); in testControlFlowWithoutInterface()
145 mManagerStatusListenerCaptor.getValue().onStatusChanged(); in testControlFlowWithoutInterface()
148 mAvailListenerCaptor.getValue().onAvailabilityChanged(true); in testControlFlowWithoutInterface()
153 mAvailListenerCaptor.getValue().onAvailabilityChanged(false); in testControlFlowWithoutInterface()
175 mManagerStatusListenerCaptor.getValue().onStatusChanged(); in testReferenceCounting()
180 mAvailListenerCaptor.getValue().onAvailabilityChanged(true); in testReferenceCounting()
195 mDestroyedListenerCaptor.getValue().onDestroyed("nan0"); in testReferenceCounting()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameValues.java31 Object value = super.getValue(); in getCount()
35 return Array.getLength(super.getValue()); in getCount()
49 Object value = super.getValue(); in getValues()
51 return super.getValue(); in getValues()
70 Object value = super.getValue(); in getValueAtIndex()
120 Object curValue = super.getValue(); in setValueAtIndex()
142 Object value = frame.getValue(); in setFrameValueAtIndex()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java89 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
91 collector.checkThat("2: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
93 collector.checkThat("3: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
95 collector.checkThat("4: messageC", messageC, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
147 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchNoTimeMove()
149 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchNoTimeMove()
176 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce()
178 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce()
180 collector.checkThat("3: messageC", messageC, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce()
210 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeTwice()
[all …]
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp265 bool res = llvm::StringSwitch<bool>(arg->getValue()) in TranslateArguments()
282 llvm::StringRef value = arg->getValue(); in TranslateArguments()
286 << ": " << arg->getValue(); in TranslateArguments()
294 llvm::StringRef value = arg->getValue(); in TranslateArguments()
298 << ": " << arg->getValue(); in TranslateArguments()
306 llvm::StringRef value = arg->getValue(); in TranslateArguments()
310 << ": " << arg->getValue(); in TranslateArguments()
326 triple.setTriple(arg->getValue()); in TranslateArguments()
341 ParseEmulation(triple, arg->getValue()); in TranslateArguments()
344 config_.targets().setArch(arg->getValue()); in TranslateArguments()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java173 clientProxyCallback.getValue().onConnectSuccess(clientId); in testConnectFlow()
176 WifiAwareSession session = sessionCaptor.getValue(); in testConnectFlow()
185 inOrder.verify(mockAwareService).disconnect(eq(clientId), eq(binder.getValue())); in testConnectFlow()
217 clientProxyCallback.getValue().onConnectFail(reason); in testConnectFailure()
225 clientProxyCallback.getValue().onConnectSuccess(clientId); in testConnectFailure()
228 WifiAwareSession session = sessionCaptor.getValue(); in testConnectFailure()
254 clientProxyCallback.getValue().onConnectSuccess(clientId); in testInvalidConnectSequence()
262 clientProxyCallback.getValue().onConnectSuccess(clientId + 1); in testInvalidConnectSequence()
309 clientProxyCallback.getValue().onConnectSuccess(clientId); in testPublishFlow()
312 WifiAwareSession session = sessionCaptor.getValue(); in testPublishFlow()
[all …]
/frameworks/base/core/java/android/content/
DDefaultDataHandler.java100 String uriStr = atts.getValue(URI_STR); in parseRow()
107 atts.getValue(URI_STR) + " parsing failure"); in parseRow()
112 String postfix = atts.getValue(POSTFIX); in parseRow()
165 String key = atts.getValue(0); in startElement()
166 String value = atts.getValue(1); in startElement()
176 Uri u = Uri.parse(atts.getValue(URI_STR)); in startElement()
179 atts.getValue(URI_STR) + " parsing failure"); in startElement()
185 selectionArgs[i] = atts.getValue(i+2); in startElement()
187 mContentResolver.delete(u, atts.getValue(1), selectionArgs); in startElement()
189 mContentResolver.delete(u, atts.getValue(1), null); in startElement()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCSVWriterFilter.java75 float sharpness = ((Float)sharpnessValue.getValue()).floatValue(); in onProcess()
79 float overExposure = ((Float)overExposureValue.getValue()).floatValue(); in onProcess()
83 float underExposure = ((Float)underExposureValue.getValue()).floatValue(); in onProcess()
87 float colorfulness = ((Float)colorfulnessValue.getValue()).floatValue(); in onProcess()
91 float contrast = ((Float)contrastValue.getValue()).floatValue(); in onProcess()
95 float brightness = ((Float)brightnessValue.getValue()).floatValue(); in onProcess()
99 float[] motionValues = (float[]) motionValuesFrameValue.getValue(); in onProcess()
105 String imageFileName = ((String)imageFileNameFrameValue.getValue()); in onProcess()
109 String csvFilePath = ((String)csvFilePathFrameValue.getValue()); in onProcess()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/assist/
DAssistHandleLikeHomeBehaviorTest.java151 verify(mMockStatusBarStateController).removeCallback(eq(stateListener.getValue())); in onModeDeactivated_stopsObserving()
152 verify(mMockWakefulnessLifecycle).removeObserver(eq(observer.getValue())); in onModeDeactivated_stopsObserving()
153 verify(mMockOverviewProxyService).removeCallback(eq(overviewProxyListener.getValue())); in onModeDeactivated_stopsObserving()
223 observer.getValue().onFinishedWakingUp(); in onBothAwakeAndUnDoze_handlesShow()
234 observer.getValue().onFinishedGoingToSleep(); in onBothAwakeAndUnDoze_handlesShow()
238 stateListener.getValue().onDozingChanged(false); in onBothAwakeAndUnDoze_handlesShow()
249 observer.getValue().onFinishedWakingUp(); in onBothAwakeAndUnDoze_handlesShow()
280 observer.getValue().onStartedGoingToSleep(); in onSleepOrDoze_handlesHide()
291 observer.getValue().onFinishedWakingUp(); in onSleepOrDoze_handlesHide()
295 stateListener.getValue().onDozingChanged(true); in onSleepOrDoze_handlesHide()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DPackedIntVectorTest.java71 assertEquals(0, p.getValue(at, j)); in testBasic()
73 assertEquals(p.getValue(at, j), i + j); in testBasic()
84 assertEquals(p.getValue(i, j), i * j); in testBasic()
102 assertEquals(p.getValue(i, j), expect); in testBasic()
121 assertEquals(p.getValue(i, j), expect); in testBasic()
134 assertEquals(p.getValue(i, j), i * j); in testBasic()
155 assertEquals(p.getValue(i, j), i * j); in testBasic()
161 assertEquals(p.getValue(i, j), (i + height - p.size()) * j); in testBasic()
/frameworks/base/core/java/android/animation/
DKeyframeSet.java196 public Object getValue(float fraction) { in getValue() method in KeyframeSet
202 return mEvaluator.evaluate(fraction, mFirstKeyframe.getValue(), in getValue()
203 mLastKeyframe.getValue()); in getValue()
214 return mEvaluator.evaluate(intervalFraction, mFirstKeyframe.getValue(), in getValue()
215 nextKeyframe.getValue()); in getValue()
225 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
226 mLastKeyframe.getValue()); in getValue()
240 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
241 nextKeyframe.getValue()); in getValue()
246 return mLastKeyframe.getValue(); in getValue()
[all …]
/frameworks/base/services/core/java/com/android/server/firewall/
DStringFilter.java123 String value = mValueProvider.getValue(resolvedComponent, intent, resolvedType); in matches()
137 public abstract String getValue(ComponentName resolvedComponent, Intent intent, in getValue() method in StringFilter.ValueProvider
232 public String getValue(ComponentName resolvedComponent, Intent intent,
243 public String getValue(ComponentName resolvedComponent, Intent intent,
254 public String getValue(ComponentName resolvedComponent, Intent intent,
265 public String getValue(ComponentName resolvedComponent, Intent intent,
273 public String getValue(ComponentName resolvedComponent, Intent intent,
285 public String getValue(ComponentName resolvedComponent, Intent intent,
293 public String getValue(ComponentName resolvedComponent, Intent intent,
305 public String getValue(ComponentName resolvedComponent, Intent intent,
[all …]
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java115 assertEquals("eng", req.getValue().getLanguage()); in testSetLanguage_availableLanguage()
116 assertEquals("USA", req.getValue().getCountry()); in testSetLanguage_availableLanguage()
117 assertEquals("", req.getValue().getVariant()); in testSetLanguage_availableLanguage()
118 assertEquals("en-US", req.getValue().getVoiceName()); in testSetLanguage_availableLanguage()
139 assertEquals("eng", req2.getValue().getLanguage()); in testSetLanguage_unavailableLanguage()
140 assertEquals("USA", req2.getValue().getCountry()); in testSetLanguage_unavailableLanguage()
141 assertEquals("", req2.getValue().getVariant()); in testSetLanguage_unavailableLanguage()
142 assertEquals("en-US", req2.getValue().getVoiceName()); in testSetLanguage_unavailableLanguage()
182 assertEquals(defaultLocale.getISO3Language(), req.getValue().getLanguage()); in testDefaultLanguage_setsVoiceName()
183 assertEquals(defaultLocale.getISO3Country(), req.getValue().getCountry()); in testDefaultLanguage_setsVoiceName()
[all …]
/frameworks/rs/script_api/
DSpecification.cpp229 const string s = scanner->getValue(); in scan()
248 sscanf(scanner->getValue().c_str(), "%i", &intSize); in scan()
282 string value = scanner->getValue(); in scanDocumentationTags()
295 mSummary = scanner->getValue(); in scanDocumentationTags()
300 mDescription.push_back(scanner->getValue()); in scanDocumentationTags()
367 string name = scanner->getValue(); in scanConstantSpecification()
384 spec->mValue = scanner->getValue(); in scanConstantSpecification()
387 spec->mType = scanner->getValue(); in scanConstantSpecification()
396 string name = scanner->getValue(); in scanTypeSpecification()
414 spec->mSimpleType = scanner->getValue(); in scanTypeSpecification()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java153 mFilter1SequenceCaptor.getValue()); in testSetOnKeyResult_eventNotHandled_shouldPassEventToFramework()
167 mFilter1SequenceCaptor.getValue()); in testSetOnKeyResult_eventHandled_shouldNotPassEventToFramework()
181 mFilter1SequenceCaptor.getValue()); in testSetOnKeyResult_twoServicesReturnsFalse_shouldPassEventToFramework()
183 mFilter2SequenceCaptor.getValue()); in testSetOnKeyResult_twoServicesReturnsFalse_shouldPassEventToFramework()
197 mFilter1SequenceCaptor.getValue()); in testSetOnKeyResult_twoServicesReturnsTrue_shouldNotPassEventToFramework()
199 mFilter2SequenceCaptor.getValue()); in testSetOnKeyResult_twoServicesReturnsTrue_shouldNotPassEventToFramework()
214 mFilter1SequenceCaptor.getValue()); in testSetOnKeyResult_firstOfTwoServicesReturnsTrue_shouldNotPassEventToFramework()
216 mFilter2SequenceCaptor.getValue()); in testSetOnKeyResult_firstOfTwoServicesReturnsTrue_shouldNotPassEventToFramework()
231 mFilter1SequenceCaptor.getValue()); in testSetOnKeyResult_secondOfTwoServicesReturnsTrue_shouldNotPassEventToFramework()
233 mFilter2SequenceCaptor.getValue()); in testSetOnKeyResult_secondOfTwoServicesReturnsTrue_shouldNotPassEventToFramework()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java154 assertEquals(AIRPLANE_MODE_TEXT, captor.getValue().carrierText); in testAirplaneMode()
177 assertEquals("TEST_CARRIER" + SEPARATOR + INVALID_CARD_TEXT, captor.getValue().carrierText); in testCardIOError()
179 assertEquals(1, captor.getValue().listOfCarriers.length); in testCardIOError()
180 assertEquals(TEST_CARRIER, captor.getValue().listOfCarriers[0]); in testCardIOError()
189 assertEquals("TEST_CARRIER", captor.getValue().carrierText); in testCardIOError()
238 assertEquals(mCarrierTextCallbackInfo, captor.getValue()); in testCallback()
271 CarrierTextController.CarrierTextCallbackInfo info = captor.getValue(); in testCreateInfo_OneValidSubscription()
295 CarrierTextController.CarrierTextCallbackInfo info = captor.getValue(); in testCreateInfo_OneValidSubscriptionWithRoaming()
319 assertTrue("Carrier text should be empty, instead it's " + captor.getValue().carrierText, in testCarrierText_noTextOnReadySimWhenNull()
320 TextUtils.isEmpty(captor.getValue().carrierText)); in testCarrierText_noTextOnReadySimWhenNull()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java647 String [] permission = permissionCaptor.getValue(); in checkSendThisDeviceChangedBroadcast()
651 Intent intent = intentCaptor.getValue(); in checkSendThisDeviceChangedBroadcast()
684 Intent intent = intentCaptor.getValue(); in checkSendP2pPersistentGroupsChangedBroadcast()
753 mAvailListenerCaptor.getValue().onAvailabilityChanged(true); in setUpWifiP2pServiceImpl()
1357 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenNoChannelUpdated()
1358 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenNoChannelUpdated()
1376 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenChannelUpdateWrongPkgName()
1377 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenChannelUpdateWrongPkgName()
1397 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenPermissionDenied()
1398 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenPermissionDenied()
[all …]

12345678910>>...32