Home
last modified time | relevance | path

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

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DServiceTest.java261 assertEquals(1, file.getServices().size()); in testNoGenericServices()
262 assertEquals("TestService", file.getServices().get(0).getName()); in testNoGenericServices()
263 assertEquals(1, file.getServices().get(0).getMethods().size()); in testNoGenericServices()
264 assertEquals("Foo", file.getServices().get(0).getMethods().get(0).getName()); in testNoGenericServices()
DDescriptorsTest.java128 assertEquals(service, file.getServices().get(0)); in testFileDescriptor()
132 assertEquals(Collections.emptyList(), UnittestImport.getDescriptor().getServices()); in testFileDescriptor()
133 for (int i = 0; i < file.getServices().size(); i++) { in testFileDescriptor()
134 assertEquals(i, file.getServices().get(i).getIndex()); in testFileDescriptor()
/third_party/protobuf/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()
/third_party/jsframework/runtime/main/extend/systemplugin/ohos/
Dbluetooth.js202 getServices: function (...args) { method
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java136 public List<ServiceDescriptor> getServices() { in getServices() method in Descriptors.FileDescriptor