Home
last modified time | relevance | path

Searched refs:getService (Results 1 – 25 of 552) sorted by relevance

12345678910>>...23

/frameworks/base/core/java/android/app/
DNotificationManager.java241 static public INotificationManager getService() in getService() method in NotificationManager
246 IBinder b = ServiceManager.getService("notification"); in getService()
297 INotificationManager service = getService(); in notifyAsUser()
358 INotificationManager service = getService(); in cancelAsUser()
374 INotificationManager service = getService(); in cancelAll()
411 INotificationManager service = getService(); in createNotificationChannelGroups()
451 INotificationManager service = getService(); in createNotificationChannels()
466 INotificationManager service = getService(); in getNotificationChannel()
478 INotificationManager service = getService(); in getNotificationChannels()
494 INotificationManager service = getService(); in deleteNotificationChannel()
[all …]
DStatusBarManager.java107 private synchronized IStatusBarService getService() { in getService() method in StatusBarManager
110 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in getService()
124 final IStatusBarService svc = getService(); in disable()
141 final IStatusBarService svc = getService(); in disable2()
155 final IStatusBarService svc = getService(); in expandNotificationsPanel()
169 final IStatusBarService svc = getService(); in collapsePanels()
190 final IStatusBarService svc = getService(); in expandSettingsPanel()
201 final IStatusBarService svc = getService(); in setIcon()
213 final IStatusBarService svc = getService(); in removeIcon()
224 final IStatusBarService svc = getService(); in setIconVisibility()
DActivityManager.java1001 return getService().getFrontActivityScreenCompatMode(); in getFrontActivityScreenCompatMode()
1010 getService().setFrontActivityScreenCompatMode(mode); in setFrontActivityScreenCompatMode()
1019 return getService().getPackageScreenCompatMode(packageName); in getPackageScreenCompatMode()
1028 getService().setPackageScreenCompatMode(packageName, mode); in setPackageScreenCompatMode()
1037 return getService().getPackageAskScreenCompat(packageName); in getPackageAskScreenCompat()
1046 getService().setPackageAskScreenCompat(packageName, ask); in setPackageAskScreenCompat()
1415 return getService().getTaskDescriptionIcon(iconFilename, in loadTaskDescriptionIcon()
1824 return getService().getRecentTasks(maxNum, in getRecentTasks()
1849 return getService().getRecentTasks(maxNum, in getRecentTasksForUser()
1995 appTasks = getService().getAppTasks(mContext.getPackageName()); in getAppTasks()
[all …]
DPendingIntent.java344 ActivityManager.getService().getIntentSender( in getActivity()
369 ActivityManager.getService().getIntentSender( in getActivityAsUser()
486 ActivityManager.getService().getIntentSender( in getActivities()
512 ActivityManager.getService().getIntentSender( in getActivitiesAsUser()
564 ActivityManager.getService().getIntentSender( in getBroadcastAsUser()
599 public static PendingIntent getService(Context context, int requestCode, in getService() method in PendingIntent
643 ActivityManager.getService().getIntentSender( in buildServicePendingIntent()
670 ActivityManager.getService().cancelIntentSender(mTarget); in cancel()
874 int res = ActivityManager.getService().sendIntentSender( in send()
894 return ActivityManager.getService() in getTargetPackage()
[all …]
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java484 ITelephonyRegistry tr = ITelephonyRegistry.Stub.asInterface(ServiceManager.getService( in addOnSubscriptionsChangedListener()
510 ITelephonyRegistry tr = ITelephonyRegistry.Stub.asInterface(ServiceManager.getService( in removeOnSubscriptionsChangedListener()
538 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfo()
566 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfoForIccIndex()
592 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfoForSimSlotIndex()
615 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getAllSubscriptionInfoList()
653 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfoList()
694 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getAvailableSubscriptionInfoList()
735 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getAccessibleSubscriptionInfoList()
760 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in requestEmbeddedSubscriptionInfoListRefresh()
[all …]
DSmsManager.java413 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms")); in injectSmsPdu()
718 return ISms.Stub.asInterface(ServiceManager.getService("isms")); in getISmsService()
1080 iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms")); in getDefaultSmsSubscriptionId()
1098 iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms")); in isSMSPromptEnabled()
1163 final IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in sendMultimediaMessage()
1197 final IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in downloadMultimediaMessage()
1241 IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in importTextMessage()
1278 IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in importMultimediaMessage()
1304 IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in deleteStoredMessage()
1325 IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in deleteStoredConversation()
[all …]
/frameworks/native/libs/binder/
DAppOpsManager.cpp58 sp<IAppOpsService> AppOpsManager::getService() { return NULL; } in getService() function in android::AppOpsManager
60 sp<IAppOpsService> AppOpsManager::getService() in getService() function in android::AppOpsManager
90 sp<IAppOpsService> service = getService(); in checkOp()
97 sp<IAppOpsService> service = getService(); in noteOp()
104 sp<IAppOpsService> service = getService(); in startOp()
111 sp<IAppOpsService> service = getService(); in finishOp()
119 sp<IAppOpsService> service = getService(); in startWatchingMode()
126 sp<IAppOpsService> service = getService(); in stopWatchingMode()
133 sp<IAppOpsService> service = getService(); in permissionToOpCode()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java54 if (getService().mDevicesFound.isEmpty()) { in onCreate()
58 if (getService().mRequest.isSingleDevice()) { in onCreate()
60 final DeviceFilterPair selectedDevice = getService().mDevicesFound.get(0); in onCreate()
66 mPairButton.setOnClickListener(v -> onDeviceConfirmed(getService().mSelectedDevice)); in onCreate()
67 getService().mSelectedDevice = selectedDevice; in onCreate()
75 final DeviceDiscoveryService.DevicesAdapter adapter = getService().mDevicesAdapter; in onCreate()
91 getService().onCancel(); in cancel()
139 DeviceFilterPair selectedDevice = getService().mSelectedDevice; in onSelectionUpdate()
147 private DeviceDiscoveryService getService() { in getService() method in DeviceChooserActivity
152 getService().onDeviceSelected( in onDeviceConfirmed()
/frameworks/base/media/java/android/media/
DAudioManager.java688 private static IAudioService getService() in getService() method in AudioManager
693 IBinder b = ServiceManager.getService(Context.AUDIO_SERVICE); in getService()
784 final IAudioService service = getService(); in adjustStreamVolume()
852 final IAudioService service = getService(); in setMasterMute()
869 final IAudioService service = getService(); in getRingerMode()
889 final IAudioService service = getService(); in isValidRingerMode()
905 final IAudioService service = getService(); in getStreamMaxVolume()
922 final IAudioService service = getService(); in getStreamMinVolume()
939 final IAudioService service = getService(); in getStreamVolume()
953 final IAudioService service = getService(); in getLastAudibleStreamVolume()
[all …]
DPlayerBase.java95 IBinder b = ServiceManager.getService(Context.APP_OPS_SERVICE); in baseRegisterPlayer()
108 newPiid = getService().trackPlayer( in baseRegisterPlayer()
125 getService().playerAttributes(mPlayerIId, attr); in baseUpdateAudioAttributes()
141 getService().playerEvent(mPlayerIId, mState); in baseStart()
170 getService().playerEvent(mPlayerIId, mState); in basePause()
182 getService().playerEvent(mPlayerIId, mState); in baseStop()
233 getService().releasePlayer(mPlayerIId); in baseRelease()
278 getService().playerHasOpPlayAudio(mPlayerIId, mHasAppOpsPlayAudio); in updateAppOpsPlayAudio_sync()
322 cameraSoundForced = getService().isCameraSoundForced(); in isRestricted_sync()
335 private static IAudioService getService() in getService() method in PlayerBase
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DLocationProviderProxy.java85 private ILocationProvider getService() { in getService() method in LocationProviderProxy
112 service = getService();
162 ILocationProvider service = getService(); in enable()
180 ILocationProvider service = getService(); in disable()
206 ILocationProvider service = getService(); in setRequest()
227 ILocationProvider service = getService(); in dump()
243 ILocationProvider service = getService(); in getStatus()
259 ILocationProvider service = getService(); in getStatusUpdateTime()
275 ILocationProvider service = getService(); in sendExtraCommand()
DGeocoderProxy.java66 private IGeocodeProvider getService() { in getService() method in GeocoderProxy
76 IGeocodeProvider provider = getService(); in getFromLocation()
91 IGeocodeProvider provider = getService(); in getFromLocationName()
/frameworks/base/services/core/java/com/android/server/wm/
DDragAndDropPermissionsHandler.java64 IBinder permissionOwner = ActivityManager.getService(). in take()
74 ActivityManager.getService().grantUriPermissionFromOwner( in doTake()
88 mPermissionOwnerToken = ActivityManager.getService().newUriPermissionOwner("drop"); in takeTransient()
104 permissionOwner = ActivityManager.getService(). in release()
120 ActivityManager.getService().revokeUriPermissionFromOwner( in release()
/frameworks/base/keystore/java/android/security/
DGateKeeper.java36 public static IGateKeeperService getService() { in getService() method in GateKeeper
38 ServiceManager.getService(Context.GATEKEEPER_SERVICE)); in getService()
47 return getService().getSecureUserId(UserHandle.myUserId()); in getSecureUserId()
/frameworks/base/core/java/android/net/
DVpnService.java165 private static IConnectivityManager getService() { in getService() method in VpnService
167 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in getService()
195 if (getService().prepareVpn(context.getPackageName(), null, UserHandle.myUserId())) { in prepare()
218 IConnectivityManager cm = getService(); in prepareAndAuthorize()
293 return getService().addVpnAddress(address.getHostAddress(), prefixLength); in addAddress()
323 return getService().removeVpnAddress(address.getHostAddress(), prefixLength); in removeAddress()
363 return getService().setUnderlyingNetworksForVpn(networks); in setUnderlyingNetworks()
641 ServiceManager.getService("package")); in verifyApp()
806 return getService().establishVpn(mConfig); in establish()
/frameworks/base/packages/ExtServices/tests/src/android/ext/services/storage/
DCacheQuotaServiceImplTest.java75 CacheQuotaServiceImpl service = getService(); in testNoApps()
85 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testOneApp()
97 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsOneVolume()
111 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsTwoVolumes()
124 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testMultipleAppsPerUidIsCollated()
136 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsTwoVolumesTwoUuidsShouldBESeparate()
/frameworks/native/libs/binder/include/binder/
DIServiceManager.h39 virtual sp<IBinder> getService( const String16& name) const = 0;
69 status_t getService(const String16& name, sp<INTERFACE>* outService) in getService() function
73 *outService = interface_cast<INTERFACE>(sm->getService(name)); in getService()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java214 return ServiceManager.getService(name); in getBinderService()
228 return LocalServices.getService(type); in getLocalService()
232 return LocalServices.getService(SystemServiceManager.class); in getManager()
DInputContentUriTokenHandler.java67 mPermissionOwnerToken = ActivityManager.getService() in take()
81 ActivityManager.getService().grantUriPermissionFromOwner( in doTakeLocked()
99 ActivityManager.getService().revokeUriPermissionFromOwner( in release()
/frameworks/base/core/java/android/content/
DIntentSender.java191 int res = ActivityManager.getService().sendIntentSender(mTarget, mWhitelistToken, in sendIntent()
211 return ActivityManager.getService() in getTargetPackage()
230 return ActivityManager.getService() in getCreatorPackage()
249 return ActivityManager.getService() in getCreatorUid()
270 int uid = ActivityManager.getService() in getCreatorUserHandle()
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcExecutionEnvironment.java168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken); in open()
186 throwBundle(mExtras.getService().close(mExtras.mPackageName, mToken)); in close()
204 b = mExtras.getService().transceive(mExtras.mPackageName, in); in transceive()
/frameworks/base/core/java/android/os/
DServiceManager.java50 public static IBinder getService(String name) { in getService() method in ServiceManager
56 return Binder.allowBlocking(getIServiceManager().getService(name)); in getService()
71 final IBinder binder = getService(name); in getServiceOrThrow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java69 currentUser = ActivityManager.getService().getCurrentUser(); in onReceive()
99 currentUser = ActivityManager.getService().getCurrentUser(); in wipeGuestSession()
125 ActivityManager.getService().switchUser(UserHandle.USER_SYSTEM); in wipeGuestSession()
130 ActivityManager.getService().switchUser(newGuest.id); in wipeGuestSession()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java82 public IBinder getService(String serviceName) { in getService() method in FrameworkFacade
83 return ServiceManager.getService(serviceName); in getService()
91 return IBatteryStats.Stub.asInterface(getService(BatteryStats.SERVICE_NAME)); in getBatteryService()
181 return ActivityManager.getService().isAppForeground(uid); in isAppForeground()
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java64 ActivityManager.getService().startUserInBackground(mCrossUserId); in setUp()
113 mServiceConnection.getService().updateContent(uriToUpdate, "New Text", 42); in testRegisterContentObserver()
130 mServiceConnection.getService().notifyForUriAsUser(notifyUri, UserHandle.myUserId()); in testNotifyChange()
154 public ICrossUserContentService getService() { in getService() method in AbstractCrossUserContentResolverTest.CrossUserContentServiceConnection

12345678910>>...23