/frameworks/wilhelm/src/android/ |
H A D | android_LocAVPlayer.cpp | 66 status_t status = mPlayer->setDataSource( local 68 if (status != NO_ERROR) {
|
/frameworks/wilhelm/src/itf/ |
H A D | IAcousticEchoCancellation.cpp | 41 android::status_t status = thiz->mAECEffect->setEnabled((bool) thiz->mEnabled); local 42 result = android_fx_statusToResult(status);
|
H A D | IAutomaticGainControl.cpp | 40 android::status_t status = thiz->mAGCEffect->setEnabled((bool) thiz->mEnabled); local 41 result = android_fx_statusToResult(status);
|
H A D | INoiseSuppression.cpp | 38 android::status_t status = thiz->mNSEffect->setEnabled((bool) thiz->mEnabled); local 39 result = android_fx_statusToResult(status);
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioEffect.cpp | 138 ALOGE("set(): AudioFlinger could not create effect, status: %d", mStatus); 161 ALOGV("set() %p OK effect: %s id: %d status %d enabled %d pid %d", this, mDescriptor.name, mId, 215 status_t status = NO_ERROR; local 221 status = mIEffect->enable(); 224 status = mIEffect->disable(); 226 if (status == NO_ERROR) { 230 return status; 240 ALOGV("command() bad status %d", mStatus); 254 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); local 257 if (status 358 status_t status = DEAD_OBJECT; local [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | AnyMotionDetector.java | 43 /** Stationary status is unknown due to insufficient orientation measurements. */ 73 /** The maximum duration we will hold a wakelock to determine stationary status. */ 144 * Acquire accel data until we determine AnyMotion status. 209 int status = RESULT_UNKNOWN; 230 status = getStationaryStatus(); 231 if (DEBUG) Slog.d(TAG, "getStationaryStatus() returned " + status); 232 if (status != RESULT_UNKNOWN) { 239 Slog.d(TAG, "Moved from STATE_ACTIVE to STATE_INACTIVE. status = " + status); 255 return status; [all...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraManager.h | 80 virtual binder::Status onStatusChanged(int32_t status, const String16& cameraId); 137 void onStatusChanged(int32_t status, const String8& cameraId); 138 void onStatusChangedLocked(int32_t status, const String8& cameraId); 139 // Utils for status 140 static bool validStatus(int32_t status); 141 static bool isStatusAvailable(int32_t status); 143 // Map camera_id -> status
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattServer.java | 69 public void onServerRegistered(int status, int serverIf) { 70 if (DBG) Log.d(TAG, "onServerRegistered() - status=" + status 88 public void onServerConnectionState(int status, int serverIf, 90 if (DBG) Log.d(TAG, "onServerConnectionState() - status=" + status 93 mCallback.onConnectionStateChange(mAdapter.getRemoteDevice(address), status, 106 public void onServiceAdded(int status, BluetoothGattService service) { 108 + " uuid=" + service.getUuid() + " status=" + status); 614 sendResponse(BluetoothDevice device, int requestId, int status, int offset, byte[] value) argument [all...] |
/frameworks/base/services/core/java/com/android/server/om/ |
H A D | OverlayManagerShellCommand.java | 121 String status; 124 status = "[x]"; 127 status = "[ ]"; 130 status = "---"; 133 out.println(String.format("%s %s", status, oi.packageName));
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pDeviceList.java | 88 mDevices.get(device.deviceAddress).status = device.status; 119 public void updateStatus(String deviceAddress, int status) { argument 123 d.status = status;
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
H A D | SoundTrigger.java | 550 /** Recognition status e.g {@link #RECOGNITION_STATUS_SUCCESS} */ 551 public final int status; field in class:SoundTrigger.RecognitionEvent 573 public RecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, argument 576 this.status = status; 599 int status = in.readInt(); 618 return new RecognitionEvent(status, soundModelHandle, captureAvailable, captureSession, 629 dest.writeInt(status); 663 result = prime * result + status; 688 if (status ! 978 KeyphraseRecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, int captureSession, int captureDelayMs, int capturePreambleMs, boolean triggerInData, AudioFormat captureFormat, byte[] data, KeyphraseRecognitionExtra[] keyphraseExtras) argument 1096 GenericRecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, int captureSession, int captureDelayMs, int capturePreambleMs, boolean triggerInData, AudioFormat captureFormat, byte[] data) argument 1153 public final int status; field in class:SoundTrigger.SoundModelEvent 1159 SoundModelEvent(int status, int soundModelHandle, byte[] data) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_SoundTrigger.cpp | 273 event->status, event->model, event->capture_available, 280 event->status, event->model, event->capture_available, 286 event->status, event->model, event->capture_available, 323 event->status, event->model, jData); 402 status_t status = SoundTrigger::listModules(nModules, &numModules); local 403 if (status != NO_ERROR || numModules == 0) { 404 return (jint)status; 410 status = SoundTrigger::listModules(nModules, &numModules); 411 ALOGV("listModules SoundTrigger::listModules status %d numModules %d", status, numModule 505 jint status = SOUNDTRIGGER_STATUS_OK; local 673 jint status = SOUNDTRIGGER_STATUS_OK; local 688 jint status = SOUNDTRIGGER_STATUS_OK; local 781 jint status = SOUNDTRIGGER_STATUS_OK; local [all...] |
H A D | android_hardware_Radio.cpp | 402 status_t status = Radio::listModules(nModules, &numModules); local 403 if (status != NO_ERROR || numModules == 0) { 404 return (jint)status; 409 status = Radio::listModules(nModules, &numModules); 410 ALOGV("%s Radio::listModules status %d numModules %d", __FUNCTION__, status, numModules); 412 if (status != NO_ERROR) { 466 return (jint) status; 551 event->type, event->status, jArg2, jObj); 634 status_t status local 652 status_t status = module->getConfiguration(&nConfig); local 674 status_t status = module->setMute((bool)mute); local 687 status_t status = module->getMute(&mute); local 702 status_t status = module->step((radio_direction_t)direction, (bool)skipSubChannel); local 714 status_t status = module->scan((radio_direction_t)direction, (bool)skipSubChannel); local 726 status_t status = module->tune((uint32_t)channel, (uint32_t)subChannel); local 738 status_t status = module->cancel(); local 787 status_t status = module->getConfiguration(&nConfig); local 806 status_t status = module->hasControl(&hasControl); local [all...] |
/frameworks/base/tools/bit/ |
H A D | adb.cpp | 253 TestStatus status; 254 err = read_sized_proto(fd, &status); 258 callbacks->OnTestStatus(status); 260 SessionStatus status; local 261 err = read_sized_proto(fd, &status); 265 callbacks->OnSessionStatus(status); 322 int status; 323 waitpid(pid, &status, 0); 327 if (WIFEXITED(status)) { 328 return WEXITSTATUS(status); [all...] |
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | remote_method_tests.cpp | 203 Status<std::string> status = local 205 if (!status) 208 return status.take(); 232 Status<TestType> status = local 234 if (!status) 237 return status.take(); 241 Status<BasicStruct> status = local 243 if (!status) 246 return status.take(); 250 Status<std::string> status local 259 Status<std::string> status = local 273 Status<LocalHandle> status = local 282 Status<void> status = local 288 Status<TestFdType> status = local 298 Status<std::vector<LocalHandle>> status = local 311 Status<void> status = InvokeRemoteMethodInPlace<TestInterface::ReadFile>( local 317 auto status = InvokeRemoteMethodInPlace<TestInterface::PushChannel>(fd_out); local 322 auto status = InvokeRemoteMethod<TestInterface::Positive>(test_value); local 527 auto status = message.PushChannel(0, nullptr, nullptr); local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | SavedNetworkEvaluator.java | 90 * Update all the saved networks' selection status 121 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); 122 if (!status.isNetworkEnabled()) { 129 int count = status.getDisableReasonCounter(index); 271 WifiConfiguration.NetworkSelectionStatus status = 273 status.setSeenInLastQualifiedNetworkSelection(true); 275 if (!status.isNetworkEnabled()) { 294 if (score > status.getCandidateScore() || (score == status.getCandidateScore() 295 && status [all...] |
/frameworks/av/drm/libmediadrm/ |
H A D | CryptoHal.cpp | 55 static status_t toStatusT(Status status) { argument 56 switch (status) { 154 [&](Status status, const sp<ICryptoPlugin>& hPlugin) { 155 if (status != Status::OK) { 328 status_t status = toSharedBuffer(destination.mSharedMemory, heapSeqNum, local 330 if (status != OK) { 331 return status; 341 status_t status = toSharedBuffer(source.mSharedMemory, heapSeqNum, &hSource); local 342 if (status != OK) { 343 return status; [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | SupplicantP2pIfaceCallback.java | 124 device.status = WifiP2pDevice.AVAILABLE; 153 device.status = WifiP2pDevice.UNAVAILABLE; 214 * @param status Status of the GO negotiation. 216 public void onGoNegotiationCompleted(int status) { argument 217 logd("Group Owner negotiation completed with status: " + status); 218 P2pStatus result = halStatusToP2pStatus(status); 370 * @param status Status of the invitation. 372 public void onInvitationResult(byte[] bssid, int status) { argument 373 logd("Invitation completed with status 388 onProvisionDiscoveryCompleted(byte[] p2pDeviceAddress, boolean isRequest, byte status, short configMethods, String generatedPin) argument 513 halStatusToP2pStatus(int status) argument [all...] |
H A D | SupplicantP2pIfaceHal.java | 237 mISupplicant.listInterfaces((SupplicantStatus status, 239 if (status.code != SupplicantStatusCode.SUCCESS) { 240 Log.e(TAG, "Getting Supplicant Interfaces failed: " + status.code); 259 (SupplicantStatus status, ISupplicantIface iface) -> { 260 if (status.code != SupplicantStatusCode.SUCCESS) { 261 Log.e(TAG, "Failed to get ISupplicantIface " + status.code); 264 supplicantIface.setResult(status, iface); 344 protected static void logCompletion(String operation, SupplicantStatus status) { argument 345 if (status == null) { 346 Log.w(TAG, operation + " failed: no status cod 2215 setResult(SupplicantStatus status, E value) argument 2222 setResult(SupplicantStatus status) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4enc_api.cpp | 140 Int UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status); 196 Bool status = PV_TRUE; local 629 if (mbsPerSec > video->encParams->LayerMaxMbsPerSec[idx]) status = PV_FALSE; 636 status = SetProfile_BufferSize(video, video->encParams->VBV_delay, 1); 637 if (status != PV_TRUE) 996 status = PV_FALSE; 1006 status = PV_FALSE; 1015 status = PV_FALSE; 1025 status = PV_FALSE; 1034 status 1385 Bool status = PV_TRUE; local 1679 Bool status = PV_TRUE; local 2436 PV_STATUS status = PV_SUCCESS; local 2598 PV_STATUS status = PV_SUCCESS; local 2855 UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 119 status_t status; local 147 status = NO_ERROR; 149 status = ALREADY_EXISTS; 153 return status; 347 status_t status; local 353 status = NO_INIT; 359 status = DEAD_OBJECT; 423 status = mEffectInterface->command(EFFECT_CMD_SET_CONFIG, 428 if (status == 0) { 429 status 472 status_t status = mEffectInterface->command(EFFECT_CMD_INIT, local 502 status_t status; local 526 status_t status = mEffectInterface->command(EFFECT_CMD_ENABLE, local 556 status_t status = mEffectInterface->command(EFFECT_CMD_DISABLE, local 665 status_t status = mEffectInterface->command(cmdCode, local 695 status_t status = AudioSystem::setEffectEnabled(mId, enabled); local 799 status_t status = NO_ERROR; local 836 status_t status = NO_ERROR; local 857 status_t status = NO_ERROR; local 879 status_t status = NO_ERROR; local 924 status_t status = NO_ERROR; local 1220 status_t status = effect->setEnabled(true); local 1267 status_t status = effect->setEnabled(false); local 1390 status_t status = NO_ERROR; local [all...] |
/frameworks/native/cmds/lshal/ |
H A D | ListCommand.cpp | 486 Status status = OK; local 499 status |= DUMP_BINDERIZED_ERROR; 507 status |= DUMP_BINDERIZED_ERROR; 520 status |= DUMP_BINDERIZED_ERROR; 528 status |= DUMP_BINDERIZED_ERROR; 555 return status; 559 Status status = OK; local 563 status |= NO_BINDERIZED_MANAGER; 565 status |= fetchBinderized(bManager); 567 status | 693 Status status = parseArgs(command, arg); local [all...] |
/frameworks/av/media/libaaudio/src/legacy/ |
H A D | AudioStreamRecord.cpp | 126 status_t status = mAudioRecord->initCheck(); local 127 if (status != OK) { 129 ALOGE("AudioStreamRecord::open(), initCheck() returned %d", status); 130 return AAudioConvert_androidToAAudioResult(status); 339 status_t status = mAudioRecord->getTimestamp(&extendedTimestamp); local 340 if (status != NO_ERROR) { 341 return AAudioConvert_androidToAAudioResult(status);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
H A D | WifiClientTest.java | 169 assertTrue(c.status == Status.ENABLED); 171 assertFalse(c.status == Status.ENABLED); 183 assertTrue(c.status == Status.DISABLED); 267 // Test case 6: test configured network status 278 assertTrue(c.status != WifiConfiguration.Status.CURRENT); 290 assertTrue(c.status == WifiConfiguration.Status.CURRENT); 292 assertTrue(c.status != WifiConfiguration.Status.CURRENT); 303 assertTrue(c.status != WifiConfiguration.Status.CURRENT);
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | client.h | 18 #include <pdx/status.h> 40 * the status of the initialization. 137 inline void CheckDisconnect(const Status<T>& status) { argument 138 if (!status) 139 CheckDisconnect(status.error()); 288 inline void CheckDisconnect(const Status<T>& status) { argument 289 if (!status) 290 CheckDisconnect(status.error());
|