Home
last modified time | relevance | path

Searched defs:manager (Results 1 – 25 of 75) sorted by relevance

123

/cts/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/
DMediaMetricsAtomHostSideTests.java89 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testPlaybackStateEvent_default() local
102 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testPlaybackStateEvent() local
118 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testPlaybackErrorEvent_default() local
132 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testPlaybackErrorEvent() local
150 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testTrackChangeEvent_default() local
162 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testTrackChangeEvent_text() local
184 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testTrackChangeEvent_audio() local
208 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testTrackChangeEvent_video() local
234 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testNetworkEvent_default() local
246 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testNetworkEvent() local
[all …]
/cts/tests/tests/permission/src/android/permission/cts/
DPowerManagerServicePermissionTest.java26 PowerManager manager = getContext().getSystemService(PowerManager.class); in testSetBatterySaver_requiresPermissions() local
39 PowerManager manager = getContext().getSystemService(PowerManager.class); in testSetDynamicPowerSavings_requiresPermissions() local
49 PowerManager manager = getContext().getSystemService(PowerManager.class); in testSetBatteryDischargePrediction_requiresPermissions() local
/cts/tests/devicestate/src/android/hardware/devicestate/cts/
DDeviceStateManagerTests.java78 final DeviceStateManager manager = getDeviceStateManager(); in testRequestAllSupportedStates() local
100 final DeviceStateManager manager = getDeviceStateManager(); in testRequestStateTooLarge() local
113 final DeviceStateManager manager = getDeviceStateManager(); in testRequestStateTooSmall() local
126 final DeviceStateManager manager = getDeviceStateManager(); in testRequestStateSucceedsAsTopApp() local
161 final DeviceStateManager manager = getDeviceStateManager(); in testRequestStateFailsAsBackgroundApp() local
211 final DeviceStateManager manager = getDeviceStateManager(); in testRequestStateWithoutPermission() local
224 final DeviceStateManager manager = getDeviceStateManager(); in testCancelRequestWithoutPermission() local
243 final DeviceStateManager manager = getDeviceStateManager(); in testRegisterCallbackSuppliesInitialValue() local
DDeviceStateRequestSession.java38 public DeviceStateRequestSession(@NonNull DeviceStateManager manager, in DeviceStateRequestSession()
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/
DThrottledTests.java37 final ShortcutManager manager = context.getSystemService(ShortcutManager.class); in assertThrottled() local
59 final ShortcutManager manager = context.getSystemService(ShortcutManager.class); in ensureThrottled() local
65 final ShortcutManager manager = context.getSystemService(ShortcutManager.class); in assertCallNotThrottled() local
/cts/hostsidetests/packagemanager/domainverification/device/multiuser/src/com/android/cts/packagemanager/verify/domain/device/multiuser/
DDomainVerificationWorkProfileAllowParentLinkingTests.kt39 val manager = deviceState.getWorkDevicePolicyManager() in saveAndSetPolicy() constant
48 val manager = deviceState.getWorkDevicePolicyManager() in resetPolicy() constant
DDomainVerificationWorkProfileCrossProfileIntentTests.kt44 val manager = deviceState.getWorkDevicePolicyManager() in saveAndSetPolicy() constant
67 val manager = deviceState.getWorkDevicePolicyManager() in resetPolicy() constant
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/
DWifiNl80211ManagerTest.java113 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testSendMgmtFrame() local
128 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testGetTxPacketCounters() local
136 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testSetOnServiceDeadCallback() local
150 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testCountryCodeChangeListener() local
/cts/tests/tests/os/src/android/os/cts/
DPowerManagerTest.java106 PowerManager manager = BatteryUtils.getPowerManager(); in testPowerManager_getPowerSaveMode() local
125 PowerManager manager = BatteryUtils.getPowerManager(); in testPowerManager_setDynamicPowerSavings() local
143 final PowerManager manager = BatteryUtils.getPowerManager(); in testPowerManager_batteryDischargePrediction() local
192 final PowerManager manager = BatteryUtils.getPowerManager(); in setDischargePrediction() local
199 final PowerManager manager = BatteryUtils.getPowerManager(); in assertDischargePrediction() local
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java140 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testTranslationCapabilityUpdateListener() local
204 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testSingleTranslation() local
293 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testTranslation_partialResponses() local
406 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testTranslationCancelled() local
481 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testGetTranslationCapabilities() local
513 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testGetTranslationSettingsActivityIntent() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUsbMicrophoneTester.java33 UsbManager manager = (UsbManager) context.getSystemService(Context.USB_SERVICE); in getUSBDeviceListString() local
53 UsbManager manager = (UsbManager) context.getSystemService(Context.USB_SERVICE); in getIsMicrophoneConnected() local
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerMiscTest.java35 ShortcutManager manager = getTestContext().getSystemService(ShortcutManager.class); in testMiscApis() local
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/workprofilesetup/
DProvisionedActivity.java27 DevicePolicyManager manager = getSystemService(DevicePolicyManager.class); in onCreate() local
/cts/hostsidetests/appsecurity/test-apps/LocationPolicyApp/src/android/appsecurity/cts/locationpolicy/
DLocationPolicyTest.java53 UserManager manager = mContext.getSystemService(UserManager.class); in testLocationPolicyPermissions() local
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DDataSharingService.java63 ContentCaptureManager manager = in shareData() local
105 ContentCaptureManager manager = in attemptConcurrentRequest() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/
DAccuracyTest.java37 public AccuracyTest(ReferencePath referencePath, TestReport testReport, Manager manager) { in AccuracyTest()
/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java56 CameraManager manager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in isLegacyHAL() local
69 public static boolean isLegacyHAL(CameraManager manager, String cameraIdStr) throws Exception { in isLegacyHAL()
165 CameraManager manager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in isExternal() local
/cts/hostsidetests/packagemanager/domainverification/lib/constants/android/src/com/android/cts/packagemanager/verify/domain/android/
DSharedVerifications.kt59 val manager = context.getSystemService(DomainVerificationManager::class.java)!! in verifyDomains() constant
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DWifiManagerWrapper.java42 WifiManager getWrapper(Context context, WifiManager manager, Answer<?> answer) { in getWrapper()
DUserManagerWrapper.java40 UserManager getWrapper(Context context, UserManager manager, Answer<?> answer) { in getWrapper()
DGenericManagerWrapper.java38 GenericManager getWrapper(Context context, GenericManager manager, Answer<?> answer) { in getWrapper()
DHardwarePropertiesManagerWrapper.java41 HardwarePropertiesManager getWrapper(Context context, HardwarePropertiesManager manager, in getWrapper()
/cts/apps/hotspot/src/com/android/cts/hotspot/
DNotify.java28 WifiManager manager = (WifiManager) x.getSystemService(Context.WIFI_SERVICE); in turnOnHotspot() local
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCamera2Activity.java59 CameraManager manager = (CameraManager) getSystemService(Context.CAMERA_SERVICE); in onResume() local
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DServiceControlUtils.java47 AccessibilityManager manager = in waitForConditionWithServiceStateChange() local

123