Home
last modified time | relevance | path

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

123

/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/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java262 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testRequestMacAddresses()
263 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testRequestMacAddresses()
362 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testAwareDataPathInterfaceUpDown()
363 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testAwareDataPathInterfaceUpDown()
410 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testDisableUsageDisablesApis()
411 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testDisableUsageDisablesApis()
458 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testDisableUsageFlow()
459 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testDisableUsageFlow()
549 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testHalFailureEnableAndConfigure()
550 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testHalFailureEnableAndConfigure()
[all …]
DTestUtils.java89 public boolean getCapabilities(short transactionId) { in getCapabilities() method in TestUtils.MonitoredWifiAwareNativeApi
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilitySecurityPolicyTest.java328 when(mMockA11yServiceConnection.getCapabilities()) in canGetAccessibilityNodeInfo_windowIdNotExist_returnFalse()
337 when(mMockA11yServiceConnection.getCapabilities()) in canGetAccessibilityNodeInfo_hasCapAndWindowIsActive_returnTrue()
348 when(mMockA11yServiceConnection.getCapabilities()) in canGetAccessibilityNodeInfo_hasCapAndWindowExist_returnTrue()
361 when(mMockA11yServiceConnection.getCapabilities()) in canRetrieveWindows_retrieveWindowsFlagIsFalse_returnFalse()
369 when(mMockA11yServiceConnection.getCapabilities()) in canRetrieveWindows_hasCapabilityAndRetrieveWindowsFlag_returnTrue()
378 when(mMockA11yServiceConnection.getCapabilities()) in canRetrieveWindowContent_hasCapability_returnTrue()
386 when(mMockA11yServiceConnection.getCapabilities()) in canControlMagnification_hasCapability_returnTrue()
395 when(mMockA11yServiceConnection.getCapabilities()) in canPerformGestures_hasCapability_returnTrue()
404 when(mMockA11yServiceConnection.getCapabilities()) in canCaptureFingerprintGestures_hasCapability_returnTrue()
412 when(mMockA11yServiceConnection.getCapabilities()) in canTakeScreenshot_hasCapability_returnTrue()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssMeasurementCorrectionsProvider.java102 int getCapabilities() { in getCapabilities() method in GnssMeasurementCorrectionsProvider
110 final int capabilities = getCapabilities(); in toStringCapabilities()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java297 return (service.getCapabilities() in canRetrieveWindowContentLocked()
310 return (service.getCapabilities() in canControlMagnification()
322 return (service.getCapabilities() in canPerformGestures()
334 return (service.getCapabilities() in canCaptureFingerprintGestures()
347 return (service.getCapabilities() in canTakeScreenshotLocked()
/frameworks/ml/nn/tools/systrace_parser/
Dcontract-between-code-and-parser.txt115 …NNTRACE_RT(NNTRACE_PHASE_COMPILATION, t1: t_m_w:B|T1|[NN_LI_PI]getCapabilities
116 …"funcR5"); t2: t_m_w:B|T1|HIDL::IDevice::getCapabilities::client "Onet…
117 ... device->getCapabilities() t3: t_m_w:E|T1
120 ... VersionedIDevice::getCapabilities(...) {
123 …"getCapabilities"); time i…
/frameworks/base/services/core/jni/
Dcom_android_server_VibratorService.cpp235 hal->call(&aidl::IVibrator::getCapabilities, &cap).isOk(); in vibratorInit()
249 ok = hal->call(&aidl::IVibrator::getCapabilities, &cap).isOk(); in vibratorExists()
289 if (!hal->call(&aidl::IVibrator::getCapabilities, &cap).isOk()) { in vibratorSupportsAmplitudeControl()
317 if (!hal->call(&aidl::IVibrator::getCapabilities, &cap).isOk()) { in vibratorSupportsExternalControl()
457 if (!hal->call(&aidl::IVibrator::getCapabilities, &cap).isOk()) { in vibratorGetCapabilities()
/frameworks/native/cmds/idlcli/vibrator/
DCommandGetCapabilities.cpp50 auto status = hal->call(&aidl::IVibrator::getCapabilities, &cap); in doMain()
/frameworks/native/services/surfaceflinger/tests/unittests/
DHWComposerTest.cpp78 EXPECT_CALL(*mHal, getCapabilities()).WillOnce(Return(std::vector<hal::Capability>{})); in TEST_F()
101 EXPECT_CALL(*mHal, getCapabilities()).WillOnce(Return(std::vector<hal::Capability>{})); in TEST_F()
/frameworks/ml/nn/runtime/test/
DTestVersionedInterfaces.cpp84 ON_CALL(*mockDevice, getCapabilities(_)).WillByDefault(Invoke(getCapabilities_ret)); in create()
98 EXPECT_CALL(*mockDevice, getCapabilities(_)).Times(testing::AnyNumber()); in create()
119 MOCK_METHOD(Return<void>, getCapabilities, (getCapabilities_cb cb), (override));
448 EXPECT_CALL(*mockDevice, getCapabilities(_)).Times(0); in setupInitializationExpectationsV1_1()
458 EXPECT_CALL(*mockDevice, getCapabilities(_)).Times(0); in setupInitializationExpectationsV1_2()
464 EXPECT_CALL(*mockDevice, getCapabilities(_)).Times(0); in setupInitializationExpectationsV1_3()
494 EXPECT_CALL(*mockDevice, getCapabilities(_)).Times(numCallsForV1_0); in setupSuccessfulInitializationExpectations()
610 EXPECT_CALL(*kMockDevice, getCapabilities(_)).Times(1).WillOnce(Invoke(ret)); in TEST_F()
732 EXPECT_CALL(*kMockDevice, getCapabilities(_)) in TEST_F()
836 TEST_F(VersionedIDeviceV1_0Test, getCapabilities) { in TEST_F() argument
[all …]
DTestExecution.cpp441 Return<void> getCapabilities(getCapabilities_cb _hidl_cb) override { in getCapabilities() function in android::__anon50a6e8490111::TestDriver12
442 return mLatestDriver->getCapabilities(_hidl_cb); in getCapabilities()
513 Return<void> getCapabilities(getCapabilities_cb _hidl_cb) override { in getCapabilities() function in android::__anon50a6e8490111::TestDriver11
514 return mLatestDriver->getCapabilities(_hidl_cb); in getCapabilities()
535 Return<void> getCapabilities(getCapabilities_cb _hidl_cb) override { in getCapabilities() function in android::__anon50a6e8490111::TestDriver10
536 return mLatestDriver->getCapabilities(_hidl_cb); in getCapabilities()
DTestPartitioningRandom.cpp650 Return<void> getCapabilities(getCapabilities_cb _hidl_cb) override { in getCapabilities() function in android::__anonbe695bce0111::TestDriverV1_2
651 return mLatestDriver->getCapabilities(_hidl_cb); in getCapabilities()
685 Return<void> getCapabilities(getCapabilities_cb _hidl_cb) override { in getCapabilities() function in android::__anonbe695bce0111::TestDriverV1_1
686 return mLatestDriver->getCapabilities(_hidl_cb); in getCapabilities()
707 Return<void> getCapabilities(getCapabilities_cb _hidl_cb) override { in getCapabilities() function in android::__anonbe695bce0111::TestDriverV1_0
708 return mLatestDriver->getCapabilities(_hidl_cb); in getCapabilities()
/frameworks/ml/nn/runtime/
DManager.cpp75 const auto& capabilities = kInterface->getCapabilities(); in getPerformance()
79 const auto& capabilities = kInterface->getCapabilities(); in getRelaxedFloat32toFloat16PerformanceScalar()
83 const auto& capabilities = kInterface->getCapabilities(); in getRelaxedFloat32toFloat16PerformanceTensor()
87 const auto& capabilities = kInterface->getCapabilities(); in getIfPerformance()
91 const auto& capabilities = kInterface->getCapabilities(); in getWhilePerformance()
DVersionedInterfaces.h112 const hal::Capabilities& getCapabilities() const;
/frameworks/base/wifi/java/android/net/wifi/nl80211/
DNativeScanResult.java238 @BssCapabilityBits public int getCapabilities() { in getCapabilities() method in NativeScanResult
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java784 updatePrintAttributesFromCapabilities(printerInfo.getCapabilities()); in onSelectPrinterActivityResult()
903 PrinterCapabilitiesInfo capabilities = mCurrentPrinter.getCapabilities(); in onAdvancedPrintOptionsActivityResult()
1625 return printer.getCapabilities() != null in canPrint()
1678 PrinterCapabilitiesInfo capabilities = mCurrentPrinter.getCapabilities(); in updateOptionsUi()
2118 PrinterCapabilitiesInfo capabilities = mCurrentPrinter.getCapabilities(); in canUpdateDocument()
2219 && printer.getCapabilities() != null; in updatePrinter()
2231 || (mPrinter.getCapabilities() == null in updatePrinter()
2232 && printer.getCapabilities() != null); in updatePrinter()
2689 PrinterCapabilitiesInfo oldCapab = oldPrinterState.getCapabilities(); in onChanged()
2690 PrinterCapabilitiesInfo newCapab = newPrinterState.getCapabilities(); in onChanged()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgent.java402 public abstract CameraCapabilities getCapabilities(); in getCapabilities() method in CameraAgent.CameraProxy
856 if (!getCapabilities().supports(settings)) { in applySettingsHelper()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java158 return mStateManager.getCapabilities() == null ? null in getCharacteristics()
159 : mStateManager.getCapabilities().toPublicCharacteristics(); in getCharacteristics()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplay.h41 MOCK_CONST_METHOD0(getCapabilities, const std::unordered_set<hal::DisplayCapability>&());
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp82 Return<void> getCapabilities(getCapabilities_cb _hidl_cb) override { in getCapabilities() function in android::nn::fuzzing_test::TestDriverV1_1
83 return mDriverV1_2->getCapabilities(_hidl_cb); in getCapabilities()
105 Return<void> getCapabilities(getCapabilities_cb _hidl_cb) override { in getCapabilities() function in android::nn::fuzzing_test::TestDriverV1_0
106 return mDriverV1_2->getCapabilities(_hidl_cb); in getCapabilities()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccount.java460 mCapabilities = phoneAccount.getCapabilities(); in Builder()
755 public int getCapabilities() { in getCapabilities() method in PhoneAccount
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java185 && request.networkCapabilities.getCapabilities().length == 0 in testNetworkRequest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttNativeTest.java122 verify(mockRttController).getCapabilities(mGetCapCbCatpr.capture()); in setUp()
372 verify(mockRttController, times(2)).getCapabilities(mGetCapCbCatpr.capture()); in testRttControllerLifecycle()

123