/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnectionPool.java | 365 AcquiredConnectionStatus status = mAcquiredConnections.remove(connection); 366 if (status == null) { 375 if (recycleConnectionLocked(connection, status)) { 383 if (recycleConnectionLocked(connection, status)) { 393 AcquiredConnectionStatus status) { 394 if (status == AcquiredConnectionStatus.RECONFIGURE) { 400 status = AcquiredConnectionStatus.DISCARD; 403 if (status == AcquiredConnectionStatus.DISCARD) { 571 private void markAcquiredConnectionsLocked(AcquiredConnectionStatus status) { argument 578 if (status ! 392 recycleConnectionLocked(SQLiteConnection connection, AcquiredConnectionStatus status) argument [all...] |
/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/java/android/os/ |
H A D | ParcelFileDescriptor.java | 61 * Optional socket used to communicate close events, status at close, and 73 * Maximum {@link #mStatusBuf} size; longer status messages will be 256 Status status = null; 259 status = readCommStatus(fd, buf); 261 status = new Status(Status.DEAD); 263 if (status != null) { 266 listener.onClose(status.asIOException()); 479 // Use SOCK_SEQPACKET so that we have a guarantee that the status 686 private void closeWithStatus(int status, String msg) { argument 691 writeCommStatusAndClose(status, ms 711 writeCommStatusAndClose(int status, String msg) argument 1053 public final int status; field in class:ParcelFileDescriptor.Status 1056 Status(int status) argument 1060 Status(int status, String msg) argument [all...] |
/frameworks/base/core/java/android/print/ |
H A D | PrintJobInfo.java | 186 /** A short string describing the status of this job. */ 189 /** A string resource describing the status of this job. */ 381 * Sets the status of the print job. 383 * @param status the status of the job, can be null 387 public void setStatus(@Nullable CharSequence status) { argument 391 mStatus = status; 395 * Sets the status of the print job. 397 * @param status The new status a 402 setStatus(@tringRes int status, @NonNull CharSequence appPackageName) argument 830 setStatus(@ullable CharSequence status) argument [all...] |
/frameworks/base/core/java/android/service/voice/ |
H A D | AlwaysOnHotwordDetector.java | 297 public abstract void onAvailabilityChanged(int status); argument 637 public void onError(int status) { argument 638 Slog.i(TAG, "onError: " + status); 717 * @return The initial availability without checking the enrollment status.
|
/frameworks/base/core/jni/ |
H A D | android_hardware_SensorManager.cpp | 337 int8_t status; local 345 status = buffer[i].vector.status; 348 status = buffer[i].heart_rate.status; 351 status = SENSOR_STATUS_ACCURACY_HIGH; 359 status,
|
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 455 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;
|
H A D | com_android_internal_os_Zygote.cpp | 87 int status; local 97 while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { 98 // Log process-death status that we care about. In general it is 105 if (WIFEXITED(status)) { 106 if (WEXITSTATUS(status)) { 107 ALOGI("Process %d exited cleanly (%d)", pid, WEXITSTATUS(status)); 109 } else if (WIFSIGNALED(status)) { 110 if (WTERMSIG(status) != SIGKILL) { 111 ALOGI("Process %d exited due to signal (%d)", pid, WTERMSIG(status)); 113 if (WCOREDUMP(status)) { 658 int status; local [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 153 int status = cursor.getInt(cursor.getColumnIndex( 155 Log.i(LOG_TAG, "Download status is: " + status); 157 fail("No status found for completed download!"); 250 * @param status The HTTP status code to return for this response 253 protected MockResponse buildResponse(int status) { argument 254 MockResponse response = new MockResponse().setResponseCode(status); 262 * @param status The HTTP status cod 266 buildResponse(int status, byte[] body) argument 277 buildResponse(int status, File bodyFile) argument [all...] |
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_AudioEffect.cpp | 579 lStatus = p->status; 639 lStatus = p->status; 822 status_t status = AudioEffect::queryDefaultPreProcessing((audio_session_t) audioSession, local 825 if (status != NO_ERROR || numEffects == 0) {
|
H A D | android_media_Visualizer.cpp | 603 jint status = translateError(lpVisualizer->getWaveForm((uint8_t *)nWaveform)); local 606 return status; 621 jint status = translateError(lpVisualizer->getFft((uint8_t *)nFft)); local 625 return status; 636 jint status = translateError( local 639 if (status == VISUALIZER_SUCCESS) { 644 return status;
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
H A D | ScoAudioTest.java | 511 public void onInit(int status) { argument 512 // status can be either TextToSpeech.SUCCESS or TextToSpeech.ERROR. 514 if (status != TextToSpeech.SUCCESS) {
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | FlpHardwareProvider.java | 67 // FlpHal monitor status codes, they must be equal to the ones in fused_location.h 144 private void onBatchingStatus(int status) { argument 151 sink.onStatusChanged(status); 229 private void onGeofenceMonitorStatus(int status, int source, Location location) { argument 237 switch (status) { 245 Log.e(TAG, "Invalid FlpHal Geofence monitor status: " + status); 493 public void onStatusChanged(String provider, int status, Bundle extras) { } argument
|
/frameworks/base/services/midi/java/com/android/server/midi/ |
H A D | MidiService.java | 219 public void deviceStatusChanged(Device device, MidiDeviceStatus status) { argument 225 listener.onDeviceStatusChanged(status); 372 public void setDeviceStatus(MidiDeviceStatus status) { argument 373 mDeviceStatus = status; 617 // Inform listener of the status of all known devices. 624 MidiDeviceStatus status = device.getDeviceStatus(); 625 if (status != null) { 626 listener.onDeviceStatusChanged(status); 763 public void setDeviceStatus(IMidiDeviceServer server, MidiDeviceStatus status) { argument 770 device.setDeviceStatus(status); 775 notifyDeviceStatusChanged(Device device, MidiDeviceStatus status) argument [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | RemotePrintSpooler.java | 305 * Set status of a print job. 308 * @param status The new status 310 public final void setStatus(@NonNull PrintJobId printJobId, @Nullable CharSequence status) { argument 317 getRemoteInstanceLazy().setStatus(printJobId, status); 319 Slog.e(LOG_TAG, "Error setting status.", re); 332 * Set status of a print job. 335 * @param status The new status as a string resource 338 public final void setStatus(@NonNull PrintJobId printJobId, @StringRes int status, argument 771 setPrintJobState(IPrintSpooler target, PrintJobId printJobId, int status, String error) argument [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | InCallService.java | 485 * @param handler A handler which commands and status changes will be delivered to. 642 * @param status Status of the session modify request. Valid values are 651 public abstract void onSessionModifyResponseReceived(int status, argument
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestEventHandler.java | 66 /* Expected status codes */ 150 * Implements the EventHandler status method called when a server status 154 * @param code The status code 157 public void status(int major_version, int minor_version, method in class:TestEventHandler 160 Log.v(LOGTAG, "TestEventHandler:status() major: " + major_version +
|
/frameworks/native/cmds/installd/ |
H A D | otapreopt.cpp | 415 int status; local 416 pid_t got_pid = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); 423 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { 424 *error_msg = StringPrintf("Failed execv(%s) because non-0 exit status", 673 ALOGE("Could not open selinux status; exiting.\n");
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 394 status_t status = waitForFreeSlotThenRelock(FreeSlotCaller::Dequeue, local 396 if (status != NO_ERROR) { 397 return status; 696 status_t status = waitForFreeSlotThenRelock(FreeSlotCaller::Attach, &found); local 697 if (status != NO_ERROR) { 698 return status; 1096 int status = NO_ERROR; local 1111 status = IInterface::asBinder(listener)->linkToDeath( 1113 if (status != NO_ERROR) { 1115 strerror(-status), statu 1142 int status = NO_ERROR; local [all...] |
/frameworks/native/libs/input/ |
H A D | Input.cpp | 465 status_t status = mSamplePointerCoords.editTop().readFromParcel(parcel); local 466 if (status) { 467 return status; 505 status_t status = (pc++)->writeToParcel(parcel); local 506 if (status) { 507 return status;
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 802 status_t status = rect.unflatten(buffer, size); local 803 if (status != NO_ERROR) { 804 return status;
|
/frameworks/native/services/inputflinger/host/ |
H A D | InputDriver.cpp | 227 status_t status = PropertyMap::load(configFile, &propMap->propertyMap); local 228 if (status) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiLogger.java | 360 public void onRingBufferData(WifiNative.RingBufferStatus status, byte[] buffer) { 361 WifiLogger.this.onRingBufferData(status, buffer); 370 synchronized void onRingBufferData(WifiNative.RingBufferStatus status, byte[] buffer) { argument 371 ByteArrayRingBuffer ring = mRingBufferData.get(status.name);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccSmsInterfaceManager.java | 185 * @param status new message status (STATUS_ON_ICC_READ, 194 updateMessageOnIccEf(String callingPackage, int index, int status, byte[] pdu) { argument 196 " status=" + status + " ==> " + 207 if (status == STATUS_ON_ICC_FREE) { 224 byte[] record = makeSmsRecordData(status, pdu); 242 * @param status message status (STATUS_ON_ICC_READ, STATUS_ON_ICC_UNREAD, 247 public boolean copyMessageToIccEf(String callingPackage, int status, byt argument 602 makeSmsRecordData(int status, byte[] pdu) argument [all...] |
H A D | ProxyController.java | 87 // record each phone's set radio capability status 273 logd("setRadioCapability: phoneId=" + phoneId + " status=STARTING"); 361 logd("onStartRadioCapabilityResponse: phoneId=" + id + " status=FAIL"); 365 logd("onStartRadioCapabilityResponse: phoneId=" + id + " status=STARTED"); 395 logd("onStartRadioCapabilityResponse: phoneId=" + i + " status=APPLYING"); 419 logd("onApplyRadioCapabilityResponse: phoneId=" + id + " status=FAIL"); 451 logd("onNotificationRadioCapabilityChanged: phoneId=" + id + " status=FAIL"); 455 logd("onNotificationRadioCapabilityChanged: phoneId=" + id + " status=SUCCESS"); 509 // send FINISH request with fail status and then uniqueDifferentId 532 logd("issueFinish: phoneId: " + i + " status 599 sendRadioCapabilityRequest(int phoneId, int sessionId, int rcPhase, int radioFamily, String logicalModemId, int status, int eventId) argument [all...] |