Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
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 …]
DDevicePolicyManagerTest.java185 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in setUp()
188 .when(getServices().packageManager).queryBroadcastReceiversAsUser( in setUp()
194 when(getServices().userManager.isUserUnlocked(anyInt())).thenReturn(true); in setUp()
198 Mockito.reset(getServices().usageStatsManagerInternal); in setUp()
199 Mockito.reset(getServices().networkPolicyManagerInternal); in setUp()
205 mAdmin1Context = new DpmMockContext(getServices(), mRealTestContext); in setUp()
212 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(true); in setUp()
231 dpms = new DevicePolicyManagerServiceTestable(getServices(), mContext); in initializeDpms()
253 }).when(getServices().userManager).setApplicationRestrictions( in setUpUserManager()
262 }).when(getServices().userManager).getApplicationRestrictions( in setUpUserManager()
[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.java80 public MockSystemServices getServices() { in getServices() method in DpmTestBase
244 when(getServices().systemProperties.get( in mockSystemPropertiesToReturnDefault()
249 when(getServices().systemProperties.getBoolean( in mockSystemPropertiesToReturnDefault()
254 when(getServices().systemProperties.getLong( in mockSystemPropertiesToReturnDefault()
DNetworkEventTest.java62 mDpmTestable = new DevicePolicyManagerServiceTestable(getServices(), mSpiedDpmMockContext); in setUp()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DServiceTest.java267 assertEquals(1, file.getServices().size()); in testNoGenericServices()
268 assertEquals("TestService", file.getServices().get(0).getName()); in testNoGenericServices()
269 assertEquals(1, file.getServices().get(0).getMethods().size()); in testNoGenericServices()
271 file.getServices().get(0).getMethods().get(0).getName()); in testNoGenericServices()
DDescriptorsTest.java126 assertEquals(service, file.getServices().get(0)); in testFileDescriptor()
131 UnittestImport.getDescriptor().getServices()); in testFileDescriptor()
132 for (int i = 0; i < file.getServices().size(); i++) { in testFileDescriptor()
133 assertEquals(i, file.getServices().get(i).getIndex()); in testFileDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DServiceTest.java266 assertEquals(1, file.getServices().size()); in testNoGenericServices()
267 assertEquals("TestService", file.getServices().get(0).getName()); in testNoGenericServices()
268 assertEquals(1, file.getServices().get(0).getMethods().size()); in testNoGenericServices()
270 file.getServices().get(0).getMethods().get(0).getName()); in testNoGenericServices()
DDescriptorsTest.java125 assertEquals(service, file.getServices().get(0)); in testFileDescriptor()
130 UnittestImport.getDescriptor().getServices()); in testFileDescriptor()
131 for (int i = 0; i < file.getServices().size(); i++) { in testFileDescriptor()
132 assertEquals(i, file.getServices().get(i).getIndex()); in testFileDescriptor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUISecondaryUserService.java41 SystemUI[] services = ((SystemUIApplication) getApplication()).getServices(); in dump()
DSystemUIService.java69 SystemUI[] services = ((SystemUIApplication) getApplication()).getServices(); in dump()
DSystemUIApplication.java284 public SystemUI[] getServices() { in getServices() method in SystemUIApplication
/frameworks/base/core/java/android/nfc/
DINfcCardEmulation.aidl38 List<ApduServiceInfo> getServices(int userHandle, in String category); in getServices() method
/frameworks/base/core/java/android/nfc/cardemulation/
DCardEmulation.java707 public List<ApduServiceInfo> getServices(String category) { in getServices() method in CardEmulation
709 return sService.getServices(mContext.getUserId(), category); in getServices()
718 return sService.getServices(mContext.getUserId(), category); in getServices()
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java269 for (ManagedServiceInfo service : getServices()) { in findConditionProvider()
DNotificationManagerService.java7504 for (final ManagedServiceInfo info : NotificationAssistants.this.getServices()) {
7513 for (final ManagedServiceInfo info : NotificationAssistants.this.getServices()) {
7535 for (final ManagedServiceInfo info : NotificationAssistants.this.getServices()) {
7738 for (final ManagedServiceInfo info : NotificationAssistants.this.getServices()) {
7756 return !getServices().isEmpty();
7889 for (final ManagedServiceInfo info : getServices()) {
7926 for (final ManagedServiceInfo info : getServices()) {
7989 for (final ManagedServiceInfo info : getServices()) {
8038 for (final ManagedServiceInfo serviceInfo : getServices()) {
8070 for (final ManagedServiceInfo serviceInfo : getServices()) {
[all …]
DManagedServices.java175 protected List<ManagedServiceInfo> getServices() { in getServices() method in ManagedServices
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattServer.java782 public List<BluetoothGattService> getServices() { in getServices() method in BluetoothGattServer
DBluetoothGatt.java1037 public List<BluetoothGattService> getServices() { in getServices() method in BluetoothGatt
/frameworks/base/core/java/android/app/
DIActivityManager.aidl246 List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags); in getServices() method
DActivityManager.java2283 .getServices(maxNum, 0);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DDescriptors.java121 public List<ServiceDescriptor> getServices() { in getServices() method in Descriptors.FileDescriptor
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java13879 public List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags) { in getServices() method in ActivityManagerService
/frameworks/base/services/
Dart-profile2886 HSPLcom/android/server/am/ActivityManagerService;->getServices(II)Ljava/util/List;
9291 HSPLcom/android/server/notification/ManagedServices;->getServices()Ljava/util/List;
/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();

12