Searched refs:fname (Results 1 - 24 of 24) sorted by relevance

/frameworks/native/opengl/tools/glgen/src/
H A DCodeEmitter.java21 void addNativeRegistration(String fname); argument
H A DCFunc.java24 String fname; field in class:CFunc
41 public void setName(String fname) { argument
42 this.fname = fname;
46 return fname;
108 String s = "Function " + fname + " returns " + ftype + ": ";
131 String fname = tokens[i++];
132 if (fname.equals("*")) {
134 fname = tokens[i++];
137 cfunc.setName(fname);
[all...]
H A DJFunc.java26 String fname; field in class:JFunc
44 public void setName(String fname) { argument
45 this.fname = fname;
49 return fname;
159 String s = "Function " + fname + " returns " + ftype + ": ";
H A DGenerateGL.java48 String fname = cfunc.getName();
49 File f = new File("stubs/jsr239/" + fname +
52 System.out.println("Special-casing function " + fname);
53 copy("stubs/jsr239/" + fname +
55 copy("stubs/jsr239/" + fname + ".java-impl", glImplStream);
56 copy("stubs/jsr239/" + fname + ".cpp", cStream);
60 String filename = "stubs/jsr239/" + fname + ".nativeReg";
H A DGenerateEGL.java46 String fname = cfunc.getName();
47 String stubRoot = "stubs/egl/" + fname;
51 System.out.println("Special-casing function " + fname);
H A DGenerateGLES.java45 String fname = cfunc.getName();
46 String stubRoot = "stubs/gles11/" + fname;
50 System.out.println("Special-casing function " + fname);
H A DJniCodeEmitter.java631 String fname = jfunc.getName();
634 if (fname.equals("glColorPointer")) {
642 } else if (fname.equals("glNormalPointer")) {
650 } else if (fname.equals("glTexCoordPointer")) {
661 } else if (fname.equals("glVertexPointer")) {
672 } else if (fname.equals("glPointSizePointerOES")) {
678 } else if (fname.equals("glMatrixIndexPointerOES")) {
689 } else if (fname.equals("glWeightPointer")) {
/frameworks/layoutlib/bridge/src/android/app/
H A DFragment_Delegate.java53 /*package*/ static Fragment instantiate(Context context, String fname) { argument
54 return instantiate(context, fname, null);
63 * @param fname The class name of the fragment to instantiate.
72 /*package*/ static Fragment instantiate(Context context, String fname, Bundle args) { argument
75 Fragment f = (Fragment) sLayoutlibCallback.loadView(fname,
87 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname
91 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname
95 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname
99 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname
/frameworks/native/opengl/libs/EGL/
H A DFileBlobCache.cpp121 const char* fname = mFilename.c_str(); local
125 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0);
129 if (unlink(fname) == -1) {
131 ALOGE("error unlinking cache file %s: %s (%d)", fname,
136 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0);
139 ALOGE("error creating cache file %s: %s (%d)", fname,
152 unlink(fname);
162 unlink(fname);
176 unlink(fname);
/frameworks/ml/nn/driver/cache/nnCache/
H A DnnCache.cpp168 const char* fname = mFilename.c_str(); local
172 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0);
176 if (unlink(fname) == -1) {
178 ALOGE("error unlinking cache file %s: %s (%d)", fname,
183 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0);
186 ALOGE("error creating cache file %s: %s (%d)", fname,
199 unlink(fname);
209 unlink(fname);
223 unlink(fname);
/frameworks/native/opengl/tools/glgen2/
H A Dglgen.py124 rtype, fname = parseProto(cmd.elem.find('proto'))
130 % (rtype, overrideSymbolName(fname, self.genOpts.apiname),
131 fmtParams(params), call, fname,
150 rtype, fname = parseProto(cmd.elem.find('proto'))
152 self.cmds.append({'rtype': rtype, 'name': fname, 'params': params})
217 rtype, fname = parseProto(cmd.elem.find('proto'))
220 print('%s %s ( %s )' % (rtype, fname, fmtParams(params)),
/frameworks/base/services/core/java/com/android/server/pm/
H A DAbstractStatsBase.java59 File fname = new File(systemDir, mFileName);
60 return new AtomicFile(fname);
H A DPackageManagerServiceUtils.java319 File fname = new File(systemDir, "uiderrors.txt");
320 return fname;
352 File fname = getSettingsProblemFile();
353 FileOutputStream out = new FileOutputStream(fname, true);
360 fname.toString(),
/frameworks/native/opengl/tools/glgen2/registry/
H A Dreg.py674 # lookupElementInfo(fname,dictionary) - lookup feature info in dict
724 # fname - name of type / enum / command
726 def lookupElementInfo(self, fname, dictionary):
727 key = (fname, self.genOpts.apiname)
729 # self.gen.logMsg('diag', 'Found API-specific element for feature', fname)
731 elif (fname in dictionary):
732 # self.gen.logMsg('diag', 'Found generic element for feature', fname)
733 return dictionary[fname]
909 # fname - name of feature (<type>/<enum>/<command>
913 def generateFeature(self, fname, ftyp
[all...]
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragment.java404 public static Fragment instantiate(Context context, String fname) { argument
405 return instantiate(context, fname, null);
414 * @param fname The class name of the fragment to instantiate.
422 public static Fragment instantiate(Context context, String fname, @Nullable Bundle args) { argument
424 Class<?> clazz = sClassMap.get(fname);
427 clazz = context.getClassLoader().loadClass(fname);
428 sClassMap.put(fname, clazz);
437 throw new InstantiationException("Unable to instantiate fragment " + fname
441 throw new InstantiationException("Unable to instantiate fragment " + fname
445 throw new InstantiationException("Unable to instantiate fragment " + fname
465 isSupportFragmentClass(Context context, String fname) argument
[all...]
H A DFragmentManager.java3698 String fname = attrs.getAttributeValue(null, "class");
3700 if (fname == null) {
3701 fname = a.getString(FragmentTag.Fragment_name);
3707 if (!Fragment.isSupportFragmentClass(mHost.getContext(), fname)) {
3716 + ": Must specify unique android:id, android:tag, or have a parent with an id for " + fname);
3731 + Integer.toHexString(id) + " fname=" + fname
3734 fragment = mContainer.instantiate(context, fname, null);
3751 + " with another fragment for " + fname);
3776 throw new IllegalStateException("Fragment " + fname
[all...]
/frameworks/base/core/java/android/app/
H A DFragment.java501 public static Fragment instantiate(Context context, String fname) { argument
502 return instantiate(context, fname, null);
511 * @param fname The class name of the fragment to instantiate.
519 public static Fragment instantiate(Context context, String fname, @Nullable Bundle args) { argument
521 Class<?> clazz = sClassMap.get(fname);
524 clazz = context.getClassLoader().loadClass(fname);
526 throw new InstantiationException("Trying to instantiate a class " + fname
529 sClassMap.put(fname, clazz);
538 throw new InstantiationException("Unable to instantiate fragment " + fname
542 throw new InstantiationException("Unable to instantiate fragment " + fname
[all...]
H A DFragmentManager.java3515 String fname = attrs.getAttributeValue(null, "class");
3518 if (fname == null) {
3519 fname = a.getString(com.android.internal.R.styleable.Fragment_name);
3529 + " an id for " + fname);
3544 + Integer.toHexString(id) + " fname=" + fname
3547 fragment = mContainer.instantiate(context, fname, null);
3563 + " with another fragment for " + fname);
3588 throw new IllegalStateException("Fragment " + fname
/frameworks/support/frameworks/support/samples/SupportMediaDemos/src/main/java/com/example/androidx/media/
H A DVideoSelector.java272 String fname = f.getName();
275 if (fname.endsWith(".url")) {
279 newItem = new VideoItem(fname, url, false);
/frameworks/support/samples/SupportMediaDemos/src/main/java/com/example/androidx/media/
H A DVideoSelector.java272 String fname = f.getName();
275 if (fname.endsWith(".url")) {
279 newItem = new VideoItem(fname, url, false);
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHelper.java189 public void storeStatsHistoryInFile(String fname) { argument
191 File path = makeFilePath(mContext, fname);
213 public static BatteryStats statsFromFile(Context context, String fname) { argument
215 File path = makeFilePath(context, fname);
243 public static void dropFile(Context context, String fname) { argument
244 makeFilePath(context, fname).delete();
247 private static File makeFilePath(Context context, String fname) { argument
248 return new File(context.getFilesDir(), fname);
/frameworks/base/libs/androidfw/
H A DAsset.cpp677 const char* fname = mMap->getFileName(); local
678 if (fname == NULL) {
679 fname = mFileName;
681 if (fname == NULL) {
686 return open(fname, O_RDONLY | O_BINARY);
/frameworks/base/core/java/com/android/server/
H A DSystemConfig.java488 String fname = parser.getAttributeValue(null, "name");
497 if (fname == null) {
501 addFeature(fname, fversion);
507 String fname = parser.getAttributeValue(null, "name");
508 if (fname == null) {
512 mUnavailableFeatures.add(fname);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 431 milliseconds