/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
NanoWSD.java | 106 protected abstract void onClose(CloseCode code, String reason, boolean initiatedByRemote); 133 public void close(CloseCode code, String reason, boolean initiatedByRemote) throws IOException { 137 sendFrame(new CloseFrame(code, reason)); 139 doClose(code, reason, initiatedByRemote); 143 private void doClose(CloseCode code, String reason, boolean initiatedByRemote) { 162 onClose(code, reason, initiatedByRemote); 177 String reason = ""; local 180 reason = ((CloseFrame) frame).getCloseReason(); 184 doClose(code, reason, false); 186 close(code, reason, true) 282 private final String reason; field in class:NanoWSD.WebSocketException [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
WebSocketEcho.java | 63 @Override public void onClose(int code, String reason) { 64 System.out.println("CLOSE: " + code + " " + reason);
|
/external/python/cpython2/Objects/ |
exceptions.c | [all...] |
/external/python/cpython3/Include/ |
pyerrors.h | 43 PyObject *reason; member in struct:__anon33171 397 const char *reason /* UTF-8 encoded string */ 408 const char *reason /* UTF-8 encoded string */ 419 const char *reason /* UTF-8 encoded string */ 425 const char *reason /* UTF-8 encoded string */ 462 /* get the value of the reason attribute */ 467 /* assign a new value to the reason attribute 471 const char *reason /* UTF-8 encoded string */ 475 const char *reason /* UTF-8 encoded string */ 479 const char *reason /* UTF-8 encoded string * [all...] |
/external/selinux/libsepol/include/sepol/policydb/ |
services.h | 53 /* Same as above, but also return the reason(s) for any 64 unsigned int *reason); 80 unsigned int *reason,
|
/external/vboot_reference/firmware/2lib/ |
2api.c | 29 void vb2api_fail(struct vb2_context *ctx, uint8_t reason, uint8_t subcode) 34 vb2_fail(ctx, reason, subcode);
|
/external/wpa_supplicant_8/src/rsn_supp/ |
pmksa_cache.h | 59 void *ctx, enum pmksa_free_reason reason), 90 void *ctx, enum pmksa_free_reason reason),
|
/frameworks/base/core/java/android/os/ |
PowerManager.java | 351 * Go to sleep reason code: Going to sleep due by application request. 357 * Go to sleep reason code: Going to sleep due by request of the 364 * Go to sleep reason code: Going to sleep due to a screen timeout. 370 * Go to sleep reason code: Going to sleep due to the lid switch being closed. 376 * Go to sleep reason code: Going to sleep due to the power button being pressed. 382 * Go to sleep reason code: Going to sleep due to HDMI. 388 * Go to sleep reason code: Going to sleep due to the sleep button being pressed. 394 * Go to sleep reason code: Going to sleep by request of an accessibility service 406 * The value to pass as the 'reason' argument to reboot() to reboot into 419 * The value to pass as the 'reason' argument to reboot() to reboot int [all...] |
/frameworks/base/core/java/android/service/notification/ |
INotificationListener.aidl | 36 in NotificationRankingUpdate update, in NotificationStats stats, int reason);
|
/frameworks/base/core/java/com/android/internal/os/ |
BinderInternal.java | 110 public static void forceGc(String reason) { 111 EventLog.writeEvent(2741, reason);
|
/frameworks/base/media/java/android/media/tv/ |
ITvInputClient.aidl | 39 void onVideoUnavailable(int reason, int seq);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
DozeScrimController.java | 96 public void pulse(@NonNull DozeHost.PulseCallback callback, int reason) { 114 mPulseReason = reason;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
PowerManagerServiceTest.java | 48 private static final String TEST_LAST_REBOOT_PROPERTY = "test.sys.boot.reason"; 82 int reason = mService.getLastShutdownReasonInternal(TEST_LAST_REBOOT_PROPERTY); local 84 assertThat(reason).isEqualTo(PowerManager.SHUTDOWN_REASON_THERMAL_SHUTDOWN);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
AppStandbyController.java | 275 // Reason for bucket change 276 int reason; field in class:AppStandbyController.StandbyUpdateRecord 278 StandbyUpdateRecord(String pkgName, int userId, int bucket, int reason, 283 this.reason = reason; 288 int bucket, int reason, boolean isInteraction) { 292 return new StandbyUpdateRecord(pkgName, userId, bucket, reason, isInteraction); 298 r.reason = reason; 639 int reason = app.bucketingReason local 851 final int reason = REASON_MAIN_USAGE | subReason; local [all...] |
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
ImsSmsImplBase.java | 242 * @param reason reason in case status is failure. Valid values are: 274 int reason) throws RuntimeException { 280 mListener.onSendSmsResult(token, messageRef, status, reason);
|
/packages/apps/SecureElement/src/com/android/se/security/ |
ChannelAccess.java | 94 public void setAccess(ACCESS access, String reason) { 96 mReason = reason;
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
RecordingTask.java | 248 public void onError(int reason) { 249 Log.i(TAG, "Recording failed with code=" + reason + " for " + mScheduledRecording); 254 switch (reason) { 342 private void failAndQuit(Integer reason) { 346 reason); 454 @ScheduledRecording.RecordingState int state, @Nullable Integer reason) { 478 && reason != null) { 479 builder.setFailedReason(reason);
|
/prebuilts/go/darwin-x86/src/runtime/ |
norace_linux_test.go | 5 // The file contains tests that cannot run under race detector for some reason.
|
norace_test.go | 5 // The file contains tests that cannot run under race detector for some reason.
|
/prebuilts/go/linux-x86/src/runtime/ |
norace_linux_test.go | 5 // The file contains tests that cannot run under race detector for some reason.
|
norace_test.go | 5 // The file contains tests that cannot run under race detector for some reason.
|
/prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-integration/1.1/ |
hamcrest-integration-1.1.jar | |
/system/bt/stack/sdp/ |
sdp_main.cc | 562 void sdp_disconnect(tCONN_CB* p_ccb, uint16_t reason) { 568 ((reason == SDP_SUCCESS) || (reason == SDP_NO_RECS_MATCH))) { 597 if ((reason == SDP_NO_RECS_MATCH) && (p_ccb->p_db->p_first_rec)) 598 reason = SDP_SUCCESS; 607 p_ccb->disconnect_reason = reason; 615 (*p_ccb->p_cb)(reason); 617 (*p_ccb->p_cb2)(reason, p_ccb->user_data);
|
/system/core/adb/ |
adb_io.cpp | 66 bool SendFail(int fd, const std::string& reason) { 67 return WriteFdExactly(fd, "FAIL", 4) && SendProtocolString(fd, reason);
|
/system/nfc/src/nfa/p2p/ |
nfa_p2p_main.cc | 280 void nfa_p2p_llcp_link_cback(uint8_t event, uint8_t reason) { 285 << StringPrintf("event:0x%x, reason:0x%x", event, reason); 323 if (reason == LLCP_LINK_RF_LINK_LOSS_NO_RX_LLC) { 342 reason = LLCP_LINK_RF_LINK_LOSS_ERR; 350 llcp_deactivated.reason = reason; 355 if (reason != LLCP_LINK_RF_LINK_LOSS_ERR) /* if NFC link is still up */ 365 } else if ((nfa_p2p_cb.is_active_mode) && (reason == LLCP_LINK_TIMEOUT)) {
|