Home
last modified time | relevance | path

Searched refs:sizeInMb (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/development/storage/
DSharedDataUtils.java44 final double sizeInMb = sizeBytes / (1024.0 * 1024.0); in formatSize() local
45 return String.format("%.2f MB", sizeInMb); in formatSize()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient_SharedUid/src/com/android/sdksandboxclient_shareduid/
DMainActivity.java178 int sizeInMb = -1; in registerCreateFileButton()
180 sizeInMb = Integer.parseInt(input.getText().toString()); in registerCreateFileButton()
183 if (sizeInMb <= 0) { in registerCreateFileButton()
190 String response = sdkApi.createFile(sizeInMb); in registerCreateFileButton()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DFileUtilUnitTest.java71 private void createFile(String path, String filename, int sizeInMb) throws IOException { in createFile() argument
75 final byte[] buffer = new byte[sizeInMb * 1024 * 1024]; in createFile()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/sdkinterfaces/src/android/app/sdksandbox/interfaces/
DISdkApi.aidl23 String createFile(int sizeInMb); in createFile() argument
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/
DSdkApi.java107 public String createFile(int sizeInMb) throws RemoteException { in createFile() argument
124 final byte[] buffer = new byte[sizeInMb * 1024 * 1024]; in createFile()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/
DMainActivity.java692 final Integer sizeInMb = Integer.parseInt(inputString); in registerCreateFileButton()
701 sdkApi.createFile(sizeInMb); in registerCreateFileButton()
707 sizeInMb); in registerCreateFileButton()