/aosp_15_r20/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | AggregationApisTest.java | 134 List<AggregateRecordsGroupedByDurationResponse<Length>> responses = in groupByDuration_noData_nullResponses() local 136 assertThat(responses).hasSize(2); in groupByDuration_noData_nullResponses() 137 assertThat(responses.get(0).get(DISTANCE_TOTAL)).isNull(); in groupByDuration_noData_nullResponses() 138 assertThat(responses.get(1).get(DISTANCE_TOTAL)).isNull(); in groupByDuration_noData_nullResponses() 149 List<AggregateRecordsGroupedByPeriodResponse<Energy>> responses = in groupByPeriod_noData_nullResponses() local 151 assertThat(responses).hasSize(2); in groupByPeriod_noData_nullResponses() 152 assertThat(responses.get(0).get(ACTIVE_CALORIES_TOTAL)).isNull(); in groupByPeriod_noData_nullResponses() 153 assertThat(responses.get(1).get(ACTIVE_CALORIES_TOTAL)).isNull(); in groupByPeriod_noData_nullResponses() 185 List<AggregateRecordsGroupedByDurationResponse<Energy>> responses = in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal() local 192 assertThat(responses).hasSize(3); in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal() [all …]
|
/aosp_15_r20/hardware/interfaces/security/sharedsecret/aidl/vts/functional/ |
H A D | SharedSecretAidlTest.cpp | 94 void verifyResponses(const vector<uint8_t>& expected, const vector<ComputeResult>& responses) { in verifyResponses() argument 95 for (auto& response : responses) { in verifyResponses() 170 auto responses = computeAllSharedSecrets(params); in TEST_F() local 171 ASSERT_GT(responses.size(), 0U); in TEST_F() 172 verifyResponses(responses[0].sharing_check, responses); in TEST_F() 179 responses = computeAllSharedSecrets(params); in TEST_F() 180 ASSERT_GT(responses.size(), 0U); in TEST_F() 181 ASSERT_EQ(32U, responses[0].sharing_check.size()); in TEST_F() 182 verifyResponses(responses[0].sharing_check, responses); in TEST_F() 212 auto responses = computeAllSharedSecrets(params); in TEST_F() local [all …]
|
/aosp_15_r20/external/grpc-grpc-java/services/src/test/java/io/grpc/protobuf/services/ |
H A D | HealthStatusManagerTest.java | 73 assertThat(obs.responses).hasSize(2); in enterTerminalState_check() 74 HealthCheckResponse resp = (HealthCheckResponse) obs.responses.poll(); in enterTerminalState_check() 80 assertThat(obs.responses).hasSize(2); in enterTerminalState_check() 81 resp = (HealthCheckResponse) obs.responses.poll(); in enterTerminalState_check() 87 assertThat(obs.responses).hasSize(2); in enterTerminalState_check() 88 resp = (HealthCheckResponse) obs.responses.poll(); in enterTerminalState_check() 97 assertThat(obs.responses).hasSize(1); in enterTerminalState_watch() 98 HealthCheckResponse resp = (HealthCheckResponse) obs.responses.poll(); in enterTerminalState_watch() 100 obs.responses.clear(); in enterTerminalState_watch() 103 assertThat(obs.responses).hasSize(1); in enterTerminalState_watch() [all …]
|
/aosp_15_r20/external/google-cloud-java/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/ |
H A D | MockAnalyticsAdminServiceImpl.java | 34 private Queue<Object> responses; field in MockAnalyticsAdminServiceImpl 38 responses = new LinkedList<>(); in MockAnalyticsAdminServiceImpl() 46 responses.add(response); in addResponse() 49 public void setResponses(List<AbstractMessage> responses) { in setResponses() argument 50 this.responses = new LinkedList<Object>(responses); in setResponses() 54 responses.add(exception); in addException() 59 responses = new LinkedList<>(); in reset() 64 Object response = responses.poll(); in getAccount() 85 Object response = responses.poll(); in listAccounts() 105 Object response = responses.poll(); in deleteAccount() [all …]
|
/aosp_15_r20/device/google/cuttlefish/host/commands/modem_simulator/ |
D | sim_service.cpp | 879 std::vector<std::string> responses; in HandleSIMStatusReq() local 882 responses.push_back(iter->second); in HandleSIMStatusReq() 883 responses.push_back("OK"); in HandleSIMStatusReq() 886 responses.push_back(kCmeErrorSimNotInserted); in HandleSIMStatusReq() 888 client.SendCommandResponse(responses); in HandleSIMStatusReq() 931 std::vector<std::string> responses; in HandleSIM_IO() local 937 …responses.push_back("+CRSM: 144,0,62338202782183023F00A50C80016187010183040007DBF08A01058B062F0601… in HandleSIM_IO() 938 responses.push_back("OK"); in HandleSIM_IO() 939 client.SendCommandResponse(responses); in HandleSIM_IO() 1029 responses.push_back(response); in HandleSIM_IO() [all …]
|
/aosp_15_r20/external/pigweed/pw_rpc/ts/ |
H A D | call_test.ts | 56 it('getResponse returns all responses.', async () => { 61 // Queue three responses 66 let responses = call.getResponses(2); variable 67 expect((await responses.next()).value).toEqual(message1); 68 expect((await responses.next()).value).toEqual(message2); 69 expect((await responses.next()).done).toEqual(true); 71 responses = call.getResponses(1); 72 expect((await responses.next()).value).toEqual(message3); 73 expect((await responses.next()).done).toEqual(true); 78 const responses = call.getResponses(2); constant [all …]
|
/aosp_15_r20/external/google-cloud-java/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/ |
H A D | MockCloudChannelServiceImpl.java | 35 private Queue<Object> responses; field in MockCloudChannelServiceImpl 39 responses = new LinkedList<>(); in MockCloudChannelServiceImpl() 47 responses.add(response); in addResponse() 50 public void setResponses(List<AbstractMessage> responses) { in setResponses() argument 51 this.responses = new LinkedList<Object>(responses); in setResponses() 55 responses.add(exception); in addException() 60 responses = new LinkedList<>(); in reset() 66 Object response = responses.poll(); in listCustomers() 86 Object response = responses.poll(); in getCustomer() 108 Object response = responses.poll(); in checkCloudIdentityAccountsExist() [all …]
|
/aosp_15_r20/external/google-cloud-java/java-vmmigration/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/ |
H A D | MockVmMigrationImpl.java | 34 private Queue<Object> responses; field in MockVmMigrationImpl 38 responses = new LinkedList<>(); in MockVmMigrationImpl() 46 responses.add(response); in addResponse() 49 public void setResponses(List<AbstractMessage> responses) { in setResponses() argument 50 this.responses = new LinkedList<Object>(responses); in setResponses() 54 responses.add(exception); in addException() 59 responses = new LinkedList<>(); in reset() 65 Object response = responses.poll(); in listSources() 85 Object response = responses.poll(); in getSource() 106 Object response = responses.poll(); in createSource() [all …]
|
/aosp_15_r20/external/google-cloud-java/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/ |
H A D | MockAnalyticsAdminServiceImpl.java | 34 private Queue<Object> responses; field in MockAnalyticsAdminServiceImpl 38 responses = new LinkedList<>(); in MockAnalyticsAdminServiceImpl() 46 responses.add(response); in addResponse() 49 public void setResponses(List<AbstractMessage> responses) { in setResponses() argument 50 this.responses = new LinkedList<Object>(responses); in setResponses() 54 responses.add(exception); in addException() 59 responses = new LinkedList<>(); in reset() 64 Object response = responses.poll(); in getAccount() 85 Object response = responses.poll(); in listAccounts() 105 Object response = responses.poll(); in deleteAccount() [all …]
|
/aosp_15_r20/external/google-cloud-java/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/ |
H A D | MockSecurityCenterImpl.java | 40 private Queue<Object> responses; field in MockSecurityCenterImpl 44 responses = new LinkedList<>(); in MockSecurityCenterImpl() 52 responses.add(response); in addResponse() 55 public void setResponses(List<AbstractMessage> responses) { in setResponses() argument 56 this.responses = new LinkedList<Object>(responses); in setResponses() 60 responses.add(exception); in addException() 65 responses = new LinkedList<>(); in reset() 71 Object response = responses.poll(); in bulkMuteFindings() 93 Object response = responses.poll(); in createSecurityHealthAnalyticsCustomModule() 113 Object response = responses.poll(); in createSource() [all …]
|
/aosp_15_r20/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsResponseDecoder.java | 34 /** A class that decodes mDNS responses from UDP packets. */ 43 /** Constructs a new decoder that will extract responses for the given service type. */ 50 List<MdnsResponse> responses, String[] pointer) { in findResponseWithPointer() argument 51 if (responses != null) { in findResponseWithPointer() 52 for (MdnsResponse response : responses) { in findResponseWithPointer() 62 List<MdnsResponse> responses, String[] hostName) { in findResponseWithHostName() argument 63 if (responses != null) { in findResponseWithHostName() 64 for (MdnsResponse response : responses) { in findResponseWithHostName() 79 * Decodes all mDNS responses for the desired service type from a packet. The class does not 80 * check the responses for completeness; the caller should do that. [all …]
|
/aosp_15_r20/external/google-cloud-java/java-dataform/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/ |
H A D | MockDataformImpl.java | 34 private Queue<Object> responses; field in MockDataformImpl 38 responses = new LinkedList<>(); in MockDataformImpl() 46 responses.add(response); in addResponse() 49 public void setResponses(List<AbstractMessage> responses) { in setResponses() argument 50 this.responses = new LinkedList<Object>(responses); in setResponses() 54 responses.add(exception); in addException() 59 responses = new LinkedList<>(); in reset() 65 Object response = responses.poll(); in listRepositories() 86 Object response = responses.poll(); in getRepository() 107 Object response = responses.poll(); in createRepository() [all …]
|
/aosp_15_r20/external/google-cloud-java/java-dataform/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/ |
H A D | MockDataformImpl.java | 34 private Queue<Object> responses; field in MockDataformImpl 38 responses = new LinkedList<>(); in MockDataformImpl() 46 responses.add(response); in addResponse() 49 public void setResponses(List<AbstractMessage> responses) { in setResponses() argument 50 this.responses = new LinkedList<Object>(responses); in setResponses() 54 responses.add(exception); in addException() 59 responses = new LinkedList<>(); in reset() 65 Object response = responses.poll(); in listRepositories() 86 Object response = responses.poll(); in getRepository() 107 Object response = responses.poll(); in createRepository() [all …]
|
/aosp_15_r20/external/google-cloud-java/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ |
H A D | MockContactCenterInsightsImpl.java | 35 private Queue<Object> responses; field in MockContactCenterInsightsImpl 39 responses = new LinkedList<>(); in MockContactCenterInsightsImpl() 47 responses.add(response); in addResponse() 50 public void setResponses(List<AbstractMessage> responses) { in setResponses() argument 51 this.responses = new LinkedList<Object>(responses); in setResponses() 55 responses.add(exception); in addException() 60 responses = new LinkedList<>(); in reset() 66 Object response = responses.poll(); in createConversation() 87 Object response = responses.poll(); in uploadConversation() 108 Object response = responses.poll(); in updateConversation() [all …]
|
/aosp_15_r20/external/google-cloud-java/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/ |
H A D | BatchProcessDocumentsResponse.java | 79 * Responses for each individual document. 82 * <code>repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;</code> 93 * Responses for each individual document. 96 * <code>repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;</code> 108 * Responses for each individual document. 111 * <code>repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;</code> 121 * Responses for each individual document. 124 * <code>repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;</code> 134 * Responses for each individual document. 137 * <code>repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;</code> [all …]
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ |
H A D | BatchAnnotateImagesResponse.java | 78 * Individual responses to image annotation requests within the batch. 81 * <code>repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;</code> 92 * Individual responses to image annotation requests within the batch. 95 * <code>repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;</code> 106 * Individual responses to image annotation requests within the batch. 109 * <code>repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;</code> 119 * Individual responses to image annotation requests within the batch. 122 * <code>repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;</code> 132 * Individual responses to image annotation requests within the batch. 135 * <code>repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;</code> [all …]
|
/aosp_15_r20/external/google-cloud-java/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/ |
H A D | BatchProcessDocumentsResponse.java | 79 * Responses for each individual document. 82 * <code>repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;</code> 93 * Responses for each individual document. 96 * <code>repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;</code> 108 * Responses for each individual document. 111 * <code>repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;</code> 121 * Responses for each individual document. 124 * <code>repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;</code> 134 * Responses for each individual document. 137 * <code>repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;</code> [all …]
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ |
H A D | BatchAnnotateImagesResponse.java | 78 * Individual responses to image annotation requests within the batch. 81 * <code>repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 1;</code> 92 * Individual responses to image annotation requests within the batch. 95 * <code>repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 1;</code> 106 * Individual responses to image annotation requests within the batch. 109 * <code>repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 1;</code> 119 * Individual responses to image annotation requests within the batch. 122 * <code>repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 1;</code> 132 * Individual responses to image annotation requests within the batch. 135 * <code>repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 1;</code> [all …]
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ |
H A D | BatchAnnotateImagesResponse.java | 78 * Individual responses to image annotation requests within the batch. 81 * <code>repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;</code> 91 * Individual responses to image annotation requests within the batch. 94 * <code>repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;</code> 105 * Individual responses to image annotation requests within the batch. 108 * <code>repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;</code> 118 * Individual responses to image annotation requests within the batch. 121 * <code>repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;</code> 131 * Individual responses to image annotation requests within the batch. 134 * <code>repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;</code> [all …]
|
H A D | BatchAnnotateFilesResponse.java | 25 * A list of file annotation responses. 78 * The list of file annotation responses, each response corresponding to each 82 * <code>repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;</code> 92 * The list of file annotation responses, each response corresponding to each 96 * <code>repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;</code> 107 * The list of file annotation responses, each response corresponding to each 111 * <code>repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;</code> 121 * The list of file annotation responses, each response corresponding to each 125 * <code>repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;</code> 135 * The list of file annotation responses, each response corresponding to each [all …]
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ |
H A D | BatchAnnotateImagesResponse.java | 78 * Individual responses to image annotation requests within the batch. 81 * <code>repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;</code> 92 * Individual responses to image annotation requests within the batch. 95 * <code>repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;</code> 106 * Individual responses to image annotation requests within the batch. 109 * <code>repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;</code> 119 * Individual responses to image annotation requests within the batch. 122 * <code>repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;</code> 132 * Individual responses to image annotation requests within the batch. 135 * <code>repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;</code> [all …]
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ |
H A D | BatchAnnotateImagesResponse.java | 78 * Individual responses to image annotation requests within the batch. 81 * <code>repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 1;</code> 92 * Individual responses to image annotation requests within the batch. 95 * <code>repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 1;</code> 106 * Individual responses to image annotation requests within the batch. 109 * <code>repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 1;</code> 119 * Individual responses to image annotation requests within the batch. 122 * <code>repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 1;</code> 132 * Individual responses to image annotation requests within the batch. 135 * <code>repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 1;</code> [all …]
|
H A D | BatchAnnotateFilesResponse.java | 25 * A list of file annotation responses. 78 * The list of file annotation responses, each response corresponding to each 82 * <code>repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;</code> 92 * The list of file annotation responses, each response corresponding to each 96 * <code>repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;</code> 107 * The list of file annotation responses, each response corresponding to each 111 * <code>repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;</code> 121 * The list of file annotation responses, each response corresponding to each 125 * <code>repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;</code> 135 * The list of file annotation responses, each response corresponding to each [all …]
|
/aosp_15_r20/hardware/interfaces/keymaster/4.0/vts/functional/ |
H A D | HmacKeySharingTest.cpp | 106 void verifyResponses(const HidlBuf& expected, const std::vector<ComputeHmacResult>& responses) { in verifyResponses() argument 107 for (auto& response : responses) { in verifyResponses() 143 auto responses = computeSharedHmac(allKeymasters(), params); in TEST_P() local 144 ASSERT_GT(responses.size(), 0U); in TEST_P() 145 verifyResponses(responses[0].sharing_check, responses); in TEST_P() 152 responses = computeSharedHmac(allKeymasters(), params); in TEST_P() 153 ASSERT_GT(responses.size(), 0U); in TEST_P() 154 ASSERT_EQ(32U, responses[0].sharing_check.size()); in TEST_P() 155 verifyResponses(responses[0].sharing_check, responses); in TEST_P() 187 auto responses = computeSharedHmac(allKeymasters(), params); in TEST_P() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-artifact-registry/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ |
H A D | MockArtifactRegistryImpl.java | 40 private Queue<Object> responses; field in MockArtifactRegistryImpl 44 responses = new LinkedList<>(); in MockArtifactRegistryImpl() 52 responses.add(response); in addResponse() 55 public void setResponses(List<AbstractMessage> responses) { in setResponses() argument 56 this.responses = new LinkedList<Object>(responses); in setResponses() 60 responses.add(exception); in addException() 65 responses = new LinkedList<>(); in reset() 71 Object response = responses.poll(); in listDockerImages() 92 Object response = responses.poll(); in getDockerImage() 114 Object response = responses.poll(); in listMavenArtifacts() [all …]
|