Home
last modified time | relevance | path

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

12

/cts/tests/tests/media/audio/modules/audiorecordpermissiontests/lib/src/android/media/audio/cts/audiorecordpermissiontests/common/
DRecordService.kt58 Log.i(TAG, "Going foreground with capabilities " + getCapabilities()) in onStartCommand()
59 startForeground(1, buildNotification(), getCapabilities()) in onStartCommand()
93 open fun getCapabilities(): Int { return 0 } in getCapabilities() method in android.media.audio.cts.audiorecordpermissiontests.common.RecordService
/cts/tests/tests/media/audio/modules/audiorecordpermissiontests/app/CtsRecordServiceApi34NoCap/src/android/media/audio/cts/CtsRecordServiceApi34NoCap/
DRecordService.kt26 override fun getCapabilities() : Int { in getCapabilities() method in android.media.audio.cts.CtsRecordServiceApi34NoCap.RecordService
/cts/tests/tests/media/audio/modules/audiorecordpermissiontests/app/CtsRecordServiceApi34/src/android/media/audio/cts/CtsRecordServiceApi34/
DRecordService.kt26 override fun getCapabilities() : Int { in getCapabilities() method in android.media.audio.cts.CtsRecordServiceApi34.RecordService
/cts/tests/tests/time/src/android/app/time/cts/
DTimeManagerTest.java115 .getCapabilities().getConfigureAutoDetectionEnabledCapability(); in before()
141 TimeZoneCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in testManageTimeZoneConfiguration()
217 TimeCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in testManageTimeConfiguration()
242 .getCapabilities().getSetManualTimeCapability(); in testExternalTimeSuggestions()
354 .getCapabilities().getSetManualTimeCapability(); in testTimeStateAndConfirmation()
416 .getCapabilities().getSetManualTimeZoneCapability(); in testTimeZoneStateAndConfirmation()
473 TimeCapabilities capabilities = timeCapabilitiesAndConfig.getCapabilities(); in testSetManualTime()
551 TimeZoneCapabilities capabilities = timeZoneCapabilitiesAndConfig.getCapabilities(); in testSetManualTimeZone()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockCentralizedNetworkAgent.java99 String capabilities = getCapabilities(str); in storeDataCall()
128 private static String getCapabilities(String string) { in getCapabilities() method in MockCentralizedNetworkAgent
DMockDataService.java369 private String getCapabilities(String string) { in getCapabilities() method in MockDataService
402 String capabilities = getCapabilities(str); in setBridgeTheDataConnection()
/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/
DTestJobService.java110 extras.putInt(JOB_CAPABILITIES_KEY, getCapabilities()); in getJobUidStateExtras()
120 private int getCapabilities() { in getCapabilities() method in TestJobService
/cts/tests/credentials/src/android/credentials/cts/
DCtsCredentialProviderServiceDeviceTest.java628 assertThat(cpi.getCapabilities()) in getCredentialProviderServices_returnsAllProviders()
639 assertThat(cpi2.getCapabilities()) in getCredentialProviderServices_returnsAllProviders()
669 assertThat(cpi.getCapabilities()) in getCredentialProviderServices_returnsUserProviders_settingsActivityDisabled()
682 assertThat(cpi2.getCapabilities()) in getCredentialProviderServices_returnsUserProviders_settingsActivityDisabled()
713 assertThat(cpi.getCapabilities()) in getCredentialProviderServices_returnsUserProviders_settingsActivityEnabled()
727 assertThat(cpi2.getCapabilities()) in getCredentialProviderServices_returnsUserProviders_settingsActivityEnabled()
756 assertThat(cpi.getCapabilities()) in getCredentialProviderServices_returnsSystemProviders()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerLauncherApiTest.java468 "action.intent.START_EXERCISE").build()), si.getCapabilities()); in setDynamicShortcuts_PersistsShortcutsToDisk()
510 "action.intent.START_EXERCISE").build()), si.getCapabilities()); in removeAllDynamicShortcuts_RemovesShortcutsFromDisk()
569 "action.intent.START_EXERCISE").build()), si.getCapabilities()); in addDynamicShortcuts_PersistsShortcutsToDisk()
636 "action.intent.START_EXERCISE").build()), si.getCapabilities()); in pushDynamicShortcuts_PersistsShortcutsToDisk()
DShortcutManagerClientApiTest.java634 "action.intent.START_EXERCISE").build()), si.getCapabilities()); in testSetDynamicShortcuts_withCapabilities()
645 "action.intent.STOP_EXERCISE").build()), si.getCapabilities()); in testSetDynamicShortcuts_withCapabilities()
/cts/tests/tests/telecom-cuj/src/android/telecom/cts/cuj/app/integration/
DPhoneAccountTest.java382 assertEquals(expected.getCapabilities(), actual.getCapabilities()); in assertPhoneAccountValuesMatch()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DRcsUceAdapterTest.java612 verifyCapabilities(numbers, getCapabilities(capabilityQueue, numbers.size()), in testCapabilitiesRequestAllowed()
1100 getCapabilities(capabilityQueue, contacts.size()); in testRequestCapabilitiesWithPresenceMechanism()
1141 verifyCapabilities(contacts, getCapabilities(capabilityQueue, contacts.size()), in testRequestCapabilitiesWithPresenceMechanism()
1174 resultCapList = getCapabilities(capabilityQueue, contacts.size()); in testRequestCapabilitiesWithPresenceMechanism()
1261 verifyCapabilities(contacts, getCapabilities(capabilityQueue, contacts.size()), in testCacheQuerySuccessWhenNetworkBlocked()
1297 verifyCapabilities(contacts, getCapabilities(capabilityQueue, contacts.size()), in testCacheQuerySuccessWhenNetworkBlocked()
1381 verifyCapabilities(contacts, getCapabilities(capabilityQueue, contacts.size()), in testRequestCapabilitiesFromCacheWithPresenceMechanism()
1400 verifyCapabilities(contacts, getCapabilities(capabilityQueue, contacts.size()), in testRequestCapabilitiesFromCacheWithPresenceMechanism()
2288 verifyCapabilities(numbers, getCapabilities(capabilityQueue, numbers.size()), in testTerminatedCallbackWithCapabilitiesRequest()
2324 verifyCapabilities(numbers, getCapabilities(capabilityQueue, numbers.size()), in testTerminatedCallbackWithCapabilitiesRequest()
[all …]
DTestMmTelFeature.java247 public MmTelCapabilities getCapabilities() { in getCapabilities() method in TestMmTelFeature
DImsServiceTest.java3403 .getMmTelFeature().getCapabilities(); in testCapabilityStatusCallback()
3497 .getMmTelFeature().getCapabilities(); in testCallComposerCapabilityStatusCallback()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityServiceInfoTest.java144 assertSame(speakingService.getCapabilities(), in testAccessibilityServiceInfoForEnabledService()
/cts/tests/tests/print/src/android/print/cts/
DPrinterInfoTest.java276 || printer.getCapabilities() in createFirstMockPrinterDiscoverySessionCallbacks()
DPrinterCapabilitiesTest.java251 PrinterCapabilitiesInfo cap = printer.getCapabilities(); in sanePrinterCapabilityInfos()
DPrinterDiscoverySessionLifecycleTest.java724 if (trackedPrinter.getCapabilities() == null) { in createFirstMockPrinterDiscoverySessionCallbacks()
/cts/tests/tests/telecom/src/android/telecom/cts/
DDataObjectUnitTests.java80 assertEquals(PhoneAccount.CAPABILITY_CALL_PROVIDER, account.getCapabilities()); in testPhoneAccount()
98 assertEquals(PhoneAccount.CAPABILITY_CALL_PROVIDER, parcelAccount.getCapabilities()); in testPhoneAccount()
DPhoneAccountOperationsTest.java134 base, base.getCapabilities() | capabilitiesToAdd); in copyPhoneAccountAndAddCapabilities()
DBaseTelecomTestWithMockServices.java1311 boolean isSelfManaged = (phoneAccount.getCapabilities() in isLoggedCall()
1957 assertEquals(expected.getCapabilities(), actual.getCapabilities());
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTakeScreenshotTest.java363 serviceWithoutScreenshotCapability.getServiceInfo().getCapabilities(); in testTakeScreenshotOfWindow_ErrorForServiceWithoutScreenshotCapability()
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineLoginMixedCredentialActivityTest.java453 assertThat(cpi.getCapabilities()) in getCredentialProviderServices_returnsAllProviders()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt1282 method @NonNull public java.util.List<java.lang.String> getCapabilities();
1794 method public int getCapabilities();
Dsystem-current.txt3043 method @NonNull public android.app.time.TimeCapabilities getCapabilities();
3102 method @NonNull public android.app.time.TimeZoneCapabilities getCapabilities();
10064 method public int getCapabilities();

12