/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DevicePolicyManagerServiceMigrationTest.java | 50 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().userManagerInternal).setBaseUserRestrictionsByDpmsForMigration [all...] |
OwnersTest.java | 39 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().addUsers(10, 11, 20, 21) [all...] |
DevicePolicyManagerTest.java | 168 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) 172 when(getServices().userManager.isUserUnlocked(anyInt())).thenReturn(true); 181 mAdmin1Context = new DpmMockContext(getServices(), mRealTestContext); 200 dpms = new DevicePolicyManagerServiceTestable(getServices(), mContext); 225 }).when(getServices().userManager).setApplicationRestrictions( 237 }).when(getServices().userManager).getApplicationRestrictions( 241 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, 0); 262 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) 266 new DevicePolicyManagerServiceTestable(getServices(), mContext); 317 verify(getServices().ipackageManager, times(1)).setApplicationEnabledSetting [all...] |
DpmTestBase.java | 77 public MockSystemServices getServices() { 227 when(getServices().systemProperties.get( 232 when(getServices().systemProperties.getBoolean( 237 when(getServices().systemProperties.getLong(
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
GetInstance.java | 112 public static List<Service> getServices(String type, String algorithm) { 114 return list.getServices(type, algorithm); 120 * @deprecated use getServices(List<ServiceId>) instead 123 public static List<Service> getServices(String type, 126 return list.getServices(type, algorithms); 131 * the specified algorithms. See getServices(String, String) for detals. 133 public static List<Service> getServices(List<ServiceId> ids) { 135 return list.getServices(ids); 170 for (Service s : list.getServices(type, algorithm)) { 186 List<Service> services = getServices(type, algorithm) [all...] |
ProviderList.java | 349 public List<Service> getServices(String type, String algorithm) { 356 * @deprecated use getServices(List<ServiceId>) instead 359 public List<Service> getServices(String type, List<String> algorithms) { 364 return getServices(ids); 367 public List<Service> getServices(List<ServiceId> ids) {
|
/packages/apps/Camera2/src/com/android/camera/ |
CameraModule.java | 33 mServices = app.getServices(); 60 protected CameraServices getServices() {
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSQuestion.java | 46 return jmDNSImpl.getLocalHost().getName().equals(name) || jmDNSImpl.getServices().keySet().contains(name); 70 return jmDNSImpl.getLocalHost().getName().equals(name) || jmDNSImpl.getServices().keySet().contains(name); 95 for (ServiceInfo serviceInfo : jmDNSImpl.getServices().values()) { 147 this.addAnswersForServiceInfo(jmDNSImpl, answers, (ServiceInfoImpl) jmDNSImpl.getServices().get(loname)); 153 return jmDNSImpl.getLocalHost().getName().equals(name) || jmDNSImpl.getServices().keySet().contains(name); 168 this.addAnswersForServiceInfo(jmDNSImpl, answers, (ServiceInfoImpl) jmDNSImpl.getServices().get(this.getName().toLowerCase())); 174 return jmDNSImpl.getLocalHost().getName().equals(name) || jmDNSImpl.getServices().keySet().contains(name); 208 this.addAnswersForServiceInfo(jmDNSImpl, answers, (ServiceInfoImpl) jmDNSImpl.getServices().get(loname)); 214 return jmDNSImpl.getLocalHost().getName().equals(name) || jmDNSImpl.getServices().keySet().contains(name);
|
DNSRecord.java | 350 for (ServiceInfo serviceInfo : dns.getServices().values()) { 372 for (ServiceInfo serviceInfo : dns.getServices().values()) { 725 ServiceInfoImpl info = (ServiceInfoImpl) dns.getServices().get(this.getKey()); 755 dns.getServices().remove(oldName); 756 dns.getServices().put(info.getQualifiedName().toLowerCase(), info); 775 ServiceInfoImpl info = (ServiceInfoImpl) dns.getServices().get(this.getKey()); 782 dns.getServices().remove(oldName); 783 dns.getServices().put(info.getQualifiedName().toLowerCase(), info); 795 ServiceInfoImpl info = (ServiceInfoImpl) dns.getServices().get(this.getKey()); [all...] |
/frameworks/base/core/java/android/nfc/ |
INfcCardEmulation.aidl | 36 List<ApduServiceInfo> getServices(int userHandle, in String category);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderTest.java | 298 Set services = p.getServices(); 330 assertEquals(1, p.getServices().size()); 389 return getServices().size(); 418 Set<Provider.Service> services = myProvider.getServices(); 432 Set<Service> actual = myProvider.getServices(); 439 actual = myProvider.getServices(); 447 actual = myProvider.getServices(); 469 Set<Service> actual = myProvider.getServices(); 477 actual = myProvider.getServices(); 484 actual = myProvider.getServices(); [all...] |
/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
DNSStateTask.java | 80 for (ServiceInfo serviceInfo : this.getDns().getServices().values()) { 95 for (ServiceInfo serviceInfo : this.getDns().getServices().values()) { 118 for (ServiceInfo serviceInfo : this.getDns().getServices().values()) {
|
/external/jmdns/src/javax/jmdns/impl/tasks/resolver/ |
ServiceResolver.java | 49 for (ServiceInfo info : this.getDns().getServices().values()) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SystemUISecondaryUserService.java | 41 SystemUI[] services = ((SystemUIApplication) getApplication()).getServices();
|
SystemUIService.java | 48 SystemUI[] services = ((SystemUIApplication) getApplication()).getServices();
|
/packages/apps/Settings/src/com/android/settings/utils/ |
ZenServiceListing.java | 74 getServices(mConfig, services, mContext.getPackageManager()); 90 private static int getServices(ManagedServiceSettings.Config c, List<ServiceInfo> list,
|
ServiceListing.java | 95 return getServices(c, null, pm); 98 protected static int getServices(Config c, List<ServiceInfo> list, PackageManager pm) { 159 getServices(mConfig, mServices, mContext.getPackageManager());
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
ServiceTest.java | 267 assertEquals(1, file.getServices().size()); 268 assertEquals("TestService", file.getServices().get(0).getName()); 269 assertEquals(1, file.getServices().get(0).getMethods().size()); 271 file.getServices().get(0).getMethods().get(0).getName());
|
/libcore/ojluni/src/main/java/javax/crypto/ |
KeyAgreement.java | 198 GetInstance.getServices("KeyAgreement", algorithm); 334 for (Service s : GetInstance.getServices("KeyAgreement", algorithm)) { 390 for (Service s : GetInstance.getServices("KeyAgreement", algorithm)) {
|
Mac.java | 260 List<Service> services = GetInstance.getServices("Mac", algorithm); 387 for (Service s : GetInstance.getServices("Mac", algorithm)) { 429 for (Service s : GetInstance.getServices("Mac", algorithm)) {
|
/packages/apps/Camera2/src/com/android/camera/processing/ |
ProcessingService.java | 105 mSessionManager = getServices().getCaptureSessionManager(); 238 task.process(this, getServices(), session); 250 private CameraServices getServices() {
|
/libcore/ojluni/src/main/java/java/security/ |
Signature.java | 357 list = GetInstance.getServices(rsaIds); 359 list = GetInstance.getServices("Signature", algorithm); [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
CardEmulation.java | 583 public List<ApduServiceInfo> getServices(String category) { 585 return sService.getServices(UserHandle.myUserId(), category); 594 return sService.getServices(UserHandle.myUserId(), category);
|
/packages/apps/Camera2/src/com/android/camera/app/ |
AppController.java | 376 public CameraServices getServices();
|
/libcore/luni/src/test/java/libcore/java/security/ |
SecureRandomTest.java | 38 Set<Provider.Service> services = provider.getServices();
|