/frameworks/av/media/libaudiohal/2.0/ |
H A D | DeviceHalHidl.cpp | 63 int status = sscanf(halAddress, local 67 return status == 6 ? OK : BAD_VALUE; 70 int status = sscanf(halAddress, local 74 return status == 4 ? OK : BAD_VALUE; 77 int status = sscanf(halAddress, local 80 return status == 2 ? OK : BAD_VALUE; 194 status_t status = parametersFromHal(kvPairs, &hidlParams); local 195 if (status != OK) return status; 203 status_t status local 243 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local 273 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local [all...] |
H A D | DevicesFactoryHalHidl.cpp | 79 status_t status = nameFromHal(name, &hidlDevice); local 80 if (status != OK) return status;
|
/frameworks/av/media/libaudiohal/4.0/ |
H A D | DeviceHalHidl.cpp | 69 int status = sscanf(halAddress, local 73 return status == 6 ? OK : BAD_VALUE; 76 int status = sscanf(halAddress, local 80 return status == 4 ? OK : BAD_VALUE; 83 int status = sscanf(halAddress, local 86 return status == 2 ? OK : BAD_VALUE; 200 status_t status = parametersFromHal(kvPairs, &hidlParams); local 201 if (status != OK) return status; 211 status_t status local 252 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local 283 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local [all...] |
/frameworks/native/services/vr/bufferhubd/ |
H A D | buffer_hub.cpp | 300 auto status = ProducerChannel::Create(this, buffer_id, width, height, local 303 if (status) { 304 message.SetChannel(status.take()); 308 status.GetErrorMessage().c_str()); 309 return status.error_status(); 365 auto status = ProducerQueueChannel::Create(this, queue_id, producer_config, local 367 if (status) { 368 message.SetChannel(status.take()); 372 return status.error_status(); 382 const auto status local 395 const auto status = service_->ModifyChannelEvents(channel_id_, POLLIN, 0); local 406 const auto status = service_->ModifyChannelEvents(channel_id_, 0, POLLHUP); local [all...] |
H A D | consumer_channel.cpp | 130 auto status = producer->OnConsumerAcquire(message); local 131 if (status) { 135 return status; 154 auto status = local 156 if (status) { 161 return status;
|
/frameworks/native/libs/input/ |
H A D | Keyboard.cpp | 48 status_t status = loadKeyLayout(deviceIdenfifier, keyLayoutName); local 49 if (status == NAME_NOT_FOUND) { 59 status_t status = loadKeyCharacterMap(deviceIdenfifier, keyCharacterMapName); local 60 if (status == NAME_NOT_FOUND) { 114 status_t status = KeyLayoutMap::load(path, &keyLayoutMap); local 115 if (status) { 116 return status; 131 status_t status = KeyCharacterMap::load(path, local 133 if (status) { 134 return status; [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 122 PV_STATUS status; local 138 status = BitstreamSaveWord(stream); 139 if (status != PV_SUCCESS) 141 return status; 170 PV_STATUS status; local 179 status = BitstreamPutBits(stream, topLength, topValue); 181 if (status != PV_SUCCESS) 183 return status; 186 status = BitstreamPutBits(stream, 16, (UInt)(Value & 0xFFFF)); 188 return status; 418 PV_STATUS status; local 534 PV_STATUS status = PV_SUCCESS; local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 72 * Optional socket used to communicate close events, status at close, and 84 * Maximum {@link #mStatusBuf} size; longer status messages will be 267 Status status = null; 270 status = readCommStatus(fd, buf); 272 status = new Status(Status.DEAD); 274 if (status != null) { 277 listener.onClose(status.asIOException()); 510 // Use SOCK_SEQPACKET so that we have a guarantee that the status 737 private void closeWithStatus(int status, String msg) { argument 744 writeCommStatusAndClose(status, ms 764 writeCommStatusAndClose(int status, String msg) argument 1106 public final int status; field in class:ParcelFileDescriptor.Status 1109 Status(int status) argument 1113 Status(int status, String msg) argument [all...] |
/frameworks/native/libs/vr/libdvr/tests/ |
H A D | dvr_display_manager-test.cpp | 20 #include <pdx/status.h> 334 const Status<T>& status) { 335 if (!status.ok()) { 339 << status.error() << ")"; 347 const Status<T>& status) { 348 if (status.ok()) { 360 const Status<T>& status, 362 if (status.ok()) { 363 return StatusError(status_expression, status); 364 } else if (status 333 StatusOk(const char* status_expression, const Status<T>& status) argument 346 StatusError(const char* status_expression, const Status<T>& status) argument 358 StatusHasError(const char* status_expression, const char* , const Status<T>& status, int error_code) argument 375 StatusHasValue(const char* status_expression, const char* , const Status<T>& status, const U& value) argument 392 StatusPred(const char* status_expression, const char* pred_expression, const Status<T>& status, Op pred) argument [all...] |
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
H A D | BenchmarkState.java | 235 Bundle status = new Bundle(); 236 status.putLong(key + "_median", median()); 237 status.putLong(key + "_mean", mean()); 238 status.putLong(key + "_min", min()); 239 status.putLong(key + "_standardDeviation", standardDeviation()); 240 instrumentation.sendStatus(Activity.RESULT_OK, status);
|
/frameworks/base/core/java/android/hardware/radio/ |
H A D | TunerCallbackAdapter.java | 116 public void onError(int status) { argument 117 mHandler.post(() -> mCallback.onError(status)); 121 public void onTuneFailed(int status, @Nullable ProgramSelector selector) { argument 122 mHandler.post(() -> mCallback.onTuneFailed(status, selector)); 125 switch (status) { 134 Log.i(TAG, "Got an error with no mapping to the legacy API (" + status
|
/frameworks/base/core/java/android/print/ |
H A D | IPrintSpooler.aidl | 44 void setPrintJobState(in PrintJobId printJobId, int status, String stateReason, 56 * Set the status of this print job 59 * @param status The new status, can be null 61 void setStatus(in PrintJobId printJobId, in CharSequence status); 64 * Set the status of this print job 67 * @param status The new status as a string resource 70 void setStatusRes(in PrintJobId printJobId, int status, in CharSequence appPackageName);
|
/frameworks/base/core/jni/ |
H A D | android_view_DisplayEventReceiver.cpp | 126 status_t status = receiver->initialize(); local 127 if (status) { 129 message.appendFormat("Failed to initialize display event receiver. status=%d", status); 148 status_t status = receiver->scheduleVsync(); local 149 if (status) { 151 message.appendFormat("Failed to schedule next vertical sync pulse. status=%d", status);
|
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 57 GLint status; local 58 glGetProgramiv(mProgramId, GL_LINK_STATUS, &status); 59 if (status != GL_TRUE) { 138 GLint status; local 139 glGetShaderiv(shader, GL_COMPILE_STATUS, &status); 140 if (status != GL_TRUE) {
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pDnsSdServiceResponse.java | 131 sbuf.append(" status:").append(Status.toString(mStatus)); 147 * @param status status code. 152 protected WifiP2pDnsSdServiceResponse(int status, argument 155 status, tranId, dev, data); 289 * @param status status code. 295 static WifiP2pDnsSdServiceResponse newInstance(int status, argument 297 if (status != WifiP2pServiceResponse.Status.SUCCESS) { 298 return new WifiP2pDnsSdServiceResponse(status, [all...] |
/frameworks/native/libs/vr/libperformance/ |
H A D | performance_client.cpp | 88 auto status = InvokeRemoteMethodInPlace<PerformanceRPC::GetCpuPartition>( local 90 return status ? 0 : -status.error(); 102 auto status = InvokeRemoteMethodInPlace<PerformanceRPC::GetCpuPartition>( local 104 if (!status) 105 return -status.error();
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Program.cpp | 40 GLint status; local 41 glGetProgramiv(programId, GL_LINK_STATUS, &status); 42 if (status != GL_TRUE) { 100 GLint status; local 101 glGetShaderiv(shader, GL_COMPILE_STATUS, &status); 102 if (status != GL_TRUE) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | SupplicantStaIfaceHal.java | 325 mISupplicant.listInterfaces((SupplicantStatus status, 327 if (status.code != SupplicantStatusCode.SUCCESS) { 328 Log.e(TAG, "Getting Supplicant Interfaces failed: " + status.code); 347 (SupplicantStatus status, ISupplicantIface iface) -> { 348 if (status.code != SupplicantStatusCode.SUCCESS) { 349 Log.e(TAG, "Failed to get ISupplicantIface " + status.code); 380 (SupplicantStatus status, ISupplicantIface iface) -> { 381 if (status.code != SupplicantStatusCode.SUCCESS 382 && status.code != SupplicantStatusCode.FAILURE_IFACE_EXISTS) { 383 Log.e(TAG, "Failed to create ISupplicantIface " + status 2178 checkStatusAndLogFailure(SupplicantStatus status, final String methodStr) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 81 Bool status = PV_TRUE; local 109 status = PV_FALSE; 115 if (video->vol == NULL) status = PV_FALSE; 129 if (video->currVop == NULL) status = PV_FALSE; 132 if (video->prevVop == NULL) status = PV_FALSE; 139 if (video->currVop == NULL) status = PV_FALSE; 142 if (video->prevVop == NULL) status = PV_FALSE; 147 status = PV_FALSE; 153 if (video->vopHeader == NULL) status = PV_FALSE; 159 if (status 309 Bool status = PV_TRUE; local 1058 PV_STATUS status = PV_FAIL; local 1095 PV_STATUS status = PV_FAIL; local 1296 PV_STATUS status = PV_FAIL; local [all...] |
/frameworks/av/drm/mediacas/plugins/clearkey/ |
H A D | ecm_generator.cpp | 63 status_t status = DecodeECMClearFields(ecm, asset, default_fields); local 64 if (status != OK) { 65 return status;
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioRecord.cpp | 49 status_t status = AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size); local 50 if (status != NO_ERROR) { 52 "channelMask %#x; status %d", sampleRate, format, channelMask, status); 53 return status; 235 status_t status = NO_ERROR; local 259 status = BAD_VALUE; 268 status = BAD_VALUE; 276 status = INVALID_OPERATION; 301 status 418 status_t status = NO_ERROR; local 568 status_t status = mProxy->getTimestamp(timestamp); local 673 status_t status; local 887 status_t status = NO_ERROR; local 1325 status_t status = NO_ERROR; local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | SpdifStreamOut.cpp | 93 status_t status = AudioStreamOut::open( local 99 ALOGI("SpdifStreamOut::open() status = %d", status); 101 return status;
|
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiDeviceService.java | 59 public void onDeviceStatusChanged(MidiDeviceServer server, MidiDeviceStatus status) { 60 MidiDeviceService.this.onDeviceStatusChanged(status); 126 * @param status the number of the port that was opened 128 public void onDeviceStatusChanged(MidiDeviceStatus status) { argument
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPoolThread.cpp | 107 status_t status = -1; local 109 status = sample->doLoad(); 111 mSoundPool->notify(SoundPoolEvent(SoundPoolEvent::SAMPLE_LOADED, sampleID, status));
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | AbstractUptimePreferenceController.java | 103 AbstractUptimePreferenceController status = mStatus.get(); 104 if (status == null) { 110 status.updateTimes();
|