Home
last modified time | relevance | path

Searched refs:SUCCESS (Results 1 – 25 of 219) sorted by relevance

123456789

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecControllerTest.java158 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_TvDeviceNonPreferredFirstOccupied()
166 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_TvDeviceNonPreferredAllOccupied()
167 mNativeWrapper.setPollAddressResponse(ADDR_SPECIFIC_USE, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_TvDeviceNonPreferredAllOccupied()
183 mNativeWrapper.setPollAddressResponse(ADDR_AUDIO_SYSTEM, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_AudioSystemNonPreferredAllOccupied()
199 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackPreferredOccupied()
214 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNoPreferredFirstOccupied()
222 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferredFirstTwoOccupied()
223 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferredFirstTwoOccupied()
231 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferredAllOccupied()
232 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferredAllOccupied()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DRemoteResult.java42 return new RemoteResult(Type.SUCCESS, value); in of()
54 return mType == Type.SUCCESS; in isPresent()
74 case Type.SUCCESS: in toStringDescription()
105 Type.SUCCESS,
112 int SUCCESS = 0; field
/frameworks/base/core/java/android/speech/tts/
DPlaybackSynthesisCallback.java65 mStatusCode = TextToSpeech.SUCCESS; in PlaybackSynthesisCallback()
149 if (mStatusCode != TextToSpeech.SUCCESS) { in start()
164 return TextToSpeech.SUCCESS; in start()
183 if (mStatusCode != TextToSpeech.SUCCESS) { in audioAvailable()
210 return TextToSpeech.SUCCESS; in audioAvailable()
236 if (mStatusCode == TextToSpeech.SUCCESS) { in done()
250 if (statusCode == TextToSpeech.SUCCESS) { in done()
256 return TextToSpeech.SUCCESS; in done()
DFileSynthesisCallback.java62 mStatusCode = TextToSpeech.SUCCESS; in FileSynthesisCallback()
122 if (mStatusCode != TextToSpeech.SUCCESS) { in start()
141 return TextToSpeech.SUCCESS; in start()
164 if (mStatusCode != TextToSpeech.SUCCESS) { in audioAvailable()
186 return TextToSpeech.SUCCESS; in audioAvailable()
217 if (mStatusCode != TextToSpeech.SUCCESS && mStatusCode != TextToSpeech.STOPPED) { in done()
242 return TextToSpeech.SUCCESS; in done()
/frameworks/av/services/tuner/hidl/
DTunerHidlLnb.cpp62 if (status != HidlResult::SUCCESS) { in setCallback()
76 if (status != HidlResult::SUCCESS) { in setVoltage()
90 if (status != HidlResult::SUCCESS) { in setTone()
104 if (status != HidlResult::SUCCESS) { in setSatellitePosition()
118 if (status != HidlResult::SUCCESS) { in sendDiseqcMessage()
134 if (res != HidlResult::SUCCESS) { in close()
DTunerHidlDemux.cpp65 if (res != HidlResult::SUCCESS) { in setFrontendDataSource()
79 if (res != HidlResult::SUCCESS) { in setFrontendDataSourceById()
131 if (status != HidlResult::SUCCESS) { in openFilter()
152 if (status != HidlResult::SUCCESS) { in openTimeFilter()
175 if (res != HidlResult::SUCCESS) { in getAvSyncHwId()
196 if (res != HidlResult::SUCCESS) { in getAvSyncTime()
221 if (res != HidlResult::SUCCESS) { in openDvr()
238 if (res != HidlResult::SUCCESS) { in connectCiCam()
252 if (res != HidlResult::SUCCESS) { in disconnectCiCam()
268 if (res != HidlResult::SUCCESS) { in close()
DTunerHidlTimeFilter.cpp53 if (status != HidlResult::SUCCESS) { in setTimeStamp()
67 if (status != HidlResult::SUCCESS) { in clearTimeStamp()
86 if (status != HidlResult::SUCCESS) { in getSourceTime()
106 if (status != HidlResult::SUCCESS) { in getTimeStamp()
123 if (res != HidlResult::SUCCESS) { in close()
DTunerHidlDvr.cpp69 if (res != HidlResult::SUCCESS) { in getQueueDesc()
87 if (res != HidlResult::SUCCESS) { in configure()
112 if (res != HidlResult::SUCCESS) { in attachFilter()
137 if (res != HidlResult::SUCCESS) { in detachFilter()
151 if (res != HidlResult::SUCCESS) { in start()
165 if (res != HidlResult::SUCCESS) { in stop()
179 if (res != HidlResult::SUCCESS) { in flush()
195 if (res != HidlResult::SUCCESS) { in close()
DTunerHidlDescrambler.cpp56 if (res != HidlResult::SUCCESS) { in setDemuxSource()
70 if (res != HidlResult::SUCCESS) { in setKeyToken()
89 if (res != HidlResult::SUCCESS) { in addPid()
108 if (res != HidlResult::SUCCESS) { in removePid()
124 if (res != HidlResult::SUCCESS) { in close()
/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/services/core/java/com/android/server/health/
DHealthServiceWrapperHidl.java81 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
88 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
95 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
102 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
109 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
116 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
159 if (result == Result.SUCCESS) { in getHealthInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsConfigCompatAdapter.java33 public static final int SUCCESS = 0; field in ImsConfigCompatAdapter
43 if (mOldConfigInterface.setProvisionedValue(item, value) == SUCCESS) { in setConfig()
56 if (mOldConfigInterface.setProvisionedStringValue(item, value) == SUCCESS) { in setConfig()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayShellCommand.java36 private static final int SUCCESS = 0; field in ColorDisplayShellCommand
65 return SUCCESS; in setSaturation()
84 return SUCCESS; in setLayerSaturation()
/frameworks/av/media/codecs/amrnb/common/include/
Dgsm_amr_typedefs.h123 #ifndef SUCCESS
124 #define SUCCESS 0 macro
/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java129 public static final int SUCCESS = 0; field in Visualizer
232 if (result != SUCCESS && result != ALREADY_EXISTS) { in Visualizer()
282 int status = SUCCESS; in setEnabled()
286 if (status == SUCCESS) { in setEnabled()
632 if (status == SUCCESS) { in setDataCaptureListener()
685 return SUCCESS; in setServerDiedListener()
/frameworks/base/core/java/android/nfc/tech/
DNdefFormatable.java128 case ErrorCodes.SUCCESS: in format()
147 case ErrorCodes.SUCCESS: in format()
163 case ErrorCodes.SUCCESS: in format()
/frameworks/base/core/java/android/app/timezone/
DCallback.java34 SUCCESS,
46 public static final int SUCCESS = 0; field in Callback
/frameworks/base/telephony/java/android/telephony/
DMbmsDownloadSession.java310 if (result != MbmsErrors.SUCCESS) { in create()
360 if (result != MbmsErrors.SUCCESS) { in bindAndInitialize()
427 if (returnCode != MbmsErrors.SUCCESS) { in requestUpdateFileServices()
482 if (returnCode != MbmsErrors.SUCCESS) { in addServiceAnnouncement()
542 if (result != MbmsErrors.SUCCESS) { in setTempFileRootDirectory()
639 if (result == MbmsErrors.SUCCESS) { in download()
717 if (result != MbmsErrors.SUCCESS) { in addStatusListener()
770 if (result != MbmsErrors.SUCCESS) { in removeStatusListener()
829 if (result != MbmsErrors.SUCCESS) { in addProgressListener()
882 if (result != MbmsErrors.SUCCESS) { in removeProgressListener()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
DRulesManagerServiceTest.java325 assertEquals(RulesManager.SUCCESS, in requestInstall_operationInProgress()
428 assertEquals(RulesManager.SUCCESS, in requestInstall_asyncSuccess()
451 callback.assertResultReceived(Callback.SUCCESS); in requestInstall_asyncSuccess()
464 assertEquals(RulesManager.SUCCESS, in requestInstall_nullTokenBytes()
487 callback.assertResultReceived(Callback.SUCCESS); in requestInstall_nullTokenBytes()
503 assertEquals(RulesManager.SUCCESS, in requestInstall_asyncInstallFail()
541 assertEquals(RulesManager.SUCCESS, in requestUninstall_operationInProgress()
608 assertEquals(RulesManager.SUCCESS, in requestUninstall_asyncSuccess()
629 callback.assertResultReceived(Callback.SUCCESS); in requestUninstall_asyncSuccess()
642 assertEquals(RulesManager.SUCCESS, in requestUninstall_asyncNothingInstalled()
[all …]
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationShellCommand.java30 private static final int SUCCESS = 0; field in AppHibernationShellCommand
88 return SUCCESS; in runSetState()
117 return SUCCESS; in runGetState()
/frameworks/native/services/displayservice/
DDisplayEventReceiver.cpp139 return mAttached->valid() ? Status::SUCCESS : Status::UNKNOWN; in init()
150 return success ? Status::SUCCESS : Status::UNKNOWN; in setVsyncRate()
161 return success ? Status::SUCCESS : Status::UNKNOWN; in requestNextVsync()
173 return success ? Status::SUCCESS : Status::UNKNOWN; in close()
/frameworks/base/core/java/android/os/
DUpdateEngine.java68 public static final int SUCCESS = 0; field in UpdateEngine.ErrorCodeConstants
165 ErrorCodeConstants.SUCCESS,
503 private @ErrorCode int mErrorCode = ErrorCodeConstants.SUCCESS;
542 if (mErrorCode == ErrorCodeConstants.SUCCESS) { in getFreeSpaceRequired()
587 ? ErrorCodeConstants.SUCCESS in allocateSpace()
/frameworks/av/media/codecs/amrwb/dec/src/
Dpv_amr_wb_type_defs.h160 #ifndef SUCCESS
161 #define SUCCESS 0 macro
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestoreEngine.java29 public static final int SUCCESS = 0; field in RestoreEngine
34 private final AtomicInteger mResult = new AtomicInteger(SUCCESS);
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DUsbPortAidl.java561 if (retval != Status.SUCCESS) { in notifyPortStatusChange()
598 if (retval == Status.SUCCESS) { in notifyRoleSwitchStatus()
611 if (retval == Status.SUCCESS) { in notifyQueryPortStatus()
623 if (retval == Status.SUCCESS) { in notifyEnableUsbDataStatus()
633 sCallbacks.get(operationID).onOperationComplete(retval == Status.SUCCESS in notifyEnableUsbDataStatus()
646 if (retval == Status.SUCCESS) { in notifyContaminantEnabledStatus()
660 if (retval == Status.SUCCESS) { in notifyLimitPowerTransferStatus()
671 sCallbacks.get(operationID).onOperationComplete(retval == Status.SUCCESS in notifyLimitPowerTransferStatus()
685 if (retval == Status.SUCCESS) { in notifyEnableUsbDataWhileDockedStatus()
696 sCallbacks.get(operationID).onOperationComplete(retval == Status.SUCCESS in notifyEnableUsbDataWhileDockedStatus()
[all …]

123456789