Searched defs:code (Results 1 - 25 of 229) sorted by last modified time

12345678910

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRemotePlaybackClient.java233 * or <code>0</code> to start at the beginning.
267 * or <code>0</code> to start at the beginning.
324 * or <code>0</code> to start at the beginning.
695 final int code;
697 code = data.getInt(MediaControlIntent.EXTRA_ERROR_CODE,
700 code = MediaControlIntent.ERROR_UNKNOWN;
705 + ", code
896 onError(String error, int code, Bundle data) argument
[all...]
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipAudioCall.java154 * @param errorCode error code of this error
609 * timed out if the call is not established within {@code timeout} seconds
616 * SIP protocol) is used if {@code timeout} is zero or negative.
662 * within {@code timeout} seconds and
667 * SIP protocol) is used if {@code timeout} is zero or negative.
687 * established within {@code timeout} seconds and
692 * SIP protocol) is used if {@code timeout} is zero or negative.
716 * out if the call is not established within {@code timeout} seconds and
721 * SIP protocol) is used if {@code timeout} is zero or negative.
895 * Sends a DTMF code
903 sendDtmf(int code) argument
917 sendDtmf(int code, Message result) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DResultCode.java21 * Enumeration for the return code in TERMINAL RESPONSE.
22 * To get the actual return code for each enum value, call {@link #value}
105 /** Launch browser generic error code */
166 ResultCode(int code) { argument
167 mCode = code;
171 * Retrieves the actual result code that this object represents.
172 * @return Actual result code
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceStateTracker.java243 * @param what what code of message when delivered
1087 // Country code not found. This is likely a test network.
1395 * TODO: This code is exactly the same as in GsmServiceStateTracker
1397 * This code should probably be hoisted to the base class so
1417 protected int radioTechnologyToDataServiceState(int code) { argument
1419 switch(code) {
1435 loge("radioTechnologyToDataServiceState: Wrong radioTechnology code.");
1441 /** code is registration state 0-5 from TS 27.007 7.2 */
1443 regCodeToServiceState(int code) { argument
1444 switch (code) {
1472 regCodeIsRoaming(int code) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java452 void notifySuppServiceFailed(SuppService code) { argument
453 mSuppServiceFailedRegistrants.notifyResult(code);
1950 * @param what User-defined message code
H A DGsmServiceStateTracker.java1058 // NOTE: this code was previously located after mSS and mNewSS are swapped, so
1182 // Country code not found. This is likely a test network.
1452 /** code is registration state 0-5 from TS 27.007 7.2 */
1453 private int regCodeToServiceState(int code) { argument
1454 switch (code) {
1473 loge("regCodeToServiceState: unexpected service state " + code);
1480 * code is registration state 0-5 from TS 27.007 7.2
1483 private boolean regCodeIsRoaming (int code) { argument
1484 return ServiceState.RIL_REG_STATE_ROAMING == code;
1741 // We don't have a valid iso country code
[all...]
H A DSuppServiceNotification.java30 public int code; field in class:SuppServiceNotification
65 + " code: " + code
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhone.java825 CommandException getCommandException(int code) { argument
826 Rlog.d(LOG_TAG, "getCommandException code=" + code);
829 switch(code) {
H A DImsPhoneBase.java229 void notifySuppServiceFailed(SuppService code) { argument
230 mSuppServiceFailedRegistrants.notifyResult(code);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java192 void notifySuppServiceFailed(SuppService code) { argument
193 mSuppServiceFailedRegistrants.notifyResult(code);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java756 * cause code returned as Integer in Message.obj.response
757 * Returns integer cause code defined in TS 24.008
1286 * @param statusCode Status code string. See <code>setOnUSSD</code>
1408 public void triggerSsn(int type, int code) { argument
1411 not.code = code;
H A DSimulatedRadioControl.java49 public void triggerSsn(int type, int code); argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGSMPhoneTest.java1637 private void runTest(int type, int code) { argument
1640 mRadioControl.triggerSsn(type, code);
1652 assertEquals(code, notification.code);
1885 // short code
H A DGSMTestHandler.java95 public Message waitForMessage(int code) { argument
115 if (msg == null || code == GSMPhoneTest.ANY_MESSAGE || msg.what == code) return msg;
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCall.java174 * @param swapCalls {@code true} if the foreground and background calls should be swapped
709 * @return {@code True} if the call is a multiparty call.
722 * Marks whether an IMS call is merged. This should be set {@code true} when the call merges
732 * @return {@code true} if the call recently merged into a conference call.
962 * @param reason reason code to reject an incoming call
994 * @param reason reason code to terminate a call
1154 // This code basically says, we need to explicitly hold before requesting a merge
1318 * Sends a DTMF code. According to <a href="http://tools.ietf.org/html/rfc2833">RFC 2833</a>,
1327 log("sendDtmf :: code=" + c);
1338 * Start a DTMF code
1875 throwImsException(Throwable t, int code) argument
[all...]
H A DImsException.java34 public ImsException(String message, int code) { argument
35 super(message + ", code = " + code);
36 mCode = code;
39 public ImsException(String message, Throwable cause, int code) { argument
41 mCode = code;
45 * Gets the detailed exception code when ImsException is throwed
47 * @return the exception code in {@link ImsReasonInfo}
/frameworks/native/services/batteryservice/
H A DIBatteryPropertiesRegistrar.cpp67 status_t BnBatteryPropertiesRegistrar::onTransact(uint32_t code, argument
72 switch(code) {
101 return BBinder::onTransact(code, data, reply, flags);
/frameworks/native/services/inputflinger/
H A DEventHub.h43 #define BTN_FIRST 0x100 // first button code
44 #define BTN_LAST 0x15f // last button code
76 int32_t code; member in struct:android::RawEvent
H A DInputReader.cpp611 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, argument
619 result = (device->*getStateFunc)(sourceMask, code);
629 int32_t currentResult = (device->*getStateFunc)(sourceMask, code);
972 ALOGD("Input event: device=%d type=0x%04x code=0x%04x value=0x%08x when=%lld",
973 rawEvent->deviceId, rawEvent->type, rawEvent->code, rawEvent->value,
978 if (rawEvent->type == EV_SYN && rawEvent->code == SYN_REPORT) {
988 } else if (rawEvent->type == EV_SYN && rawEvent->code == SYN_DROPPED) {
1032 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { argument
1040 int32_t currentResult = (mapper->*getStateFunc)(sourceMask, code);
1139 switch (rawEvent->code) {
[all...]
H A DInputReader.h518 typedef int32_t (InputDevice::*GetStateFunc)(uint32_t sourceMask, int32_t code);
519 int32_t getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code,
587 bool hasKey(int32_t code) { argument
588 return getEventHub()->hasScanCode(mId, code);
591 bool hasAbsoluteAxis(int32_t code) { argument
593 getEventHub()->getAbsoluteAxisInfo(mId, code, &info);
597 bool isKeyPressed(int32_t code) { argument
598 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN;
601 int32_t getAbsoluteAxisValue(int32_t code) { argument
603 getEventHub()->getAbsoluteAxisValue(mId, code,
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp450 int32_t code, int32_t value) {
455 event.code = code;
460 setAbsoluteAxisValue(deviceId, code, value);
1184 ASSERT_EQ(KEY_A, event.code);
1270 << "Ignored device should return unknown key code state.";
1272 << "Ignored device should return unknown scan code state.";
1341 << "Should return unknown key code state when source not supported.";
1343 << "Should return unknown scan code state when source not supported.";
1434 int32_t code, int32_
449 enqueueEvent(nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument
1433 process(InputMapper* mapper, nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument
2666 processKey( SingleTouchInputMapper* mapper, int32_t code, int32_t value) argument
3854 processKey( MultiTouchInputMapper* mapper, int32_t code, int32_t value) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DClient.cpp89 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
105 return BnSurfaceComposerClient::onTransact(code, data, reply, flags);
88 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DSurfaceFlinger.cpp1164 // make the default display current because the VirtualDisplayDevice code cannot
1166 // the code below can call glFlush() which is allowed (and does in some case) call
2731 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
2733 switch (code) {
2770 status_t err = BnSurfaceComposer::onTransact(code, data, reply, flags);
2782 switch (code) {
2891 /* The code below is here to handle b/8734824
2920 uint32_t code; member in class:android::GraphicProducerWrapper
2934 virtual status_t transact(uint32_t code, argument
2936 this->code
2730 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
[all...]
/frameworks/native/cmds/service/
H A Dservice.cpp131 int32_t code = atoi(argv[optind++]); local
248 service->transact(code, data, &reply);
259 aerr << "service: No code specified for call" << endl;
/frameworks/native/cmds/servicemanager/
H A Dbinder.c48 fprintf(stderr," target %016"PRIx64" cookie %016"PRIx64" code %08x flags %08x\n",
49 (uint64_t)txn->target.ptr, (uint64_t)txn->cookie, txn->code, txn->flags);
184 data.txn.code = 0;
317 uint32_t target, uint32_t code)
334 writebuf.txn.code = code;
315 binder_call(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply, uint32_t target, uint32_t code) argument

Completed in 902 milliseconds

12345678910