Searched refs:cid (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java83 public static String createSdDir(long sizeBytes, String cid, String sdEncKey, int uid, argument
93 int rc = mountService.createSecureContainer(cid, sizeMb, "ext4", sdEncKey, uid,
96 Log.e(TAG, "Failed to create secure container " + cid);
99 String cachePath = mountService.getSecureContainerPath(cid);
100 if (localLOGV) Log.i(TAG, "Created secure container " + cid +
109 public static boolean resizeSdDir(long sizeBytes, String cid, String sdEncKey) { argument
114 int rc = mountService.resizeSecureContainer(cid, sizeMb, sdEncKey);
121 Log.e(TAG, "Failed to create secure container " + cid);
125 public static String mountSdDir(String cid, String key, int ownerUid) { argument
126 return mountSdDir(cid, ke
129 mountSdDir(String cid, String key, int ownerUid, boolean readOnly) argument
143 unMountSdDir(String cid) argument
173 getSdDir(String cid) argument
183 getSdFilesystem(String cid) argument
193 finalizeSdDir(String cid) argument
208 destroySdDir(String cid) argument
234 isContainerMounted(String cid) argument
322 fixSdPermissions(String cid, int gid, String filename) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DCellIdentityWcdma.java57 * @param cid 28-bit UMTS Cell Identity
62 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc) { argument
66 mCid = cid;
70 private CellIdentityWcdma(CellIdentityWcdma cid) { argument
71 mMcc = cid.mMcc;
72 mMnc = cid.mMnc;
73 mLac = cid.mLac;
74 mCid = cid.mCid;
75 mPsc = cid.mPsc;
H A DCellIdentityGsm.java54 * @param cid 16-bit GSM Cell Identity or 28-bit UMTS Cell Identity
58 public CellIdentityGsm (int mcc, int mnc, int lac, int cid) { argument
62 mCid = cid;
65 private CellIdentityGsm(CellIdentityGsm cid) { argument
66 mMcc = cid.mMcc;
67 mMnc = cid.mMnc;
68 mLac = cid.mLac;
69 mCid = cid.mCid;
H A DCellIdentityCdma.java83 private CellIdentityCdma(CellIdentityCdma cid) { argument
84 mNetworkId = cid.mNetworkId;
85 mSystemId = cid.mSystemId;
86 mBasestationId = cid.mBasestationId;
87 mLongitude = cid.mLongitude;
88 mLatitude = cid.mLatitude;
H A DCellIdentityLte.java71 private CellIdentityLte(CellIdentityLte cid) { argument
72 mMcc = cid.mMcc;
73 mMnc = cid.mMnc;
74 mCi = cid.mCi;
75 mPci = cid.mPci;
76 mTac = cid.mTac;
H A DCellInfoLte.java53 public void setCellIdentity(CellIdentityLte cid) { argument
54 if (DBG) log("setCellIdentity: " + cid);
55 mCellIdentityLte = cid;
H A DNeighboringCellInfo.java89 * Initialize the object from rssi and cid.
98 public NeighboringCellInfo(int rssi, int cid) { argument
100 mCid = cid;
236 * @deprecated cid value passed as in location parameter passed to constructor
240 public void setCid(int cid) { argument
241 mCid = cid;
H A DCellInfoCdma.java52 public void setCellIdentity(CellIdentityCdma cid) { argument
53 mCellIdentityCdma = cid;
H A DCellInfoGsm.java52 public void setCellIdentity(CellIdentityGsm cid) { argument
53 mCellIdentityGsm = cid;
H A DCellInfoWcdma.java52 public void setCellIdentity(CellIdentityWcdma cid) { argument
53 mCellIdentityWcdma = cid;
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsCbLocation.java62 public SmsCbLocation(String plmn, int lac, int cid) { argument
65 mCid = cid;
147 * @param cid the Cell ID to compare with
150 public boolean isInLocationArea(String plmn, int lac, int cid) { argument
159 if (mCid != -1 && mCid != cid) {
H A DCellBroadcastMessage.java159 int cid;
162 cid = cursor.getInt(cidColumn);
164 cid = -1;
167 SmsCbLocation location = new SmsCbLocation(plmn, lac, cid);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCellBroadcastHandler.java114 int cid = -1;
122 cid = cellLocation.getCid();
133 location = new SmsCbLocation(plmn, lac, cid);
185 if (!info.matchesLocation(plmn, lac, cid)) {
238 * @param cid the current Cell ID
241 public boolean matchesLocation(String plmn, int lac, int cid) { argument
242 return mLocation.isInLocationArea(plmn, lac, cid);
H A DGsmServiceStateTracker.java354 int cid = -1;
361 cid = Integer.parseInt(states[2], 16);
367 mCellLoc.setLacAndCid(lac, cid);
714 int cid = -1;
727 cid = Integer.parseInt(states[2], 16);
762 mNewCellLoc.setLacAndCid(lac, cid);
1055 int cid = -1;
1057 if (loc != null) cid = loc.getCid();
1062 EventLog.writeEvent(EventLogTags.GSM_RAT_SWITCHED_NEW, cid,
1070 mNewSS.getRilVoiceRadioTechnology()) + " at cell " + cid);
[all...]
/frameworks/base/telephony/java/android/telephony/gsm/
H A DGsmCellLocation.java44 mCid = bundle.getInt("cid", mCid);
84 public void setLacAndCid(int lac, int cid) { argument
86 mCid = cid;
143 m.putInt("cid", mCid);
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduBody.java154 * @param cid the value of content id.
157 public PduPart getPartByContentId(String cid) { argument
158 return mPartMapByContentId.get(cid);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerSession.java823 private static void resizeContainer(String cid, long targetSize) argument
825 String path = PackageHelper.getSdDir(cid);
828 "Failed to find mounted " + cid);
838 if (!PackageHelper.unMountSdDir(cid)) {
840 "Failed to unmount " + cid + " before resize");
843 if (!PackageHelper.resizeSdDir(targetSize, cid,
846 "Failed to resize " + cid + " to " + targetSize + " bytes");
849 path = PackageHelper.mountSdDir(cid, PackageManagerService.getEncryptKey(),
853 "Failed to mount " + cid + " after resize");
857 private void finalizeAndFixContainer(String cid) throw argument
[all...]
H A DPackageInstallerService.java244 for (String cid : PackageHelper.getSecureContainerList()) {
245 if (isStageName(cid)) {
246 unclaimed.add(cid);
253 final String cid = session.stageCid;
255 if (unclaimed.remove(cid)) {
257 PackageHelper.mountSdDir(cid, PackageManagerService.getEncryptKey(),
263 for (String cid : unclaimed) {
264 Slog.w(TAG, "Deleting orphan container " + cid);
265 PackageHelper.destroySdDir(cid);
705 throw new IOException("Failed to create session cid
[all...]
H A DPackageManagerService.java8843 final String cid; field in class:PackageManagerService.OriginInfo
8846 * Flag indicating that {@link #file} or {@link #cid} has already been
8853 * Flag indicating that {@link #file} or {@link #cid} is an already
8877 static OriginInfo fromStagedContainer(String cid) { argument
8878 return new OriginInfo(null, cid, true, false);
8881 private OriginInfo(File file, String cid, boolean staged, boolean existing) { argument
8883 this.cid = cid;
8887 if (cid != null) {
8888 resolvedPath = PackageHelper.getSdDir(cid);
9651 isAsecExternal(String cid) argument
9685 String cid; field in class:PackageManagerService.AsecInstallArgs
9717 AsecInstallArgs(String cid, String[] instructionSets, boolean isForwardLocked) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcController.java197 // Create hashmap of cid to DataCallResponse
201 dataCallResponseListByCid.put(dcs.cid, dcs);
224 DataConnection dc = mDcListActiveByCid.get(newState.cid);
236 if (DBG) log("onDataStateChanged: Found ConnId=" + newState.cid
H A DDataCallResponse.java43 public int cid = 0; field in class:DataCallResponse
84 .append(" cid=").append(cid)
H A DDcTracker.java1374 * @param cid Connection id provided from RIL.
1375 * @return DataConnectionAc associated with specified cid.
1377 private DcAsyncChannel findDataConnectionAcByCid(int cid) { argument
1379 if (dcac.getCidSync() == cid) {
1975 int cid = getCellLocationId();
1977 cause.ordinal(), cid, TelephonyManager.getDefault().getNetworkType());
2736 int cid = -1;
2741 cid = ((GsmCellLocation)loc).getCid();
2743 cid = ((CdmaCellLocation)loc).getBaseStationId();
2746 return cid;
[all...]
H A DDataConnection.java514 response.cid = 0;
782 mCid = response.cid;
1129 int cid = getCid();
1130 if (VDBG) log("REQ_GET_CID cid=" + cid);
1131 mAc.replyToMessage(msg, DcAsyncChannel.RSP_GET_CID, cid);
1305 // Remove ourselves from cid mapping, before clearSettings
1393 // Remove ourselves from cid mapping
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCommandInterface.java264 public void deactivateDataCall(int cid, int reason, Message result) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java265 public void deactivateDataCall(int cid, int reason, Message result) { argument

Completed in 456 milliseconds

12