Home
last modified time | relevance | path

Searched refs:folder (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/systemconfig/
DSystemConfigTest.java164 final File folder = createTempSubfolder("folder"); in testComponentOverride() local
165 createTempFile(folder, "component-override.xml", contents); in testComponentOverride()
167 mSysConfig.readPermissions(folder, /* No permission needed anyway */ 0); in testComponentOverride()
196 final File folder = createTempSubfolder("folder"); in readPermissions_allowAppConfigs_parsesStagedInstallerWhitelist() local
197 createTempFile(folder, "staged-installer-whitelist.xml", contents); in readPermissions_allowAppConfigs_parsesStagedInstallerWhitelist()
199 mSysConfig.readPermissions(folder, /* Grant all permission flags */ ~0); in readPermissions_allowAppConfigs_parsesStagedInstallerWhitelist()
216 final File folder = createTempSubfolder("folder"); in readPermissions_notAllowAppConfigs_wontParseStagedInstallerWhitelist() local
217 createTempFile(folder, "staged-installer-whitelist.xml", contents); in readPermissions_notAllowAppConfigs_wontParseStagedInstallerWhitelist()
219 mSysConfig.readPermissions(folder, /* Grant all but ALLOW_APP_CONFIGS flag */ ~0x08); in readPermissions_notAllowAppConfigs_wontParseStagedInstallerWhitelist()
232 File folder = new File(mTemporaryFolder.getRoot(), folderName); in createTempSubfolder() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DDataChangedJournalTest.java116 File folder = mTemporaryFolder.newFolder(); in listJournals_returnsJournalsForEveryFileInDirectory() local
117 DataChangedJournal.newJournal(folder); in listJournals_returnsJournalsForEveryFileInDirectory()
118 DataChangedJournal.newJournal(folder); in listJournals_returnsJournalsForEveryFileInDirectory()
120 ArrayList<DataChangedJournal> journals = DataChangedJournal.listJournals(folder); in listJournals_returnsJournalsForEveryFileInDirectory()
127 File folder = mTemporaryFolder.newFolder(); in newJournal_createsANewTemporaryFile() local
129 DataChangedJournal.newJournal(folder); in newJournal_createsANewTemporaryFile()
131 assertThat(folder.listFiles()).hasLength(1); in newJournal_createsANewTemporaryFile()
/frameworks/layoutlib/bridge/tests/src/com/android/ide/common/resources/deprecated/
DResourceRepository.java96 IAbstractFolder folder = (IAbstractFolder)res; in ensureInitialized() local
97 ResourceFolder resFolder = processFolder(folder); in ensureInitialized()
101 IAbstractResource[] files = folder.listMembers(); in ensureInitialized()
133 @NotNull IAbstractFolder folder) { in add() argument
140 ResourceFolder cf = new ResourceFolder(type, config, folder, this); in add()
153 cFolder.mFolder = folder; in add()
160 ResourceFolder cf = new ResourceFolder(type, config, folder, this); in add()
253 private ResourceFolder processFolder(@NotNull IAbstractFolder folder) { in processFolder() argument
257 String[] folderSegments = folder.getName().split(SdkConstants.RES_QUALIFIER_SEP); in processFolder()
267 return add(type, config, folder); in processFolder()
DIdGeneratingResourceFile.java56 public IdGeneratingResourceFile(IAbstractFile file, ResourceFolder folder, ResourceType type) { in IdGeneratingResourceFile() argument
57 super(file, folder); in IdGeneratingResourceFile()
68 mFileValue = getFileValue(file, folder); in IdGeneratingResourceFile()
167 private ResourceValue getFileValue(IAbstractFile file, ResourceFolder folder) { in getFileValue() argument
169 DensityQualifier qualifier = folder.getConfiguration().getDensityQualifier(); in getFileValue()
DSingleResourceFile.java45 public SingleResourceFile(IAbstractFile file, ResourceFolder folder) { in SingleResourceFile() argument
46 super(file, folder); in SingleResourceFile()
50 List<ResourceType> types = FolderTypeRelationship.getRelatedResourceTypes(folder.getType()); in SingleResourceFile()
57 DensityQualifier qualifier = folder.getConfiguration().getDensityQualifier(); in SingleResourceFile()
DResourceFile.java35 protected ResourceFile(IAbstractFile file, ResourceFolder folder) { in ResourceFile() argument
37 mFolder = folder; in ResourceFile()
DResourceFolder.java50 IAbstractFolder folder, ResourceRepository repository) { in ResourceFolder() argument
53 mFolder = folder; in ResourceFolder()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorage.java164 File folder = getStorageFolder(); in getSnapshotFile() local
166 return new File(folder, fileName); in getSnapshotFile()
174 File folder = new File(rootDirectory, STORAGE_PATH); in getStorageFolder() local
175 folder.mkdirs(); in getStorageFolder()
176 return folder; in getStorageFolder()
/frameworks/base/tools/dump-coverage/
DREADME.md12 adb root # necessary to copy files in/out of the /data/data/{package} folder
13 adb shell 'mkdir /data/data/com.android.deskclock/folder-to-use'
19 …ock /system/lib/libdumpcoverage.so=dump:/data/data/com.android.deskclock/folder-to-use/coverage-fi…
31 adb pull /data/data/com.android.deskclock/folder-to-use/coverage-file.ec ~/path-on-your-computer
34 And you should have `coverage-file.ec` on your machine under the folder `~/path-on-your-computer`
/frameworks/base/wifi/java/android/net/wifi/migration_samples/
DREADME.txt1 This folder contains sample files for each of the 4 XML Wi-Fi config store files in Android 11 AOSP.
16 Sample File (in this folder): Shared_WifiConfigStore.xml
22 Sample File (in this folder): Shared_WifiConfigStoreSoftAp.xml
30 Sample File (in this folder): User_WifiConfigStore.xml
35 Sample File (in this folder): User_WifiConfigStoreNetworkSuggestions.xml
/frameworks/base/core/proto/android/service/
Ddiskstats.proto48 // Cached values of folder sizes, etc.
96 // Data folder
98 // Cache folder
100 // System folder
103 // Which folder?
104 optional Folder folder = 1; field
/frameworks/base/core/java/android/content/pm/
DPackagePartitions.java122 private SystemPartition(@NonNull File folder, @PartitionType int type, in SystemPartition() argument
125 this.mFolder = new DeferredCanonicalFile(folder); in SystemPartition()
126 this.mAppFolder = new DeferredCanonicalFile(folder, "app"); in SystemPartition()
127 this.mPrivAppFolder = containsPrivApp ? new DeferredCanonicalFile(folder, "priv-app") in SystemPartition()
129 this.mOverlayFolder = containsOverlay ? new DeferredCanonicalFile(folder, "overlay") in SystemPartition()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/
DREADME.md4 This folder exposes a generic functional configurable policy engine configuration files
8 within the device folder for the product to customize.
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java225 … File folder = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS); in doInBackground() local
226 mImagePath = folder.getPath(); in doInBackground()
263 File folder; in getLocalImage() local
264 folder = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS); in getLocalImage()
265 mImagePath = folder.getPath(); in getLocalImage()
266 File[] files = folder.listFiles(); in getLocalImage()
DMediaStoreSaver.java40 File folder = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); in save() local
41 String folder_path = folder.getAbsolutePath(); in save()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java225 … File folder = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS); in doInBackground() local
226 mImagePath = folder.getPath(); in doInBackground()
263 File folder; in getLocalImage() local
264 folder = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS); in getLocalImage()
265 mImagePath = folder.getPath(); in getLocalImage()
266 File[] files = folder.listFiles(); in getLocalImage()
DMediaStoreSaver.java40 File folder = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); in save() local
41 String folder_path = folder.getAbsolutePath(); in save()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMediaStoreSaver.java39 File folder = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); in savePNG() local
40 String folder_path = folder.getAbsolutePath(); in savePNG()
/frameworks/av/media/libstagefright/tests/writer/
DREADME.md23 Download and extract the folder. Push all the files in this folder to /data/local/tmp/ on the devic…
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/
DREADME.md26 Download amr-nb folder and push all the files in this folder to /data/local/tmp/ on the device.
/frameworks/opt/setupwizard/tools/gradle/
Ddist-library-instrumentation-tests.gradle21 // Output all test APKs to the distribution folder.
29 // Output all library AARs to the distribution folder
/frameworks/av/media/libaaudio/include/aaudio/
DREADME.md3 This folder contains the public header files.
/frameworks/av/media/libaaudio/src/legacy/
DREADME.md1 The legacy folder contains the classes that implement AAudio AudioStream on top of
/frameworks/av/media/libaaudio/src/core/
DREADME.md1 The core folder contains the essential AAudio files common to all implementations.
/frameworks/base/libs/hwui/private/
DREADME1 This folder contains private include files.

123