Home
last modified time | relevance | path

Searched refs:IActivityManager (Results 1 – 25 of 96) sorted by relevance

1234

/frameworks/native/libs/binder/
DActivityManager.cpp32 sp<IActivityManager> ActivityManager::getService() in getService()
36 sp<IActivityManager> service = mService; in getService()
51 service = interface_cast<IActivityManager>(binder); in getService()
60 sp<IActivityManager> service = getService(); in openContentUri()
69 sp<IActivityManager> service = getService(); in registerUidObserver()
77 sp<IActivityManager> service = getService(); in unregisterUidObserver()
85 sp<IActivityManager> service = getService(); in isUidActive()
94 sp<IActivityManager> service = getService(); in getUidProcessState()
102 sp<IActivityManager> service = getService(); in linkToDeath()
110 sp<IActivityManager> service = getService(); in unlinkToDeath()
DIActivityManager.cpp28 class BpActivityManager : public BpInterface<IActivityManager>
32 : BpInterface<IActivityManager>(impl) in BpActivityManager()
39 data.writeInterfaceToken(IActivityManager::getInterfaceDescriptor()); in openContentUri()
66 data.writeInterfaceToken(IActivityManager::getInterfaceDescriptor()); in registerUidObserver()
77 data.writeInterfaceToken(IActivityManager::getInterfaceDescriptor()); in unregisterUidObserver()
85 data.writeInterfaceToken(IActivityManager::getInterfaceDescriptor()); in isUidActive()
97 data.writeInterfaceToken(IActivityManager::getInterfaceDescriptor()); in getUidProcessState()
/frameworks/base/services/core/java/com/android/server/job/
DGrantedUriPermissions.java19 import android.app.IActivityManager;
43 private GrantedUriPermissions(IActivityManager am, int grantFlags, int uid, String tag) in GrantedUriPermissions()
52 public void revoke(IActivityManager am) { in revoke()
65 public static GrantedUriPermissions createFromIntent(IActivityManager am, Intent intent, in createFromIntent()
89 public static GrantedUriPermissions createFromClip(IActivityManager am, ClipData clip, in createFromClip()
102 private static GrantedUriPermissions grantClip(IActivityManager am, ClipData clip, in grantClip()
113 private static GrantedUriPermissions grantUri(IActivityManager am, Uri uri, in grantUri()
132 private static GrantedUriPermissions grantItem(IActivityManager am, ClipData.Item item, in grantItem()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java21 import android.app.IActivityManager;
43 private IActivityManager mActivityManager;
52 IActivityManager activityManager, LockPatternUtils lockPatternUtils, in MockInjector()
88 public IActivityManager getActivityManager() { in getActivityManager()
135 IStorageManager storageManager, IActivityManager mActivityManager, in LockSettingsServiceTestable()
DBaseLockSettingsServiceTests.java29 import android.app.IActivityManager;
91 IActivityManager mActivityManager;
109 mActivityManager = mock(IActivityManager.class); in setUp_baseServices()
/frameworks/base/core/java/android/app/
DActivityManagerNative.java40 static public IActivityManager asInterface(IBinder obj) { in asInterface()
41 return IActivityManager.Stub.asInterface(obj); in asInterface()
50 static public IActivityManager getDefault() { in getDefault()
DService.java835 mActivityManager = (IActivityManager)activityManager; in attach()
862 private IActivityManager mActivityManager = null;
/frameworks/av/media/libmediaplayerservice/
DActivityManager.cpp33 sp<IActivityManager> am = interface_cast<IActivityManager>(binder); in openContentProviderFile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAppOpsListener.java24 import android.app.IActivityManager;
37 private IActivityManager mActivityManager;
64 public PipAppOpsListener(Context context, IActivityManager activityManager, in PipAppOpsListener()
DPipUtils.java24 import android.app.IActivityManager;
40 IActivityManager activityManager) { in getTopPinnedActivity()
DPipMediaController.java21 import android.app.IActivityManager;
69 private final IActivityManager mActivityManager;
112 public PipMediaController(Context context, IActivityManager activityManager) { in PipMediaController()
DPipManager.java24 import android.app.IActivityManager;
57 private IActivityManager mActivityManager;
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java23 import android.app.IActivityManager;
223 final IActivityManager mgr = ActivityManager.getService(); in finish()
250 final IActivityManager mgr = ActivityManager.getService(); in finish()
263 public void sendFinished(IActivityManager am) { in sendFinished()
404 IActivityManager am = ActivityManager.getService(); in peekService()
/frameworks/native/libs/binder/include/binder/
DActivityManager.h87 sp<IActivityManager> mService;
88 sp<IActivityManager> getService();
DIActivityManager.h29 class IActivityManager : public IInterface
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java25 import android.app.IActivityManager;
47 private IActivityManager mService;
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java6 import android.app.IActivityManager;
46 IActivityManager am = ActivityManager.getService(); in setRunAsMonkey()
DShellUiAutomatorBridge.java21 import android.app.IActivityManager;
60 IActivityManager activityManager = ActivityManager.getService(); in getSystemLongPressTime()
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DActivityManagerPermissionTests.java21 import android.app.IActivityManager;
32 IActivityManager mAm;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarWindowControllerTest.java27 import android.app.IActivityManager;
58 private IActivityManager mActivityManager;
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsUserLifecycleTests.java24 import android.app.IActivityManager;
62 private IActivityManager mIam;
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java20 import android.app.IActivityManager;
41 private IActivityManager mAm;
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java20 import android.app.IActivityManager;
175 IActivityManager activityManager = ActivityManager.getService(); in parseArgs()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java23 import android.app.IActivityManager;
122 IActivityManager.Stub.asInterface(ServiceManager.checkService(Context.ACTIVITY_SERVICE)) in setUp()
129 IActivityManager.Stub.asInterface(ServiceManager.checkService(Context.ACTIVITY_SERVICE)) in tearDown()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DBackupManagerServiceTestUtils.java29 import android.app.IActivityManager;
125 when(backupManagerService.getActivityManager()).thenReturn(mock(IActivityManager.class)); in setUpBackupManagerServiceBasics()

1234