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

12

/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java84 public static String createSdDir(long sizeBytes, String cid, String sdEncKey, int uid, argument
94 int rc = mountService.createSecureContainer(cid, sizeMb, "ext4", sdEncKey, uid,
97 Log.e(TAG, "Failed to create secure container " + cid);
100 String cachePath = mountService.getSecureContainerPath(cid);
101 if (localLOGV) Log.i(TAG, "Created secure container " + cid +
110 public static boolean resizeSdDir(long sizeBytes, String cid, String sdEncKey) { argument
115 int rc = mountService.resizeSecureContainer(cid, sizeMb, sdEncKey);
122 Log.e(TAG, "Failed to create secure container " + cid);
126 public static String mountSdDir(String cid, String key, int ownerUid) { argument
127 return mountSdDir(cid, ke
130 mountSdDir(String cid, String key, int ownerUid, boolean readOnly) argument
144 unMountSdDir(String cid) argument
174 getSdDir(String cid) argument
184 getSdFilesystem(String cid) argument
194 finalizeSdDir(String cid) argument
209 destroySdDir(String cid) argument
235 isContainerMounted(String cid) argument
323 fixSdPermissions(String cid, int gid, String filename) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DCellIdentityWcdma.java59 * @param cid 28-bit UMTS Cell Identity
64 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc) { argument
68 mCid = cid;
72 private CellIdentityWcdma(CellIdentityWcdma cid) { argument
73 mMcc = cid.mMcc;
74 mMnc = cid.mMnc;
75 mLac = cid.mLac;
76 mCid = cid.mCid;
77 mPsc = cid.mPsc;
H A DCellIdentityGsm.java56 * @param cid 16-bit GSM Cell Identity or 28-bit UMTS Cell Identity
60 public CellIdentityGsm (int mcc, int mnc, int lac, int cid) { argument
64 mCid = cid;
67 private CellIdentityGsm(CellIdentityGsm cid) { argument
68 mMcc = cid.mMcc;
69 mMnc = cid.mMnc;
70 mLac = cid.mLac;
71 mCid = cid.mCid;
H A DCellIdentityCdma.java85 private CellIdentityCdma(CellIdentityCdma cid) { argument
86 mNetworkId = cid.mNetworkId;
87 mSystemId = cid.mSystemId;
88 mBasestationId = cid.mBasestationId;
89 mLongitude = cid.mLongitude;
90 mLatitude = cid.mLatitude;
H A DCellIdentityLte.java73 private CellIdentityLte(CellIdentityLte cid) { argument
74 mMcc = cid.mMcc;
75 mMnc = cid.mMnc;
76 mCi = cid.mCi;
77 mPci = cid.mPci;
78 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.java161 int cid;
164 cid = cursor.getInt(cidColumn);
166 cid = -1;
169 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.java345 int cid = -1;
352 cid = Integer.parseInt(states[2], 16);
358 mCellLoc.setLacAndCid(lac, cid);
730 int cid = -1;
743 cid = Integer.parseInt(states[2], 16);
778 mNewCellLoc.setLacAndCid(lac, cid);
1102 int cid = -1;
1104 if (loc != null) cid = loc.getCid();
1109 EventLog.writeEvent(EventLogTags.GSM_RAT_SWITCHED_NEW, cid,
1117 mNewSS.getRilVoiceRadioTechnology()) + " at cell " + cid);
[all...]
/frameworks/base/telephony/java/android/telephony/gsm/
H A DGsmCellLocation.java44 mCid = bundle.getInt("cid", -1);
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.java902 private static void resizeContainer(String cid, long targetSize) argument
904 String path = PackageHelper.getSdDir(cid);
907 "Failed to find mounted " + cid);
917 if (!PackageHelper.unMountSdDir(cid)) {
919 "Failed to unmount " + cid + " before resize");
922 if (!PackageHelper.resizeSdDir(targetSize, cid,
925 "Failed to resize " + cid + " to " + targetSize + " bytes");
928 path = PackageHelper.mountSdDir(cid, PackageManagerService.getEncryptKey(),
932 "Failed to mount " + cid + " after resize");
936 private void finalizeAndFixContainer(String cid) throw argument
[all...]
H A DPackageInstallerService.java279 for (String cid : PackageHelper.getSecureContainerList()) {
280 if (isStageName(cid)) {
281 unclaimed.add(cid);
288 final String cid = session.stageCid;
290 if (unclaimed.remove(cid)) {
292 PackageHelper.mountSdDir(cid, PackageManagerService.getEncryptKey(),
298 for (String cid : unclaimed) {
299 Slog.w(TAG, "Deleting orphan container " + cid);
300 PackageHelper.destroySdDir(cid);
810 throw new IOException("Failed to create session cid
[all...]
H A DPackageManagerService.java10386 final String cid; field in class:PackageManagerService.OriginInfo
10389 * Flag indicating that {@link #file} or {@link #cid} has already been
10396 * Flag indicating that {@link #file} or {@link #cid} is an already
10420 static OriginInfo fromStagedContainer(String cid) { argument
10421 return new OriginInfo(null, cid, true, false);
10424 private OriginInfo(File file, String cid, boolean staged, boolean existing) { argument
10426 this.cid = cid;
10430 if (cid != null) {
10431 resolvedPath = PackageHelper.getSdDir(cid);
11219 isAsecExternal(String cid) argument
11253 String cid; field in class:PackageManagerService.AsecInstallArgs
11284 AsecInstallArgs(String cid, String[] instructionSets, boolean isForwardLocked) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataCallResponse.java43 public int cid = 0; field in class:DataCallResponse
84 .append(" cid=").append(cid)
H A DDcController.java225 // Create hashmap of cid to DataCallResponse
229 dataCallResponseListByCid.put(dcs.cid, dcs);
252 DataConnection dc = mDcListActiveByCid.get(newState.cid);
264 if (DBG) log("onDataStateChanged: Found ConnId=" + newState.cid
H A DDcTracker.java1362 * @param cid Connection id provided from RIL.
1363 * @return DataConnectionAc associated with specified cid.
1365 private DcAsyncChannel findDataConnectionAcByCid(int cid) { argument
1367 if (dcac.getCidSync() == cid) {
1972 int cid = getCellLocationId();
1974 cause.ordinal(), cid, TelephonyManager.getDefault().getNetworkType());
2748 int cid = -1;
2753 cid = ((GsmCellLocation)loc).getCid();
2755 cid = ((CdmaCellLocation)loc).getBaseStationId();
2758 return cid;
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp644 JNIEnv* /* env */, jobject /* obj */, jint type, jint mcc, jint mnc, jint lac, jint cid)
660 location.u.cellID.cid = cid;
643 android_location_GpsLocationProvider_agps_set_reference_location_cellid( JNIEnv* , jobject , jint type, jint mcc, jint mnc, jint lac, jint cid) argument
/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 427 milliseconds

12