/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringServiceTest.java | 164 void runTetheringCall(TestTetheringResult result) throws Exception; in runTetheringCall() 259 private void runTether(final TestTetheringResult result) throws Exception { in runTether() 268 runAsNoPermission((result) -> { in testTether() argument 276 runAsTetherPrivileged((result) -> { in testTether() argument 281 runAsWriteSettings((result) -> { in testTether() argument 289 runAsWriteSettingsWhenWriteSettingsAllowed((result) -> { in testTether() argument 296 runAsTetheringDisallowed((result) -> { in testTether() argument 306 private void runUnTether(final TestTetheringResult result) throws Exception { in runUnTether() 316 runAsNoPermission((result) -> { in testUntether() argument 324 runAsTetherPrivileged((result) -> { in testUntether() argument [all …]
|
/packages/services/Car/cpp/watchdog/stable_server/src/ |
D | ServiceManager.cpp | 51 if (auto result = startWatchdogProcessService(mainLooper); !result.ok()) { in startServices() local 55 if (auto result = mWatchdogServiceHelper->init(mWatchdogProcessService); !result.ok()) { in startServices() local 59 if (auto result = startPressureMonitor(); !result.ok()) { in startServices() local 63 if (auto result = startWatchdogPerfService(mWatchdogServiceHelper); !result.ok()) { in startServices() local 66 if (auto result = packageInfoResolver->initWatchdogServiceHelper(mWatchdogServiceHelper); in startServices() local 75 if (auto result = mWatchdogBinderMediator->init(); !result.ok()) { in startServices() local 109 if (auto result = mWatchdogProcessService->start(); !result.ok()) { in startWatchdogProcessService() local 118 if (auto result = mPressureMonitor->init(); !result.ok()) { in startPressureMonitor() local 121 if (auto result = mPressureMonitor->start(); !result.ok()) { in startPressureMonitor() local 130 if (auto result = mWatchdogPerfService->registerDataProcessor( in startWatchdogPerfService() local [all …]
|
D | OveruseConfigurationXmlHelper.cpp | 114 if (const auto result = readExactlyOneElement(kTagComponentType, rootElement); result.ok()) { in readComponentType() local 269 if (const auto result = readExactlyOneElement(kTagComponentLevelThresholds, rootElement); in readComponentLevelThresholds() local 278 if (const auto result = readPerStateBytes(componentLevelThresholdElement); result.ok()) { in readComponentLevelThresholds() local 300 if (const auto result = readPerStateBytes(childElement); result.ok()) { in readPerStateThresholds() local 318 if (const auto result = readPerStateThresholds(childElement); result.ok()) { in readPackageSpecificThresholds() local 335 if (const auto result = readPerStateThresholds(childElement); result.ok()) { in readAppCategorySpecificThresholds() local 391 const auto result = readIoOveruseAlertThreshold(innerElement); in readSystemWideThresholds() local 405 if (const auto result = readExactlyOneElement(kTagIoOveruseConfiguration, rootElement); in readIoOveruseConfiguration() local 413 if (const auto result = readComponentLevelThresholds(componentType, childElement); in readIoOveruseConfiguration() local 419 if (const auto result = readPackageSpecificThresholds(childElement); result.ok()) { in readIoOveruseConfiguration() local [all …]
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | ServiceManager.cpp | 51 if (auto result = startWatchdogProcessService(mainLooper); !result.ok()) { in startServices() local 55 if (auto result = mWatchdogServiceHelper->init(mWatchdogProcessService); !result.ok()) { in startServices() local 59 if (auto result = startPressureMonitor(); !result.ok()) { in startServices() local 63 if (auto result = startWatchdogPerfService(mWatchdogServiceHelper); !result.ok()) { in startServices() local 66 if (auto result = packageInfoResolver->initWatchdogServiceHelper(mWatchdogServiceHelper); in startServices() local 75 if (auto result = mWatchdogBinderMediator->init(); !result.ok()) { in startServices() local 109 if (auto result = mWatchdogProcessService->start(); !result.ok()) { in startWatchdogProcessService() local 118 if (auto result = mPressureMonitor->init(); !result.ok()) { in startPressureMonitor() local 121 if (auto result = mPressureMonitor->start(); !result.ok()) { in startPressureMonitor() local 130 if (auto result = mWatchdogPerfService->registerDataProcessor( in startWatchdogPerfService() local [all …]
|
D | OveruseConfigurationXmlHelper.cpp | 114 if (const auto result = readExactlyOneElement(kTagComponentType, rootElement); result.ok()) { in readComponentType() local 269 if (const auto result = readExactlyOneElement(kTagComponentLevelThresholds, rootElement); in readComponentLevelThresholds() local 278 if (const auto result = readPerStateBytes(componentLevelThresholdElement); result.ok()) { in readComponentLevelThresholds() local 300 if (const auto result = readPerStateBytes(childElement); result.ok()) { in readPerStateThresholds() local 318 if (const auto result = readPerStateThresholds(childElement); result.ok()) { in readPackageSpecificThresholds() local 335 if (const auto result = readPerStateThresholds(childElement); result.ok()) { in readAppCategorySpecificThresholds() local 391 const auto result = readIoOveruseAlertThreshold(innerElement); in readSystemWideThresholds() local 405 if (const auto result = readExactlyOneElement(kTagIoOveruseConfiguration, rootElement); in readIoOveruseConfiguration() local 413 if (const auto result = readComponentLevelThresholds(componentType, childElement); in readIoOveruseConfiguration() local 419 if (const auto result = readPackageSpecificThresholds(childElement); result.ok()) { in readIoOveruseConfiguration() local [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/crypto/ |
D | TlsSessionTunnelTest.java | 43 TlsResult result = mTlsSession.processOutgoingData(SAMPLE_APPLICATION_TLS_MESSAGE); in testEncryptMessage_success() local 60 TlsResult result = mTlsSession.processOutgoingData(SAMPLE_APPLICATION_TLS_MESSAGE); in testEncryptMessage_failure() local 78 TlsResult result = mTlsSession.processOutgoingData(SAMPLE_APPLICATION_TLS_MESSAGE); in testEncryptMessage_overflow() local 96 TlsResult result = mTlsSession.processOutgoingData(SAMPLE_APPLICATION_TLS_MESSAGE); in testEncryptMessage_underflow() local 111 TlsResult result = mTlsSession.processOutgoingData(SAMPLE_APPLICATION_TLS_MESSAGE); in testEncryptMessage_closed() local 122 TlsResult result = mTlsSession.processIncomingData(SAMPLE_PACKET_TLS_MESSAGE); in testDecryptMessage_success() local 141 TlsResult result = mTlsSession.processIncomingData(SAMPLE_PACKET_TLS_MESSAGE); in testDecryptMessage_failure() local 161 TlsResult result = mTlsSession.processIncomingData(SAMPLE_PACKET_TLS_MESSAGE); in testDecryptMessage_overflow() local 181 TlsResult result = mTlsSession.processIncomingData(SAMPLE_PACKET_TLS_MESSAGE); in testDecryptMessage_underflow() local 198 TlsResult result = mTlsSession.processIncomingData(SAMPLE_PACKET_TLS_MESSAGE); in testDecryptMessage_closed() local
|
D | TlsSessionHandshakeTest.java | 67 TlsResult result = mTlsSession.startHandshake(); in testStartHandshake() local 79 TlsResult result = mTlsSession.startHandshake(); in testStartHandshake_fail() local 97 TlsResult result = in testprocessHandshakeData_success() local 127 TlsResult result = in testprocessHandshakeData_wrapFailure() local 178 TlsResult result = in testprocessHandshakeData_wrapClosed() local 209 TlsResult result = in testprocessHandshakeData_wrapFinished() local 225 TlsResult result = in testprocessHandshakeData_notHandshaking() local 243 TlsResult result = in testprocessHandshakeData_delegatedTasks() local 262 TlsResult result = in verifyCloseConnection() local
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ThumbnailCacheTest.java | 74 Result result = mCache.getThumbnail(URI_1, USER_ID_0, MID_SIZE); in testMiss() local 82 Result result = mCache.getThumbnail(URI_0, USER_ID_1, MID_SIZE); in testMiss_DifferentUser() local 90 Result result = mCache.getThumbnail(URI_0, USER_ID_0, MID_SIZE); in testHit_Exact() local 100 Result result = mCache.getThumbnail(URI_0, USER_ID_0, LARGE_SIZE); in testHit_Smaller() local 110 Result result = mCache.getThumbnail(URI_0, USER_ID_0, SMALL_SIZE); in testHit_Larger() local 121 Result result = mCache.getThumbnail(URI_0, USER_ID_0, MID_SIZE); in testHit_Larger_HasBothSize() local 135 Result result = mCache.getThumbnail(URI_0, USER_ID_0, MID_SIZE); in testHit_Exact_MultiplePut() local 145 Result result = mCache.getThumbnail(URI_0, USER_ID_0, MID_SIZE); in testHit_EqualLastModified() local 156 Result result = mCache.getThumbnail(URI_0, USER_ID_0, MID_SIZE); in testEvictOldest_SizeExceeded() local 169 Result result = mCache.getThumbnail(URI_0, USER_ID_0, MID_SIZE); in testCacheShrink_OnTrimMemory_Moderate() local [all …]
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/ |
D | UiccSlotRepositoryTest.kt | 47 val result = repository.anyRemovablePhysicalSimSlotActiveAndInserted() in anyRemovablePhysicalSimEnabled_oneSimSlotDeviceActiveEsim_returnsFalse() constant 64 val result = repository.anyRemovablePhysicalSimSlotActiveAndInserted() in anyRemovablePhysicalSimEnabled_activeRemovableEsimAndInactivePsim_returnsFalse() constant 81 val result = repository.anyRemovablePhysicalSimSlotActiveAndInserted() in anyRemovablePhysicalSimEnabled_activeRemovableEsimAndActivePsim_returnsTrue() constant 98 val result = repository.anyRemovablePhysicalSimSlotActiveAndInserted() in anyRemovablePhysicalSimEnabled_inactiveRemovableEsimAndActivePsim_returnsTrue() constant 119 val result = repository.anyRemovablePhysicalSimSlotActiveAndInserted() in anyRemovablePhysicalSimEnabled_twoActiveRemovableEsimsAndInactivePsim_returnsFalse() constant 140 val result = repository.anyRemovablePhysicalSimSlotActiveAndInserted() in anyRemovablePhysicalSimEnabled_oneActiveOneInactiveRemovableEsimActivePsim_returnsTrue() constant 155 val result = repository.anyRemovablePhysicalSimSlotActiveAndInserted() in anyRemovablePhysicalSimSlotActiveAndInserted_activePsim_returnsTrue() constant 170 val result = repository.anyRemovablePhysicalSimSlotActiveAndInserted() in anyRemovablePhysicalSimSlotActiveAndInserted_inactivePsim_returnsFalse() constant 187 val result = repository.anyRemovablePhysicalSimSlotActiveAndInserted() in anyRemovablePhysicalSimSlotActiveAndInserted_activeEsimAndActivePsim_returnsTrue() constant 204 val result = repository.anyRemovablePhysicalSimSlotActiveAndInserted() in anyRemovablePhysicalSimSlotActiveAndInserted_activeEsimAndInactivePsim_returnsFalse() constant [all …]
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | AccessLogsHelperTest.java | 133 AlterTableRequest result = getAlterTableRequestForPhrAccessLogs(); in testGetAlterTableRequestForPhrAccessLogs_success() local 152 List<AccessLog> result = mAccessLogsHelper.queryAccessLogs(mUserHandle); in testAddAccessLogsPhr_accessedSingleMedicalResourceType_success() local 180 List<AccessLog> result = mAccessLogsHelper.queryAccessLogs(mUserHandle); in testAddAccessLogsPhr_accessedMultipleMedicalResourceTypes_success() local 209 List<AccessLog> result = mAccessLogsHelper.queryAccessLogs(mUserHandle); in testAddAccessLogsPhr_accessedMedicalDataSource_success() local 229 List<AccessLog> result = mAccessLogsHelper.queryAccessLogs(mUserHandle); in testAddAccessLogsForHCRecordType_queryAccessLogs_expectCorrectResult() local 260 List<AccessLog> result = mAccessLogsHelper.queryAccessLogs(mUserHandle); in testAddAccessLogsPhr_multipleAccessLogs_success() local 294 List<AccessLog> result = mAccessLogsHelper.queryAccessLogs(mUserHandle); in queryAccessLogs_invalidAppId_skipped() local 308 List<AccessLog> result = mAccessLogsHelper.queryAccessLogs(mUserHandle); in queryAccessLogs_invalidAppId_excluded() local 323 List<AccessLog> result = mAccessLogsHelper.queryAccessLogs(mUserHandle); in queryAccessLogs_readsFromAppOpsHelper_success() local 348 List<AccessLog> result = mAccessLogsHelper.queryAccessLogs(mUserHandle); in queryAccessLogs_readsFromDbAndAppOpsHelper_success() local [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/helper/ |
D | QuerySimSlotIndexTest.java | 68 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in allSimSlotIndexCall_nullInput_getNoneNullEmptyList() local 80 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in allSimSlotIndexCall_oneSimAndActivePsim_getList() local 93 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in allSimSlotIndexCall_oneSimAndActiveEsim_getList() local 106 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in allSimSlotIndexCall_twoSimsAndActivePsimActiveEsim_getList() local 120 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in allSimSlotIndexCall_twoSimsAndtwoActiveEsims_getList() local 134 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in allSimSlotIndexCall_twoSimsAndActivePsimInactiveEsim_getList() local 148 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in allSimSlotIndexCall_twoSimsAndActiveEsimInactivePsim_getList() local 162 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in activeSimSlotIndexCall_nullInput_getNoneNullEmptyList() local 174 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in activeSimSlotIndexCall_oneSimAndActivePsim_getList() local 187 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in activeSimSlotIndexCall_oneSimAndActiveEsim_getList() local [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/adservicesapi/ |
D | DevSessionCommandTest.java | 73 Result result = in testRun_startDevSessionWithoutAcknowledgement_returnsErrorMessage() local 89 Result result = in testRun_endDevSessionWithoutAcknowledgement_returnsErrorMessage() local 105 Result result = in testRun_startDevSession_resetIsCalled() local 123 Result result = in testRun_startDevSession_throwsErrorOnFailure() local 137 Result result = in testRun_startDevSession_throwsErrorOnTimeout() local 171 Result result = in testRun_endDevSession_resetIsCalled() local 190 Result result = in testRun_startDevSessionInDevSession_returnsNoOpError() local 209 Result result = in testRun_endDevSessionOutOfDevSession_returnsNoOpError() local 225 Result result = in testRun_startDevSessionWithoutAcknowledgement_withServerTestKeysEnabled() local 240 Result result = in testRun_endDevSessionWithoutAcknowledgement_withServerTestKeysEnabled() local [all …]
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/ |
D | SnakeCaseConverterTest.kt | 32 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withCamelCaseInput_returnsSnakeCaseString() constant 41 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withEmptyInput_returnsEmptyString() constant 50 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withSnakeCaseInput_returnsSnakeCaseString() constant 59 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withInputHavingUnderscores_preservesUnderscores() constant 68 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withPascalCaseInput_returnsSnakeCaseString() constant 77 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withScreamingSnakeCaseInput_lowerCasesTheString() constant 86 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withMixedCaseInput_returnsSnakeCaseString() constant
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ike3gpp/ |
D | Ike3gppExtensionExchangeTest.java | 95 List<IkePayload> result = in testGetRequestPayloadsInEapIkeAuthServerAuthenticatedAndNetworkRequested() local 110 List<IkePayload> result = in testGetRequestPayloadsInEapIkeAuthServerNotAuthenticatedAndNetworkRequested() local 119 List<IkePayload> result = in testGetRequestPayloadsInEapIkeAuthServerAuthenticatedAndNotRequestedByNetwork() local 129 List<IkePayload> result = in testGetRequestPayloadsInEapIkeAuthNotConfigured() local 137 List<IkePayload> result = in testGetRequestPayloadsIkeAuth() local 149 List<IkePayload> result = in testGetResponsePayloadsIkeInfo() local 163 List<IkePayload> result = in testGetResponsePayloadsIkeInfoNotRequestedByNetwork() local 174 List<IkePayload> result = in testGetResponsePayloadsIkeInfo3gppNotConfigured() local 184 List<IkePayload> result = in testGetRequestPayloadsIkeAuthNotConfigured() local 192 List<IkePayload> result = in testGetRequestPayloadsIkeInit() local [all …]
|
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/ |
D | ImsEntitlementApiTest.java | 208 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_verifyVowifiStatus() local 223 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_verifyImsAppsStatus() local 240 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_responseWithVersZero_resetConfiguration() local 257 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_responseWithVersMinusOne_resetConfiguration() local 275 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_responseWithVersMinusTwo_resetConfiguration() local 295 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_defaultEnabledAndResponseWithVersZero_resetConfiguration() local 314 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_defaultEnabledAndResponseWithVersMinusOne_resetConfiguration() local 334 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_defaultEnabledAndResponseWithVersMinusTwo_resetConfiguration() local 349 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_verifyConfigs() local 366 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_resultNull_verifyVowifiStatusAndConfigs() local [all …]
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/viewmodel/ |
D | ChooserRequestTest.kt | 71 val result = readChooserRequest(model) in missingIntent() constant 86 val result = readChooserRequest(model) in referrerFillIn() constant 103 val result = readChooserRequest(model) in referrerPackage_isNullWithNonAppReferrer() constant 118 val result = readChooserRequest(model) in referrerPackage_fromAppReferrer() constant 132 val result = readChooserRequest(model) in payloadIntents_includesTargetThenAdditional() constant 145 val result = readChooserRequest(model) in testRequest_withOnlyRequiredValues() constant 163 val result = readChooserRequest(model) in testRequest_actionSendWithAdditionalContentUri() constant 180 val result = readChooserRequest(model) in testRequest_actionSendWithInvalidAdditionalContentUri() constant 193 val result = readChooserRequest(model) in testRequest_actionSendWithoutAdditionalContentUri() constant 212 val result = readChooserRequest(model) in testRequest_actionViewWithAdditionalContentUri() constant [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/regionalpreferences/ |
D | RegionalPreferencesDataUtilsTest.java | 122 String result = RegionalPreferencesDataUtils.temperatureUnitsConverter(mApplicationContext, in temperatureUnitsConverter_inputFahrenheit_resultIsFahrenheitString() local 126 mApplicationContext, "fahrenheit_temperature_unit"), result); in temperatureUnitsConverter_inputFahrenheit_resultIsFahrenheitString() local 131 String result = RegionalPreferencesDataUtils.temperatureUnitsConverter(mApplicationContext, in temperatureUnitsConverter_inputDefault_resultIsDefaultString() local 135 mApplicationContext, "default_string_of_regional_preference"), result); in temperatureUnitsConverter_inputDefault_resultIsDefaultString() local 140 String result = RegionalPreferencesDataUtils.dayConverter(mApplicationContext, in dayConverter_inputWed_resultIsWedString() local 144 mApplicationContext, "wednesday_first_day_of_week"), result); in dayConverter_inputWed_resultIsWedString() local 149 String result = RegionalPreferencesDataUtils.dayConverter(mApplicationContext, in dayConverter_inputDefault_resultIsDefaultString() local 153 mApplicationContext, "default_string_of_regional_preference"), result); in dayConverter_inputDefault_resultIsDefaultString() local 158 String result = RegionalPreferencesDataUtils.dayConverter(mApplicationContext, in calendarConverter_inputDefault_resultIsDefaultString() local 162 mApplicationContext, "default_string_of_regional_preference"), result); in calendarConverter_inputDefault_resultIsDefaultString() local
|
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/handover/ |
D | HandoverDataParserTest.java | 83 NdefRecord result = HandoverDataParser.createCollisionRecord(); in testCreateCollisionRecord() local 120 NdefRecord result = mHandoverDataParser.createHandoverSelectRecord(alternateCarrier); in testCreateHandoverSelectRecord() local 140 BluetoothHandoverData result = mHandoverDataParser.parseNokia(payload); in testParseNokiaValidPayload() local 152 BluetoothHandoverData result = mHandoverDataParser.parseNokia(payload); in testParseNokiaWithInvalidBluetoothAddress() local 163 BluetoothHandoverData result = mHandoverDataParser.parseNokia(payload); in testParseNokiaWithShortPayload() local 184 BluetoothHandoverData result = mHandoverDataParser.parseBtOob(payload); in testParseBtOobValidShortName() local 192 BluetoothHandoverData result = mHandoverDataParser.parseBtOob( in testParseBtOobWithEmptyPayload() local 205 BluetoothHandoverData result = mHandoverDataParser.parseBtOob( in testParseBtOobWithInvalidPayload() local 227 BluetoothHandoverData result = mHandoverDataParser.parseBtOob(payload); in testParseBtOobWithLongLocalName() local 247 BluetoothHandoverData result = mHandoverDataParser.parseBtOob(payload); in testParseBtOobWith16BitUuidsPartial() local [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapapi/ |
D | BluetoothMapContractTest.java | 42 Uri result = BluetoothMapContract.buildAccountUri(TEST_AUTHORITY); in testBuildAccountUri() local 56 Uri result = BluetoothMapContract.buildAccountUriWithId(TEST_AUTHORITY, ACCOUNT_ID); in testBuildAccountUriWithId() local 65 Uri result = BluetoothMapContract.buildMessageUri(TEST_AUTHORITY); in testBuildMessageUri() local 79 Uri result = BluetoothMapContract.buildMessageUri(TEST_AUTHORITY, ACCOUNT_ID); in testBuildMessageUri_withAccountId() local 95 Uri result = in testBuildMessageUriWithId() local 110 Uri result = BluetoothMapContract.buildFolderUri(TEST_AUTHORITY, ACCOUNT_ID); in testBuildFolderUri() local 124 Uri result = BluetoothMapContract.buildConversationUri(TEST_AUTHORITY, ACCOUNT_ID); in testBuildConversationUri() local 133 Uri result = BluetoothMapContract.buildConvoContactsUri(TEST_AUTHORITY); in testBuildConvoContactsUri() local 147 Uri result = BluetoothMapContract.buildConvoContactsUri(TEST_AUTHORITY, ACCOUNT_ID); in testBuildConvoContactsUri_withAccountId() local 163 Uri result = in testBuildConvoContactsUriWithId() local
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2SuccessRequestTest.java | 63 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequest() local 77 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestEmptyMessage() local 92 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestMissingMessage() local 107 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestMissingMessageWithSpace() local 124 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestWrongOpCode() local 133 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestShortMessage() local 142 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestInvalidPrefix() local 151 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestShortAuthString() local 160 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestInvalidAuthString() local 169 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestExtraAttribute() local
|
D | EapMsChapV2FailureRequestTest.java | 61 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequest() local 78 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestMissingMessage() local 96 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestMissingMessageWithSpace() local 116 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestInvalidErrorCode() local 124 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestInvalidChallenge() local 132 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestShortChallenge() local 140 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestInvalidPasswordChangeProtocol() local 149 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureExtraAttribute() local
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/adselection/ |
D | ViewAuctionResultCommandTest.java | 126 Result result = in testRun_withUnknownAdSelectionId_throwsException() local 170 Result result = in testRun_withWinningCustomAudience_fieldsArePresent() local 225 Result result = in testRun_withWinningCustomAudience_WithComponentAdsfieldsArePresent() local 282 Result result = in testRun_withWinningCustomAudienceButNoBidOrRenderUri_throwsException() local 318 Result result = in testRun_withValidAdSelectionIdButNoInteractionUri_returnsSuccess() local 369 Result result = in testRun_withRegisteredAdInteractionsButNoReportingUris_returnsSuccess() local 433 Result result = in testRun_withRegisteredAdInteractionsAndReportingUris_returnsSuccess() local 489 Result result = in testRun_withEmptyReportingUris_fieldNotPresent() local 542 Result result = in testRun_withoutSellerReportingUri_fieldNotPresent() local 596 Result result = in testRun_withoutBuyerReportingUri_fieldNotPresent() local
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/ |
D | AdServicesShellCommandTest.java | 153 int result = runCmd((String[]) null); in testExec_nullShowsHelp() local 164 int result = runCmd(""); in testExec_emptyShowsHelp() local 175 int result = runCmd("help"); in testExec_help() local 186 int result = runCmd("-h"); in testExec_helpShort() local 205 int result = runCmd(cmd); in testExec_invalidCommand() local 218 int result = runCmd(cmd); in testExec_adServicesCommand_throwsRemoteException() local 229 int result = runCmd(cmd); in testExec_adServicesCommand_timeoutHappens() local 239 int result = runCmd("is-system-service-enabled"); in testExec_isSystemServiceEnabled_true() local 251 int result = runCmd("is-system-service-enabled"); in testExec_isSystemServiceEnabled_false() local 263 int result = runCmd("is-system-service-enabled", "--verbose"); in testExec_isSystemServiceEnabled_true_verbose() local [all …]
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/recents/ui/mapper/ |
D | TaskUiStateMapperTest.kt | 42 val result = in <lambda>() constant 57 val result = in <lambda>() constant 84 val result = in <lambda>() constant 106 val result = in <lambda>() constant 119 val result = in <lambda>() constant 158 val result = in <lambda>() constant 185 val result = in <lambda>() constant 201 val result = in <lambda>() constant 215 val result = in <lambda>() constant
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/validation/types/ |
D | IntentOrUriTest.kt | 41 val result = keyValidator.validate(values::get, CRITICAL) in intent() constant 54 val result = keyValidator.validate(values::get, CRITICAL) in uri() constant 66 val result = keyValidator.validate({ null }, CRITICAL) in missing() constant 79 val result = keyValidator.validate(source = { null }, WARNING) in optional() constant 94 val result = keyValidator.validate(values::get, CRITICAL) in wrongType_required() constant 116 val result = keyValidator.validate(values::get, WARNING) in wrongType_optional() constant
|