Searched refs:status (Results 501 - 525 of 995) sorted by relevance

<<21222324252627282930>>

/frameworks/native/libs/vr/libvrflinger/
H A Ddisplay_manager_service.h5 #include <pdx/status.h>
/frameworks/native/services/sensorservice/
H A DOrientationSensor.cpp65 outEvent->orientation.status = SENSOR_STATUS_ACCURACY_HIGH;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DNetworkListStoreData.java182 // Serialize network selection status.
243 NetworkSelectionStatus status = null;
258 if (status != null) {
262 status = NetworkSelectionStatusXmlUtil.parseFromXml(in, outerTagDepth + 1);
310 configuration.setNetworkSelectionStatus(status);
H A DWifiNetworkSelector.java440 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus();
442 if (status.getConnectChoice() != null) {
443 localLog("Remove user selection preference of " + status.getConnectChoice()
444 + " Set Time: " + status.getConnectChoiceTimestamp() + " from "
452 if (status.getSeenInLastQualifiedNetworkSelection()
453 && (status.getConnectChoice() == null
454 || !status.getConnectChoice().equals(key))) {
H A DWifiConnectivityManager.java1209 // Update the bssid's blacklist status when it is disabled because of
1211 BssidBlacklistStatus status = mBssidBlacklist.get(bssid);
1212 if (status == null) {
1214 status = new BssidBlacklistStatus();
1215 mBssidBlacklist.put(bssid, status);
1218 status.blacklistedTimeStamp = mClock.getElapsedSinceBootMillis();
1219 status.counter++;
1220 if (!status.isBlacklisted) {
1221 if (status.counter >= BSSID_BLACKLIST_THRESHOLD
1223 status
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java103 result.status = BitmapResult.STATUS_EXCEPTION;
110 result.status = BitmapResult.STATUS_SUCCESS;
116 result.status = BitmapResult.STATUS_EXCEPTION;
120 result.status = BitmapResult.STATUS_EXCEPTION;
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/trackers/
H A DBatteryNotLowTrackerTest.java73 private Intent createBatteryChangedIntent(int plugged, int status, float percent) { argument
79 intent.putExtra(BatteryManager.EXTRA_STATUS, status);
86 int plugged, int status, float percentage, boolean expectedBatteryNotLow) {
87 mockContextReturns(createBatteryChangedIntent(plugged, status, percentage));
85 testGetInitialStateHelper( int plugged, int status, float percentage, boolean expectedBatteryNotLow) argument
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestPlayUri.cpp78 SLuint32 status; local
80 result = (*caller)->GetPrefetchStatus(caller, &status);
83 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
91 fprintf(stdout, "PrefetchEventCallback: Prefetch Status is = %u\n", status);
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp78 SLuint32 status; local
80 (*caller)->GetPrefetchStatus(caller, &status);
82 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
90 fprintf(stdout, "\t\tPrefetchEventCallback: Prefetch Status is = %u\n", status);
/frameworks/base/core/java/android/webkit/
H A DWebViewFactory.java199 if (response.status != LIBLOAD_SUCCESS
200 && response.status != LIBLOAD_FAILED_WAITING_FOR_RELRO) {
201 return response.status;
221 if (loadNativeRet == LIBLOAD_SUCCESS) return response.status;
373 if (response.status != LIBLOAD_SUCCESS
374 && response.status != LIBLOAD_FAILED_WAITING_FOR_RELRO) {
376 + getWebViewPreparationErrorReason(response.status));
/frameworks/base/core/java/com/android/internal/usb/
H A DDumpUtils.java201 long id, @NonNull UsbPortStatus status) {
204 dump.write("connected", UsbPortStatusProto.CONNECTED, status.isConnected());
207 dump.write("current_mode", UsbPortStatusProto.CURRENT_MODE, status.getCurrentMode());
210 UsbPort.modeToString(status.getCurrentMode()));
214 status.getCurrentPowerRole());
215 writeDataRole(dump, "data_role", UsbPortStatusProto.DATA_ROLE, status.getCurrentDataRole());
217 int undumpedCombinations = status.getSupportedRoleCombinations();
200 writePortStatus(@onNull DualDumpOutputStream dump, @NonNull String idName, long id, @NonNull UsbPortStatus status) argument
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java1319 boolean status = native_setInputDevice(preferredDeviceId);
1320 if (status == true) {
1325 return status;
1434 int status = native_getActiveMicrophones(activeMicrophones);
1435 if (status != AudioManager.SUCCESS) {
1436 if (status != AudioManager.ERROR_INVALID_OPERATION) {
1437 Log.e(TAG, "getActiveMicrophones failed:" + status);
H A DAudioManager.java2453 int status = AUDIOFOCUS_REQUEST_FAILED;
2456 // status is guaranteed to be either AUDIOFOCUS_REQUEST_FAILED or
2459 status = requestAudioFocus(l,
2468 return status;
2689 final int status;
2702 // TODO status contains result and generation counter for ext policy
2703 status = service.requestAudioFocus(afr.getAudioAttributes(),
2713 if (status != AudioManager.AUDIOFOCUS_REQUEST_WAITING_FOR_EXT_POLICY) {
2715 return status;
2938 int status
[all...]
/frameworks/av/media/libmediaplayer2/
H A DMediaPlayer2AudioOutput.cpp251 status_t status = mTrack->getTimestamp(&ets); local
252 if (status == OK || status == WOULD_BLOCK) {
255 return status;
464 ALOGV("updateTrack_l() DONE status %d", res);
477 status_t status = mTrack->start(); local
478 return status;
616 status_t status; local
618 status = mTrack->addAudioDeviceCallback(mDeviceCallback.promote());
620 status
[all...]
/frameworks/base/tools/incident_report/
H A Dmain.cpp389 int status; local
391 waitpid(pid, &status, 0);
392 } while (!WIFEXITED(status));
393 if (WEXITSTATUS(status) != 0) {
394 return WEXITSTATUS(status);
588 int status; local
590 waitpid(childPid, &status, 0);
591 } while (!WIFEXITED(status));
592 if (WEXITSTATUS(status) != 0) {
593 return WEXITSTATUS(status);
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
H A DWifiAwareNativeApiTest.java87 WifiStatus status = new WifiStatus();
88 status.code = WifiStatusCode.SUCCESS;
89 when(mIWifiNanIfaceMock.enableRequest(anyShort(), any())).thenReturn(status);
90 when(mIWifiNanIfaceMock.configRequest(anyShort(), any())).thenReturn(status);
91 when(mIWifiNanIfaceMock.startPublishRequest(anyShort(), any())).thenReturn(status);
92 when(mIWifiNanIfaceMock.startSubscribeRequest(anyShort(), any())).thenReturn(status);
93 when(mIWifiNanIface12Mock.enableRequest_1_2(anyShort(), any(), any())).thenReturn(status);
94 when(mIWifiNanIface12Mock.configRequest_1_2(anyShort(), any(), any())).thenReturn(status);
95 when(mIWifiNanIface12Mock.startPublishRequest(anyShort(), any())).thenReturn(status);
96 when(mIWifiNanIface12Mock.startSubscribeRequest(anyShort(), any())).thenReturn(status);
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
H A DRttMetricsTest.java373 * Verify that all individual status codes are translated correctly.
453 * Verify that all overall status codes are recorded correctly.
515 WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket bucket, int status,
517 collector.checkThat(logPrefix + ": statusType", bucket.statusType, equalTo(status));
522 WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket bucket, int status,
524 collector.checkThat(logPrefix + ": statusType", bucket.statusType, equalTo(status));
582 rttResult.status = RttStatus.SUCCESS;
592 private void recordResultNTimes(int status, int n) { argument
596 result.status = status;
514 validateProtoOverallStatusHistBucket(String logPrefix, WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket bucket, int status, int count) argument
521 validateProtoIndividualStatusHistBucket(String logPrefix, WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket bucket, int status, int count) argument
603 recordOverallStatusNTimes(int status, int n) argument
[all...]
/frameworks/av/media/libstagefright/flac/dec/
H A DFLACDecoder.cpp114 void FLACDecoder::errorCallback(FLAC__StreamDecoderErrorStatus status) argument
116 ALOGE("errorCallback: status=%d", status);
117 mErrorStatus = status;
300 FLAC__StreamDecoderErrorStatus status,
302 ((FLACDecoder *) client_data)->errorCallback(status); };
/frameworks/av/media/libstagefright/mpeg2ts/
H A DCasManager.cpp138 Status status; local
147 [&status, &sessionId] (Status _status, const hidl_vec<uint8_t>& _sessionId) {
148 status = _status;
151 if (!returnVoid.isOk() || status != Status::OK) {
152 ALOGE("Failed to open session: trans=%s, status=%d",
153 returnVoid.description().c_str(), status);
159 ALOGE("Failed to set private data: trans=%s, status=%d",
178 ALOGE("Failed to init descrambler: : trans=%s, status=%d",
342 ALOGE("Failed to process ECM: trans=%s, status=%d",
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointProvisioner.java95 * @param callback {@link IProvisioningCallback} to provide provisioning status.
230 * Handle status of server validation success
315 private void invokeProvisioningCallback(int callbackType, int status) { argument
317 Log.e(TAG, "Provisioning callback " + callbackType + " with status " + status
323 mProvisioningCallback.onProvisioningStatus(status);
325 mProvisioningCallback.onProvisioningFailure(status);
329 + " status=" + status);
422 * Provides a server validation status fo
[all...]
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp68 // Prefetch status callback
77 SLuint32 status; local
78 result = (*caller)->GetPrefetchStatus(caller, &status);
82 && level == 0 && status == SL_PREFETCHSTATUS_UNDERFLOW) {
85 status == SL_PREFETCHSTATUS_SUFFICIENTDATA) {
86 new_prefetch_status = status;
250 // get the prefetch status interface
254 // enable prefetch status callbacks
312 // wait for prefetch status callback to indicate either sufficient data or error
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp301 const status_t status = lpRecorder->set(paa->source, local
316 if (status != NO_ERROR) {
317 ALOGE("Error creating AudioRecord instance: initialization check failed with status %d.",
318 status);
723 status_t status = lpRecorder->addAudioDeviceCallback(cb); local
724 if (status == NO_ERROR) {
754 jint status = nativeToJavaStatus(lpRecorder->getTimestamp(&ts)); local
756 if (status == AUDIO_JAVA_SUCCESS) {
760 status = nativeToJavaStatus(ts.getBestTimestamp(&position, &time, timebase));
761 if (status
825 status_t status = lpRecorder->getActiveMicrophones(&activeMicrophones); local
[all...]
/frameworks/native/cmds/installd/tests/
H A Dinstalld_dexopt_test.cpp122 LOG(ERROR) << "Could not open selinux status; exiting";
491 binder::Status status; local
493 /*binder_ok*/ true, /*compile_ok*/ false, &status);
494 EXPECT_STREQ(status.toString8().c_str(), "No error");
499 binder::Status status; local
501 /*binder_ok*/ false, /*compile_ok*/ false, &status);
502 EXPECT_STREQ(status.toString8().c_str(),
508 binder::Status status; local
510 /*binder_ok*/ false, /*compile_ok*/ false, &status);
511 EXPECT_STREQ(status
517 binder::Status status; local
534 binder::Status status; local
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareMetrics.java233 * Push information about a new attach session status (recorded when attach session is created).
235 public void recordAttachStatus(int status) { argument
237 mAttachStatusData.put(status, mAttachStatusData.get(status) + 1);
351 * Push information about a new discovery session status (recorded when the discovery session is
354 public void recordDiscoveryStatus(int uid, int status, boolean isPublish) { argument
357 mPublishStatusData.put(status, mPublishStatusData.get(status) + 1);
359 mSubscribeStatusData.put(status, mSubscribeStatusData.get(status)
463 recordNdpStatus(int status, boolean isOutOfBand, long startTimestamp) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp789 } else if (key == "param-track-time-status") {
923 status_t status = OK; local
930 status = setupMPEG4orWEBMRecording();
935 status = setupAMRRecording();
940 status = setupAACRecording();
944 status = setupRTPRecording();
948 status = setupMPEG2TSRecording();
953 status = UNKNOWN_ERROR;
960 return status;
980 status_t status local
1201 status_t status = BAD_VALUE; local
1805 status_t status = BAD_VALUE; local
2210 status_t status = mAudioSourceNode->getRoutedDeviceId(deviceId); local
[all...]

Completed in 583 milliseconds

<<21222324252627282930>>