/frameworks/support/leanback/ |
generatef.py | 6 # you may not use this file except in compliance with the License. 30 file = open('src/android/support/v17/leanback/app/{}SupportFragment.java'.format(w), 'r') variable 32 content = content + "/* This file is auto-generated from {}SupportFragment.java. DO NOT MODIFY. */\n\n".format(w) 34 for line in file: 46 file.close() 57 file = open('src/android/support/v17/leanback/app/VideoSupportFragmentGlueHost.java', 'r') variable 59 content = content + "/* This file is auto-generated from VideoSupportFragmentGlueHost.java. DO NOT MODIFY. */\n\n" 60 for line in file: 65 file.close() 75 file = open('src/android/support/v17/leanback/app/PlaybackSupportFragmentGlueHost.java', 'r' variable 93 file = open('src\/android\/support\/v17\/leanback\/app\/DetailsSupportFragmentBackgroundController.java', 'r') variable [all...] |
/frameworks/support/samples/SupportLeanbackDemos/ |
generatev4.py | 6 # you may not use this file except in compliance with the License. 23 tofile.write("/* This file is auto-generated from {}.java. DO NOT MODIFY. */\n\n".format(name)) 26 return line.replace('<?xml version="1.0" encoding="utf-8"?>', '<?xml version="1.0" encoding="utf-8"?>\n<!-- This file is auto-generated from {}.xml. DO NOT MODIFY. -->\n'.format(name)) 28 file = open('src/main/java/com/example/android/leanback/GuidedStepActivity.java', 'r') variable 31 for line in file: 38 file.close() 41 file = open('src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java', 'r') variable 44 for line in file: 52 file.close() 55 file = open('src/main/java/com/example/android/leanback/BrowseFragment.java', 'r' variable 75 file = open('src\/main\/java\/com\/example\/android\/leanback\/BrowseActivity.java', 'r') variable 87 file = open('src\/main\/res\/layout\/browse.xml', 'r') variable 97 file = open('src\/main\/java\/com\/example\/android\/leanback\/DetailsFragment.java', 'r') variable 111 file = open('src\/main\/java\/com\/example\/android\/leanback\/NewDetailsFragment.java', 'r') variable 130 file = open('src\/main\/java\/com\/example\/android\/leanback\/DetailsActivity.java', 'r') variable 144 file = open('src\/main\/java\/com\/example\/android\/leanback\/SearchDetailsActivity.java', 'r') variable 154 file = open('src\/main\/java\/com\/example\/android\/leanback\/SearchFragment.java', 'r') variable 164 file = open('src\/main\/java\/com\/example\/android\/leanback\/SearchActivity.java', 'r') variable 178 file = open('src\/main\/res\/layout\/search.xml', 'r') variable 187 file = open('src\/main\/java\/com\/example\/android\/leanback\/VerticalGridFragment.java', 'r') variable 198 file = open('src\/main\/java\/com\/example\/android\/leanback\/VerticalGridActivity.java', 'r') variable 212 file = open('src\/main\/res\/layout\/vertical_grid.xml', 'r') variable 222 file = open('src\/main\/java\/com\/example\/android\/leanback\/ErrorFragment.java', 'r') variable 231 file = open('src\/main\/java\/com\/example\/android\/leanback\/BrowseErrorActivity.java', 'r') variable 247 file = open('src\/main\/java\/com\/example\/android\/leanback\/RowsFragment.java', 'r') variable 257 file = open('src\/main\/java\/com\/example\/android\/leanback\/RowsActivity.java', 'r') variable 272 file = open('src\/main\/res\/layout\/rows.xml', 'r') variable 281 file = open('src\/main\/java\/com\/example\/android\/leanback\/PlaybackFragment.java', 'r') variable 291 file = open('src\/main\/java\/com\/example\/android\/leanback\/PlaybackActivity.java', 'r') variable 303 file = open('src\/main\/res\/layout\/playback_activity.xml', 'r') variable 312 file = open('src\/main\/java\/com\/example\/android\/leanback\/PlaybackTransportControlFragment.java', 'r') variable 323 file = open('src\/main\/java\/com\/example\/android\/leanback\/PlaybackTransportControlActivity.java', 'r') variable 335 file = open('src\/main\/res\/layout\/playback_transportcontrol_activity.xml', 'r') variable 344 file = open('src\/main\/res\/layout\/playback_controls.xml', 'r') variable 353 file = open('src\/main\/java\/com\/example\/android\/leanback\/OnboardingActivity.java', 'r') variable 367 file = open('src\/main\/java\/com\/example\/android\/leanback\/OnboardingDemoFragment.java', 'r') variable 380 file = open('src\/main\/java\/com\/example\/android\/leanback\/SampleVideoFragment.java', 'r') variable 392 file = open('src\/main\/java\/com\/example\/android\/leanback\/VideoActivity.java', 'r') variable [all...] |
/libcore/ojluni/src/main/java/java/nio/file/ |
ClosedDirectoryStreamException.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file;
|
ClosedFileSystemException.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 30 * a file and the file system is closed.
|
ClosedWatchServiceException.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file;
|
DirectoryNotEmptyException.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 29 * Checked exception thrown when a file system operation fails because a
|
FileSystemAlreadyExistsException.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 29 * Runtime exception thrown when an attempt is made to create a file system that
|
FileSystemLoopException.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 29 * Checked exception thrown when a file system loop, or cycle, is encountered. 43 * @param file 44 * a string identifying the file causing the cycle or {@code null} if 47 public FileSystemLoopException(String file) { 48 super(file); [all...] |
FileSystemNotFoundException.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 29 * Runtime exception thrown when a file system cannot be found.
|
FileVisitOption.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 29 * Defines the file tree traversal options.
|
LinkOption.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file;
|
NotDirectoryException.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 29 * Checked exception thrown when a file system operation, intended for a 30 * directory, fails because the file is not a directory. 43 * @param file 44 * a string identifying the file or {@code null} if not known 46 public NotDirectoryException(String file) { [all...] |
PathMatcher.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file;
|
ProviderMismatchException.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 30 * object created by one file system provider with a parameter created by a 31 * different file system provider.
|
ProviderNotFoundException.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file;
|
ReadOnlyFileSystemException.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file;
|
Watchable.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 50 * <p> If the file system object identified by this object is currently 59 * <p> Otherwise the file system object has not yet been registered with the
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
FileAttributeView.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file.attribute; 30 * values associated with a file in a filesystem. This interface is extended or 31 * implemented by specific file attribute views that define methods to read 32 * and/or update the attributes of a file. 36 * @see java.nio.file.Files#getFileAttributeView(Path,Class,java.nio.file.LinkOption[] [all...] |
FileStoreAttributeView.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file.attribute; 30 * a {@link java.nio.file.FileStore}.
|
GroupPrincipal.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file.attribute; 30 * determine access rights to objects in a file system. The exact definition of
|
UserPrincipal.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file.attribute; 32 * to objects in a file system. 34 * <p> On many platforms and file systems an entity requires appropriate access 35 * rights or permissions in order to access objects in a file system. The 38 * enforce privilege separation then a file in the file system may have a [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
EntropyMixerTest.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); 32 File file = File.createTempFile("testInitialWrite", "dat", dir); local 33 file.deleteOnExit(); 34 assertEquals(0, FileUtils.readTextFile(file, 0, null).length()); 36 // The constructor has the side effect of writing to file 37 new EntropyMixer(getContext(), "/dev/null", file.getCanonicalPath(), "/dev/null") [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
VpnServiceTest.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 112 File file = new File("/dev/tun"); local 113 assertTrue(file.exists()); 114 assertFalse(file.isFile()); 115 assertFalse(file.isDirectory()); 116 assertFalse(file.canExecute()); 117 assertFalse(file.canRead()) [all...] |
/art/test/992-source-data/ |
source_file.cc | 5 * you may not use this file except in compliance with the License. 43 char* file = nullptr; local 44 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetSourceFileName(target, &file))) { 47 jstring ret = env->NewStringUTF(file); 48 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(file));
|
/cts/libs/vogar-expect/src/vogar/commands/ |
Rm.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 26 public void file(File file) { method in class:Rm 27 new Command("rm", "-f", file.getPath()).execute(); 30 public void directoryTree(File directory) {
|