Home
last modified time | relevance | path

Searched defs:result (Results 1 – 25 of 1876) sorted by relevance

12345678910>>...76

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringServiceTest.java139 void runTetheringCall(TestTetheringResult result) throws Exception; in runTetheringCall()
186 private void runTether(final TestTetheringResult result) throws Exception { in runTether()
195 runAsNoPermission((result) -> { in testTether() argument
203 runAsTetherPrivileged((result) -> { in testTether() argument
208 runAsWriteSettings((result) -> { in testTether() argument
214 runAsTetheringDisallowed((result) -> { in testTether() argument
224 private void runUnTether(final TestTetheringResult result) throws Exception { in runUnTether()
234 runAsNoPermission((result) -> { in testUntether() argument
242 runAsTetherPrivileged((result) -> { in testUntether() argument
247 runAsWriteSettings((result) -> { in testUntether() argument
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DThumbnailCacheTest.java74 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/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/crypto/
DTlsSessionTunnelTest.java43 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
DTlsSessionHandshakeTest.java67 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/Settings/tests/unit/src/com/android/settings/network/helper/
DQuerySimSlotIndexTest.java68 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/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/
DSnakeCaseConverterTest.kt32 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/
DIke3gppExtensionExchangeTest.java95 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/services/Car/cpp/watchdog/server/src/
DServiceManager.cpp47 if (auto result = startWatchdogProcessService(mainLooper); !result.ok()) { in startServices() local
51 if (auto result = mWatchdogServiceHelper->init(mWatchdogProcessService); !result.ok()) { in startServices() local
54 if (auto result = startWatchdogPerfService(mWatchdogServiceHelper); !result.ok()) { in startServices() local
57 if (auto result = packageInfoResolver->initWatchdogServiceHelper(mWatchdogServiceHelper); in startServices() local
66 if (auto result = mWatchdogBinderMediator->init(); !result.ok()) { in startServices() local
96 if (auto result = mWatchdogProcessService->start(); !result.ok()) { in startWatchdogProcessService() local
106 if (auto result = mWatchdogPerfService->registerDataProcessor(sp<PerformanceProfiler>::make()); in startWatchdogPerfService() local
110 if (auto result = mWatchdogPerfService->start(); !result.ok()) { in startWatchdogPerfService() local
DOveruseConfigurationXmlHelper.cpp114 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/apps/Settings/tests/unit/src/com/android/settings/regionalpreferences/
DRegionalPreferencesDataUtilsTest.java122 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/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapapi/
DBluetoothMapContractTest.java41 Uri result = BluetoothMapContract.buildAccountUri(TEST_AUTHORITY); in testBuildAccountUri() local
50 Uri result = BluetoothMapContract.buildAccountUriwithId(TEST_AUTHORITY, ACCOUNT_ID); in testBuildAccountUriWithId() local
59 Uri result = BluetoothMapContract.buildMessageUri(TEST_AUTHORITY); in testBuildMessageUri() local
68 Uri result = BluetoothMapContract.buildMessageUri(TEST_AUTHORITY, ACCOUNT_ID); in testBuildMessageUri_withAccountId() local
77 Uri result = BluetoothMapContract.buildMessageUriWithId( in testBuildMessageUriWithId() local
87 Uri result = BluetoothMapContract.buildFolderUri(TEST_AUTHORITY, ACCOUNT_ID); in testBuildFolderUri() local
96 Uri result = BluetoothMapContract.buildConversationUri(TEST_AUTHORITY, ACCOUNT_ID); in testBuildConversationUri() local
105 Uri result = BluetoothMapContract.buildConvoContactsUri(TEST_AUTHORITY); in testBuildConvoContactsUri() local
114 Uri result = BluetoothMapContract.buildConvoContactsUri(TEST_AUTHORITY, ACCOUNT_ID); in testBuildConvoContactsUri_withAccountId() local
123 Uri result = BluetoothMapContract.buildConvoContactsUriWithId( in testBuildConvoContactsUriWithId() local
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2SuccessRequestTest.java63 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
DEapMsChapV2FailureRequestTest.java61 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/adselection/
DAdSelectionScriptEngineTest.java216 final AuctionScriptResult result = in testCanCallScript() local
231 final AuctionScriptResult result = in testCanCallScriptRunWithCopier() local
263 final AuctionScriptResult result = in testFailsIfScriptIsNotReturningJson() local
278 final AuctionScriptResult result = in testCallsFailAtFirstNonzeroStatus() local
305 final List<AdWithBid> result = in testGenerateBidSuccessfulCase() local
346 final List<AdWithBid> result = in testGenerateBidWithCopierSuccessfulCase() local
387 final List<AdWithBid> result = in testGenerateBidWithCopierWithAdCounterKeysSuccessfulCase() local
421 final List<AdWithBid> result = in testGenerateBidV3SuccessfulCase() local
475 final List<AdWithBid> result = in testGenerateBidV3WithCopierSuccessfulCase() local
538 final List<AdWithBid> result = in testGenerateBidV3WithCopierWithAdCounterKeysSuccessfulCase() local
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DInitialLockSetupServiceTest.java106 int result = service.checkValidLock(LockTypes.PASSWORD, "hi".getBytes()); in testCheckValidLock_tooShort() local
115 int result = service.checkValidLock(LockTypes.PASSWORD, "password".getBytes()); in testCheckValidLock_longEnough() local
124 int result = service.checkValidLock(LockTypes.PIN, "12a3".getBytes()); in testCheckValidLockPin_withLetters() local
137 int result = service.checkValidLock(LockTypes.PATTERN, pattern); in testCheckValidLockPattern_tooShort() local
150 int result = service.checkValidLock(LockTypes.PATTERN, pattern); in testCheckValidLockPattern_longEnough() local
160 int result = service.setLock(LockTypes.PASSWORD, "password".getBytes()); in testSetLockPassword_doesNotWorkWithExistingPassword() local
168 int result = service.setLock(LockTypes.PASSWORD, "hi".getBytes()); in testSetLockPassword_doesNotWorkWithInvalidPassword() local
179 int result = service.setLock(LockTypes.PASSWORD, password); in testSetLockPassword_setsDevicePassword() local
191 int result = service.setLock(LockTypes.PIN, password); in testSetLockPin_setsDevicePin() local
212 int result = service.setLock(LockTypes.PATTERN, patternBytes); in testSetLockPattern_setsDevicePattern() local
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/tests/
DParsedDataHelperTest.java35 List<String> result = ParsedDataHelper.getClassNamesOnly(data); in testGetClassNamesOnly() local
46 List<String> result = ParsedDataHelper.getAddedInOrBeforeApisOnly(data); in testGetAddedInOrBeforeApisOnly() local
60 List<String> result = ParsedDataHelper.getHiddenApisOnly(data); in testGetHiddenApisOnly() local
69 List<String> result = ParsedDataHelper.getHiddenApisWithHiddenConstructor(data); in testGetHiddenApisWithHiddenConstructor() local
81 List<String> result = ParsedDataHelper.getAllApis(data); in testGetAllApis() local
104 List<String> result = ParsedDataHelper.getAllApisWithConstructor(data); in testGetAllApisWithConstructor() local
142 List<String> result = ParsedDataHelper.getApisWithVersion(data); in testGetApisWithVersion() local
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/
DSafetyCenterUiDataTest.kt45 val result = SafetyCenterUiData(safetyCenterData).getMatchingGroup(MATCHING_GROUP_ID) in getMatchingGroup_validMatchingGroup_returnsExpectedEntryGroup() constant
55 val result = SafetyCenterUiData(safetyCenterData).getMatchingGroup(MATCHING_GROUP_ID) in getMatchingGroup_noMatchingGroup_returnsNull() constant
67 val result = SafetyCenterUiData(safetyCenterData).getMatchingIssues(MATCHING_GROUP_ID) in getMatchingIssues_defaultMatchingIssue_noExtras_returnsListOfIssues() constant
90 val result = SafetyCenterUiData(safetyCenterData).getMatchingIssues(MATCHING_GROUP_ID) in getMatchingIssues_defaultMatchingIssue_unrelatedExtras_returnsListOfIssues() constant
113 val result = SafetyCenterUiData(safetyCenterData).getMatchingIssues(MATCHING_GROUP_ID) in getMatchingIssues_mappingMatchingIssue_returnsListOfIssues() constant
128 val result = SafetyCenterUiData(safetyCenterData).getMatchingIssues(MATCHING_GROUP_ID) in getMatchingIssues_noDefaultMatchingIssue_returnsEmptyList() constant
142 val result = in getMatchingDismissedIssues_defaultMatchingDismissedIssue_returnsListOfDismissedIssues() constant
166 val result = in getMatchingDismissedIssues_defaultMatchingDismissedIssue2_returnsListOfDismissedIssues() constant
190 val result = in getMatchingDismissedIssues_mappingMatchingDismissedIssue_returnsListOfDismissedIssues() constant
206 val result = in getMatchingDismissedIssues_noDefaultMatchingDismissedIssue_returnsEmptyList() constant
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/
DImsEntitlementApiTest.java151 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_verifyVowifiStatus() local
166 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_verifyImsAppsStatus() local
181 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_verifyConfigs() local
200 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_resultNull_verifyVowifiStatusAndConfigs() local
221 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_httpResponse511_dataStoreReset() local
245 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_httpResponse511_fullAuthnDone() local
271 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_httpResponse503WithDateTime_returnsRetryAfter() local
294 EntitlementResult result = mImsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_httpResponse503WithNumericValue_returnsRetryAfter() local
305 EntitlementResult result = imsEntitlementApi.checkEntitlementStatus(); in checkEntitlementStatus_invalidSubId_resultNull() local
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
DEapSimTypeDataTest.java92 DecodeResult<EapSimTypeData> result = mEapSimTypeDataDecoder.decode(EAP_SIM_START_SUBTYPE); in testDecode() local
112 DecodeResult<EapSimTypeData> result = in testDecodeEncode() local
121 DecodeResult<EapSimTypeData> result = mEapSimTypeDataDecoder.decode(null); in testDecodeNullTypeData() local
128 DecodeResult<EapSimTypeData> result = mEapSimTypeDataDecoder.decode(INVALID_SUBTYPE); in testDecodeInvalidSubtype() local
135 DecodeResult<EapSimTypeData> result = in testDecodeInvalidAtRand() local
143 DecodeResult<EapSimTypeData> result = mEapSimTypeDataDecoder.decode(SHORT_TYPE_DATA); in testDecodeShortPacket() local
150 DecodeResult<EapSimTypeData> result = in testDecodeInvalidEapAttribute() local
169 DecodeResult<EapSimTypeData> result = in testDecodeDuplicateAttributes() local
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageAsyncLoaderTest.java99 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testLoadingApps() local
114 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testGamesAreFiltered() local
130 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testLegacyGamesAreFiltered() local
145 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testCacheIsNotIgnored() local
165 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testMultipleUsers() local
181 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testUpdatedSystemAppCodeSizeIsCounted() local
195 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testVideoAppsAreFiltered() local
212 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testRemovedPackageDoesNotCrash() local
236 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testPackageIsNotDoubleCounted() local
253 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testCacheOveragesAreCountedAsFree() local
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoaderTest.java104 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testLoadingApps() local
115 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testGamesAreFiltered() local
128 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testLegacyGamesAreFiltered() local
139 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testCacheIsNotIgnored() local
155 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testMultipleUsers() local
168 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testUpdatedSystemAppCodeSizeIsCounted() local
183 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testRemovedPackageDoesNotCrash() local
192 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testCacheOveragesAreCountedAsFree() local
205 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testAppsAreFiltered() local
/packages/services/Car/cpp/watchdog/server/tests/
DThreadPriorityControllerTest.cpp74 auto result = mController->setThreadPriority(TEST_PID, TEST_TID, TEST_UID, policy, priority); in TEST_F() local
87 auto result = mController->setThreadPriority(TEST_PID, TEST_TID, TEST_UID, policy, setPriority); in TEST_F() local
93 auto result = mController->setThreadPriority(TEST_PID + 1, TEST_TID, TEST_UID, SCHED_FIFO, 1); in TEST_F() local
100 auto result = mController->setThreadPriority(TEST_PID, TEST_TID + 1, TEST_UID, SCHED_FIFO, 1); in TEST_F() local
107 auto result = mController->setThreadPriority(TEST_PID, TEST_TID, TEST_UID + 1, SCHED_FIFO, 1); in TEST_F() local
114 auto result = mController->setThreadPriority(TEST_PID, TEST_TID, TEST_UID, -1, 1); in TEST_F() local
121 auto result = mController->setThreadPriority(TEST_PID, TEST_TID, TEST_UID, SCHED_FIFO, 0); in TEST_F() local
134 auto result = mController->setThreadPriority(TEST_PID, TEST_TID, TEST_UID, expectedPolicy, in TEST_F() local
152 auto result = mController->getThreadPriority(TEST_PID, TEST_TID, TEST_UID, &actual); in TEST_F() local
161 auto result = mController->getThreadPriority(TEST_PID + 1, TEST_TID, TEST_UID, &actual); in TEST_F() local
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapStateTest.java77 EapResult result = mEapState.process(null); in testProcessNullPacket() local
86 EapResult result = mEapState.process(REQUEST_UNSUPPORTED_TYPE_PACKET); in testProcessUnsupportedEapDataType() local
95 EapResult result = mEapState.process(SHORT_PACKET); in testProcessDecodeFailure() local
104 EapResult result = mEapState.process(EAP_RESPONSE_NOTIFICATION_PACKET); in testProcessResponse() local
113 EapResult result = mEapState.process(EAP_REQUEST_NAK_PACKET); in testProcessNakRequest() local
122 EapResult result = mEapState.process(EAP_REQUEST_MD5_CHALLENGE); in testProcessMd5Challenge() local
/packages/modules/Bluetooth/system/tools/scripts/
Ddump_hearingaid_audio.py84 def parse_acl_ha_debug_buffer(data, result): argument
119 def parse_acl_ha_audio_data(data, result): argument
128 def parse_acl_ha_audio_type(data, result): argument
144 def parse_acl_ha_codec(data, result): argument
161 def parse_acl_ha_audio_control_cmd(data, result): argument
178 def parse_acl_att_long_uuid(data, result): argument
197 def parse_acl_opcode(data, result): argument
217 def parse_acl_handle(data, result): argument
252 def parse_hci_evt_peer_address(data, result): argument
273 def parse_hci_evt_code(data, result): argument
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/util/
DTvTrackInfoUtilsTest.java74 TvTrackInfo result = getBestTrackInfo(Collections.emptyList(), UN_MATCHED_ID, "en", 1); in testGetBestTrackInfo_empty() local
80 TvTrackInfo result = getBestTrackInfo(allTracks, "track_1", "en", 1); in testGetBestTrackInfo_exactMatch() local
86 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, "en", 5); in testGetBestTrackInfo_langAndChannelCountMatch() local
92 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, "fr", 1); in testGetBestTrackInfo_languageOnlyMatch() local
101 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, null, 8); in testGetBestTrackInfo_channelCountOnlyMatchWithNullLanguage_23() local
111 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, null, 8); in testGetBestTrackInfo_channelCountOnlyMatchWithNullLanguage() local
117 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, "kr", 1); in testGetBestTrackInfo_noMatches() local
126 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, null, 0); in testGetBestTrackInfo_noMatchesWithNullLanguage_23() local
136 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, null, 0); in testGetBestTrackInfo_noMatchesWithNullLanguage() local
142 TvTrackInfo result = getBestTrackInfo(nullLanguageTracks, "track_5", null, 6); in testGetBestTrackInfo_channelCountAndIdMatch() local

12345678910>>...76