Searched refs:fh (Results 1 - 14 of 14) sorted by relevance

/frameworks/native/cmds/rawbu/
H A Dbackup.cpp174 static int write_int32(FILE* fh, int32_t val) argument
176 int res = fwrite(&val, 1, sizeof(val), fh);
185 static int write_int64(FILE* fh, int64_t val) argument
187 int res = fwrite(&val, 1, sizeof(val), fh);
236 static int write_header(FILE* fh, int type, const char* path, const struct stat* st) argument
239 if (!write_int32(fh, type)) return 0;
240 if (!write_int32(fh, pathLen)) return 0;
241 if (fwrite(path, 1, pathLen, fh) != (size_t)pathLen) {
246 if (!write_int32(fh, st->st_uid)) return 0;
247 if (!write_int32(fh, s
256 backup_dir(FILE* fh, const char* srcPath) argument
377 FILE* fh = fopen(destPath, "w"); local
416 read_int32(FILE* fh, int32_t defVal) argument
427 read_int64(FILE* fh, int64_t defVal) argument
438 read_header(FILE* fh, int* type, char** path, struct stat* st) argument
507 FILE* fh = fopen(srcPath, "r"); local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DRuimPhoneBookInterfaceManager.java67 IccFileHandler fh = mPhone.getIccFileHandler();
69 if (fh != null) {
70 fh.getEFLinearRecordSize(efid, response);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSimPhoneBookInterfaceManager.java67 IccFileHandler fh = mPhone.getIccFileHandler();
68 if (fh != null) {
69 fh.getEFLinearRecordSize(efid, response);
H A DUsimPhoneBookManager.java77 public UsimPhoneBookManager(IccFileHandler fh, AdnRecordCache cache) { argument
78 mFh = fh;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DRilMessageDecoder.java51 * @param fh
54 public static synchronized RilMessageDecoder getInstance(Handler caller, IccFileHandler fh) { argument
56 sInstance = new RilMessageDecoder(caller, fh);
93 private RilMessageDecoder(Handler caller, IccFileHandler fh) { argument
101 mCmdParamsFactory = CommandParamsFactory.getInstance(this, fh);
H A DIconLoader.java69 private IconLoader(Looper looper , IccFileHandler fh) { argument
71 mSimFH = fh;
76 static IconLoader getInstance(Handler caller, IccFileHandler fh) { argument
80 if (fh != null) {
83 return new IconLoader(thread.getLooper(), fh);
H A DCatService.java107 Context context, IccFileHandler fh, UiccCard ic) {
108 if (ci == null || ca == null || ir == null || context == null || fh == null
117 mMsgDecoder = RilMessageDecoder.getInstance(this, fh);
537 IccFileHandler fh = null;
545 fh = ca.getIccFileHandler();
551 if (ci == null || ca == null || ir == null || context == null || fh == null
557 sInstance = new CatService(ci, ca, ir, context, fh, ic);
106 CatService(CommandsInterface ci, UiccCardApplication ca, IccRecords ir, Context context, IccFileHandler fh, UiccCard ic) argument
H A DCommandParamsFactory.java60 IccFileHandler fh) {
64 if (fh != null) {
65 return new CommandParamsFactory(caller, fh);
70 private CommandParamsFactory(RilMessageDecoder caller, IccFileHandler fh) { argument
72 mIconLoader = IconLoader.getInstance(this, fh);
59 getInstance(RilMessageDecoder caller, IccFileHandler fh) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java271 final float fh = getFullHeight();
278 braking = mExpandedHeight >= (fh-mExpandBrakingDistancePx);
303 if (mRubberbanding && h < fh) {
304 h = fh;
315 || ((mRubberbanding || !mClosing) && mExpandedHeight == fh)) {
572 if (DEBUG) logf("onLayout: changed=%s, bottom=%d eh=%d fh=%d", changed?"T":"f", bottom, (int)mExpandedHeight, mFullHeight);
586 float fh = getFullHeight();
587 if (fh == 0) {
592 if (!(mRubberbandingEnabled && (mTracking || mRubberbanding)) && h > fh) h = fh;
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccSmsInterfaceManager.java134 IccFileHandler fh = mPhone.getIccFileHandler();
135 if (fh == null) {
153 fh.updateEFLinearFixed(IccConstants.EF_SMS, i + 1, record, null, null);
211 IccFileHandler fh = mPhone.getIccFileHandler();
212 if (fh == null) {
217 fh.updateEFLinearFixed(
290 IccFileHandler fh = mPhone.getIccFileHandler();
291 if (fh == null) {
300 fh.loadEFLinearFixedAll(IccConstants.EF_SMS, response);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecordCache.java58 AdnRecordCache(IccFileHandler fh) { argument
59 mFh = fh;
H A DAdnRecordLoader.java60 AdnRecordLoader(IccFileHandler fh) { argument
64 mFh = fh;
/frameworks/base/services/java/com/android/server/wm/
H A DWindowState.java531 final int fh = mFrame.height();
595 if (mIsWallpaper && (fw != mFrame.width() || fh != mFrame.height())) {
H A DWindowManagerService.java5670 int fh = frame.height();
5674 scale = Math.max(width / (float) fw, height / (float) fh);
5677 float targetHeightScale = height / (float) fh;
5678 if (fw <= fh) {
5689 if (targetWidthScale > scale && (int) (targetWidthScale * fh) == height) {

Completed in 281 milliseconds