Home
last modified time | relevance | path

Searched refs:fileName (Results 1 – 10 of 10) sorted by relevance

/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DJsonUtils.java37 public static JSONObject loadJsonFile(Context context, String fileName) throws IOException, in loadJsonFile() argument
39 InputStream is = context.getAssets().open(fileName); in loadJsonFile()
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DItem.java52 Item (String name, String author, String fileName) { in Item() argument
55 mFileName = fileName; in Item()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DRSSPullParser.java145 String fileName; in parseXml() local
177 fileName = Uri.parse(urlValue).getLastPathSegment(); in parseXml()
178 mImage.put(imageNameKey, fileName); in parseXml()
/development/tools/apkcheck/src/com/android/apkcheck/
DApkCheck.java160 static boolean parseApiDescr(ApiList apiList, String fileName) { in parseApiDescr() argument
164 FileReader fileReader = new FileReader(fileName); in parseApiDescr()
165 result = parseXml(apiList, fileReader, fileName); in parseApiDescr()
168 System.err.println("Error opening " + fileName); in parseApiDescr()
181 String fileName) { in parseXml() argument
194 System.err.println("Error parsing " + fileName + " line " + in parseXml()
197 System.err.println("Error while reading " + fileName + ": " + in parseXml()
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/
DRmTypeDefsTest.java220 String fileName = file.getName(); in list() local
222 fileName = rootName; in list()
224 sb.append(fileName); in list()
238 prefix = prefix + fileName + "/"; in list()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceRandomScript.java63 for (String fileName: scriptFileNames) { in MonkeySourceRandomScript()
64 mScriptSources.add(new MonkeySourceScript(random, fileName, throttle, in MonkeySourceRandomScript()
DMonkey.java892 private static boolean loadPackageListFromFile(String fileName, HashSet<String> list) { in loadPackageListFromFile() argument
895 reader = new BufferedReader(new FileReader(fileName)); in loadPackageListFromFile()
/development/ndk/sources/android/ndk_helper/
DJNIHelper.cpp107 bool JNIHelper::ReadFile( const char* fileName, in ReadFile() argument
127 if( fileName[0] != '/' ) in ReadFile()
131 s.append( fileName ); in ReadFile()
154 AAsset* assetFile = AAssetManager_open( assetManager, fileName, AASSET_MODE_BUFFER ); in ReadFile()
166 LOGI( "Failed to load:%s", fileName ); in ReadFile()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java161 final String fileName = "send." + String.valueOf(Math.abs(mRandom.nextLong())) + ".dat"; in sendMessage() local
162 mSendFile = new File(getCacheDir(), fileName); in sendMessage()
171 .path(fileName) in sendMessage()
216 final String fileName = "download." + String.valueOf(Math.abs(mRandom.nextLong())) + ".dat"; in downloadMessage() local
217 mDownloadFile = new File(getCacheDir(), fileName); in downloadMessage()
224 .path(fileName) in downloadMessage()
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/
DRmTypeDefs.java179 String fileName = file.getName(); in addTypeDef() local
180 int index = fileName.lastIndexOf('$'); in addTypeDef()
184 File container = new File(parentFile, fileName.substring(0, index) + ".class"); in addTypeDef()