/packages/modules/NeuralNetworks/runtime/test/ |
D | TestIntrospectionControl.cpp | 283 enum class Success : uint32_t { enum 336 bool hasBit(Success mask, Success bit) { in hasBit() 343 Success clearBit(Success mask, Success bit) { in clearBit() 347 return static_cast<Success>(static_cast<uint32_t>(mask) & ~bitAsInt); in clearBit() 350 std::ostream& operator<<(std::ostream& os, Success success) { in operator <<() 352 case Success::FAIL_LAUNCH: in operator <<() 354 case Success::FAIL_WAIT: in operator <<() 356 case Success::PASS_CPU: in operator <<() 362 static const std::vector<std::pair<Success, const char*>> bits = { in operator <<() 363 {Success::PASS_BIT, "PASS"}, in operator <<() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/ |
D | SleepSessionHelperTest.kt | 81 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 82 assertThat((result as UseCaseResults.Success).data) in <lambda>() 129 assertThat(result is UseCaseResults.Success).isTrue() in clusterSessions_allSessionStartAndEndOnSameDay_withSessionUnknownStart_doesNotIncludeUnknownSessionInMinAndMax() 130 assertThat((result as UseCaseResults.Success).data) in clusterSessions_allSessionStartAndEndOnSameDay_withSessionUnknownStart_doesNotIncludeUnknownSessionInMinAndMax() 177 assertThat(result is UseCaseResults.Success).isTrue() in clusterSessions_allSessionStartAndEndOnSameDay_withSessionUnknownStartEnd_doesNotIncludeUnknownSessionInMinAndMax() 178 assertThat((result as UseCaseResults.Success).data) in clusterSessions_allSessionStartAndEndOnSameDay_withSessionUnknownStartEnd_doesNotIncludeUnknownSessionInMinAndMax() 230 assertThat(result is UseCaseResults.Success).isTrue() in clusterSessions_atLeastOneSessionStartsYesterdayAndEndsToday_includesCrossingSessionInMinAndMax() 231 assertThat((result as UseCaseResults.Success).data) in clusterSessions_atLeastOneSessionStartsYesterdayAndEndsToday_includesCrossingSessionInMinAndMax() 279 assertThat(result is UseCaseResults.Success).isTrue() in clusterSessions_atLeastOneSessionStartsYesterdayAndEndsToday_withGaps_returnsCorrectMinAndMax() 280 assertThat((result as UseCaseResults.Success).data) in clusterSessions_atLeastOneSessionStartsYesterdayAndEndsToday_withGaps_returnsCorrectMinAndMax() [all …]
|
D | LoadMostRecentAggregationsUseCaseTest.kt | 98 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 99 assertThat((result as UseCaseResults.Success).data) in <lambda>() 135 assertThat(result is UseCaseResults.Success).isTrue() in loadMostRecentAggregations_forActivity_whenNoStepsData_returnsInOrder_DistanceCalories() 136 assertThat((result as UseCaseResults.Success).data) in loadMostRecentAggregations_forActivity_whenNoStepsData_returnsInOrder_DistanceCalories() 168 assertThat(result is UseCaseResults.Success).isTrue() in loadMostRecentAggregations_forActivity_whenNoDistanceData_returnsInOrder_StepsCalories() 169 assertThat((result as UseCaseResults.Success).data) in loadMostRecentAggregations_forActivity_whenNoDistanceData_returnsInOrder_StepsCalories() 201 assertThat(result is UseCaseResults.Success).isTrue() in loadMostRecentAggregations_forActivity_whenNoCaloriesData_returnsInOrder_StepsDistance() 202 assertThat((result as UseCaseResults.Success).data) in loadMostRecentAggregations_forActivity_whenNoCaloriesData_returnsInOrder_StepsDistance() 218 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 219 assertThat((result as UseCaseResults.Success).data).isEmpty() in <lambda>() [all …]
|
D | LoadLastDateWithPriorityDataUseCaseTest.kt | 102 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 103 assertThat((result as UseCaseResults.Success).data).isNull() in <lambda>() 121 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 122 assertThat((result as UseCaseResults.Success).data).isNull() in <lambda>() 140 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 141 assertThat((result as UseCaseResults.Success).data).isEqualTo(queryDate) in <lambda>() 160 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 161 assertThat((result as UseCaseResults.Success).data).isNull() in <lambda>() 185 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 186 assertThat((result as UseCaseResults.Success).data).isNull() in <lambda>() [all …]
|
D | LoadPotentialPriorityListUseCaseTest.kt | 100 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 101 assertThat((result as UseCaseResults.Success).data) in <lambda>() 112 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 113 assertThat((result as UseCaseResults.Success).data) in <lambda>() 145 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 146 assertThat((result as UseCaseResults.Success).data).isEqualTo(setOf(TEST_APP_PACKAGE_NAME)) in <lambda>() 176 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 177 assertThat((result as UseCaseResults.Success).data) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/ |
D | FakeComponents.kt | 99 return UseCaseResults.Success(formattedList) in invoke() 117 return UseCaseResults.Success(list) in invoke() 159 val result = UseCaseResults.Success(aggregations[invocationCount]) in invoke() 184 return UseCaseResults.Success(mostRecentAggregations) in invoke() 215 else UseCaseResults.Success(datePair) in clusterSleepSessions() 236 else UseCaseResults.Success(priorityEntries.getOrDefault(localDate, listOf())) in invoke() 263 return UseCaseResults.Success(potentialPriorityList) in invoke() 285 else UseCaseResults.Success(priorityList) in invoke() 331 return UseCaseResults.Success(appDataMap) in invoke() 400 UseCaseResults.Success(lastDateWithPriorityDataMap[healthPermissionType]) in invoke() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/autodelete/api/ |
D | LoadAutoDeleteUseCaseTest.kt | 56 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 57 assertThat((result as UseCaseResults.Success).data).isEqualTo(3) in <lambda>() 65 assertThat(result is UseCaseResults.Success).isTrue() in loadAutoDeleteUseCase_whenRecordRetention540days_returns18months() 66 assertThat((result as UseCaseResults.Success).data).isEqualTo(18) in loadAutoDeleteUseCase_whenRecordRetention540days_returns18months() 74 assertThat(result is UseCaseResults.Success).isTrue() in loadAutoDeleteUseCase_whenRecordRetention0days_returns0months() 75 assertThat((result as UseCaseResults.Success).data).isEqualTo(0) in loadAutoDeleteUseCase_whenRecordRetention0days_returns0months()
|
/packages/modules/Bluetooth/tools/rootcanal/rust/test/SP/ |
D | BV-33-C.in | 8 status: ErrorCode::Success, 18 status: ErrorCode::Success, 32 status: ErrorCode::Success, 108 status: ErrorCode::Success, 121 status: ErrorCode::Success, 130 status: ErrorCode::Success, 171 status: ErrorCode::Success, 197 status: ErrorCode::Success,
|
D | BV-22-C.in | 4 status: ErrorCode::Success, 14 status: ErrorCode::Success, 24 status: ErrorCode::Success, 38 status: ErrorCode::Success, 111 status: ErrorCode::Success, 142 status: ErrorCode::Success, 168 status: ErrorCode::Success,
|
D | BV-18-C.in | 8 status: ErrorCode::Success, 18 status: ErrorCode::Success, 32 status: ErrorCode::Success, 105 status: ErrorCode::Success, 136 status: ErrorCode::Success, 162 status: ErrorCode::Success,
|
D | BV-20-C.in | 4 status: ErrorCode::Success, 14 status: ErrorCode::Success, 24 status: ErrorCode::Success, 38 status: ErrorCode::Success, 129 status: ErrorCode::Success, 155 status: ErrorCode::Success,
|
D | BV-35-C.in | 8 status: ErrorCode::Success, 18 status: ErrorCode::Success, 32 status: ErrorCode::Success, 108 status: ErrorCode::Success, 121 status: ErrorCode::Success, 130 status: ErrorCode::Success,
|
D | BV-05-C.in | 8 status: ErrorCode::Success, 18 status: ErrorCode::Success, 32 status: ErrorCode::Success, 60 status: ErrorCode::Success, 103 status: ErrorCode::Success,
|
D | BV-06-C.in | 8 status: ErrorCode::Success, 18 status: ErrorCode::Success, 32 status: ErrorCode::Success, 119 status: ErrorCode::Success, 134 status: ErrorCode::Success, 160 status: ErrorCode::Success,
|
D | BV-12-C.in | 8 status: ErrorCode::Success, 18 status: ErrorCode::Success, 32 status: ErrorCode::Success, 104 status: ErrorCode::Success, 145 status: ErrorCode::Success, 171 status: ErrorCode::Success,
|
D | BV-31-C.in | 8 status: ErrorCode::Success, 18 status: ErrorCode::Success, 30 status: ErrorCode::Success,
|
D | BV-26-C.in | 4 status: ErrorCode::Success, 14 status: ErrorCode::Success, 24 status: ErrorCode::Success, 38 status: ErrorCode::Success,
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | DckScanTest.kt | 91 assertThat(result).isInstanceOf(LeScanResult.Success::class.java) in scanForIrkAndIdentityAddress_remoteFound() 92 assertThat((result as LeScanResult.Success).callbackType) in scanForIrkAndIdentityAddress_remoteFound() 94 assertThat((result as LeScanResult.Success).scanResult.device.address) in scanForIrkAndIdentityAddress_remoteFound() 115 assertThat(result).isInstanceOf(LeScanResult.Success::class.java) in scanForUuid_remoteFound() 116 assertThat((result as LeScanResult.Success).callbackType) in scanForUuid_remoteFound() 118 assertThat((result as LeScanResult.Success).scanResult.device.address) in scanForUuid_remoteFound()
|
/packages/modules/adb/tls/tests/ |
D | tls_connection_test.cpp | 294 StartClientHandshakeAsync(TlsError::Success); in TEST_F() 297 ASSERT_EQ(server_->DoHandshake(), TlsError::Success); in TEST_F() 347 StartClientHandshakeAsync(TlsError::Success); in TEST_F() 350 ASSERT_EQ(server_->DoHandshake(), TlsError::Success); in TEST_F() 378 StartClientHandshakeAsync(TlsError::Success); in TEST_F() 409 StartClientHandshakeAsync(TlsError::Success); in TEST_F() 412 ASSERT_EQ(server_->DoHandshake(), TlsError::Success); in TEST_F() 433 StartClientHandshakeAsync(TlsError::Success); in TEST_F() 564 ASSERT_EQ(client_->DoHandshake(), TlsError::Success); in TEST_F() 569 ASSERT_EQ(server_->DoHandshake(), TlsError::Success); in TEST_F() [all …]
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/ |
D | LoadMostRecentAggregationsUseCase.kt | 66 is UseCaseResults.Success -> { in <lambda>() 84 is UseCaseResults.Success -> { in <lambda>() 97 UseCaseResults.Success(resultsList.toList()) in <lambda>() 124 is UseCaseResults.Success -> { in <lambda>() 142 is UseCaseResults.Success -> { in <lambda>() 172 is UseCaseResults.Success -> { in <lambda>()
|
D | LoadPotentialPriorityListUseCase.kt | 72 val appsWithData = (appsWithDataResult as UseCaseResults.Success).data in <lambda>() 74 (appsWithWritePermissionResult as UseCaseResults.Success).data in <lambda>() 76 (appsOnPriorityListResult as UseCaseResults.Success) in <lambda>() 88 UseCaseResults.Success(potentialPriorityListApps) in <lambda>() 109 UseCaseResults.Success(packages.map { it.packageName }.toSet()) in <lambda>() 145 UseCaseResults.Success(writeAppPackageNameSet) in <lambda>()
|
D | SleepSessionHelper.kt | 45 return@withContext UseCaseResults.Success(null) in <lambda>() 60 return@withContext UseCaseResults.Success( in <lambda>() 86 return@withContext UseCaseResults.Success( in <lambda>() 94 return@withContext UseCaseResults.Success(Pair(minStartTime, maxEndTime)) in <lambda>() 193 is UseCaseResults.Success -> { in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/ |
D | LoadDataAggregationsUseCaseTest.kt | 100 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 101 assertThat((result as UseCaseResults.Success).data).isEqualTo(expected) in <lambda>() 122 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 123 assertThat((result as UseCaseResults.Success).data).isEqualTo(expected) in <lambda>() 145 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 146 assertThat((result as UseCaseResults.Success).data).isEqualTo(expected) in <lambda>() 168 assertThat(result is UseCaseResults.Success).isTrue() in <lambda>() 169 assertThat((result as UseCaseResults.Success).data).isEqualTo(expected) in <lambda>()
|
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/procedure/ |
D | authentication.rs | 49 status: hci::ErrorCode::Success, in initiate() 64 status: hci::ErrorCode::Success, in initiate() 69 hci::ErrorCode::Success in initiate() 75 status: hci::ErrorCode::Success, in initiate() 93 Ok(_) => hci::ErrorCode::Success, in initiate()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | LoadExerciseRoutePermissionUseCaseTest.kt | 91 assertThat(state).isEqualTo(UseCaseResults.Success(expected)) in <lambda>() 106 assertThat(state).isEqualTo(UseCaseResults.Success(expected)) in <lambda>() 118 assertThat(state).isEqualTo(UseCaseResults.Success(expected)) in <lambda>() 132 assertThat(state).isEqualTo(UseCaseResults.Success(expected)) in <lambda>() 146 assertThat(state).isEqualTo(UseCaseResults.Success(expected)) in <lambda>() 160 assertThat(state).isEqualTo(UseCaseResults.Success(expected)) in <lambda>()
|