Home
last modified time | relevance | path

Searched refs:getCapabilities (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DConfigurationInternalTest.java67 TimeZoneCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in test_unrestricted()
92 TimeZoneCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in test_unrestricted()
129 TimeZoneCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in test_restricted()
155 TimeZoneCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in test_restricted()
193 TimeZoneCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in test_autoDetectNotSupported()
216 TimeZoneCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in test_autoDetectNotSupported()
255 TimeZoneCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in test_geoDetectNotSupported()
279 TimeZoneCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in test_geoDetectNotSupported()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerService.h38 Return<void> getCapabilities(getCapabilities_cb hidl_cb) override;
52 Return<void> getCapabilities(getCapabilities_cb hidl_cb) override;
66 Return<void> getCapabilities(getCapabilities_cb hidl_cb) override;
82 Return<void> getCapabilities(getCapabilities_cb hidl_cb) override;
DFakeComposerService.cpp41 Return<void> FakeComposerService_2_1::getCapabilities(getCapabilities_cb hidl_cb) { in getCapabilities() function in sftest::FakeComposerService_2_1
70 Return<void> FakeComposerService_2_2::getCapabilities(getCapabilities_cb hidl_cb) { in getCapabilities() function in sftest::FakeComposerService_2_2
99 Return<void> FakeComposerService_2_3::getCapabilities(getCapabilities_cb hidl_cb) { in getCapabilities() function in sftest::FakeComposerService_2_3
137 Return<void> FakeComposerService_2_4::getCapabilities(getCapabilities_cb hidl_cb) { in getCapabilities() function in sftest::FakeComposerService_2_4
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabControllerTest.java142 mEabControllerSub1.getCapabilities(contactUriList).size()); in testGetCapability()
144 mEabControllerSub1.getCapabilities(contactUriList).get(0).getStatus()); in testGetCapability()
160 mEabControllerSub1.getCapabilities(contactUriList).size()); in testGetExpiredCapability()
162 mEabControllerSub1.getCapabilities(contactUriList).get(0).getStatus()); in testGetExpiredCapability()
181 mEabControllerSub1.getCapabilities(contactUriList).size()); in testNonRcsCapability()
183 mEabControllerSub1.getCapabilities(contactUriList).get(0).getStatus()); in testNonRcsCapability()
203 mEabControllerSub1.getCapabilities(contactUriList).size()); in testNonRcsCapabilityExpired()
205 mEabControllerSub1.getCapabilities(contactUriList).get(0).getStatus()); in testNonRcsCapabilityExpired()
311 mEabControllerSub1.getCapabilities(contactUriList).size()); in testSaveCapabilityForDifferentSubId()
313 mEabControllerSub2.getCapabilities(contactUriList).size()); in testSaveCapabilityForDifferentSubId()
/frameworks/native/services/vibratorservice/test/
DVibratorManagerHalWrapperAidlTest.cpp58 MOCK_METHOD(Status, getCapabilities, (int32_t * ret), (override));
95 MOCK_METHOD(Status, getCapabilities, (int32_t * ret), (override));
152 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
159 ASSERT_TRUE(mWrapper->getCapabilities().isUnsupported()); in TEST_F()
160 ASSERT_TRUE(mWrapper->getCapabilities().isFailed()); in TEST_F()
162 auto result = mWrapper->getCapabilities(); in TEST_F()
168 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
175 auto result = mWrapper->getCapabilities(); in TEST_F()
182 auto result = mWrapper->getCapabilities(); in TEST_F()
305 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
[all …]
DVibratorManagerHalControllerTest.cpp42 MOCK_METHOD(vibrator::HalResult<vibrator::ManagerCapabilities>, getCapabilities, (),
81 EXPECT_CALL(*mMockHal.get(), getCapabilities()) in setHalExpectations()
125 auto getCapabilitiesResult = mController->getCapabilities(); in TEST_F()
153 ASSERT_TRUE(mController->getCapabilities().isUnsupported()); in TEST_F()
172 ASSERT_TRUE(mController->getCapabilities().isFailed()); in TEST_F()
DVibratorHalWrapperAidlTest.cpp62 MOCK_METHOD(Status, getCapabilities, (int32_t * ret), (override));
146 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
180 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
319 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
418 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
488 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
526 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRadioInterfaceCapabilityControllerTest.java75 assertEquals(1, capabilities.getCapabilities().size()); in testRadioInterfaceCapabilities()
76 assertTrue(capabilities.getCapabilities() in testRadioInterfaceCapabilities()
115 assertEquals(0, capabilities.getCapabilities().size()); in testEmptyRadioInterfaceCapabilities()
/frameworks/native/services/vibratorservice/
DVibratorManagerHalWrapper.cpp41 HalResult<ManagerCapabilities> LegacyManagerHalWrapper::getCapabilities() { in getCapabilities() function in android::vibrator::LegacyManagerHalWrapper
107 HalResult<ManagerCapabilities> AidlManagerHalWrapper::getCapabilities() { in getCapabilities() function in android::vibrator::AidlManagerHalWrapper
114 auto result = getHal()->getCapabilities(&cap); in getCapabilities()
178 HalResult<ManagerCapabilities> capabilities = getCapabilities(); in triggerSynced()
DVibratorManagerHalController.cpp104 HalResult<ManagerCapabilities> ManagerHalController::getCapabilities() { in getCapabilities() function in android::vibrator::ManagerHalController
106 return hal->getCapabilities(); in getCapabilities()
DVibratorHalWrapper.cpp129 getCapabilities(); in getInfo()
180 HalResult<Capabilities> HalWrapper::getCapabilities() { in getCapabilities() function in android::vibrator::HalWrapper
289 HalResult<Capabilities> capabilities = getCapabilities(); in on()
324 HalResult<Capabilities> capabilities = getCapabilities(); in performEffect()
372 auto result = getHal()->getCapabilities(&capabilities); in getCapabilitiesInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilitySecurityPolicyTest.java376 when(mMockA11yServiceConnection.getCapabilities()) in canGetAccessibilityNodeInfo_windowIdNotExist_returnFalse()
385 when(mMockA11yServiceConnection.getCapabilities()) in canGetAccessibilityNodeInfo_hasCapAndWindowIsActive_returnTrue()
396 when(mMockA11yServiceConnection.getCapabilities()) in canGetAccessibilityNodeInfo_hasCapAndWindowExist_returnTrue()
409 when(mMockA11yServiceConnection.getCapabilities()) in canRetrieveWindows_retrieveWindowsFlagIsFalse_returnFalse()
417 when(mMockA11yServiceConnection.getCapabilities()) in canRetrieveWindows_hasCapabilityAndRetrieveWindowsFlag_returnTrue()
426 when(mMockA11yServiceConnection.getCapabilities()) in canRetrieveWindowContent_hasCapability_returnTrue()
434 when(mMockA11yServiceConnection.getCapabilities()) in canControlMagnification_hasCapability_returnTrue()
443 when(mMockA11yServiceConnection.getCapabilities()) in canPerformGestures_hasCapability_returnTrue()
452 when(mMockA11yServiceConnection.getCapabilities()) in canCaptureFingerprintGestures_hasCapability_returnTrue()
460 when(mMockA11yServiceConnection.getCapabilities()) in canTakeScreenshot_hasCapability_returnTrue()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorManagerHalWrapper.h74 virtual HalResult<ManagerCapabilities> getCapabilities() = 0;
94 HalResult<ManagerCapabilities> getCapabilities() override final;
117 HalResult<ManagerCapabilities> getCapabilities() override final;
DVibratorManagerHalController.h58 HalResult<ManagerCapabilities> getCapabilities() override final;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioInterfaceCapabilityController.java94 public Set<String> getCapabilities() { in getCapabilities() method in RadioInterfaceCapabilityController
170 getCapabilities(); in handleMessage()
/frameworks/base/telephony/java/com/android/ims/
DImsFeatureContainer.java100 public @ImsService.ImsServiceCapability long getCapabilities() { in getCapabilities() method in ImsFeatureContainer
137 mCapabilities == that.getCapabilities(); in equals()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java312 return (service.getCapabilities() in canRetrieveWindowContentLocked()
325 return (service.getCapabilities() in canControlMagnification()
337 return (service.getCapabilities() in canPerformGestures()
349 return (service.getCapabilities() in canCaptureFingerprintGestures()
362 return (service.getCapabilities() in canTakeScreenshotLocked()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabController.java35 @NonNull List<EabCapabilityResult> getCapabilities(@NonNull List<Uri> uris); in getCapabilities() method
/frameworks/native/cmds/idlcli/vibrator/
DCommandGetCapabilities.cpp50 auto status = hal->call(&aidl::IVibrator::getCapabilities, &cap); in doMain()
DCommandOn.cpp79 hal->call(&aidl::IVibrator::getCapabilities, &cap); in doMain()
/frameworks/native/services/surfaceflinger/tests/unittests/
DHWComposerTest.cpp81 EXPECT_CALL(*mHal, getCapabilities()).WillOnce(Return(std::vector<hal::Capability>{})); in TEST_F()
103 EXPECT_CALL(*mHal, getCapabilities()).WillOnce(Return(std::vector<hal::Capability>{})); in TEST_F()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssManagerService.java136 return mGnssNative.getCapabilities(); in getGnssCapabilities()
282 ipw.println("Capabilities: " + mGnssNative.getCapabilities()); in dump()
317 powerStats.dump(fd, ipw, args, mGnssNative.getCapabilities()); in dump()
DGnssLocationProvider.java711 if (mGnssNative.getCapabilities().hasMsb() && (suplMode & AGPS_SUPL_MODE_MSB) != 0) { in getSuplMode()
863 if (mStarted && mGnssNative.getCapabilities().hasScheduling()) { in updateRequirements()
1049 int interval = mGnssNative.getCapabilities().hasScheduling() ? mFixInterval : 1000; in startNavigating()
1065 if (!mGnssNative.getCapabilities().hasScheduling()) { in startNavigating()
1177 if (!mGnssNative.getCapabilities().hasScheduling() && mFixInterval < NO_FIX_TIMEOUT) { in handleReportLocation()
1182 if (!mGnssNative.getCapabilities().hasScheduling() && mStarted in handleReportLocation()
1468 if (mGnssNative.getCapabilities().hasOnDemandTime()) { in onCapabilitiesChanged()
/frameworks/base/core/java/android/app/time/
DTimeZoneCapabilitiesAndConfig.java79 public TimeZoneCapabilities getCapabilities() { in getCapabilities() method in TimeZoneCapabilitiesAndConfig
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsServiceControllerTest.java605 & cb.container.getCapabilities()) == 0); in testBindServiceAndAddRemoveEmergency()
622 | cb.container.getCapabilities()) > 0); in testBindServiceAndAddRemoveEmergency()
633 & cb.container.getCapabilities()) == 0); in testBindServiceAndAddRemoveEmergency()
937 assertTrue((ImsService.CAPABILITY_EMERGENCY_OVER_MMTEL & fc.getCapabilities()) == 0); in validateMmTelFeatureContainerExists()
946 assertTrue((ImsService.CAPABILITY_EMERGENCY_OVER_MMTEL | fc.getCapabilities()) > 0); in validateMmTelFeatureContainerExistsWithEmergency()
953 assertTrue((ImsService.CAPABILITY_SIP_DELEGATE_CREATION | fc.getCapabilities()) > 0); in validateFeatureContainerExistsWithSipDelegate()
960 assertEquals(0, (ImsService.CAPABILITY_SIP_DELEGATE_CREATION & fc.getCapabilities())); in validateFeatureContainerDoesNotHaveSipDelegate()
968 assertEquals(expectedCaps, cb.container.getCapabilities()); in validateMmTelFeatureExistsInCallback()

1234