Home
last modified time | relevance | path

Searched refs:getStatus (Results 1 – 25 of 208) sorted by relevance

123456789

/frameworks/native/libs/ui/tests/
DMockFence_test.cpp45 TEST_F(MockFenceTest, getStatus) { in TEST_F() argument
48 EXPECT_CALL(getMockFence(), getStatus).WillOnce(Return(Fence::Status::Unsignaled)); in TEST_F()
49 EXPECT_EQ(Fence::Status::Unsignaled, fence->getStatus()); in TEST_F()
51 EXPECT_CALL(getMockFence(), getStatus).WillOnce(Return(Fence::Status::Signaled)); in TEST_F()
52 EXPECT_EQ(Fence::Status::Signaled, fence->getStatus()); in TEST_F()
54 EXPECT_CALL(getMockFence(), getStatus).WillOnce(Return(Fence::Status::Invalid)); in TEST_F()
55 EXPECT_EQ(Fence::Status::Invalid, fence->getStatus()); in TEST_F()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DTaskExceptionTest.java40 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_ERROR); in testStateCompromised()
50 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testStateCompromised_whenCauseInstanceOfTaskException()
61 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_ERROR); in testStateCompromised_whenCauseNotInstanceOfTaskException()
78 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testForStatus_whenTransportNotInitialized()
98 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_ERROR); in testCausedBy_whenCauseNotInstanceOfTaskException()
107 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_ERROR); in testCreate()
133 int status = taskException.getStatus(); in testGetStatus_whenStatusIsTransportPackageRejected()
143 int status = taskException.getStatus(); in testGetStatus_whenStatusIsTransportNotInitialized()
/frameworks/base/tests/ApkVerityTest/block_device_writer/src/com/android/blockdevicewriter/
DBlockDeviceWriter.java70 .that(result.getStatus()).isEqualTo(CommandStatus.SUCCESS); in damageFileAgainstBlockDevice()
81 assertThat(result.getStatus()).isEqualTo(CommandStatus.SUCCESS); in dropCaches()
87 assertThat(result.getStatus()).isEqualTo(CommandStatus.SUCCESS); in assertFileNotOpen()
99 return result.getStatus() == CommandStatus.SUCCESS; in canReadByte()
/frameworks/base/tests/BinaryTransparencyHostTest/src/android/transparency/test/
DBinaryTransparencyHostTest.java69 assertTrue(result.getStatus() == CommandStatus.SUCCESS); in testCollectAllApexInfo()
150 if (result.getStatus() == CommandStatus.SUCCESS) { in cancelPendingJob()
184 assertTrue(result.getStatus() == CommandStatus.SUCCESS); in uninstallRebootlessApexThenReboot()
191 assertTrue(runResult.getStatus() == CommandStatus.SUCCESS); in uninstallRebootlessApexThenReboot()
197 assertTrue(result.getStatus() == CommandStatus.SUCCESS); in updatePreloadApp()
202 assertTrue(result.getStatus() == CommandStatus.SUCCESS); in updatePreloadApp()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/datatransfer/contextsync/
DCrossDeviceCallTest.java51 assertWithMessage("Wrong status").that(crossDeviceCall.getStatus()) in updateCallDetails_uninitialized()
63 assertWithMessage("Wrong status").that(crossDeviceCall.getStatus()) in updateCallDetails_ringing()
78 assertWithMessage("Wrong status").that(crossDeviceCall.getStatus()) in updateCallDetails_ongoing()
93 assertWithMessage("Wrong status").that(crossDeviceCall.getStatus()) in updateCallDetails_holding()
107 assertWithMessage("Wrong status").that(crossDeviceCall.getStatus()) in updateCallDetails_cannotHold()
121 assertWithMessage("Wrong status").that(crossDeviceCall.getStatus()) in updateCallDetails_cannotMute()
135 assertWithMessage("Wrong status for ringing state").that(crossDeviceCall.getStatus()) in updateCallDetails_transitionRingingToOngoing()
143 assertWithMessage("Wrong status for active state").that(crossDeviceCall.getStatus()) in updateCallDetails_transitionRingingToOngoing()
158 assertWithMessage("Wrong status for dialing state").that(crossDeviceCall.getStatus()) in updateCallDetails_transitionDialingToOngoing()
164 assertWithMessage("Wrong status for active state").that(crossDeviceCall.getStatus()) in updateCallDetails_transitionDialingToOngoing()
[all …]
/frameworks/native/libs/renderengine/gl/filters/
DBlurFilter.cpp87 if (mPingFbo.getStatus() != GL_FRAMEBUFFER_COMPLETE) { in setAsDrawTarget()
89 return mPingFbo.getStatus(); in setAsDrawTarget()
91 if (mPongFbo.getStatus() != GL_FRAMEBUFFER_COMPLETE) { in setAsDrawTarget()
93 return mPongFbo.getStatus(); in setAsDrawTarget()
95 if (mCompositionFbo.getStatus() != GL_FRAMEBUFFER_COMPLETE) { in setAsDrawTarget()
97 return mCompositionFbo.getStatus(); in setAsDrawTarget()
/frameworks/av/media/libstagefright/renderfright/gl/filters/
DBlurFilter.cpp87 if (mPingFbo.getStatus() != GL_FRAMEBUFFER_COMPLETE) { in setAsDrawTarget()
89 return mPingFbo.getStatus(); in setAsDrawTarget()
91 if (mPongFbo.getStatus() != GL_FRAMEBUFFER_COMPLETE) { in setAsDrawTarget()
93 return mPongFbo.getStatus(); in setAsDrawTarget()
95 if (mCompositionFbo.getStatus() != GL_FRAMEBUFFER_COMPLETE) { in setAsDrawTarget()
97 return mCompositionFbo.getStatus(); in setAsDrawTarget()
/frameworks/native/services/surfaceflinger/
DTransactionCallbackInvoker.cpp133 if (prevFence == nullptr && currentFence->getStatus() != Fence::Status::Invalid) { in addCallbackHandle()
138 if (prevFence->getStatus() != Fence::Status::Invalid && in addCallbackHandle()
139 prevFence->getStatus() == currentFence->getStatus()) { in addCallbackHandle()
146 } else if (currentFence->getStatus() == Fence::Status::Unsignaled) { in addCallbackHandle()
/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/
DRemoteDisplayProviderService.java176 && display.getStatus() == RemoteDisplay.STATUS_CONNECTING) { in onConnect()
194 && display.getStatus() == RemoteDisplay.STATUS_CONNECTING) { in onConnect()
208 && display.getStatus() == RemoteDisplay.STATUS_CONNECTING) { in onConnect()
218 && display.getStatus() == RemoteDisplay.STATUS_CONNECTED) { in onConnect()
231 if (display.getStatus() == RemoteDisplay.STATUS_CONNECTING) { in onConnect()
235 } else if (display.getStatus() == RemoteDisplay.STATUS_CONNECTED) { in onConnect()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioCapability.java204 public int getStatus() { in getStatus() method in RadioCapability
216 + " mStatus=" + getStatus() in toString()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DTaskException.java40 return new TaskException(cause, /* stateCompromised */ true, exception.getStatus()); in stateCompromised()
80 int getStatus() { in getStatus() method in TaskException
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSyncRunner.java165 if (filter.getStatus() == Filter.STATUS_ERROR) { in processFilterNode()
167 } else if (filter.getStatus() == Filter.STATUS_SLEEPING) { in processFilterNode()
194 if (filter.getStatus() == Filter.STATUS_SLEEPING) { in determinePostRunState()
/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/
DInitialLockSetupClient.java141 && mCurrentValidateLockTask.getStatus() != AsyncTask.Status.FINISHED) { in checkValidPassword()
156 && mCurrentValidateLockTask.getStatus() != AsyncTask.Status.FINISHED) { in checkValidPin()
171 && mCurrentValidateLockTask.getStatus() != AsyncTask.Status.FINISHED) { in checkValidPattern()
185 && mCurrentSaveLockTask.getStatus() != AsyncTask.Status.FINISHED) { in saveLockPassword()
201 && mCurrentSaveLockTask.getStatus() != AsyncTask.Status.FINISHED) { in saveLockPin()
218 && mCurrentSaveLockTask.getStatus() != AsyncTask.Status.FINISHED) { in saveLockPattern()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabControllerTest.java125 Assert.assertEquals(EabCapabilityResult.EAB_QUERY_SUCCESSFUL, result.getStatus()); in testGetAvailability()
145 mEabControllerSub1.getCapabilities(contactUriList).get(0).getStatus()); in testGetCapability()
165 mEabControllerSub1.getCapabilities(contactUriList).get(0).getStatus()); in testGetExpiredCapability()
186 mEabControllerSub1.getCapabilities(contactUriList).get(0).getStatus()); in testNonRcsCapability()
208 mEabControllerSub1.getCapabilities(contactUriList).get(0).getStatus()); in testNonRcsCapabilityExpired()
364 capabilityResults.get(0).getStatus()); in testSaveCapabilityWithEmptyTuple()
382 mEabControllerSub1.getCapabilities(contactUriList).get(0).getStatus()); in testGetCapabilityWithEmptyTuple()
400 mEabControllerSub1.getCapabilities(contactUriList).get(0).getStatus()); in testGetExpiredCapabilityWithEmptyTuple()
/frameworks/base/core/java/com/android/internal/globalactions/
DSinglePressAction.java54 public String getStatus() { in getStatus() method in SinglePressAction
79 final String status = getStatus(); in create()
/frameworks/base/identity/java/android/security/identity/
DCredstoreCredentialDataResult.java101 public int getStatus(@NonNull String namespaceName, @NonNull String name) { in getStatus() method in CredstoreCredentialDataResult.CredstoreEntries
102 return mResultData.getStatus(namespaceName, name); in getStatus()
/frameworks/native/services/gpuservice/vts/src/com/android/tests/gpuservice/
DGpuWorkTracepointTest.java62 commandResult.getStatus(), CommandStatus.SUCCESS); in testReadTracingEvents()
73 if (!commandResult.getStatus().equals(CommandStatus.SUCCESS)) { in testGpuWorkPeriodTracepointFormat()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptor.java155 public int getStatus() { in getStatus() method in UsbDescriptor
243 int status = getStatus(); in reportParseStatus()
268 if (getStatus() != STATUS_PARSED_OK) { in report()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java351 if (mInstallTask == null || mInstallTask.getStatus() != RUNNING) { in executeCancelCommand()
373 if (!isDynamicSystemInstalled() && (getStatus() != STATUS_READY)) { in executeDiscardCommand()
458 switch (getStatus()) { in executeNotifyIfInUseCommand()
481 switch (getStatus()) { in executeHideNotificationCommand()
724 private int getStatus() { in getStatus() method in DynamicSystemInstallationService
733 switch (mInstallTask.getStatus()) { in getStatus()
766 int status = getStatus(); in handleMessage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/
DFixedCapacityBatteryState.kt23 override fun getStatus() = 0 method in com.android.systemui.stylus.FixedCapacityBatteryState
/frameworks/native/libs/ui/include_mock/ui/
DMockFence.h30 MOCK_METHOD(Status, getStatus, (), (override));
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
DKnownNetworkConnectionStatus.java144 public int getStatus() { in getStatus() method in KnownNetworkConnectionStatus
172 return mStatus == other.getStatus() in equals()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DAuthResult.java33 int getStatus() { in getStatus() method in AuthResult
/frameworks/base/services/credentials/java/com/android/server/credentials/
DRequestSession.java156 if (mCredentialManagerUi.getStatus() in maybeCancelUi()
248 if (ProviderSession.isStatusWaitingForRemoteResponse(session.getStatus())) { in isAnyProviderPending()
265 if (ProviderSession.isUiInvokingStatus(session.getStatus())) { in isUiInvocationNeeded()
267 } else if (ProviderSession.isStatusWaitingForRemoteResponse(session.getStatus())) { in isUiInvocationNeeded()
/frameworks/av/services/tuner/
DTunerFrontend.cpp95 ::ndk::ScopedAStatus TunerFrontend::getStatus(const vector<FrontendStatusType>& in_statusTypes, in getStatus() function in aidl::android::media::tv::tuner::TunerFrontend
97 return mFrontend->getStatus(in_statusTypes, _aidl_return); in getStatus()

123456789