/frameworks/base/libs/ui/ |
D | Overlay.cpp | 36 if (overlay_data_open(module, &mOverlayData) == NO_ERROR) { in Overlay() 52 if (mStatus != NO_ERROR) return mStatus; in dequeueBuffer() 58 if (mStatus != NO_ERROR) return mStatus; in queueBuffer() 64 if (mStatus != NO_ERROR) return mStatus; in resizeInput() 70 if (mStatus != NO_ERROR) return mStatus; in setParameter() 76 if (mStatus != NO_ERROR) return mStatus; in setCrop() 82 if (mStatus != NO_ERROR) return mStatus; in getCrop() 88 if (mStatus != NO_ERROR) return mStatus; in getBufferCount() 94 if (mStatus != NO_ERROR) return NULL; in getBufferAddress() 99 if (mStatus != NO_ERROR) return; in destroy() [all …]
|
D | ICamera.cpp | 256 return NO_ERROR; in onTransact() 263 return NO_ERROR; in onTransact() 270 return NO_ERROR; in onTransact() 276 return NO_ERROR; in onTransact() 282 return NO_ERROR; in onTransact() 288 return NO_ERROR; in onTransact() 294 return NO_ERROR; in onTransact() 301 return NO_ERROR; in onTransact() 307 return NO_ERROR; in onTransact() 313 return NO_ERROR; in onTransact() [all …]
|
D | SurfaceComposerClient.cpp | 159 mStatus = NO_ERROR; in _init() 203 if (client != 0 && client->initCheck() == NO_ERROR) { in clientForConnection() 321 if (mStatus == NO_ERROR) { in createSurface() 336 if (mStatus != NO_ERROR) in destroySurface() 366 if (client->openTransaction() == NO_ERROR) { in openGlobalTransaction() 425 if (mStatus != NO_ERROR) in openTransaction() 434 return NO_ERROR; in openTransaction() 440 if (mStatus != NO_ERROR) in closeTransaction() 457 return NO_ERROR; in closeTransaction() 466 return NO_ERROR; in closeTransaction() [all …]
|
/frameworks/base/libs/utils/ |
D | BackupData.cpp | 58 m_status(NO_ERROR), in BackupDataWriter() 85 return NO_ERROR; in write_padding_for() 91 if (m_status != NO_ERROR) { in WriteEntityHeader() 148 if (m_status != NO_ERROR) { in WriteEntityData() 161 return NO_ERROR; in WriteEntityData() 174 m_status(NO_ERROR), in BackupDataReader() 208 if (err != NO_ERROR) { \ 219 if (m_status != NO_ERROR) { in ReadNextHeader() 228 return NO_ERROR; in ReadNextHeader() 230 else if (amt != NO_ERROR) { in ReadNextHeader() [all …]
|
/frameworks/base/media/libmedia/ |
D | IMediaMetadataRetriever.cpp | 97 if (ret != NO_ERROR) { in captureFrame() 109 if (ret != NO_ERROR) { in extractAlbumArt() 122 if (ret != NO_ERROR) { in extractMetadata() 140 return NO_ERROR; in onTransact() 146 return NO_ERROR; in onTransact() 154 return NO_ERROR; in onTransact() 160 return NO_ERROR; in onTransact() 168 return NO_ERROR; in onTransact() 174 reply->writeInt32(NO_ERROR); in onTransact() 179 return NO_ERROR; in onTransact() [all …]
|
D | IMediaPlayer.cpp | 215 return NO_ERROR; in onTransact() 221 return NO_ERROR; in onTransact() 226 return NO_ERROR; in onTransact() 231 return NO_ERROR; in onTransact() 236 return NO_ERROR; in onTransact() 244 return NO_ERROR; in onTransact() 249 return NO_ERROR; in onTransact() 254 return NO_ERROR; in onTransact() 262 return NO_ERROR; in onTransact() 270 return NO_ERROR; in onTransact() [all …]
|
D | IAudioTrack.cpp | 53 if (status == NO_ERROR) { in start() 96 if (status == NO_ERROR) { in getCblk() 114 return NO_ERROR; in onTransact() 119 return NO_ERROR; in onTransact() 124 return NO_ERROR; in onTransact() 129 return NO_ERROR; in onTransact() 134 return NO_ERROR; in onTransact() 139 return NO_ERROR; in onTransact()
|
D | IMediaRecorder.cpp | 279 return NO_ERROR; in onTransact() 285 return NO_ERROR; in onTransact() 291 return NO_ERROR; in onTransact() 297 return NO_ERROR; in onTransact() 303 return NO_ERROR; in onTransact() 309 return NO_ERROR; in onTransact() 315 return NO_ERROR; in onTransact() 324 return NO_ERROR; in onTransact() 331 return NO_ERROR; in onTransact() 338 return NO_ERROR; in onTransact() [all …]
|
D | AudioRecord.cpp | 71 if (mStatus == NO_ERROR) { in ~AudioRecord() 136 != NO_ERROR) { in set() 173 if (status != NO_ERROR) { in set() 184 mStatus = NO_ERROR; in set() 204 return NO_ERROR; in set() 252 status_t ret = NO_ERROR; in start() 269 if (ret == NO_ERROR) { in start() 276 if (ret == NO_ERROR) { in start() 328 return NO_ERROR; in stop() 348 return NO_ERROR; in setMarkerPosition() [all …]
|
D | IAudioFlinger.cpp | 99 if (lStatus != NO_ERROR) { in createTrack() 132 if (lStatus != NO_ERROR) { in openRecord() 495 return NO_ERROR; in onTransact() 511 return NO_ERROR; in onTransact() 516 return NO_ERROR; in onTransact() 521 return NO_ERROR; in onTransact() 526 return NO_ERROR; in onTransact() 531 return NO_ERROR; in onTransact() 536 return NO_ERROR; in onTransact() 541 return NO_ERROR; in onTransact() [all …]
|
D | IAudioRecord.cpp | 50 if (status == NO_ERROR) { in start() 71 if (status == NO_ERROR) { in getCblk() 89 return NO_ERROR; in onTransact() 94 return NO_ERROR; in onTransact() 99 return NO_ERROR; in onTransact()
|
D | AudioTrack.cpp | 89 if (mStatus == NO_ERROR) { in ~AudioTrack() 126 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) { in set() 130 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { in set() 134 if (AudioSystem::getOutputLatency(&afLatency, streamType) != NO_ERROR) { in set() 221 if (status != NO_ERROR) { in set() 233 mStatus = NO_ERROR; in set() 254 return NO_ERROR; in set() 328 if (status == NO_ERROR) { in start() 448 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, mStreamType) != NO_ERROR) { in setSampleRate() 455 return NO_ERROR; in setSampleRate() [all …]
|
/frameworks/base/libs/audioflinger/ |
D | AudioHardwareGeneric.cpp | 59 if (::access(kAudioDeviceName, O_RDWR) == NO_ERROR) in initCheck() 60 return NO_ERROR; in initCheck() 84 if (lStatus == NO_ERROR) { in openOutputStream() 124 if (lStatus == NO_ERROR) { in openInputStream() 142 return NO_ERROR; in setVoiceVolume() 155 return NO_ERROR; in setMicMute() 161 return NO_ERROR; in getMicMute() 173 return NO_ERROR; in dumpInternals() 185 return NO_ERROR; in dump() 224 return NO_ERROR; in set() [all …]
|
D | AudioHardwareStub.cpp | 42 return NO_ERROR; in initCheck() 53 if (lStatus == NO_ERROR) in openOutputStream() 78 if (lStatus == NO_ERROR) in openInputStream() 91 return NO_ERROR; in setVoiceVolume() 96 return NO_ERROR; in setMasterVolume() 108 return NO_ERROR; in dumpInternals() 114 return NO_ERROR; in dump() 125 return NO_ERROR; in set() 137 return NO_ERROR; in standby() 152 return NO_ERROR; in dump() [all …]
|
D | A2dpAudioInterface.cpp | 78 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { in openOutputStream() 134 status_t status = NO_ERROR; in setParameters() 139 if (param.get(key, value) == NO_ERROR) { in setParameters() 147 if (param.get(key, value) == NO_ERROR) { in setParameters() 157 if (status == NO_ERROR) { in setParameters() 173 if (param.get(key, value) == NO_ERROR) { in getParameters() 179 if (param.get(key, value) == NO_ERROR) { in getParameters() 258 return NO_ERROR; in set() 348 status_t status = NO_ERROR; in setParameters() 352 if (param.get(key, value) == NO_ERROR) { in setParameters() [all …]
|
D | AudioDumpInterface.cpp | 89 if (status) *status = NO_ERROR; in openOutputStream() 141 if (status) *status = NO_ERROR; in openInputStream() 176 if (param.get(String8("test_cmd_file_name"), value) == NO_ERROR) { in setParameters() 180 if (param.get(String8("test_cmd_policy"), value) == NO_ERROR) { in setParameters() 185 return NO_ERROR; in setParameters() 189 return NO_ERROR; in setParameters() 199 if (param.get(String8("test_cmd_policy"), value) == NO_ERROR) { in getParameters() 211 if (param.get(String8("test_cmd_file_name"), value) == NO_ERROR) { in getParameters() 280 return NO_ERROR; in standby() 313 return NO_ERROR; in setVolume() [all …]
|
D | AudioHardwareStub.h | 38 virtual status_t setVolume(float left, float right) { return NO_ERROR; } in setVolume() 42 virtual status_t setParameters(const String8& keyValuePairs) { return NO_ERROR;} in setParameters() 53 virtual status_t setGain(float gain) { return NO_ERROR; } in setGain() 56 virtual status_t standby() { return NO_ERROR; } in standby() 57 virtual status_t setParameters(const String8& keyValuePairs) { return NO_ERROR;} in setParameters() 71 virtual status_t setMicMute(bool state) { mMicMute = state; return NO_ERROR; } in setMicMute() 72 virtual status_t getMicMute(bool* state) { *state = mMicMute ; return NO_ERROR; } in getMicMute()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 31 public static int NO_ERROR = 1; field in KeyStore 45 private int mError = NO_ERROR; 70 return mError == NO_ERROR; in put() 79 return mError == NO_ERROR; in delete() 88 return mError == NO_ERROR; in contains() 113 return mError == NO_ERROR; in reset() 118 return mError == NO_ERROR; in password() 135 return mError == NO_ERROR; in lock() 140 return mError == NO_ERROR; in unlock() 175 if ((code = in.read()) != NO_ERROR) { in execute() [all …]
|
/frameworks/base/media/libmediaplayerservice/ |
D | MidiFile.cpp | 110 return NO_ERROR; in initCheck() 146 return NO_ERROR; in setDataSource() 174 return NO_ERROR; in setDataSource() 190 return NO_ERROR; in prepare() 199 if (ret == NO_ERROR) { in prepareAsync() 229 return NO_ERROR; in start() 247 return NO_ERROR; in stop() 269 return NO_ERROR; in seekTo() 279 if ((mState == EAS_STATE_PAUSING) || (mState == EAS_STATE_PAUSED)) return NO_ERROR; in pause() 284 return NO_ERROR; in pause() [all …]
|
D | VorbisPlayer.cpp | 80 if (mState != STATE_ERROR) return NO_ERROR; in initCheck() 205 return NO_ERROR; in setdatasource() 214 return NO_ERROR; in prepare() 223 return NO_ERROR; in prepareAsync() 226 return NO_ERROR; in prepareAsync() 243 return NO_ERROR; in start() 255 return NO_ERROR; in stop() 272 return NO_ERROR; in seekTo() 283 return NO_ERROR; in pause() 308 return NO_ERROR; in getCurrentPosition() [all …]
|
/frameworks/base/tools/aapt/ |
D | Resource.cpp | 125 return NO_ERROR; in next() 185 if (err != NO_ERROR) { in parsePackage() 218 return NO_ERROR; in parsePackage() 237 while ((res=it.next()) == NO_ERROR) { in makeFileResources() 266 return hasErrors ? UNKNOWN_ERROR : NO_ERROR; in makeFileResources() 277 while ((res=it.next()) == NO_ERROR) { in preProcessImages() 279 if (res < NO_ERROR) { in preProcessImages() 284 return (hasErrors || (res < NO_ERROR)) ? UNKNOWN_ERROR : NO_ERROR; in preProcessImages() 294 while ((res=it.next()) == NO_ERROR) { in postProcessImages() 296 if (res < NO_ERROR) { in postProcessImages() [all …]
|
D | ZipFile.cpp | 121 result = NO_ERROR; in open() 206 status_t result = NO_ERROR; in readCentralDir() 268 if (result != NO_ERROR) { in readCentralDir() 312 if (result != NO_ERROR) { in readCentralDir() 363 status_t result = NO_ERROR; in addCommon() 418 if (result != NO_ERROR) { in addCommon() 450 if (result != NO_ERROR) { in addCommon() 477 if (result != NO_ERROR) { in addCommon() 565 if (result != NO_ERROR) in add() 569 if (result != NO_ERROR) in add() [all …]
|
/frameworks/base/camera/libcameraservice/ |
D | CameraHardwareStub.cpp | 57 if (setParameters(p) != NO_ERROR) { in initDefaultParameters() 191 return NO_ERROR; in previewThread() 202 return NO_ERROR; in startPreview() 257 return NO_ERROR; in autoFocusThread() 265 return NO_ERROR; in autoFocus() 270 return NO_ERROR; in cancelAutoFocus() 301 return NO_ERROR; in pictureThread() 309 return NO_ERROR; in takePicture() 314 return NO_ERROR; in cancelPicture() 332 return NO_ERROR; in dump() [all …]
|
D | CameraService.cpp | 201 if (mp->setDataSource(file) == NO_ERROR) { in newMediaPlayer() 246 if (mClientPid == callingPid) return NO_ERROR; in checkPid() 261 return NO_ERROR; in lock() 274 if (result == NO_ERROR) { in unlock() 304 if (mClientPid != 0 && checkPid() != NO_ERROR) { in connect() 314 return NO_ERROR; in connect() 329 return NO_ERROR; in connect() 391 if (checkPid() != NO_ERROR) { in disconnect() 434 if (result != NO_ERROR) return result; in setPreviewDisplay() 437 result = NO_ERROR; in setPreviewDisplay() [all …]
|
/frameworks/base/cmds/keystore/ |
D | keystore.c | 191 return rename(".tmp", name) ? SYSTEM_ERROR : NO_ERROR; in encrypt_blob() 220 return (length < blob.length) ? VALUE_CORRUPTED : NO_ERROR; in decrypt_blob() 257 if (n != NO_ERROR) { in get() 260 send_code(NO_ERROR); in get() 262 return -NO_ERROR; in get() 280 return (unlink(name) && errno != ENOENT) ? SYSTEM_ERROR : NO_ERROR; in delete() 291 return NO_ERROR; in exist() 306 send_code(NO_ERROR); in saw() 315 return -NO_ERROR; in saw() 335 return NO_ERROR; in reset() [all …]
|