Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecControllerTest.java162 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_TvDeviceNonPreferredFirstOccupied()
170 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_TvDeviceNonPreferredAllOccupied()
171 mNativeWrapper.setPollAddressResponse(ADDR_SPECIFIC_USE, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_TvDeviceNonPreferredAllOccupied()
187 mNativeWrapper.setPollAddressResponse(ADDR_AUDIO_SYSTEM, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_AudioSystemNonPreferredAllOccupied()
203 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackPreferredOccupied()
218 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNoPreferredFirstOccupied()
226 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferredFirstTwoOccupied()
227 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferredFirstTwoOccupied()
235 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferredAllOccupied()
236 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferredAllOccupied()
[all …]
/frameworks/native/libs/tracing_perfetto/
Dtracing_perfetto.cpp38 return Result::SUCCESS; in traceBegin()
49 return Result::SUCCESS; in traceEnd()
60 return Result::SUCCESS; in traceAsyncBegin()
71 return Result::SUCCESS; in traceAsyncEnd()
83 return Result::SUCCESS; in traceAsyncBeginForTrack()
95 return Result::SUCCESS; in traceAsyncEndForTrack()
106 return Result::SUCCESS; in traceInstant()
118 return Result::SUCCESS; in traceInstantForTrack()
129 return Result::SUCCESS; in traceCounter()
Dtracing_perfetto_internal.cpp173 return Result::SUCCESS; in perfettoTraceBegin()
178 return Result::SUCCESS; in perfettoTraceEnd()
186 return Result::SUCCESS; in perfettoTraceAsyncBeginForTrack()
194 return Result::SUCCESS; in perfettoTraceAsyncEndForTrack()
209 return Result::SUCCESS; in perfettoTraceInstant()
217 return Result::SUCCESS; in perfettoTraceInstantForTrack()
224 return Result::SUCCESS; in perfettoTraceCounter()
/frameworks/av/media/libeffects/preprocessing/aidl/
DPreProcessingContext.cpp62 return RetCode::SUCCESS; in init()
68 return RetCode::SUCCESS; in deInit()
102 return RetCode::SUCCESS; in enable()
136 return RetCode::SUCCESS; in disable()
140 if(auto ret = updateIOFrameSize(common); ret != RetCode::SUCCESS) { in setCommon()
145 return RetCode::SUCCESS; in setCommon()
160 return RetCode::SUCCESS; in setAcousticEchoCancelerEchoDelay()
172 return RetCode::SUCCESS; in setAcousticEchoCancelerMobileMode()
184 return RetCode::SUCCESS; in setAutomaticGainControlV1TargetPeakLevel()
196 return RetCode::SUCCESS; in setAutomaticGainControlV1MaxCompressionGain()
[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/av/services/tuner/hidl/
DTunerHidlTimeFilter.cpp47 if (status != HidlResult::SUCCESS) { in setTimeStamp()
55 if (status != HidlResult::SUCCESS) { in clearTimeStamp()
67 if (status != HidlResult::SUCCESS) { in getSourceTime()
80 if (status != HidlResult::SUCCESS) { in getTimeStamp()
89 if (res != HidlResult::SUCCESS) { in close()
DTunerHidlDemux.cpp63 if (res != HidlResult::SUCCESS) { in setFrontendDataSource()
71 if (res != HidlResult::SUCCESS) { in setFrontendDataSourceById()
117 if (status != HidlResult::SUCCESS) { in openFilter()
133 if (status != HidlResult::SUCCESS) { in openTimeFilter()
150 if (res != HidlResult::SUCCESS) { in getAvSyncHwId()
165 if (res != HidlResult::SUCCESS) { in getAvSyncTime()
184 if (res != HidlResult::SUCCESS) { in openDvr()
195 if (res != HidlResult::SUCCESS) { in connectCiCam()
203 if (res != HidlResult::SUCCESS) { in disconnectCiCam()
211 if (res != HidlResult::SUCCESS) { in close()
DTunerHidlDvr.cpp63 if (res != HidlResult::SUCCESS) { in getQueueDesc()
75 if (res != HidlResult::SUCCESS) { in configure()
94 if (res != HidlResult::SUCCESS) { in attachFilter()
113 if (res != HidlResult::SUCCESS) { in detachFilter()
121 if (res != HidlResult::SUCCESS) { in start()
129 if (res != HidlResult::SUCCESS) { in stop()
137 if (res != HidlResult::SUCCESS) { in flush()
145 if (res != HidlResult::SUCCESS) { in close()
DTunerHidlDescrambler.cpp50 if (res != HidlResult::SUCCESS) { in setDemuxSource()
58 if (res != HidlResult::SUCCESS) { in setKeyToken()
71 if (res != HidlResult::SUCCESS) { in addPid()
84 if (res != HidlResult::SUCCESS) { in removePid()
92 if (res != HidlResult::SUCCESS) { in close()
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()
/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.java63 mStatusCode = TextToSpeech.SUCCESS; in FileSynthesisCallback()
123 if (mStatusCode != TextToSpeech.SUCCESS) { in start()
142 return TextToSpeech.SUCCESS; in start()
165 if (mStatusCode != TextToSpeech.SUCCESS) { in audioAvailable()
187 return TextToSpeech.SUCCESS; in audioAvailable()
218 if (mStatusCode != TextToSpeech.SUCCESS && mStatusCode != TextToSpeech.STOPPED) { in done()
243 return TextToSpeech.SUCCESS; in done()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/
DReverbContext.cpp88 return RetCode::SUCCESS; in init()
108 return RetCode::SUCCESS; in enable()
114 return RetCode::SUCCESS; in disable()
132 return RetCode::SUCCESS; in setVolumeStereo()
137 return RetCode::SUCCESS; in setPresetReverbPreset()
154 return RetCode::SUCCESS; in setEnvironmentalReverbRoomLevel()
168 return RetCode::SUCCESS; in setEnvironmentalReverbRoomHfLevel()
189 return RetCode::SUCCESS; in setEnvironmentalReverbDecayTime()
203 return RetCode::SUCCESS; in setEnvironmentalReverbDecayHfRatio()
221 return RetCode::SUCCESS; in setEnvironmentalReverbLevel()
[all …]
DEffectReverb.cpp140 RetCode::SUCCESS, in setParameterPresetReverb()
161 erParam.get<EnvironmentalReverb::roomLevelMb>()) != RetCode::SUCCESS, in setParameterEnvironmentalReverb()
168 erParam.get<EnvironmentalReverb::roomHfLevelMb>()) != RetCode::SUCCESS, in setParameterEnvironmentalReverb()
174 erParam.get<EnvironmentalReverb::decayTimeMs>()) != RetCode::SUCCESS, in setParameterEnvironmentalReverb()
181 erParam.get<EnvironmentalReverb::decayHfRatioPm>()) != RetCode::SUCCESS, in setParameterEnvironmentalReverb()
188 RetCode::SUCCESS, in setParameterEnvironmentalReverb()
195 RetCode::SUCCESS, in setParameterEnvironmentalReverb()
201 erParam.get<EnvironmentalReverb::levelMb>()) != RetCode::SUCCESS, in setParameterEnvironmentalReverb()
207 erParam.get<EnvironmentalReverb::delayMs>()) != RetCode::SUCCESS, in setParameterEnvironmentalReverb()
213 erParam.get<EnvironmentalReverb::diffusionPm>()) != RetCode::SUCCESS, in setParameterEnvironmentalReverb()
[all …]
/frameworks/base/tests/FsVerityTest/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/credentials/java/com/android/server/credentials/metrics/
DOemUiUsageStatus.java33SUCCESS(CREDENTIAL_MANAGER_FINAL_NO_UID_REPORTED__OEM_UI_USAGE_STATUS__OEM_UI_USAGE_STATUS_SUCCESS… enumConstant
53 case SUCCESS: in createFrom()
54 return OemUiUsageStatus.SUCCESS; in createFrom()
/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/av/media/libeffects/lvm/wrapper/Aidl/
DEffectBundleAidl.cpp122 RETURN_IF(mContext->setCommon(param.get<Parameter::common>()) != RetCode::SUCCESS, in setParameterCommon()
127 RetCode::SUCCESS, in setParameterCommon()
131 RETURN_IF(mContext->setAudioMode(param.get<Parameter::mode>()) != RetCode::SUCCESS, in setParameterCommon()
135 RETURN_IF(mContext->setAudioSource(param.get<Parameter::source>()) != RetCode::SUCCESS, in setParameterCommon()
140 RetCode::SUCCESS, in setParameterCommon()
178 RETURN_IF(mContext->setEqualizerPreset(eq.get<Equalizer::preset>()) != RetCode::SUCCESS, in setParameterEqualizer()
183 RetCode::SUCCESS, in setParameterEqualizer()
200 RetCode::SUCCESS, in setParameterBassBoost()
218 RetCode::SUCCESS, in setParameterVirtualizer()
223 RETURN_IF(mContext->setForcedDevice(vr.get<Virtualizer::device>()) != RetCode::SUCCESS, in setParameterVirtualizer()
[all …]
/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/libeffects/visualizer/aidl/
DVisualizerContext.cpp61 return RetCode::SUCCESS; in initParams()
69 return RetCode::SUCCESS; in enable()
77 return RetCode::SUCCESS; in disable()
86 return RetCode::SUCCESS; in setCaptureSamples()
94 return RetCode::SUCCESS; in setMeasurementMode()
102 return RetCode::SUCCESS; in setScalingMode()
110 return RetCode::SUCCESS; in setDownstreamLatency()
/frameworks/av/media/module/codecs/amrnb/common/include/
Dgsm_amr_typedefs.h123 #ifndef SUCCESS
124 #define SUCCESS 0 macro
/frameworks/base/nfc/java/android/nfc/tech/
DNdefFormatable.java132 case ErrorCodes.SUCCESS: in format()
151 case ErrorCodes.SUCCESS: in format()
167 case ErrorCodes.SUCCESS: in format()
/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 …]

1234567891011