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

/frameworks/base/cmds/rawbu/
H A Dbackup.cpp169 static int write_int32(FILE* fh, int32_t val) argument
171 int res = fwrite(&val, 1, sizeof(val), fh);
180 static int write_int64(FILE* fh, int64_t val) argument
182 int res = fwrite(&val, 1, sizeof(val), fh);
231 static int write_header(FILE* fh, int type, const char* path, const struct stat* st) argument
234 if (!write_int32(fh, type)) return 0;
235 if (!write_int32(fh, pathLen)) return 0;
236 if (fwrite(path, 1, pathLen, fh) != (size_t)pathLen) {
241 if (!write_int32(fh, st->st_uid)) return 0;
242 if (!write_int32(fh, s
251 backup_dir(FILE* fh, const char* srcPath) argument
367 FILE* fh = fopen(destPath, "w"); local
403 read_int32(FILE* fh, int32_t defVal) argument
414 read_int64(FILE* fh, int64_t defVal) argument
425 read_header(FILE* fh, int* type, char** path, struct stat* st) argument
494 FILE* fh = fopen(srcPath, "r"); local
[all...]
/frameworks/base/telephony/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.java71 private IconLoader(Looper looper , IccFileHandler fh) { argument
73 mSimFH = fh;
78 static IconLoader getInstance(Handler caller, IccFileHandler fh) { argument
82 if (fh != null) {
85 return new IconLoader(thread.getLooper(), fh);
H A DCatService.java105 IccFileHandler fh, IccCard ic) {
106 if (ci == null || ir == null || context == null || fh == null
115 mMsgDecoder = RilMessageDecoder.getInstance(this, fh);
554 * @param fh Icc file handler
559 Context context, IccFileHandler fh, IccCard ic) {
562 if (ci == null || ir == null || context == null || fh == null
568 sInstance = new CatService(ci, ir, context, fh, ic);
104 CatService(CommandsInterface ci, IccRecords ir, Context context, IccFileHandler fh, IccCard ic) argument
558 getInstance(CommandsInterface ci, IccRecords ir, Context context, IccFileHandler fh, IccCard 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/services/java/com/android/server/wm/
H A DWindowState.java458 final int fh = frame.height();
517 if (mIsWallpaper && (fw != frame.width() || fh != frame.height())) {
H A DWindowManagerService.java5144 int fh = frame.height();
5149 float targetHeightScale = height / (float) fh;
5161 if (targetWidthScale > scale && (int) (targetWidthScale * fh) == height) {

Completed in 236 milliseconds