Searched refs:getParentFileNOrLast (Results 1 – 1 of 1) sorted by relevance
72 String parentFileName = getParentFileNOrLast(dx, 1).getName(); in createAndroidSdk()108 boolean dxSdkPathValid = "build-tools".equals(getParentFileNOrLast(dx, 2).getName()); in createAndroidSdk()110 "platform-tools".equals(getParentFileNOrLast(adb, 1).getName()); in createAndroidSdk()112 File sdkRoot = dxSdkPathValid ? getParentFileNOrLast(dx, 3) // if dx path invalid then in createAndroidSdk()113 : getParentFileNOrLast(adb, 2); // adb must be valid. in createAndroidSdk()178 private static File getParentFileNOrLast(File f, int n) { in getParentFileNOrLast() method in AndroidSdk