Home
last modified time | relevance | path

Searched refs:getServices (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java168 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in setUp()
172 when(getServices().userManager.isUserUnlocked(anyInt())).thenReturn(true); in setUp()
181 mAdmin1Context = new DpmMockContext(getServices(), mRealTestContext); in setUp()
200 dpms = new DevicePolicyManagerServiceTestable(getServices(), mContext); in initializeDpms()
225 }).when(getServices().userManager).setApplicationRestrictions( in setUpUserManager()
237 }).when(getServices().userManager).getApplicationRestrictions( in setUpUserManager()
241 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, 0); in setUpUserManager()
262 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in testHasNoFeature()
266 new DevicePolicyManagerServiceTestable(getServices(), mContext); in testHasNoFeature()
317 verify(getServices().ipackageManager, times(1)).setApplicationEnabledSetting( in testSetActiveAdmin()
[all …]
DDevicePolicyManagerServiceMigrationTest.java50 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in setUp()
55 final File user10dir = getServices().addUser(10, 0); in testMigration()
56 final File user11dir = getServices().addUser(11, UserInfo.FLAG_MANAGED_PROFILE); in testMigration()
57 getServices().addUser(12, 0); in testMigration()
65 (new File(getServices().dataDir, OwnersTestable.LEGACY_FILE)).getAbsoluteFile(), in testMigration()
70 … (new File(getServices().systemUserDataDir, "device_policies.xml")).getAbsoluteFile(), in testMigration()
84 when(getServices().userManagerInternal.getBaseUserRestrictions( in testMigration()
89 when(getServices().userManagerInternal.getBaseUserRestrictions( in testMigration()
98 when(getServices().userManagerInternal.getBaseUserRestrictions( in testMigration()
116 }).when(getServices().userManagerInternal).setBaseUserRestrictionsByDpmsForMigration( in testMigration()
[all …]
DOwnersTest.java39 getServices().addUsers(10, 11, 20, 21); in testUpgrade01()
43 final OwnersTestable owners = new OwnersTestable(getServices()); in testUpgrade01()
75 final OwnersTestable owners = new OwnersTestable(getServices()); in testUpgrade01()
92 getServices().addUsers(10, 11, 20, 21); in testUpgrade02()
96 final OwnersTestable owners = new OwnersTestable(getServices()); in testUpgrade02()
130 final OwnersTestable owners = new OwnersTestable(getServices()); in testUpgrade02()
150 getServices().addUsers(10, 11, 20, 21); in testUpgrade03()
154 final OwnersTestable owners = new OwnersTestable(getServices()); in testUpgrade03()
196 final OwnersTestable owners = new OwnersTestable(getServices()); in testUpgrade03()
228 getServices().addUsers(10, 11, 20, 21); in testUpgrade04()
[all …]
DDpmTestBase.java77 public MockSystemServices getServices() { in getServices() method in DpmTestBase
227 when(getServices().systemProperties.get( in mockSystemPropertiesToReturnDefault()
232 when(getServices().systemProperties.getBoolean( in mockSystemPropertiesToReturnDefault()
237 when(getServices().systemProperties.getLong( in mockSystemPropertiesToReturnDefault()
/frameworks/base/core/java/android/nfc/cardemulation/
DCardEmulation.java583 public List<ApduServiceInfo> getServices(String category) { in getServices() method in CardEmulation
585 return sService.getServices(UserHandle.myUserId(), category); in getServices()
594 return sService.getServices(UserHandle.myUserId(), category); in getServices()
/frameworks/base/core/java/android/nfc/
DINfcCardEmulation.aidl36 List<ApduServiceInfo> getServices(int userHandle, in String category); in getServices() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUISecondaryUserService.java41 SystemUI[] services = ((SystemUIApplication) getApplication()).getServices(); in dump()
DSystemUIService.java48 SystemUI[] services = ((SystemUIApplication) getApplication()).getServices(); in dump()
DSystemUIApplication.java279 public SystemUI[] getServices() { in getServices() method in SystemUIApplication
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java5419 for (final ManagedServiceInfo info : NotificationAssistants.this.getServices()) {
5456 for (final ManagedServiceInfo info : getServices()) {
5477 return !getServices().isEmpty();
5563 for (final ManagedServiceInfo info : getServices()) {
5603 for (final ManagedServiceInfo info : getServices()) {
5622 for (final ManagedServiceInfo serviceInfo : getServices()) {
5638 for (final ManagedServiceInfo serviceInfo : getServices()) {
5652 for (final ManagedServiceInfo serviceInfo : getServices()) {
5670 for (final ManagedServiceInfo serviceInfo : getServices()) {
5690 for (final ManagedServiceInfo serviceInfo : getServices()) {
[all …]
DConditionProviders.java263 for (ManagedServiceInfo service : getServices()) { in findConditionProvider()
DManagedServices.java157 protected List<ManagedServiceInfo> getServices() { in getServices() method in ManagedServices
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattServer.java757 public List<BluetoothGattService> getServices() { in getServices() method in BluetoothGattServer
DBluetoothGatt.java978 public List<BluetoothGattService> getServices() { in getServices() method in BluetoothGatt
/frameworks/base/core/java/android/app/
DIActivityManager.aidl211 List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags); in getServices() method
DActivityManager.java2654 .getServices(maxNum, 0); in getRunningServices()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java18261 public List<ActivityManager.RunningServiceInfo> getServices(int maxNum,
/frameworks/base/services/
Dart-profile2887 HPLcom/android/server/notification/ManagedServices;->getServices()Ljava/util/List;
8226 PLcom/android/server/am/ActivityManagerService;->getServices(II)Ljava/util/List;
/frameworks/base/config/
Dboot-image-profile.txt16411 HSPLandroid/app/IActivityManager;->getServices(II)Ljava/util/List;
27903 HSPLandroid/nfc/INfcCardEmulation;->getServices(ILjava/lang/String;)Ljava/util/List;
44424 HSPLjava/security/Provider;->getServices()Ljava/util/Set;
49431 HSPLsun/security/jca/GetInstance;->getServices(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
49459 HSPLsun/security/jca/ProviderList;->getServices(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Lis…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6252 method public java.util.List<android.bluetooth.BluetoothGattService> getServices();
6370 method public java.util.List<android.bluetooth.BluetoothGattService> getServices();
44819 method public synchronized java.util.Set<java.security.Provider.Service> getServices();
/frameworks/base/api/
Dcurrent.txt7684 method public java.util.List<android.bluetooth.BluetoothGattService> getServices();
7812 method public java.util.List<android.bluetooth.BluetoothGattService> getServices();
59100 method public synchronized java.util.Set<java.security.Provider.Service> getServices();
Dtest-current.txt7716 method public java.util.List<android.bluetooth.BluetoothGattService> getServices();
7844 method public java.util.List<android.bluetooth.BluetoothGattService> getServices();
59582 method public synchronized java.util.Set<java.security.Provider.Service> getServices();
Dsystem-current.txt8163 method public java.util.List<android.bluetooth.BluetoothGattService> getServices();
8291 method public java.util.List<android.bluetooth.BluetoothGattService> getServices();
63058 method public synchronized java.util.Set<java.security.Provider.Service> getServices();