Home
last modified time | relevance | path

Searched refs:SUCCEEDED (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DLocationPermissionChecker.java53 SUCCEEDED,
60 public static final int SUCCEEDED = 0; field in LocationPermissionChecker
95 return checkLocationPermissionInternal(pkgName, featureId, uid, message) == SUCCEEDED; in checkLocationPermission()
162 return SUCCEEDED; in checkLocationPermissionInternal()
176 return SUCCEEDED; in checkLocationPermissionInternal()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DSyncCompletionWaiterTest.java84 listenableFuture.set(List.of(getWorkInfo(WorkInfo.State.SUCCEEDED))); in testWaitForSyncWhenWorkerFails()
101 getWorkInfo(WorkInfo.State.SUCCEEDED), in testUniqueWorkStatusForPendingWork()
115 getWorkInfo(WorkInfo.State.SUCCEEDED), in testUniqueWorkStatusForCompletedWork()
DMediaResetWorkerTest.java149 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testResetCloudAlbumMediaForAlbumId()
200 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testResetLocalAlbumMediaForAlbumId()
252 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testResetAllAlbumMedia()
300 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testPeriodicWorkerAlbumReset_WithCloudProvider()
350 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testPeriodicWorkerAlbumReset_WithLocalProvider()
DProactiveSyncWorkerTest.java99 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testLocalProactiveSync()
131 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testCloudProactiveSync()
163 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testLocalAndCloudProactiveSync()
DImmediateSyncWorkerTest.java99 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testLocalImmediateSync()
131 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testCloudImmediateSync()
164 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testLocalAndCloudImmediateSync()
DImmediateAlbumSyncWorkerTest.java101 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testLocalAlbumImmediateSync()
134 assertThat(workInfo.getState()).isEqualTo(WorkInfo.State.SUCCEEDED); in testCloudAlbumImmediateSync()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DDnsManager.java176 SUCCEEDED enumConstant
190 if (status == ValidationStatus.SUCCEEDED) { in hasValidatedServer()
228 mValidationMap.put(p, ValidationStatus.SUCCEEDED); in updateStatus()
240 if (value == ValidationStatus.SUCCEEDED) { in fillInValidatedPrivateDns()
DNetworkDiagnostics.java139 private static final String SUCCEEDED = "SUCCEEDED"; field in NetworkDiagnostics.Measurement
156 result = SUCCEEDED + ": " + msg; in recordSuccess()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DLocationPermissionCheckerTest.java213 assertEquals(LocationPermissionChecker.SUCCEEDED, result);
230 assertEquals(LocationPermissionChecker.SUCCEEDED, result);
303 assertEquals(LocationPermissionChecker.SUCCEEDED, result);
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DProvisionHelperImpl.java26 import static androidx.work.WorkInfo.State.SUCCEEDED;
220 if (state == SUCCEEDED) { in scheduleKioskAppInstallation()
250 if (!(state == WorkInfo.State.SUCCEEDED in scheduleKioskAppInstallation()
310 if (state == SUCCEEDED) { in installFromPlay()