Home
last modified time | relevance | path

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

12345

/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/app/
DSharedConnectivityManagerTest.java166 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindingToServiceOnFirstCallbackRegistration() local
177 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindToServiceFails_userUnlocked_callsOnRegisterCallbackFailed() local
189 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindToServiceFails_userLocked_registerReceiver() local
202 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in broadcastReceiver_onReceiveUnlock_retriesBind() local
211 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindIsCalledOnceOnMultipleCallbackRegistrations() local
224 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in unbindIsCalledOnLastCallbackUnregistrations() local
239 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindIsCalledOnRegisterAfterUnbind() local
252 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in registerCallback_serviceNotConnected_canUnregisterAndReregister() local
263 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in registerCallback_serviceConnected() local
274 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in registerCallback_doubleRegistration_shouldFail() local
[all …]
/cts/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/
DMediaMetricsAtomHostSideTests.java96 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testPlaybackStateEvent_default() local
109 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testPlaybackStateEvent() local
125 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testPlaybackErrorEvent_default() local
139 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testPlaybackErrorEvent() local
157 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testTrackChangeEvent_default() local
169 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testTrackChangeEvent_text() local
191 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testTrackChangeEvent_audio() local
215 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testTrackChangeEvent_video() local
241 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testNetworkEvent_default() local
253 MediaMetricsManager manager = context.getSystemService(MediaMetricsManager.class); in testNetworkEvent() local
[all …]
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/
DWifiNl80211ManagerTest.java153 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testSendMgmtFrame() local
168 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testGetTxPacketCounters() local
177 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testGetMaxSsidsPerScan() local
186 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testStartScan2() local
195 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testSetOnServiceDeadCallback() local
209 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testCountryCodeChangeListener() local
222 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testNotifyCountryCodeChanged() local
236 WifiNl80211Manager manager = new WifiNl80211Manager(mContext, testBinder); in testWifiNl80211ManagerConstructor() local
244 WifiNl80211Manager manager = mContext.getSystemService(WifiNl80211Manager.class); in testScanEventCallback() local
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/diagnostic/
DCarDiagnosticManagerPermissionTest.java64 CarDiagnosticManager manager = getCarDiagnosticManager(); in testRegisterUnregisterListenerWithCorrectPermission() local
77 CarDiagnosticManager manager = getCarDiagnosticManager(); in testRegisterListenerWithWrongPermission() local
91 CarDiagnosticManager manager = getCarDiagnosticManager(); in testClearFreezeFrameWithCorrectPermission() local
101 CarDiagnosticManager manager = getCarDiagnosticManager(); in testClearFreezeFrameWithWrongPermission() local
/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/
DSharedConnectivityTest.java164 SharedConnectivityManager manager = getManager(context); in registerCallback_withoutPermission_throwsSecurityException() local
187 SharedConnectivityManager manager = getManager(context); in registerCallback_onServiceConnectedCallbackReceived() local
204 SharedConnectivityManager manager = getManager(context); in unregisterCallback_beforeRegister_unregisterUnsuccessful() local
219 SharedConnectivityManager manager = getManager(context); in unregisterCallback_unregisterSuccessful() local
255 SharedConnectivityManager manager = getManager(context); in setHotspotNetworks_managerCallbackReceivedWithCorrectData() local
285 SharedConnectivityManager manager = getManager(context); in setKnownNetworks_managerCallbackReceivedWithCorrectData() local
314 SharedConnectivityManager manager = getManager(context); in setSettingsState_managerCallbackReceivedWithCorrectData() local
345 SharedConnectivityManager manager = getManager(context); in updateHotspotNetworkConnectionStatus_managerCallbackReceivedWithCorrectData() local
376 SharedConnectivityManager manager = getManager(context); in updateKnownNetworkConnectionStatus_managerCallbackReceivedWithCorrectData() local
406 SharedConnectivityManager manager = getManager(context); in connectHotspotNetwork_serviceCallbackReceivedWithCorrectData() local
[all …]
/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/tests/devicestate/src/android/hardware/devicestate/cts/
DDeviceStateManagerTests.java100 final DeviceStateManager manager = getDeviceStateManager(); in testRequestAllSupportedStates() local
120 final DeviceStateManager manager = getDeviceStateManager(); in testRequestBaseState() local
137 final DeviceStateManager manager = getDeviceStateManager(); in testRequestStateTooLarge() local
151 final DeviceStateManager manager = getDeviceStateManager(); in testRequestStateTooSmall() local
168 final DeviceStateManager manager = getDeviceStateManager(); in testRequestStateFailsAsTopApp_ifStateNotDefinedAsAvailableForAppsToRequest() local
219 final DeviceStateManager manager = getDeviceStateManager(); in testRequestStateSucceedsAsTopApp_ifStateDefinedAsAvailableForAppsToRequest() local
274 final DeviceStateManager manager = getDeviceStateManager(); in testRequestStateFailsAsBackgroundApp() local
321 final DeviceStateManager manager = getDeviceStateManager(); in testCancelStateRequestFromNewActivity() local
486 final DeviceStateManager manager = getDeviceStateManager(); in testRequestStateWithoutPermission() local
501 final DeviceStateManager manager = getDeviceStateManager(); in testCancelOverrideRequestWithoutPermission() local
[all …]
/cts/tests/tests/os/jni/
Dandroid_os_cts_PerformanceHintManagerTest.cpp53 static SessionWrapper createSession(APerformanceHintManager* manager) { in createSession()
75 APerformanceHintManager* manager = APerformanceHint_getManager(); in nativeTestCreateHintSession() local
94 APerformanceHintManager* manager = APerformanceHint_getManager(); in nativeTestGetPreferredUpdateRateNanos() local
109 APerformanceHintManager* manager = APerformanceHint_getManager(); in nativeUpdateTargetWorkDuration() local
122 APerformanceHintManager* manager = APerformanceHint_getManager(); in nativeUpdateTargetWorkDurationWithNegativeDuration() local
135 APerformanceHintManager* manager = APerformanceHint_getManager(); in nativeReportActualWorkDuration() local
164 APerformanceHintManager* manager = APerformanceHint_getManager(); in nativeReportActualWorkDurationWithIllegalArgument() local
177 APerformanceHintManager* manager = APerformanceHint_getManager(); in nativeTestSetThreadsWithInvalidTid() local
197 APerformanceHintManager* manager = APerformanceHint_getManager(); in nativeSetPreferPowerEfficiency() local
220 APerformanceHintManager* manager = APerformanceHint_getManager(); in nativeTestReportActualWorkDuration2() local
[all …]
/cts/hostsidetests/packagemanager/domainverification/device/multiuser/src/com/android/cts/packagemanager/verify/domain/device/multiuser/
DDomainVerificationWorkProfileAllowParentLinkingTests.kt38 val manager = deviceState.getWorkDevicePolicyManager() in saveAndSetPolicy() constant
48 val manager = deviceState.getWorkDevicePolicyManager() in resetPolicy() constant
DDomainVerificationWorkProfileCrossProfileIntentTests.kt43 val manager = deviceState.getWorkDevicePolicyManager() in saveAndSetPolicy() constant
67 val manager = deviceState.getWorkDevicePolicyManager() in resetPolicy() constant
/cts/tests/tests/os/src/android/os/cts/
DPowerManagerTest.java109 PowerManager manager = BatteryUtils.getPowerManager(); in testPowerManager_getPowerSaveMode() local
132 PowerManager manager = BatteryUtils.getPowerManager(); in testPowerManager_setDynamicPowerSavings() local
155 final PowerManager manager = BatteryUtils.getPowerManager(); in testPowerManager_batteryDischargePrediction() local
207 final PowerManager manager = BatteryUtils.getPowerManager(); in setDischargePrediction() local
214 final PowerManager manager = BatteryUtils.getPowerManager(); in assertDischargePrediction() local
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java146 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testTranslationCapabilityUpdateListener() local
244 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testSingleTranslation() local
312 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testTranslation_partialResponses() local
404 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testTranslationCancelled() local
452 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testGetTranslationCapabilities() local
484 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testGetTranslationCapabilitiesWithBadService() local
508 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testGetTranslationSettingsActivityIntent() local
529 final TranslationManager manager = sContext.getSystemService(TranslationManager.class); in testTranslatorsAreNotCached() local
546 private Translator createTranslator(@NonNull TranslationManager manager, in createTranslator()
DOtherProcessService1.java57 TranslationManager manager = getSystemService(TranslationManager.class); in createOnDeviceTranslator() local
67 private void createTranslator(TranslationManager manager, in createTranslator()
DUiTranslationManagerTest.java204 UiTranslationManager manager = in testTranslationAfterStartActivityOnSameTask() local
663 UiTranslationManager manager = in testNonIMEUiTranslationStateCallback() local
712 UiTranslationManager manager = in testActivityDestroyedWithoutFinishTranslation() local
756 UiTranslationManager manager = in testCallbackRegisteredAfterTranslationStarted() local
805 UiTranslationManager manager = in testCallbackRegisteredAfterTranslationStartedAndPaused() local
854 UiTranslationManager manager = in testCallbackRegisteredAfterTranslationStartedPausedAndResumed() local
904 UiTranslationManager manager = in testCallbackRegisteredAfterTranslationFinished() local
954 UiTranslationManager manager = in testCallbackRegisteredAfterActivityDestroyedWithoutFinishTranslation() local
992 UiTranslationManager manager = in testCallbackCalledOnceAfterDuplicateCalls() local
1035 UiTranslationManager manager = in testCallbackCalledForStartTranslationWithDifferentLocales() local
[all …]
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetManagerTest.java50 AppWidgetManager manager = AppWidgetManager.getInstance(context); in testAppWidgetManagerNotNull() local
64 AppWidgetManager manager = context.getSystemService(AppWidgetManager.class); in testAppWidgetManagerNotNullFromContext() 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/hostsidetests/securitybulletin/test-apps/CVE-2020-0448/src/android/security/cts/CVE_2020_0448/
DDeviceTest.java40 final TelecomManager manager = context.getSystemService(TelecomManager.class); in testCVE_2020_0448() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39794/test-app/src/android/security/cts/CVE_2021_39794_test/
DDeviceTest.java42 IAdbManager manager = IAdbManager.Stub.asInterface(binder); in testCVE_2021_39794() 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/tests/security/src/android/security/cts/CVE_2021_0327/workprofilesetup/
DProvisionedActivity.java27 DevicePolicyManager manager = getSystemService(DevicePolicyManager.class); in onCreate() local
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DDataSharingService.java64 ContentCaptureManager manager = in shareData() local
108 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/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerMiscTest.java37 ShortcutManager manager = getTestContext().getSystemService(ShortcutManager.class); in testMiscApis() local
/cts/apps/hotspot/src/com/android/cts/hotspot/
DNotify.java28 WifiManager manager = (WifiManager) x.getSystemService(Context.WIFI_SERVICE); in turnOnHotspot() local
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DGenericManagerWrapper.java38 GenericManager getWrapper(Context context, GenericManager manager, Answer<?> answer) { in getWrapper()

12345