Searched refs:fileName (Results 1 – 10 of 10) sorted by relevance
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/ |
D | JsonUtils.java | 37 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/ |
D | Item.java | 52 Item (String name, String author, String fileName) { in Item() argument 55 mFileName = fileName; in Item()
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | RSSPullParser.java | 145 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/ |
D | ApkCheck.java | 160 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/ |
D | RmTypeDefsTest.java | 220 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/ |
D | MonkeySourceRandomScript.java | 63 for (String fileName: scriptFileNames) { in MonkeySourceRandomScript() 64 mScriptSources.add(new MonkeySourceScript(random, fileName, throttle, in MonkeySourceRandomScript()
|
D | Monkey.java | 892 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/ |
D | JNIHelper.cpp | 107 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/ |
D | MmsMessagingDemo.java | 161 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/ |
D | RmTypeDefs.java | 179 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()
|