Searched refs:getServices (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceMigrationTest.java50 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN)))
55 final File user10dir = getServices().addUser(10, 0);
56 final File user11dir = getServices().addUser(11, UserInfo.FLAG_MANAGED_PROFILE);
57 getServices().addUser(12, 0);
65 (new File(getServices().dataDir, OwnersTestable.LEGACY_FILE)).getAbsoluteFile(),
70 (new File(getServices().systemUserDataDir, "device_policies.xml")).getAbsoluteFile(),
84 when(getServices().userManagerInternal.getBaseUserRestrictions(
89 when(getServices().userManagerInternal.getBaseUserRestrictions(
98 when(getServices().userManagerInternal.getBaseUserRestrictions(
116 }).when(getServices()
[all...]
H A DOwnersTest.java39 getServices().addUsers(10, 11, 20, 21);
43 final OwnersTestable owners = new OwnersTestable(getServices());
75 final OwnersTestable owners = new OwnersTestable(getServices());
92 getServices().addUsers(10, 11, 20, 21);
96 final OwnersTestable owners = new OwnersTestable(getServices());
130 final OwnersTestable owners = new OwnersTestable(getServices());
150 getServices().addUsers(10, 11, 20, 21);
154 final OwnersTestable owners = new OwnersTestable(getServices());
196 final OwnersTestable owners = new OwnersTestable(getServices());
228 getServices()
[all...]
H A DDevicePolicyManagerTest.java181 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN)))
184 .when(getServices().packageManager).queryBroadcastReceiversAsUser(
190 when(getServices().userManager.isUserUnlocked(anyInt())).thenReturn(true);
194 Mockito.reset(getServices().usageStatsManagerInternal);
195 Mockito.reset(getServices().networkPolicyManagerInternal);
201 mAdmin1Context = new DpmMockContext(getServices(), mRealTestContext);
225 dpms = new DevicePolicyManagerServiceTestable(getServices(), mContext);
250 }).when(getServices().userManager).setApplicationRestrictions(
262 }).when(getServices().userManager).getApplicationRestrictions(
266 getServices()
[all...]
H A DDpmTestBase.java77 public MockSystemServices getServices() { method in class:DpmTestBase
227 when(getServices().systemProperties.get(
232 when(getServices().systemProperties.getBoolean(
237 when(getServices().systemProperties.getLong(
H A DNetworkEventTest.java62 mDpmTestable = new DevicePolicyManagerServiceTestable(getServices(), mSpiedDpmMockContext);
/frameworks/base/core/java/android/nfc/
H A DINfcCardEmulation.aidl36 List<ApduServiceInfo> getServices(int userHandle, in String category);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSystemUISecondaryUserService.java41 SystemUI[] services = ((SystemUIApplication) getApplication()).getServices();
H A DSystemUIService.java69 SystemUI[] services = ((SystemUIApplication) getApplication()).getServices();
H A DSystemUIApplication.java249 public SystemUI[] getServices() { method in class:SystemUIApplication
/frameworks/base/core/java/android/nfc/cardemulation/
H A DCardEmulation.java583 public List<ApduServiceInfo> getServices(String category) { method in class:CardEmulation
585 return sService.getServices(mContext.getUserId(), category);
594 return sService.getServices(mContext.getUserId(), category);
/frameworks/base/services/core/java/com/android/server/notification/
H A DConditionProviders.java263 for (ManagedServiceInfo service : getServices()) {
H A DNotificationManagerService.java6379 for (final ManagedServiceInfo info : NotificationAssistants.this.getServices()) {
6414 for (final ManagedServiceInfo info : getServices()) {
6439 return !getServices().isEmpty();
6548 for (final ManagedServiceInfo info : getServices()) {
6612 for (final ManagedServiceInfo info : getServices()) {
6661 for (final ManagedServiceInfo serviceInfo : getServices()) {
6693 for (final ManagedServiceInfo serviceInfo : getServices()) {
6753 for (final ManagedServiceInfo serviceInfo : getServices()) {
6771 for (final ManagedServiceInfo serviceInfo : getServices()) {
6791 for (final ManagedServiceInfo serviceInfo : getServices()) {
[all...]
H A DManagedServices.java171 protected List<ManagedServiceInfo> getServices() { method in class:ManagedServices
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServer.java782 public List<BluetoothGattService> getServices() { method in class:BluetoothGattServer
H A DBluetoothGatt.java967 * retrieved using the {@link #getServices} function.
1025 public List<BluetoothGattService> getServices() { method in class:BluetoothGatt
/frameworks/base/core/java/android/app/
H A DIActivityManager.aidl224 List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags);
H A DActivityManager.java2490 .getServices(maxNum, 0);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java20319 public List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags) { method in class:ActivityManagerService
20320 enforceNotIsolatedCaller("getServices");
20325 final boolean allowed = isGetTasksAllowed("getServices", Binder.getCallingPid(),
[all...]
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 224 milliseconds