/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | OmtpEvents.java | 127 private final boolean isSuccess; field in OmtpEvents 129 OmtpEvents(int type, boolean isSuccess) { in OmtpEvents() argument 131 this.isSuccess = isSuccess; in OmtpEvents() 136 isSuccess = false; in OmtpEvents() 141 isSuccess = false; in OmtpEvents() 149 public boolean isSuccess() { in isSuccess() method in OmtpEvents 150 return isSuccess; in isSuccess()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | IpMemoryStoreTest.java | 124 status.isSuccess())); in testNetworkAttributes() 132 + status.resultCode, status.isSuccess()); in testNetworkAttributes() 149 assertTrue("Store not successful : " + status.resultCode, status.isSuccess()); in testPrivateData() 157 status.isSuccess()); in testPrivateData() 175 status.isSuccess()); in testFindL2Key() 191 + status.resultCode, status.isSuccess()); in testIsSameNetwork() 209 status.isSuccess())); in testEnqueuedIpMsRequests() 213 + status.resultCode, status.isSuccess()); in testEnqueuedIpMsRequests() 219 status.isSuccess())); in testEnqueuedIpMsRequests() 223 status.isSuccess()); in testEnqueuedIpMsRequests() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ipmemorystore/ |
D | IpMemoryStoreServiceTest.java | 383 assertTrue("Store not successful : " + status.resultCode, status.isSuccess()); 399 status.isSuccess()); 468 + status.resultCode, status.isSuccess()); 484 + status.resultCode, status.isSuccess()); 500 + status.resultCode, status.isSuccess()); 519 status.isSuccess()); 528 status.isSuccess()); 536 status.isSuccess()); 545 status.isSuccess()); 563 status.isSuccess()); [all …]
|
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/ |
D | CtsOdpManagerTests.java | 272 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteNoOp() 295 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteWithRenderAndLogging() 314 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteWithRender() 335 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteWithOutputData() 352 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteReadRemoteData() 368 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteReadUserData() 388 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteWithLogging() 413 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteReadLog() 428 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteReadLog() 498 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteWriteAndReadLocalData() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalHidlImpl.java | 716 return result.isSuccess(); in registerCallback() 748 return result.isSuccess(); in registerCallbackV1_4() 775 return result.isSuccess(); in find() 819 return result.isSuccess(); in stopFind() 839 return result.isSuccess(); in flush() 860 return result.isSuccess(); in serviceFlush() 884 return result.isSuccess(); in setPowerSave() 918 return result.isSuccess(); in setGroupIdle() 951 return result.isSuccess(); in setSsidPostfix() 1050 return result.isSuccess(); in cancelConnect() [all …]
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImplTest.java | 492 assertThat(internalSetSchemaResponse.isSuccess()).isTrue(); in testTriggerCheckOptimizeByMutationSize() 548 assertThat(internalSetSchemaResponse.isSuccess()).isTrue(); in testReset() 647 assertThat(internalSetSchemaResponse.isSuccess()).isTrue(); in testReset() 696 assertThat(internalSetSchemaResponse.isSuccess()).isTrue(); in testQueryWithMultiplePackages_noPackageFilters() 710 assertThat(internalSetSchemaResponse.isSuccess()).isTrue(); in testQueryWithMultiplePackages_noPackageFilters() 763 assertThat(internalSetSchemaResponse.isSuccess()).isTrue(); in testQueryWithMultiplePackages_withPackageFilters() 777 assertThat(internalSetSchemaResponse.isSuccess()).isTrue(); in testQueryWithMultiplePackages_withPackageFilters() 862 assertThat(internalSetSchemaResponse.isSuccess()).isTrue(); in testGlobalQuery_withJoin_packageFilter() 883 assertThat(internalSetSchemaResponse.isSuccess()).isTrue(); in testGlobalQuery_withJoin_packageFilter() 897 assertThat(internalSetSchemaResponse.isSuccess()).isTrue(); in testGlobalQuery_withJoin_packageFilter() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/ |
D | CreateUserResultTest.java | 33 assertThat(result.isSuccess()).isFalse(); in testNullConstructor() 45 assertThat(result.isSuccess()).isTrue(); in testSuccess() 55 assertThat(result.isSuccess()).isFalse(); in testFailure_nullUserInfo() 72 assertThat(result.isSuccess()).isFalse(); in testFailure_nullUserHandle() 90 assertThat(result.isSuccess()).isFalse(); in failureTest()
|
D | CarDevicePolicyManagerUnitTest.java | 73 assertThat(result.isSuccess()).isTrue(); in testRemoveUser_success() 84 assertThat(result.isSuccess()).isFalse(); in testRemoveUser_remoteException() 108 assertThat(result.isSuccess()).isTrue(); in testCreateUser_success() 121 assertThat(result.isSuccess()).isFalse(); in testCreateUser_remoteException() 140 assertThat(result.isSuccess()).isTrue(); in testStartUserInBackground_success() 152 assertThat(result.isSuccess()).isFalse(); in testStartUserInBackground_remoteException() 168 assertThat(result.isSuccess()).isTrue(); in testStopUser_success() 179 assertThat(result.isSuccess()).isFalse(); in testStopUser_remoteException()
|
D | StartUserInBackgroundResultTest.java | 36 int userStartStatus, int startUserStatus, boolean isSuccess) { in StartUserInBackgroundResultTest() argument 39 mIsSuccess = isSuccess; in StartUserInBackgroundResultTest() 63 assertThat(result.isSuccess()).isEqualTo(mIsSuccess); in testStatus()
|
D | StopUserResultTest.java | 37 public StopUserResultTest(int userStopStatus, int stopUserStatus, boolean isSuccess) { in StopUserResultTest() argument 40 mIsSuccess = isSuccess; in StopUserResultTest() 64 assertThat(result.isSuccess()).isEqualTo(mIsSuccess); in testStatus()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/ |
D | EnableAdServicesResponse.java | 51 boolean isSuccess, in EnableAdServicesResponse() argument 55 mIsSuccess = isSuccess; in EnableAdServicesResponse() 72 public boolean isSuccess() { in isSuccess() method in EnableAdServicesResponse 162 public EnableAdServicesResponse.Builder setSuccess(boolean isSuccess) { in setSuccess() argument 163 mIsSuccess = isSuccess; in setSuccess()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | UserIdentificationAssociationResponseTest.java | 36 assertThat(response.isSuccess()).isFalse(); in testFailure_noMessage() 46 assertThat(response.isSuccess()).isFalse(); in testFailure_withMessage() 76 assertThat(response.isSuccess()).isTrue(); in testSuccess_noMessage() 86 assertThat(response.isSuccess()).isTrue(); in testSuccess_withMessage()
|
/packages/modules/Virtualization/authfs/tests/hosttests/java/src/com/android/fs/ |
D | AuthFsHostTest.java | 172 assertThat(copyFile(sMicrodroid, srcPath, destPath)).isSuccess(); in testWriteThroughCorrectly() 188 assertThat(copyFile(sMicrodroid, srcPath, destPath)).isSuccess(); in testWriteFailedIfDetectsTampering() 195 .isSuccess(); in testWriteFailedIfDetectsTampering() 211 .isSuccess(); in testWriteFailedIfDetectsTampering() 217 .isSuccess(); in testWriteFailedIfDetectsTampering() 229 assertThat(copyFile(sMicrodroid, srcPath, destPath)).isSuccess(); in testReadFailedIfDetectsTampering() 236 .isSuccess(); in testReadFailedIfDetectsTampering() 245 .isSuccess(); in testReadFailedIfDetectsTampering() 263 .isSuccess(); in testResizeFailedIfDetectsTampering() 288 assertThat(resizeFile(sMicrodroid, outputPath, 15000)).isSuccess(); in testFileResize() [all …]
|
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/ |
D | OnDevicePersonalizationManagerTest.java | 101 assertTrue(receiver.isSuccess()); in testExecuteSuccess() 119 assertFalse(receiver.isSuccess()); in testExecuteUnknownError() 136 assertFalse(receiver.isSuccess()); in testExecuteServiceError() 154 assertFalse(receiver.isSuccess()); in testExecuteErrorWithCode() 177 assertFalse(receiver.isSuccess()); in testExecuteErrorWithMessage() 193 assertFalse(receiver.isSuccess()); in testExecuteCatchesIaeFromService() 209 assertFalse(receiver.isSuccess()); in testExecuteCatchesNpeFromService() 225 assertFalse(receiver.isSuccess()); in testExecuteCatchesOtherExceptions()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/ |
D | TunnelResponseTest.java | 38 assertThat(tunnelResponse.isSuccess()).isTrue(); in validResponseData() 49 assertThat(tunnelResponse.isSuccess()).isFalse(); in wrongStatusWord() 62 assertThat(tunnelResponse.isSuccess()).isTrue(); in wrongTopTag() 75 assertThat(tunnelResponse.isSuccess()).isTrue(); in wrongDataTag()
|
D | SwapInAdfResponseTest.java | 37 assertThat(swapInAdfResponse.isSuccess()).isTrue(); in validResponseData() 48 assertThat(swapInAdfResponse.isSuccess()).isFalse(); in wrongStatusWord() 60 assertThat(swapInAdfResponse.isSuccess()).isTrue(); in wrongDataTag()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/ |
D | RequestTest.java | 93 assertThat(newRequest.isSuccess()).isTrue(); in testRequestGetMessagesListing() 107 assertThat(newRequest.isSuccess()).isTrue(); in testRequestGetMessage() 119 assertThat(newRequest.isSuccess()).isTrue(); in testRequestGetFolderListing() 136 assertThat(newRequest.isSuccess()).isTrue(); in testRequestPushMessage() 149 assertThat(newRequest.isSuccess()).isTrue(); in testRequestSetMessageStatus() 170 assertThat(newRequest.isSuccess()).isTrue(); in testRequestSetPath()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallFailureCauseTest.java | 52 @Parameter(2) public boolean isSuccess; field in CallFailureCauseTest 61 assertEquals(isSuccess, e.isSuccess()); in testIsSuccess()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarDevicePolicyManagerTest.java | 74 .that(result.isSuccess()).isTrue(); in testRemoveUser() 132 result).that(result.isSuccess()).isTrue(); in testCreateUser() 157 result).that(result.isSuccess()).isTrue(); in testCreateAdminUser() 183 result).that(result.isSuccess()).isTrue(); in testCreateGuestUser() 208 .that(result.isSuccess()).isTrue(); in testStartUserInBackground() 221 .that(result.isSuccess()).isTrue(); in testStopUser()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | AppSearchSession.java | 149 if (result.isSuccess()) { in initialize() 265 if (result.isSuccess()) { in getSchema() 311 if (result.isSuccess()) { in getNamespaces() 644 if (result.isSuccess()) { in searchSuggestion() 870 if (result.isSuccess()) { in getStorageInfo() 942 if (result.isSuccess()) { in setSchemaNoMigrations() 966 if (!internalSetSchemaResponse.isSuccess()) { in setSchemaNoMigrations() 1043 if (!getSchemaResult.isSuccess()) { in setSchemaWithMigrations() 1110 if (!setSchemaResult.isSuccess()) { in setSchemaWithMigrations() 1175 if (internalSetSchemaResponse1.isSuccess()) { in setSchemaWithMigrations() [all …]
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | InternalSetSchemaResponse.java | 61 @Param(id = 1) boolean isSuccess, in InternalSetSchemaResponse() 65 mIsSuccess = isSuccess; in InternalSetSchemaResponse() 96 public boolean isSuccess() { in isSuccess() method in InternalSetSchemaResponse
|
D | AppSearchResult.java | 136 public boolean isSuccess() { in isSuccess() method in AppSearchResult 156 if (!isSuccess()) { in getResultValue() 197 if (isSuccess()) { in toString() 236 !otherFailedResult.isSuccess(), in newFailedResult()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityStore.java | 338 if (!internalSetSchemaResponse.isSuccess()) { in setLatestSchemaAndDocuments() 356 if (!internalSetAndroidVOverlaySchemaResponse.isSuccess()) { in setLatestSchemaAndDocuments() 403 if (!internalSetSchemaResponse.isSuccess()) { in migrateVisibilityOverlayDatabase() 456 if (!internalSetSchemaResponse.isSuccess()) { in verifyOrSetLatestVisibilitySchema() 477 if (!internalSetSchemaResponse.isSuccess()) { in verifyOrSetLatestVisibilitySchema() 517 if (!internalSetSchemaResponse.isSuccess()) { in verifyOrSetLatestVisibilityOverlaySchema()
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/ |
D | ControllerKeepAlivePolicyHandlerTest.java | 148 private void setExpectationsOnEnableControllerKeepalive(boolean isSuccess) { in setExpectationsOnEnableControllerKeepalive() argument 151 if (isSuccess) { in setExpectationsOnEnableControllerKeepalive() 160 private void setExpectationsOnDisableControllerKeepalive(boolean isSuccess) { in setExpectationsOnDisableControllerKeepalive() argument 163 if (isSuccess) { in setExpectationsOnDisableControllerKeepalive()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceServiceEndToEndTest.java | 443 assertFalse(callback.isSuccess()); in testJoinCustomAudience_callerPackageNameMismatch_fail() 471 assertTrue(callback.isSuccess()); in testJoinCustomAudience_joinTwice_secondJoinOverrideValues() 482 assertTrue(callback.isSuccess()); in testJoinCustomAudience_joinTwice_secondJoinOverrideValues() 516 assertTrue(callback.isSuccess()); in testJoinCustomAudienceAppInstallDisabled() 550 assertTrue(callback.isSuccess()); in testJoinCustomAudienceFrequencyCapDisabled() 577 assertTrue(callback.isSuccess()); in testJoinCustomAudience_joinTwice_secondJoinOverrideValuesWithAuctionServerRequestFlags() 590 assertTrue(callback.isSuccess()); in testJoinCustomAudience_joinTwice_secondJoinOverrideValuesWithAuctionServerRequestFlags() 610 assertTrue(callback.isSuccess()); in testJoinCustomAudienceWithRevokedUserConsentForAppSuccess() 629 assertFalse(callback.isSuccess()); in testJoinCustomAudience_beyondMaxExpirationTime_fail() 1162 assertFalse(callback.isSuccess()); in testLeaveCustomAudience_callerPackageNameMismatch_fail() [all …]
|