Searched refs:targetSdkVersion (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/os/
H A DWrapperInit.java62 int targetSdkVersion = Integer.parseInt(args[1], 10);
84 RuntimeInit.wrapperInit(targetSdkVersion, runtimeArgs);
96 * @param targetSdkVersion The target SDK version for the app.
101 int targetSdkVersion, FileDescriptor pipeFd, String[] args) {
110 command.append(targetSdkVersion);
100 execApplication(String invokeWith, String niceName, int targetSdkVersion, FileDescriptor pipeFd, String[] args) argument
H A DRuntimeInit.java250 * @param targetSdkVersion target SDK version
253 public static final void zygoteInit(int targetSdkVersion, String[] argv) argument
262 applicationInit(targetSdkVersion, argv);
273 * @param targetSdkVersion target SDK version
276 public static void wrapperInit(int targetSdkVersion, String[] argv) argument
280 applicationInit(targetSdkVersion, argv);
283 private static void applicationInit(int targetSdkVersion, String[] argv) argument
295 VMRuntime.getRuntime().setTargetSdkVersion(targetSdkVersion);
H A DZygoteConnection.java338 int targetSdkVersion; field in class:ZygoteConnection.Arguments
416 targetSdkVersion = Integer.parseInt(
837 parsedArgs.niceName, parsedArgs.targetSdkVersion,
840 RuntimeInit.zygoteInit(parsedArgs.targetSdkVersion,
H A DZygoteInit.java458 parsedArgs.niceName, parsedArgs.targetSdkVersion,
464 RuntimeInit.zygoteInit(parsedArgs.targetSdkVersion, parsedArgs.remainingArgs);
/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java55 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion;
82 return mContext.getApplicationInfo().targetSdkVersion <
/frameworks/base/core/java/android/content/pm/
H A DApplicationInfo.java421 public int targetSdkVersion; field in class:ApplicationInfo
471 pw.println(prefix + "enabled=" + enabled + " targetSdkVersion=" + targetSdkVersion);
537 targetSdkVersion = orig.targetSdkVersion;
575 dest.writeInt(targetSdkVersion);
613 targetSdkVersion = source.readInt();
H A DActivityInfo.java409 return applicationInfo.targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB_MR2
H A DPackageParser.java1146 pkg.applicationInfo.targetSdkVersion
1149 pkg.applicationInfo.targetSdkVersion = targetVers;
1297 if (pkg.applicationInfo.targetSdkVersion >= npi.sdkVersion) {
1321 if (pkg.applicationInfo.targetSdkVersion >= spi.targetSdk
1335 && pkg.applicationInfo.targetSdkVersion
1343 && pkg.applicationInfo.targetSdkVersion
1348 && pkg.applicationInfo.targetSdkVersion
1353 && pkg.applicationInfo.targetSdkVersion
1358 && pkg.applicationInfo.targetSdkVersion
1756 owner.applicationInfo.targetSdkVersion >
[all...]
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java66 getApplicationInfo().targetSdkVersion);
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java800 int targetSdkVersion = getSdkVersion();
813 if (targetSdkVersion < android.os.Build.VERSION_CODES.JELLY_BEAN) {
891 int targetSdkVersion = getSdkVersion();
904 if (targetSdkVersion < android.os.Build.VERSION_CODES.JELLY_BEAN) {
954 int targetSdkVersion = getSdkVersion();
967 if (targetSdkVersion < android.os.Build.VERSION_CODES.JELLY_BEAN) {
1252 return mContext.getApplicationInfo().targetSdkVersion;
/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java301 * @param targetSdkVersion The API version number that the compatible
304 public final void makeCompatible(int targetSdkVersion) { argument
305 if (targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB) {
/frameworks/base/core/java/android/os/
H A DProcess.java361 * @param targetSdkVersion The target SDK version for the app.
372 int debugFlags, int targetSdkVersion,
376 debugFlags, targetSdkVersion, zygoteArgs);
538 * @param targetSdkVersion The target SDK version for the app.
547 int debugFlags, int targetSdkVersion,
573 argsForZygote.add("--target-sdk-version=" + targetSdkVersion);
369 start(final String processClass, final String niceName, int uid, int gid, int[] gids, int debugFlags, int targetSdkVersion, String[] zygoteArgs) argument
543 startViaZygote(final String processClass, final String niceName, final int uid, final int gid, final int[] gids, int debugFlags, int targetSdkVersion, String[] extraArgs) argument
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DLayoutInsetsTest.java56 //getApplicationInfo().targetSdkVersion = Build.VERSION_CODES.ICE_CREAM_SANDWICH;
57 getApplicationInfo().targetSdkVersion = Build.VERSION_CODES.JELLY_BEAN;
/frameworks/base/core/java/android/app/
H A DService.java698 mStartCompatibility = getApplicationInfo().targetSdkVersion
H A DContextImpl.java384 outerContext.getApplicationInfo().targetSdkVersion,
559 getOuterContext().getApplicationInfo().targetSdkVersion);
621 getApplicationInfo().targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB) {
1199 && mPackageInfo.getApplicationInfo().targetSdkVersion
H A DActivity.java2045 if (getApplicationInfo().targetSdkVersion
2127 if (getApplicationInfo().targetSdkVersion
5049 if (getApplicationInfo().targetSdkVersion
5108 if (!mCalled && getApplicationInfo().targetSdkVersion
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScriptGL.java182 int sdkVersion = ctx.getApplicationInfo().targetSdkVersion;
/frameworks/base/core/java/android/widget/
H A DTabHost.java550 if (context.getApplicationInfo().targetSdkVersion <= Build.VERSION_CODES.DONUT) {
595 if (context.getApplicationInfo().targetSdkVersion <= Build.VERSION_CODES.DONUT) {
H A DScroller.java118 context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB);
H A DTabWidget.java123 if (context.getApplicationInfo().targetSdkVersion <= Build.VERSION_CODES.DONUT) {
/frameworks/base/core/java/android/content/res/
H A DResources.java121 public static int selectDefaultTheme(int curTheme, int targetSdkVersion) { argument
122 return selectSystemTheme(curTheme, targetSdkVersion,
129 public static int selectSystemTheme(int curTheme, int targetSdkVersion, argument
134 if (targetSdkVersion < Build.VERSION_CODES.HONEYCOMB) {
137 if (targetSdkVersion < Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodWrapper.java106 mTargetSdkVersion = context.getApplicationInfo().targetSdkVersion;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java125 * @param targetSdkVersion the targetSdkVersion of the application.
131 int targetSdkVersion) {
142 mApplicationInfo.targetSdkVersion = targetSdkVersion;
127 BridgeContext(Object projectKey, DisplayMetrics metrics, RenderResources renderResources, IProjectCallback projectCallback, Configuration config, int targetSdkVersion) argument
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java163 if (appInfo.targetSdkVersion >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java90 if (context.getApplicationInfo().targetSdkVersion >=

Completed in 3749 milliseconds

12