Home
last modified time | relevance | path

Searched refs:targetSdkVersion (Results 1 – 25 of 103) sorted by relevance

12345

/frameworks/base/core/java/com/android/internal/os/
DWrapperInit.java62 int targetSdkVersion = Integer.parseInt(args[1], 10); in main() local
84 RuntimeInit.wrapperInit(targetSdkVersion, runtimeArgs); in main()
101 int targetSdkVersion, FileDescriptor pipeFd, String[] args) { in execApplication() argument
110 command.append(targetSdkVersion); in execApplication()
DRuntimeInit.java253 public static final void zygoteInit(int targetSdkVersion, String[] argv) in zygoteInit() argument
262 applicationInit(targetSdkVersion, argv); in zygoteInit()
276 public static void wrapperInit(int targetSdkVersion, String[] argv) in wrapperInit() argument
280 applicationInit(targetSdkVersion, argv); in wrapperInit()
283 private static void applicationInit(int targetSdkVersion, String[] argv) in applicationInit() argument
295 VMRuntime.getRuntime().setTargetSdkVersion(targetSdkVersion); in applicationInit()
DZygoteConnection.java326 int targetSdkVersion; field in ZygoteConnection.Arguments
408 targetSdkVersion = Integer.parseInt( in parseArgs()
902 parsedArgs.niceName, parsedArgs.targetSdkVersion, in handleChildProc()
905 RuntimeInit.zygoteInit(parsedArgs.targetSdkVersion, in handleChildProc()
DZygoteInit.java458 parsedArgs.niceName, parsedArgs.targetSdkVersion, in handleSystemServerProcess()
464 RuntimeInit.zygoteInit(parsedArgs.targetSdkVersion, parsedArgs.remainingArgs); in handleSystemServerProcess()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java443 public int targetSdkVersion; field in ApplicationInfo
496 pw.println(prefix + "enabled=" + enabled + " targetSdkVersion=" + targetSdkVersion); in dump()
563 targetSdkVersion = orig.targetSdkVersion; in ApplicationInfo()
603 dest.writeInt(targetSdkVersion); in writeToParcel()
642 targetSdkVersion = source.readInt(); in ApplicationInfo()
DActivityInfo.java477 return applicationInfo.targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB_MR2 in getRealConfigChanged()
DPackageParser.java1173 pkg.applicationInfo.targetSdkVersion in parsePackage()
1176 pkg.applicationInfo.targetSdkVersion = targetVers; in parsePackage()
1324 if (pkg.applicationInfo.targetSdkVersion >= npi.sdkVersion) { in parsePackage()
1348 if (pkg.applicationInfo.targetSdkVersion >= spi.targetSdk in parsePackage()
1362 && pkg.applicationInfo.targetSdkVersion in parsePackage()
1370 && pkg.applicationInfo.targetSdkVersion in parsePackage()
1375 && pkg.applicationInfo.targetSdkVersion in parsePackage()
1380 && pkg.applicationInfo.targetSdkVersion in parsePackage()
1385 && pkg.applicationInfo.targetSdkVersion in parsePackage()
1395 if (pkg.applicationInfo.targetSdkVersion < Build.VERSION_CODES.JELLY_BEAN_MR2) { in parsePackage()
[all …]
/frameworks/base/core/java/android/nfc/
DNfcAdapter.java797 int targetSdkVersion = getSdkVersion(); in setNdefPushMessage() local
810 if (targetSdkVersion < android.os.Build.VERSION_CODES.JELLY_BEAN) { in setNdefPushMessage()
898 int targetSdkVersion = getSdkVersion(); in setNdefPushMessageCallback() local
911 if (targetSdkVersion < android.os.Build.VERSION_CODES.JELLY_BEAN) { in setNdefPushMessageCallback()
972 int targetSdkVersion = getSdkVersion(); in setOnNdefPushCompleteCallback() local
985 if (targetSdkVersion < android.os.Build.VERSION_CODES.JELLY_BEAN) { in setOnNdefPushCompleteCallback()
1270 return mContext.getApplicationInfo().targetSdkVersion; in getSdkVersion()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java59 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; in hasEmbeddedTabs()
86 return mContext.getApplicationInfo().targetSdkVersion < in enableHomeButtonByDefault()
/frameworks/base/core/java/android/os/
DProcess.java389 int targetSdkVersion, in start() argument
394 debugFlags, mountExternal, targetSdkVersion, seInfo, zygoteArgs); in start()
567 int targetSdkVersion, in startViaZygote() argument
599 argsForZygote.add("--target-sdk-version=" + targetSdkVersion); in startViaZygote()
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java304 public final void makeCompatible(int targetSdkVersion) { in makeCompatible() argument
305 if (targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB) { in makeCompatible()
/frameworks/base/docs/html/training/basics/supporting-devices/
Dplatforms.jd55 and <code>targetSdkVersion</code> attributes for the <a
64 &lt;uses-sdk android:minSdkVersion="4" android:targetSdkVersion="15" />
73 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code targetSdkVersion}</a>
101 <code>targetSdkVersion="11"</code>, your app includes the {@link android.app.ActionBar} by default
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
DActionBarPolicy.java79 return mContext.getApplicationInfo().targetSdkVersion < 14; // ICE_CREAM_SANDWICH in enableHomeButtonByDefault()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DLayoutInsetsTest.java56 getApplicationInfo().targetSdkVersion = Build.VERSION_CODES.JELLY_BEAN; in onCreate()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java104 getApplicationInfo().targetSdkVersion); in getTheme()
/frameworks/base/docs/html/guide/practices/
Dscreens-support-1.5.jd46 android:targetSdkVersion}</a> set to {@code "4"} or higher, then this document is for you. By
49 android:targetSdkVersion}</a> set to {@code "4"} or higher runs in <a
89 android:targetSdkVersion}</a> to the <a
92 android:targetSdkVersion}</a> to <code>"4"</code>. This allows your application to "inherit" the
Dscreen-compat-mode.jd74 android:targetSdkVersion}</a> to {@code "4"} or higher, or set <a
123 android:targetSdkVersion}</a> to {@code "10"} or lower and <strong>does not explicitly
131 android:targetSdkVersion}</a> to {@code "11"} or higher and <strong>explicitly declares that it does
162 android:targetSdkVersion}</a> to {@code "11"} or higher:</p>
164 &lt;uses-sdk android:minSdkVersion="4" android:targetSdkVersion="11" /&gt;
222 android:targetSdkVersion}</a> to {@code "11"} or higher, screen compatibility mode is
/frameworks/base/core/java/android/app/
DService.java700 mStartCompatibility = getApplicationInfo().targetSdkVersion in attach()
/frameworks/base/media/java/android/media/
DIAudioService.aidl196 void startBluetoothSco(IBinder cb, int targetSdkVersion); in startBluetoothSco() argument
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
DGLImplHeader.java-impl72 version = applicationInfo.targetSdkVersion;
/frameworks/base/graphics/java/android/renderscript/
DRenderScriptGL.java183 int sdkVersion = ctx.getApplicationInfo().targetSdkVersion; in RenderScriptGL()
/frameworks/base/core/java/android/widget/
DExpandableListView.java281 final int targetSdkVersion = mContext.getApplicationInfo().targetSdkVersion; in isRtlCompatibilityMode() local
282 return targetSdkVersion < JELLY_BEAN_MR1 || !hasRtlSupport(); in isRtlCompatibilityMode()
DTabHost.java605 if (context.getApplicationInfo().targetSdkVersion <= Build.VERSION_CODES.DONUT) { in createIndicatorView()
650 if (context.getApplicationInfo().targetSdkVersion <= Build.VERSION_CODES.DONUT) { in createIndicatorView()
/frameworks/base/docs/html/training/basics/firstapp/
Drunning-app.jd61 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code android:targetSdkVersion
65 &lt;uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17" />
70 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code android:targetSdkVersion
/frameworks/base/core/java/android/content/res/
DResources.java131 public static int selectDefaultTheme(int curTheme, int targetSdkVersion) { in selectDefaultTheme() argument
132 return selectSystemTheme(curTheme, targetSdkVersion, in selectDefaultTheme()
139 public static int selectSystemTheme(int curTheme, int targetSdkVersion, in selectSystemTheme() argument
144 if (targetSdkVersion < Build.VERSION_CODES.HONEYCOMB) { in selectSystemTheme()
147 if (targetSdkVersion < Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in selectSystemTheme()

12345