Home
last modified time | relevance | path

Searched refs:fh (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/cmds/rawbu/
Dbackup.cpp174 static int write_int32(FILE* fh, int32_t val) in write_int32() argument
176 int res = fwrite(&val, 1, sizeof(val), fh); in write_int32()
185 static int write_int64(FILE* fh, int64_t val) in write_int64() argument
187 int res = fwrite(&val, 1, sizeof(val), fh); in write_int64()
236 static int write_header(FILE* fh, int type, const char* path, const struct stat* st) in write_header() argument
239 if (!write_int32(fh, type)) return 0; in write_header()
240 if (!write_int32(fh, pathLen)) return 0; in write_header()
241 if (fwrite(path, 1, pathLen, fh) != (size_t)pathLen) { in write_header()
246 if (!write_int32(fh, st->st_uid)) return 0; in write_header()
247 if (!write_int32(fh, st->st_gid)) return 0; in write_header()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DRilMessageDecoder.java58 public static synchronized RilMessageDecoder getInstance(Handler caller, IccFileHandler fh, in getInstance() argument
70 mInstance[slotId] = new RilMessageDecoder(caller, fh); in getInstance()
111 private RilMessageDecoder(Handler caller, IccFileHandler fh) { in RilMessageDecoder() argument
119 mCmdParamsFactory = CommandParamsFactory.getInstance(this, fh); in RilMessageDecoder()
DIconLoader.java70 private IconLoader(Looper looper , IccFileHandler fh) { in IconLoader() argument
72 mSimFH = fh; in IconLoader()
77 static IconLoader getInstance(Handler caller, IccFileHandler fh) { in getInstance() argument
81 if (fh != null) { in getInstance()
84 return new IconLoader(sThread.getLooper(), fh); in getInstance()
DCatService.java131 Context context, IccFileHandler fh, UiccCard ic, int slotId) { in CatService() argument
132 if (ci == null || ca == null || ir == null || context == null || fh == null in CatService()
144 mMsgDecoder = RilMessageDecoder.getInstance(this, fh, slotId); in CatService()
191 IccFileHandler fh = null; in getInstance() local
199 fh = ca.getIccFileHandler(); in getInstance()
213 if (ci == null || ca == null || ir == null || context == null || fh == null in getInstance()
218 sInstance[slotId] = new CatService(ci, ca, ir, context, fh, ic, slotId); in getInstance()
DCommandParamsFactory.java86 IccFileHandler fh) { in getInstance() argument
90 if (fh != null) { in getInstance()
91 return new CommandParamsFactory(caller, fh); in getInstance()
96 private CommandParamsFactory(RilMessageDecoder caller, IccFileHandler fh) { in CommandParamsFactory() argument
98 mIconLoader = IconLoader.getInstance(this, fh); in CommandParamsFactory()
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp94 const GLfloat fh = h; in main() local
98 { 0, fh }, in main()
99 { fw, fh }, in main()
/frameworks/base/packages/MtpDocumentsProvider/jni/
Dcom_android_mtp_AppFuse.cpp271 out->data()->fh = handle; in handle_fuse_open()
281 const std::map<uint32_t, uint64_t>::iterator it = handles_.find(in->fh); in handle_fuse_read()
304 const std::map<uint32_t, uint64_t>::iterator it = handles_.find(in->fh); in handle_fuse_write()
313 in->fh, it->second, offset, size, buffer, &written_size); in handle_fuse_write()
325 handles_.erase(in->fh); in handle_fuse_release()
326 return env_->CallIntMethod(self_, app_fuse_close_file_handle, file_handle_to_jlong(in->fh)); in handle_fuse_release()
332 return env_->CallIntMethod(self_, app_fuse_flush_file_handle, file_handle_to_jlong(in->fh)); in handle_fuse_flush()
/frameworks/native/opengl/tests/linetex/
Dlinetex.cpp83 const GLfloat fh = h; in main() local
87 { fw2, fh } in main()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccSmsInterfaceManager.java142 IccFileHandler fh = mPhone.getIccFileHandler(); in markMessagesAsRead() local
143 if (fh == null) { in markMessagesAsRead()
161 fh.updateEFLinearFixed(IccConstants.EF_SMS, i + 1, record, null, null); in markMessagesAsRead()
219 IccFileHandler fh = mPhone.getIccFileHandler(); in updateMessageOnIccEf() local
220 if (fh == null) { in updateMessageOnIccEf()
225 fh.updateEFLinearFixed( in updateMessageOnIccEf()
297 IccFileHandler fh = mPhone.getIccFileHandler(); in getAllMessagesFromIccEf() local
298 if (fh == null) { in getAllMessagesFromIccEf()
305 fh.loadEFLinearFixedAll(IccConstants.EF_SMS, response); in getAllMessagesFromIccEf()
DIccPhoneBookInterfaceManager.java265 IccFileHandler fh = mPhone.getIccFileHandler(); in getAdnRecordsSize() local
266 if (fh != null) { in getAdnRecordsSize()
267 fh.getEFLinearRecordSize(efid, response); in getAdnRecordsSize()
DPhone.java1473 IccFileHandler fh; in getIccFileHandler() local
1477 fh = null; in getIccFileHandler()
1479 fh = uiccApplication.getIccFileHandler(); in getIccFileHandler()
1482 Rlog.d(LOG_TAG, "getIccFileHandler: fh=" + fh); in getIccFileHandler()
1483 return fh; in getIccFileHandler()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecordLoader.java62 AdnRecordLoader(IccFileHandler fh) { in AdnRecordLoader() argument
66 mFh = fh; in AdnRecordLoader()
DAdnRecordCache.java58 AdnRecordCache(IccFileHandler fh) { in AdnRecordCache() argument
59 mFh = fh; in AdnRecordCache()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimPhoneBookManager.java110 public UsimPhoneBookManager(IccFileHandler fh, AdnRecordCache cache) { in UsimPhoneBookManager() argument
111 mFh = fh; in UsimPhoneBookManager()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java792 final int fh = mFrame.height(); in computeFrameLw() local
922 if (mIsWallpaper && (fw != mFrame.width() || fh != mFrame.height())) { in computeFrameLw()
/frameworks/base/core/res/assets/webkit/
Dhyph_en_US.dic1849 4fh