- 浏览: 43860 次
- 性别:
- 来自: 北京
文章分类
最新评论
E:\android-source\Android-2.3-Real6410-r1\Android-2.3-Real6410-r1\frameworks\base\telephony\java\com\android\internal\telephony\CommandsInterface.java
152行开始修改:
//***** Methods //***** PTT Service public void setOnDeviceInfo(Handler h, int what, Object obj); public void unSetOnDeviceInfo(Handler h); void setOnPTTGrant(Handler h, int what, Object obj); void unSetOnPTTGrant(Handler h); void setOnGroupClose(Handler h, int what, Object obj); void unSetOnGroupClose(Handler h); void setOnIncomingCall(Handler h, int what, Object obj); void unSetOnIncomingCall(Handler h); void setOnGroupCallConnect(Handler h, int what, Object obj); void unSetOnGroupCallConnect(Handler h); void setOnPTTReleaset(Handler h, int what, Object obj); void unSetOnPTTRelease(Handler h); void setOnBlockedStatus(Handler h, int what, Object obj); void unSetOnBlockedStatus(Handler h); void setOnGroupList(Handler h, int what, Object obj); void unSetOnSpeakerTime(Handler h); void setOnSpeakerTime(Handler h, int what, Object obj); void unSetOnGroupList(Handler h); void setOnSpeakerIndication(Handler h, int what, Object obj); void unSetOnSpeakerIndication(Handler h); void setOnActiveGroupList(Handler h, int what, Object obj); void unSetOnActiveGroupList(Handler h); RadioState getRadioState(); public void closeSocket(); public void startGroupJoin(int uGid, Message response); public void startGroupClose(int uCallControlInstance, int uGid, Message response); public void startApplyPTTGrant(int uCallControlInstance, int cAIService,int uCallPartID, int uRefPriority, Message response) ; public void startReleasePTTGrant(int uCallControlInstance, int uGid, Message response); public void startGetGroupList(Message response); public void startDefineScanGroup(int[] uGid, Message response);
void getOperator(Message response);
之后不需要注释的方法(其他的都注释掉):
void setRadioPower(boolean on, Message response); void setNetworkSelectionModeAutomatic(Message response); void setNetworkSelectionModeManual(String operatorNumeric, Message response); void getNetworkSelectionMode(Message response); void getAvailableNetworks(Message response); void resetRadio(Message result); void setPreferredNetworkType(int networkType , Message response); void getPreferredNetworkType(Message response); void getNeighboringCids(Message response); void setTTYMode(int ttyMode, Message response); void queryTTYMode(Message response); public void setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result); public void deactivateDataCall(int cid, Message result);
发表评论
-
模仿QQ好友列表的ExpandableListView实现的效果
2012-06-27 16:53 1477先是在网上找到了一个人的例子,见:http://www.cnb ... -
Phone端加心跳可能会影响写数据操作时间
2012-05-30 18:18 01.调研并确认Phone端加心跳是不是刚性需求; 2. ... -
NPG如何编译
2012-05-29 15:34 0本文介绍了如何通过源码生成NPG包的方法,请参考 1. ... -
PCTool日报
2012-05-21 18:36 0Hi,Dear All: 景山发布的新的PCTo ... -
MeSamrtImageViewActivity
2012-05-18 17:19 0url = "http://10.0.2.2: ... -
public boolean createReflectedImages() 2
2012-05-18 09:39 0LinearGradient shader = new ... -
public boolean createReflectedImages() 1
2012-05-18 09:39 0final int reflectionGap = 4; ... -
main.xml
2012-05-17 18:34 0<?xml version="1.0&q ... -
product_big_pic_gallery.xml
2012-05-17 18:33 0<?xml version="1.0&q ... -
product_big_pic_item.xml
2012-05-17 18:33 0<?xml version="1.0&q ... -
ProductPicShowActivity 2
2012-05-17 18:32 0public class ProductPicAdapt ... -
ProductPicShowActivity 1
2012-05-17 18:32 0public class ProductPicShowA ... -
PicGallery
2012-05-17 18:31 0化解中有 -
MyGallery3
2012-05-17 18:31 0private void transformImageB ... -
MyGallery 2
2012-05-17 18:30 0@Override protected ... -
MyGallery 1
2012-05-17 18:30 0public class MyGallery exten ... -
MainActivit
2012-05-17 18:28 0package com.lzx; import ... -
xzcvxc
2012-05-03 17:42 0xcxd -
beifen
2012-05-03 09:43 0beifen -
Hi Zhixian
2012-03-28 13:25 751登陆方式为: username:TD_ ...
相关推荐
在短信流程中,Ril.java的processSolicited()方法会将短信请求传递给CommandsInterface.java的sendSms()方法,该方法会将短信请求传递给BaseCommands.java的sendSms()方法,该方法会将短信请求传递给PhoneBase.java...
因此,我们需要在`CommandsInterface`接口(位于`frameworks\base\telephony\java\com\android\internal\telephony\commandsinterface.java`)中添加对应的方法,如`getIMSI(String aid, Message result)`。...
* DataConnectionTracker.trySetupData→setupData→PdpConnection.connect→CommandsInterface.setupDefaultPDP * setupDefaultPDP 的结果由 EVENT_SETUP_PDP_DONE 返回,如果成功,则开始调用 pppd 完成实际连接 *...
- **1.3.1.1 CommandsInterface:** Android 提供了一个 `CommandsInterface` 接口用于上层与底层通信,其具体实现为 `RIL.java`。 - **1.3.2 Riljava:** `RIL.java` 初始化时的主要任务包括: - 创建 `...
GSMPhone的setCallWaiting()方法进一步调用了CommandsInterface的setCallWaiting(),CommandsInterface同样是一个接口,由RIL.java中的RIL类实现。RIL的setCallWaiting()方法创建了一个RILRequest对象,并通过RIL_...
这里,`CommandsInterface.setupDefaultPDP`在GSMPhone的RIL(Radio Interface Layer)层被调用,RIL是Android与无线调制解调器通信的接口。当`EVENT_SETUP_PDP_DONE`事件返回成功,实际的连接过程通过`DataLink....
4. **CommandsInterface.setupDefaultPDP**:通过**PdpConnection**访问GSMPhone中的RIL(Radio Interface Layer)层,实现PDP的设置。 5. **EVENT_SETUP_PDP_DONE**:当**setupDefaultPDP**成功执行后,会通过此事件...
- `CommandsInterface.setupDefaultPDP` 其中,`PdpConnection`通过访问`GSMPhone`内的RIL(Radio Interface Layer)层的`setupDefaultPDP`方法实现PDP连接的建立。一旦`setupDefaultPDP`操作成功,通过`EVENT_SETUP_...