/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/template/ |
RecyclerMixinTest.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 31 import android.os.Build.VERSION; 131 if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR1) { 151 if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR1) {
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
ListMixinTest.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 33 import android.os.Build.VERSION; 136 if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR1) { 156 if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR1) {
|
/frameworks/support/compat/java/android/support/v4/hardware/fingerprint/ |
FingerprintManagerCompat.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 63 if (Build.VERSION.SDK_INT >= 23) { 79 if (Build.VERSION.SDK_INT >= 23) { 106 if (Build.VERSION.SDK_INT >= 23) {
|
/frameworks/support/design/lollipop/android/support/design/widget/ |
FloatingActionButtonLollipop.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 87 if (Build.VERSION.SDK_INT == 21) { 88 // Animations produce NPE in version 21. Bluntly set the values instead (matching the 124 if (Build.VERSION.SDK_INT >= 22 && Build.VERSION.SDK_INT <= 24) { 128 // bug). The issue has been fixed in version 25.
|
/frameworks/support/tv-provider/src/android/support/media/tv/ |
Program.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 163 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) { 197 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { 216 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
Channel.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 365 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { 376 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) { 385 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O || !includeProtectedFields) { 467 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { 505 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { 558 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { 561 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
MenuPopupWindow.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 80 if (Build.VERSION.SDK_INT >= 23) { 86 if (Build.VERSION.SDK_INT >= 23) { 141 if (Build.VERSION.SDK_INT >= 17
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/error/ |
VoicemailStatus.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 23 import android.os.Build.VERSION; 66 if (VERSION.SDK_INT >= VERSION_CODES.N_MR1) { 109 if (VERSION.SDK_INT >= VERSION_CODES.N) {
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
DvrRecordingService.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 79 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { 187 Notification notification = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O ? 198 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
DefaultWallpaperInfo.java | 137 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT 200 return new File(context.getFilesDir(), Build.VERSION.SDK_INT 209 for (int i = Build.VERSION_CODES.JELLY_BEAN; i < Build.VERSION.SDK_INT; i++) {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
Http2xStream.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 49 import static com.squareup.okhttp.internal.framed.Header.VERSION; 74 VERSION); 97 VERSION); 164 result.add(new Header(VERSION, "HTTP/1.1")); 220 String version = "HTTP/1.1"; local 234 } else if (name.equals(VERSION)) { 235 version = value; 244 StatusLine statusLine = StatusLine.parse(version + " " + status);
|
/external/v8/tools/clang/scripts/ |
update.py | 74 VERSION = '4.0.0' 283 f.write('# two arg version to specify where build artifacts go. CMake\n') 380 """Checks that `clang --version` outputs VERSION. If this fails, VERSION 385 # TODO: Parse `clang-cl /?` output for built clang's version and check that 389 version_out = subprocess.check_output([clang, '--version']) 390 version_out = re.match(r'clang version ([0-9.]+)', version_out).group(1) 391 if version_out != VERSION: 392 print ('unexpected clang version %s (not %s), update VERSION in update.py [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
random.py | 89 VERSION = 3 # used by getstate/setstate
123 return self.VERSION, super(Random, self).getstate(), self.gauss_next
127 version = state[0]
128 if version == 3:
129 version, internalstate, self.gauss_next = state
131 elif version == 2:
132 version, internalstate, self.gauss_next = state
133 # In version 2, the state was saved as signed ints, which causes
136 # version 2 to positive longs for version 3. [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
random.py | 89 VERSION = 3 # used by getstate/setstate
121 return self.VERSION, super(Random, self).getstate(), self.gauss_next
125 version = state[0]
126 if version == 3:
127 version, internalstate, self.gauss_next = state
129 elif version == 2:
130 version, internalstate, self.gauss_next = state
131 # In version 2, the state was saved as signed ints, which causes
134 # version 2 to positive longs for version 3. [all...] |
/external/google-tv-pairing-protocol/cpp/ |
Makefile.am | 23 # -version-info tells libtool what to put after the '.so' in the filename. 25 -version-info @SO_VERSION@ 81 docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) 164 @cd packages && ./rpm.sh ${PACKAGE} ${VERSION} 167 @cd packages && ./deb.sh ${PACKAGE} ${VERSION}
|
/external/python/cpython2/Lib/ |
random.py | 89 VERSION = 3 # used by getstate/setstate 123 return self.VERSION, super(Random, self).getstate(), self.gauss_next 127 version = state[0] 128 if version == 3: 129 version, internalstate, self.gauss_next = state 131 elif version == 2: 132 version, internalstate, self.gauss_next = state 133 # In version 2, the state was saved as signed ints, which causes 136 # version 2 to positive longs for version 3 [all...] |
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
AnimatedVectorDrawableCompat.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 57 * For older API version, this class uses {@link android.animation.ObjectAnimator} and 208 if (Build.VERSION.SDK_INT >= 24) { 261 if (mDelegateDrawable != null && Build.VERSION.SDK_INT >= 24) { 670 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) { 870 if (Build.VERSION.SDK_INT >= 24) { [all...] |
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
PlaybackStateCompat.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 782 if (stateObj != null && Build.VERSION.SDK_INT >= 21) { 792 if (Build.VERSION.SDK_INT >= 22) { 825 if (mStateObj == null && Build.VERSION.SDK_INT >= 21) { 833 if (Build.VERSION.SDK_INT >= 22) { 916 if (customActionObj == null || Build.VERSION.SDK_INT < 21) { [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Utilities.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 87 Build.VERSION.SDK_INT >= Build.VERSION_CODES.O_MR1; 90 Build.VERSION.SDK_INT >= Build.VERSION_CODES.O; 93 Build.VERSION.SDK_INT >= Build.VERSION_CODES.N_MR1; 96 Build.VERSION.SDK_INT >= Build.VERSION_CODES.N; 99 Build.VERSION.SDK_INT >= Build.VERSION_CODES.M; 102 Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
random.py | 89 VERSION = 3 # used by getstate/setstate 121 return self.VERSION, super(Random, self).getstate(), self.gauss_next 125 version = state[0] 126 if version == 3: 127 version, internalstate, self.gauss_next = state 129 elif version == 2: 130 version, internalstate, self.gauss_next = state 131 # In version 2, the state was saved as signed ints, which causes 134 # version 2 to positive longs for version 3 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
random.py | 89 VERSION = 3 # used by getstate/setstate 121 return self.VERSION, super(Random, self).getstate(), self.gauss_next 125 version = state[0] 126 if version == 3: 127 version, internalstate, self.gauss_next = state 129 elif version == 2: 130 version, internalstate, self.gauss_next = state 131 # In version 2, the state was saved as signed ints, which causes 134 # version 2 to positive longs for version 3 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
random.py | 89 VERSION = 3 # used by getstate/setstate 121 return self.VERSION, super(Random, self).getstate(), self.gauss_next 125 version = state[0] 126 if version == 3: 127 version, internalstate, self.gauss_next = state 129 elif version == 2: 130 version, internalstate, self.gauss_next = state 131 # In version 2, the state was saved as signed ints, which causes 134 # version 2 to positive longs for version 3 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
random.py | 89 VERSION = 3 # used by getstate/setstate 121 return self.VERSION, super(Random, self).getstate(), self.gauss_next 125 version = state[0] 126 if version == 3: 127 version, internalstate, self.gauss_next = state 129 elif version == 2: 130 version, internalstate, self.gauss_next = state 131 # In version 2, the state was saved as signed ints, which causes 134 # version 2 to positive longs for version 3 [all...] |
/external/selinux/libsemanage/src/ |
Makefile | 37 VERSION = $(shell cat ../VERSION) 94 $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol -laudit -lselinux -lbz2 -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs 97 $(LIBPC): $(LIBPC).in ../VERSION 98 sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBBASE):; s:@includedir@:$(INCLUDEDIR):' < $< > $@
|
/frameworks/support/tv-provider/tests/src/android/support/media/tv/ |
ChannelTest.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 212 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { 219 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { 230 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|