Home
last modified time | relevance | path

Searched refs:asInterface (Results 1 – 25 of 403) sorted by relevance

12345678910>>...17

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/
DSetupParametersClient.java19 import static com.android.devicelockcontroller.storage.ISetupParametersService.Stub.asInterface;
104 asInterface(getService()).overridePrefs(bundle); in overridePrefs()
116 asInterface(getService()).dump(); in dump()
128 asInterface(getService()).clear();
141 asInterface(getService()).createPrefs(bundle);
154 return call(() -> asInterface(getService()).getKioskPackage());
164 return call(() -> asInterface(getService()).getOutgoingCallsDisabled());
174 return call(() -> asInterface(getService()).getKioskAllowlist());
184 return call(() -> asInterface(getService()).isNotificationsInLockTaskModeEnabled());
194 return call(() -> asInterface(getService()).isDebuggingAllowed());
[all …]
DGlobalParametersClient.java19 import static com.android.devicelockcontroller.storage.IGlobalParametersService.Stub.asInterface;
103 asInterface(getService()).clear(); in clear()
114 asInterface(getService()).dump(); in dump()
126 return call(() -> asInterface(getService()).isProvisionReady());
137 asInterface(getService()).setProvisionReady(isProvisionReady);
151 return call(() -> asInterface(getService()).getRegisteredDeviceId());
162 asInterface(getService()).setRegisteredDeviceId(registeredDeviceId);
174 return call(() -> asInterface(getService()).isProvisionForced());
185 asInterface(getService()).setProvisionForced(isForced);
197 return call(() -> asInterface(getService()).getDeviceState());
[all …]
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-unsupported.txt1 Landroid/bluetooth/IBluetooth$Stub;->asInterface(Landroid/os/IBinder;)Landroid/bluetooth/IBluetooth;
2 Landroid/bluetooth/IBluetoothA2dp$Stub;->asInterface(Landroid/os/IBinder;)Landroid/bluetooth/IBluet…
5 Landroid/bluetooth/IBluetoothGattCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroid/bluetoot…
6 Landroid/bluetooth/IBluetoothHeadset$Stub;->asInterface(Landroid/os/IBinder;)Landroid/bluetooth/IBl…
9 Landroid/bluetooth/IBluetoothManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/bluetooth/IBl…
11 Landroid/bluetooth/IBluetoothPbap$Stub;->asInterface(Landroid/os/IBinder;)Landroid/bluetooth/IBluet…
/packages/modules/Connectivity/framework-t/src/android/net/
DConnectivityFrameworkInitializerTiramisu.java55 INsdManager service = INsdManager.Stub.asInterface(serviceBinder); in registerServiceWrappers()
64 IIpSecService service = IIpSecService.Stub.asInterface(serviceBinder); in registerServiceWrappers()
74 INetworkStatsService.Stub.asInterface(serviceBinder); in registerServiceWrappers()
83 IEthernetManager service = IEthernetManager.Stub.asInterface(serviceBinder); in registerServiceWrappers()
94 IMDns service = IMDns.Stub.asInterface(serviceBinder); in registerServiceWrappers()
105 IThreadNetworkManager.Stub.asInterface(serviceBinder); in registerServiceWrappers()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DInitialLockSetupServiceTest.java89 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testGetLockConfig_returnsCorrectConfig()
104 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testCheckValidLock_tooShort()
113 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testCheckValidLock_longEnough()
122 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testCheckValidLockPin_withLetters()
131 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testCheckValidLockPattern_tooShort()
144 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testCheckValidLockPattern_longEnough()
157 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testSetLockPassword_doesNotWorkWithExistingPassword()
166 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testSetLockPassword_doesNotWorkWithInvalidPassword()
174 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testSetLockPassword_setsDevicePassword()
187 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testSetLockPin_setsDevicePin()
[all …]
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/com/android/federatedcompute/internal/util/
DAndroidServiceBinderTest.java65 IOnDevicePersonalizationManagingService.Stub::asInterface); in testOdpServiceBinding()
82 IOnDevicePersonalizationManagingService.Stub::asInterface); in testServiceBindingWithFlags()
104 IFederatedComputeService.Stub::asInterface); in testFcpServiceBinding()
117 IOnDevicePersonalizationManagingService.Stub::asInterface); in testOdpServiceBindingWrongPackage()
129 IFederatedComputeService.Stub::asInterface); in testFcpServiceBindingWrongPackage()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiFrameworkInitializer.java84 IWifiManager service = IWifiManager.Stub.asInterface(serviceBinder); in registerServiceWrappers()
96 IWifiP2pManager service = IWifiP2pManager.Stub.asInterface(serviceBinder); in registerServiceWrappers()
108 IWifiAwareManager service = IWifiAwareManager.Stub.asInterface(serviceBinder); in registerServiceWrappers()
120 IWifiScanner service = IWifiScanner.Stub.asInterface(serviceBinder); in registerServiceWrappers()
132 IWifiRttManager service = IWifiRttManager.Stub.asInterface(serviceBinder); in registerServiceWrappers()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DImsMediaController.java71 IImsAudioSessionCallback.Stub.asInterface(callback)); in openSession()
76 IImsVideoSessionCallback.Stub.asInterface(callback)); in openSession()
80 IImsTextSessionCallback.Stub.asInterface(callback)); in openSession()
101 (AudioSession) IImsAudioSession.Stub.asInterface(session); in closeSession()
105 (VideoSession) IImsVideoSession.Stub.asInterface(session); in closeSession()
109 (TextSession) IImsTextSession.Stub.asInterface(session); in closeSession()
136 IImsMediaCallback.Stub.asInterface(callback).onVideoSpropResponse(spropList); in generateVideoSprop()
/packages/modules/Connectivity/framework/src/android/net/
DCaptivePortal.java109 ICaptivePortal.Stub.asInterface(mBinder).appResponse(APP_RETURN_DISMISSED); in reportCaptivePortalDismissed()
123 ICaptivePortal.Stub.asInterface(mBinder).appResponse(APP_RETURN_UNWANTED); in ignoreNetwork()
140 ICaptivePortal.Stub.asInterface(mBinder).appResponse(APP_RETURN_WANTED_AS_IS); in useNetwork()
153 ICaptivePortal.Stub.asInterface(mBinder).appRequest(APP_REQUEST_REEVALUATION_REQUIRED); in reevaluateNetwork()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/
DIsolatedServiceBinderTest.java43 IIsolatedTrainingService.Stub::asInterface); in testFcpServiceBindingByName()
62 IIsolatedTrainingService.Stub::asInterface); in testIsolatedProcessBinding()
81 IIsolatedTrainingService.Stub::asInterface); in testSharedIsolatedProcessBinding()
/packages/services/Car/tests/carservice_unit_test/src/android/car/oem/
DOemCarServiceTest.java42 .asInterface(mTestOemCarService.onBind(null));
81 .asInterface(testOemCarService.onBind(null)); in testGetOemAudioFocusService_notNull()
106 .asInterface(testOemCarService.onBind(null)); in getOemAudioVolumeService_notNull()
133 .asInterface(testOemCarService.onBind(null)); in getOemAudioDuckingService_notNull()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/federatedcompute/
DOdpExampleStoreServiceTests.java137 IExampleStoreService.Stub.asInterface(mService.onBind(intent)); in testStartQuery_lessThanMinExample_failure()
171 IExampleStoreService.Stub.asInterface(mService.onBind(intent)); in testStartQuery_moreThanMinExample_failure()
206 IExampleStoreService.Stub.asInterface(mService.onBind(intent)); in testWithStartQuery()
261 IExampleStoreService.Stub.asInterface(mService.onBind(intent)); in testWithStartQueryMeasurementControlRevoked()
285 IExampleStoreService.Stub.asInterface(mService.onBind(intent)); in testWithStartQueryNotValidJob()
309 IExampleStoreService.Stub.asInterface(mService.onBind(intent)); in testWithStartQueryBadInput()
327 IExampleStoreService.Stub.asInterface(mService.onBind(intent)); in testFailedPermissionCheck()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-unsupported.txt2 Landroid/net/wifi/IWifiManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/net/wifi/IWifiManag…
6 Landroid/net/wifi/IWifiScanner$Stub;->asInterface(Landroid/os/IBinder;)Landroid/net/wifi/IWifiScann…
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeCallbackHandler.java52 ICarVolumeCallback callback = ICarVolumeCallback.Stub.asInterface(binder); in registerCallback()
68 ICarVolumeCallback callback = ICarVolumeCallback.Stub.asInterface(binder); in unregisterCallback()
109 ICarVolumeCallback.Stub.asInterface(binders.get(i)); in checkAndRepriotize()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/networkstack/
DModuleNetworkStackClient.java73 onNetworkStackConnected(INetworkStackConnector.Stub.asInterface(nss)); in startPolling()
96 onNetworkStackConnected(INetworkStackConnector.Stub.asInterface(nss)); in run()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DModelManagerTest.java50 IDataAccessService.Stub.asInterface(new TestDataAccessService()),
51 IIsolatedModelService.Stub.asInterface(new TestIsolatedModelService()));
63 IDataAccessService.Stub.asInterface(new TestDataAccessService())); in setup()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/
DMainActivity.java305 ISdkApi sdkApi = ISdkApi.Stub.asInterface(binder); in configureFeatureFlagSection()
397 ISdkApi sdkApi = ISdkApi.Stub.asInterface(binder); in registerLoadSdksButton()
622 ISdkApi sdkApi = ISdkApi.Stub.asInterface(binder); in onGetFileDescriptorPressed()
653 ISdkApi sdkApi = ISdkApi.Stub.asInterface(binder); in onSendFileDescriptorPressed()
694 ISdkApi sdkApi = ISdkApi.Stub.asInterface(binder); in registerCreateFileButton()
787 ISdkApi sdkApi = ISdkApi.Stub.asInterface(binder); in registerDumpSandboxButton()
845 ISdkApi sdkApi = ISdkApi.Stub.asInterface(binder); in onSyncKeyPressed()
879 ISdkApi sdkApi = ISdkApi.Stub.asInterface(binder); in registerNewFullscreenAdButton()
1065 final ISdkApi sdkApi = ISdkApi.Stub.asInterface(binder); in withSdkApiIfLoaded()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/MediationProvider/src/com/android/sdksandbox/cts/provider/mediationtest/
DMediationTestSdkApiImpl.java96 return ICtsSdkProviderApi.Stub.asInterface(iBinder); in getMediateeInterface()
105 return ICtsSdkProviderApi.Stub.asInterface(iBinder); in getMediateeInterface()
/packages/apps/Stk/src/com/android/stk/
DStkAppInstaller.java43 IPackageManager pm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in installOrUpdate()
67 IPackageManager pm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in uninstall()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTouchInteractionService.java184 ISystemUiProxy proxy = ISystemUiProxy.Stub.asInterface( in onInitialize()
186 IPip pip = IPip.Stub.asInterface(bundle.getBinder(KEY_EXTRA_SHELL_PIP)); in onInitialize()
187 IBubbles bubbles = IBubbles.Stub.asInterface(bundle.getBinder(KEY_EXTRA_SHELL_BUBBLES)); in onInitialize()
188 ISplitScreen splitscreen = ISplitScreen.Stub.asInterface(bundle.getBinder( in onInitialize()
190 IOneHanded onehanded = IOneHanded.Stub.asInterface( in onInitialize()
192 IShellTransitions shellTransitions = IShellTransitions.Stub.asInterface( in onInitialize()
194 IStartingWindow startingWindow = IStartingWindow.Stub.asInterface( in onInitialize()
197 ISysuiUnlockAnimationController.Stub.asInterface( in onInitialize()
199 IRecentTasks recentTasks = IRecentTasks.Stub.asInterface( in onInitialize()
201 IBackAnimation backAnimation = IBackAnimation.Stub.asInterface( in onInitialize()
[all …]
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxMetricsHostTest/app/src/com/android/tests/sdksandbox/
DSdkSandboxMetricsTestApp.java105 ICrashTestSdkApi.Stub.asInterface(callback.getSandboxedSdk().getInterface()); in testSdkCanAccessSdkSandboxExitReasons()
144 ICrashTestSdkApi.Stub.asInterface(callback.getSandboxedSdk().getInterface()); in testSdkCannotAccessExitReasonsFromOtherSdkSandboxUids()
219 ICrashTestSdkApi.Stub.asInterface(callback.getSandboxedSdk().getInterface()); in generateSdkSandboxCrash()
/packages/apps/Settings/src/com/android/settings/spa/notification/
DAppNotificationRepository.kt64 private val usageStatsManager: IUsageStatsManager = IUsageStatsManager.Stub.asInterface(
67 private val notificationManager: INotificationManager = INotificationManager.Stub.asInterface(
70 private val userManager: IUserManager = IUserManager.Stub.asInterface(
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DClearDefaultsPreference.java48 mUsbManager = IUsbManager.Stub.asInterface(usbBinder); in ClearDefaultsPreference()
109 IUsbManager.Stub.asInterface(usbBinder) in onOk()
/packages/apps/Settings/src/com/android/settings/backup/
DPrivacySettingsUtils.java65 final IBackupManager backupManager = IBackupManager.Stub.asInterface( in getInvisibleKey()
89 final IBackupManager backupManager = IBackupManager.Stub.asInterface( in updatePrivacyBuffer()
/packages/modules/AdServices/adservices/tests/cts/cobalt/src/com/android/adservices/tests/cobalt/
DAdServicesCobaltUploadTest.java90 IAdServicesCobaltUploadService.Stub.asInterface(remoteObject); in testAdServicesCobaltUploadService_devEnvironment()
113 IAdServicesCobaltUploadService.Stub.asInterface(remoteObject); in testAdServicesCobaltUploadService_prodEnvironment()

12345678910>>...17