Searched refs:status (Results 451 - 475 of 995) sorted by relevance

<<11121314151617181920>>

/frameworks/base/cmds/incidentd/src/
H A DIncidentService.cpp212 Status status = checkIncidentPermissions(args); local
213 if (!status.isOk()) {
214 return status;
227 Status status = checkIncidentPermissions(args); local
228 if (!status.isOk()) {
229 return status;
H A DReporter.cpp66 // TODO: dedup on exact same args and fd, report the status back to listener!
244 Status status = dropbox->addFile(String16("incident"), mFilename, 0); local
245 ALOGD("Incident report done. dropbox status=%s\n", status.toString8().string());
246 if (!status.isOk()) {
250 // If the status was ok, delete the file. If not, leave it around until the next
318 Status status = dropbox->addFile(String16("incident"), filename.string(), 0); local
319 ALOGD("Incident report done. dropbox status=%s\n", status.toString8().string());
320 if (!status
[all...]
/frameworks/base/core/java/android/net/
H A DIpSecTransform.java106 * Checks the result status and throws an appropriate exception if the status is not Status.OK.
108 private void checkResultStatus(int status) argument
111 switch (status) {
123 "Failed to Create a Transform with status code " + status);
135 int status = result.status;
136 checkResultStatus(status);
252 * A callback class to provide status informatio
[all...]
/frameworks/base/core/java/android/security/keystore/recovery/
H A DRecoveryController.java475 @NonNull String packageName, String alias, int status)
481 * Sets the recovery status for given key. It is used to notify the keystore that the key was
485 * @param alias The alias of the key whose status to set.
486 * @param status The status of the key. One of {@link #RECOVERY_STATUS_SYNCED},
492 public void setRecoveryStatus(@NonNull String alias, int status) argument
495 mBinder.setRecoveryStatus(alias, status);
515 * Returns the recovery status for the key with the given {@code alias}.
531 Integer status = allStatuses.get(alias);
532 if (status
474 setRecoveryStatus( @onNull String packageName, String alias, int status) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java256 int status = bdo.writeEntityHeader(key, data.length);
258 assertEquals(0, status);
260 status = bdo.writeEntityData(data, data.length);
262 assertEquals(0, status);
266 int status = bdo.writeEntityHeader(key, -1);
268 assertEquals(0, status);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DCallbackHandlerTest.java78 IconState status = new IconState(true, 0, "");
84 mHandler.setWifiIndicators(enabled, status, qs, in, out, description, true, secondaryLabel);
99 assertEquals(status, statusArg.getValue());
110 IconState status = new IconState(true, 0, "");
121 mHandler.setMobileDataIndicators(status, qs, type, qsType, in, out, typeDescription,
139 assertEquals(status, statusArg.getValue());
/frameworks/base/services/core/java/com/android/server/notification/
H A DCalendarTracker.java194 final int status = cursor.getInt(2);
195 final boolean meetsReply = meetsReply(filter.reply, status);
198 String.format("status=%s, meetsReply=%s",
199 attendeeStatusToString(status), meetsReply));
231 private static String attendeeStatusToString(int status) { argument
232 switch (status) {
238 default: return "ATTENDEE_STATUS_UNKNOWN_" + status;
/frameworks/native/libs/gui/tests/
H A DStreamSplitter_test.cpp70 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); local
71 ASSERT_EQ(OK, status);
140 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); local
141 ASSERT_EQ(OK, status);
209 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); local
210 ASSERT_EQ(OK, status);
/frameworks/av/include/drm/
H A Ddrm_framework_common.h192 * Defines constants related to status of the rights
286 * Defines the status of the rights like
289 int status; member in class:android::DecryptHandle
312 status(INVALID_VALUE),
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp455 int status = NO_NATIVE_LIBRARIES; local
460 if (status == NO_NATIVE_LIBRARIES) {
461 status = INSTALL_FAILED_NO_MATCHING_ABIS;
474 if (((i < status) && (status >= 0)) || (status < 0) ) {
475 status = i;
485 return status;
/frameworks/base/media/java/android/media/audiofx/
H A DLoudnessEnhancer.java166 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { argument
168 if (status != AudioEffect.SUCCESS) {
/frameworks/base/media/java/android/media/midi/
H A DIMidiManager.aidl58 // used by MIDI devices to report their status
60 void setDeviceStatus(in IMidiDeviceServer server, in MidiDeviceStatus status);
/frameworks/base/media/java/android/media/tv/
H A DITvInputClient.aidl43 void onTimeShiftStatusChanged(int status, int seq);
/frameworks/base/media/tests/audiotests/
H A Dshared_mem_test.cpp104 status_t status = track->initCheck(); local
105 if(status != NO_ERROR) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DAppUtils.java51 int status = pm.getIntentVerificationStatusAsUser(packageName, UserHandle.myUserId());
54 status != PackageManager.INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED;
/frameworks/base/services/core/java/com/android/server/location/
H A DMockProvider.java123 public void setStatus(int status, Bundle extras, long updateTime) { argument
124 mStatus = status;
/frameworks/base/services/core/jni/
H A Dcom_android_server_am_BatteryStatsService.cpp214 [&env, &jrpmStats](hidl_vec<PowerStatePlatformSleepState> states, Status status) {
216 if (status != Status::SUCCESS) return;
251 [&env, &jrpmStats](hidl_vec<PowerStateSubsystem> subsystems, Status status) {
253 if (status != Status::SUCCESS) return;
299 Status status) {
300 if (status != Status::SUCCESS)
382 Status status) {
384 if (status != Status::SUCCESS)
/frameworks/base/telephony/java/android/telephony/ims/stub/
H A DImsSmsImplBase.java117 * Error while setting status report.
237 * @param status result of sending the SMS. Valid values are:
242 * @param reason reason in case status is failure. Valid values are:
273 public final void onSendSmsResult(int token, int messageRef, @SendStatusResult int status, argument
280 mListener.onSendSmsResult(token, messageRef, status, reason);
288 * Sets the status report of the sent message.
294 * @param pdu PDUs representing the content of the status report.
306 Log.e(LOG_TAG, "Can not process sms status report: " + e.getMessage());
/frameworks/base/wifi/java/android/net/wifi/rtt/
H A DWifiRttManager.java69 * Use the {@link #isAvailable()} to query the current status.
86 * Returns the current status of RTT API: whether or not RTT is available. To track
152 public void onRangingFailure(int status) throws RemoteException {
154 executor.execute(() -> callback.onRangingFailure(status));
/frameworks/native/cmds/dumpsys/tests/
H A Ddumpsys_test.cpp185 int status = dump_.main(argc, const_cast<char**>(argv)); local
188 EXPECT_THAT(status, Eq(0));
197 status_t status = dump_.startDumpThread(serviceName, args); local
198 EXPECT_THAT(status, Eq(0));
199 status = dump_.writeDump(STDOUT_FILENO, serviceName, std::chrono::milliseconds(500), false,
201 EXPECT_THAT(status, Eq(0));
562 status_t status = local
565 EXPECT_THAT(status, Eq(INVALID_OPERATION));
/frameworks/native/libs/vr/libvrflinger/
H A Ddisplay_surface.cpp230 auto status = RegisterQueue(consumer); local
231 if (!status) {
235 status.GetErrorMessage().c_str());
236 return status.error_status();
305 auto status = RegisterQueue(direct_queue_); local
306 if (!status) {
310 status.GetErrorMessage().c_str());
311 return status.error_status();
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
H A DPhotoBitmapLoader.java63 result.status = BitmapResult.STATUS_EXCEPTION;
112 result.status = BitmapResult.STATUS_SUCCESS;
/frameworks/wilhelm/src/android/
H A Dandroid_GenericMediaPlayer.cpp463 status_t status; local
464 status = mPlayer->attachAuxEffect(effectId);
465 // attachAuxEffect returns a status but we have no way to report it back to app
466 (void) status;
477 status_t status; local
478 status = mPlayer->setAuxEffectSendLevel(level);
479 // setAuxEffectSendLevel returns a status but we have no way to report it back to app
480 (void) status;
497 // handle prefetch status update
504 // evaluate prefetch status base
551 status_t status = mPlayer->getParameter(KEY_PARAMETER_AUDIO_CHANNEL_COUNT, reply); local
[all...]
/frameworks/av/services/mediaanalytics/
H A DMediaAnalyticsService.cpp585 binder::Status status; local
592 status = package_mgr->getNamesForUids(uids, &names);
593 if (!status.isOk()) {
595 status.exceptionMessage().c_str());
617 status = package_mgr->getInstallerForPackage(pkgName16, &installer);
618 if (!status.isOk()) {
620 status.exceptionMessage().c_str());
624 if (status.isOk()) {
625 status = package_mgr->getVersionCodeForPackage(pkgName16, &versionCode);
626 if (!status
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardIndicationController.java497 public void onRefreshBatteryInfo(KeyguardUpdateMonitor.BatteryStatus status) { argument
498 boolean isChargingOrFull = status.status == BatteryManager.BATTERY_STATUS_CHARGING
499 || status.status == BatteryManager.BATTERY_STATUS_FULL;
501 mPowerPluggedInWired = status.isPluggedInWired() && isChargingOrFull;
502 mPowerPluggedIn = status.isPluggedIn() && isChargingOrFull;
503 mPowerCharged = status.isCharged();
504 mChargingWattage = status.maxChargingWattage;
505 mChargingSpeed = status
[all...]

Completed in 519 milliseconds

<<11121314151617181920>>