HomeSort by relevance Sort by last modified time
    Searched refs:dataPath (Results 1 - 25 of 59) sorted by null

1 2 3

  /packages/apps/StorageManager/src/com/android/storagemanager/automatic/
AutomaticStorageManagementJobService.java 56 final File dataPath = internalVolume.getPath();
57 if (!volumeNeedsManagement(dataPath)) {
99 private boolean volumeNeedsManagement(final File dataPath) {
100 long lowStorageThreshold = (dataPath.getTotalSpace() * DEFAULT_LOW_FREE_PERCENT) / 100;
101 return dataPath.getFreeSpace() < lowStorageThreshold;
  /system/core/run-as/
package.c 217 check_data_path(const char* dataPath, uid_t uid)
222 if (dataPath[0] != '/') {
231 for (nn = 1; dataPath[nn] != '\0'; nn++)
236 if (dataPath[nn] != '/')
240 if (dataPath[nn+1] == '\0') {
244 /* found a separator, check that dataPath is not too long. */
252 dataPath[nn-3] == '/' &&
253 dataPath[nn-2] == '.' &&
254 dataPath[nn-1] == '.') {
260 memcpy(subpath, dataPath, nn)
    [all...]
  /packages/apps/Gallery/src/com/android/camera/gallery/
ImageList.java 122 String dataPath = cursor.getString(INDEX_DATA_PATH);
132 title = dataPath;
135 contentUri(id), dataPath, mimeType, dateTaken, title,
VideoList.java 60 String dataPath = cursor.getString(INDEX_DATA_PATH);
69 title = dataPath;
72 id, cursor.getPosition(), contentUri(id), dataPath,
VideoObject.java 46 long id, int index, Uri uri, String dataPath,
48 super(container, cr, id, index, uri, dataPath,
BaseImage.java 59 long id, int index, Uri uri, String dataPath, String mimeType,
66 mDataPath = dataPath;
Image.java 46 long id, int index, Uri uri, String dataPath,
49 super(container, cr, id, index, uri, dataPath,
  /external/icu/icu4j/
adjust_icudt_path.mk 1 # In order to append $(icu4c_data) to the dataPath line in ICUConfig.properties
25 $(hide) sed "/\.dataPath =/s/$$/ $(private_icu4c_data)/" $< > $@
  /external/opencv3/modules/ml/test/
test_gbttest.cpp 249 string dataPath = string(ts->get_data_path());
251 datasets[0] = dataPath + string("spambase.data"); /*string("dataset_classification.csv");*/
252 datasets[1] = dataPath + string("housing_.data"); /*string("dataset_regression.csv");*/
test_mltests2.cpp 275 string dataPath = ts->get_data_path();
276 if ( dataPath.empty() )
283 filename = dataPath + dataName + ".data";
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ICUBinary.java 285 // Normally android.icu.impl.ICUBinary.dataPath.
286 String dataPath = ICUConfig.get(ICUBinary.class.getName() + ".dataPath");
287 if (dataPath != null) {
288 addDataFilesFromPath(dataPath, icuDataFiles);
292 private static void addDataFilesFromPath(String dataPath, List<DataFile> files) {
299 while (pathStart < dataPath.length()) {
300 int sepIndex = dataPath.indexOf(File.pathSeparatorChar, pathStart);
305 pathLimit = dataPath.length();
307 String path = dataPath.substring(pathStart, pathLimit).trim()
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ICUBinary.java 281 // Normally com.ibm.icu.impl.ICUBinary.dataPath.
282 String dataPath = ICUConfig.get(ICUBinary.class.getName() + ".dataPath");
283 if (dataPath != null) {
284 addDataFilesFromPath(dataPath, icuDataFiles);
288 private static void addDataFilesFromPath(String dataPath, List<DataFile> files) {
295 while (pathStart < dataPath.length()) {
296 int sepIndex = dataPath.indexOf(File.pathSeparatorChar, pathStart);
301 pathLimit = dataPath.length();
303 String path = dataPath.substring(pathStart, pathLimit).trim()
    [all...]
  /external/icu/icu4c/source/common/
udata.cpp     [all...]
  /external/smali/smalidea/src/test/java/org/jf/smalidea/
LightCodeInsightParsingTestCase.java 57 public LightCodeInsightParsingTestCase(@NonNls @NotNull String dataPath, @NotNull String fileExt,
60 myFullDataPath = getTestDataPath() + "/" + dataPath;
  /frameworks/base/services/core/java/com/android/server/pm/
Installer.java 213 public void linkNativeLibraryDirectory(String uuid, String dataPath, String nativeLibPath32,
215 mInstaller.execute("linklib", uuid, dataPath, nativeLibPath32, userId);
  /external/deqp/framework/platform/ios/
tcuIOSApp.mm 266 NSString* dataPath = [[NSBundle mainBundle] bundlePath];
267 const char* utf8Str = [dataPath UTF8String];
  /libcore/luni/src/main/native/
libcore_icu_ICU.cpp     [all...]
  /external/icu/icu4c/source/extra/uconv/
uconv.cpp 84 char dataPath[2048]; /* XXX Sloppy: should be PATH_MAX. */
113 uprv_strcpy(dataPath, u_getDataDirectory());
114 uprv_strcat(dataPath, U_FILE_SEP_STRING);
115 uprv_strcat(dataPath, UCONVMSG);
117 gBundle = u_wmsg_setPath(dataPath, &err);
121 pname, dataPath, u_errorName(err));
    [all...]
  /external/opencv3/modules/calib3d/test/
test_stereomatching.cpp 401 string dataPath = ts->get_data_path() + "cv/";
404 if( dataPath.empty() )
406 ts->printf( cvtest::TS::LOG, "dataPath is empty" );
411 FileStorage datasetsFS( dataPath + DATASETS_DIR + DATASETS_FILE, FileStorage::READ );
418 FileStorage runParamsFS( dataPath + ALGORITHMS_DIR + algorithmName + RUN_PARAMS_FILE, FileStorage::READ );
426 string fullResultFilename = dataPath + ALGORITHMS_DIR + algorithmName + RESULT_FILE;
450 string datasetFullDirName = dataPath + DATASETS_DIR + datasetName + "/";
  /external/opencv3/modules/objdetect/test/
test_cascadeandhog.cpp 135 string dataPath = ts->get_data_path();
143 Mat img = imread( dataPath+filename, 1 );
153 string dataPath = ts->get_data_path();
154 string vs_filename = dataPath + getValidationFilename();
165 FileStorage fs0(dataPath + configFilename, FileStorage::READ );
257 string dataPath = ts->get_data_path(), detectorFilename;
259 detectorFilename = dataPath + detectorFilenames[detectorIdx];
458 string dataPath = ts->get_data_path(), filename;
459 filename = dataPath + detectorFilenames[di];
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_FilesTest.java 109 String dataPath = "does_not_really_exist.txt";
110 values.put(MediaColumns.DATA, dataPath);
124 assertStringColumn(fileUri, MediaColumns.DATA, dataPath);
  /development/apps/Development/src/com/android/development/
PackageBrowser.java 158 final String dataPath = packageInfo.info.applicationInfo.dataDir;
  /external/boringssl/src/util/
make_errors.go 51 dataPath := filepath.Join(errDir, lib+".errordata")
122 dataFile, err := os.OpenFile(dataPath, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0644)
  /hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
G722EncTest.c 306 TI_OMX_DATAPATH dataPath;
681 dataPath = DATAPATH_APPLICATION_RTMIXER;
685 dataPath = DATAPATH_APPLICATION;
689 error = OMX_GetExtensionIndex(pHandle, "OMX.TI.index.config.g722.datapath",&index);
694 error = OMX_SetConfig (pHandle, index, &dataPath);
    [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
G726DecTest.c 366 TI_OMX_DATAPATH dataPath;
831 dataPath = DATAPATH_APPLICATION_RTMIXER;
834 dataPath = DATAPATH_APPLICATION;
836 error = OMX_GetExtensionIndex(*pHandle, "OMX.TI.index.config.g726dec.datapath",&index);
841 error = OMX_SetConfig (*pHandle, index, &dataPath);
    [all...]

Completed in 1770 milliseconds

1 2 3