/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
D | DefaultCarrierConfigService.java | 118 parser.setInput(getApplicationContext().getAssets().open( in loadConfig() 144 for (String file : getApplicationContext().getAssets().list("")) { in loadConfig() 146 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in loadConfig() 150 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in loadConfig() 153 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in loadConfig() 169 parser.setInput(getApplicationContext().getAssets().open( in loadConfig()
|
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/ |
D | SandboxedSdkContext.java | 107 mAssets = resources.getAssets(); in SandboxedSdkContext() 204 public AssetManager getAssets() { in getAssets() method in SandboxedSdkContext 206 return getBaseContext().getAssets(); in getAssets()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/ |
D | CertUtils.java | 46 context.getResources().getAssets().open(PEM_FOLDER_NAME + "/" + fileName); in createCertFromPemFile() 56 context.getResources().getAssets().open(KEY_FOLDER_NAME + "/" + fileName); in createRsaPrivateKeyFromKeyFile()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicensesPreferenceControllerTest.java | 97 when(resources.getAssets()).thenReturn(manager); in displayPreference_alphabeticalOrder() 129 when(resources.getAssets()).thenReturn(manager); in displayPreference_includeOnlyModulesWithLicenseFile() 139 when(resources2.getAssets()).thenReturn(manager2); in displayPreference_includeOnlyModulesWithLicenseFile()
|
D | ModuleLicensesListPreferenceControllerTest.java | 66 when(resources.getAssets()).thenReturn(manager); in getAvailabilityStatus_validLicenses_returnsAvailable() 107 when(resources.getAssets()).thenReturn(manager); in getAvailabilityStatus_noLicenses_returnsConditionallyUnavailable()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/ |
D | EncryptionDataDownloadManagerTest.java | 116 sContext.getAssets() in testReadFileAndInsertIntoDatabaseSuccess() 144 sContext.getAssets() in testReadFileAndInsertIntoDatabaseSuccess_keysUpdated() 149 sContext.getAssets() in testReadFileAndInsertIntoDatabaseSuccess_keysUpdated() 193 sContext.getAssets() in testReadFileAndInsertIntoDatabaseSuccess_deleteExpiredKeys()
|
D | EnrollmentDataDownloadManagerTest.java | 135 .thenReturn(sContext.getAssets().open(TEST_ENROLLMENT_DATA_FILE_PATH)); in testReadFileAndInsertIntoDatabaseSuccess() 221 .thenReturn(sContext.getAssets().open(TEST_ENROLLMENT_DATA_FILE_PATH)); in testReadFileAndInsertIntoDatabaseEnrollmentDataFileIdMissing() 251 .thenReturn(sContext.getAssets().open(TEST_ENROLLMENT_DATA_FILE_PATH)); in testReadFileAndInsertIntoDatabaseExecutionException() 315 .thenReturn(sContext.getAssets().open(TEST_ENROLLMENT_DATA_FILE_PATH)); in testEnrollmentMddRecordDeletionCallsOverwrite() 384 .thenReturn(sContext.getAssets().open(TEST_ENROLLMENT_DATA_FILE_PATH)); in testReadFileAndInsertIntoDatabaseSuccess_verifyFileGroupDataInSharedPreference() 464 .thenReturn(sContext.getAssets().open(TEST_ENROLLMENT_DATA_PROTO_FILE_PATH)); in testReadProtoFileAndInsertIntoDatabaseSuccess() 592 .thenReturn(sContext.getAssets().open(TEST_ENROLLMENT_DATA_FILE_PATH)); in testReadProtoFileAndInsertIntoDatabaseSuccess_noProtoFileFound() 661 .thenReturn(sContext.getAssets().open(TEST_ENROLLMENT_DATA_PROTO_FILE_PATH)); in testReadProtoFileAndInsertIntoDatabaseFailed_noFilesFound()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbContext.java | 112 public AssetManager getAssets() { in getAssets() method in UwbContext 116 mUwbAssetsFromApk = resourcesApkContext.getAssets(); in getAssets()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | ConfigXmlTest.java | 71 String[] configName = mContext.getAssets().list(""); in testNumValueInConfigArray() 78 InputStream input = mContext.getAssets().open(fileName); in testNumValueInConfigArray()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/ |
D | CommonClassifierHelperTest.java | 541 computeClassifierAssetChecksum(sContext.getAssets(), TEST_LABELS_FILE_PATH); in testComputeTestAssetChecksum() 548 computeClassifierAssetChecksum(sContext.getAssets(), TEST_PRECOMPUTED_FILE_PATH); in testComputeTestAssetChecksum() 559 computeClassifierAssetChecksum(sContext.getAssets(), PRODUCTION_LABELS_FILE_PATH); in testComputeProductionAssetChecksum() 566 computeClassifierAssetChecksum(sContext.getAssets(), PRODUCTION_APPS_FILE_PATH); in testComputeProductionAssetChecksum()
|
D | ModelManagerTest.java | 263 .thenReturn(sContext.getAssets().open(PRODUCTION_LABELS_FILE_PATH)); in testRetrieveLabels_downloaded_successfulRead() 606 sContext.getAssets().open(PRODUCTION_CLASSIFIER_ASSETS_METADATA_FILE_PATH)); in testGetProductionClassifierAssetsMetadata_downloaded_correctFormat() 709 .thenReturn(sContext.getAssets().open(PRODUCTION_CLASSIFIER_INPUT_CONFIG_PATH)); in testRetrieveClassifierInputConfig_downloaded_successfulRead() 786 when(mockContext.getAssets()).thenReturn(mockAssetManager); in testRetrieveClassifierInputConfig_emptyConfigReturnedOnInvalidConfigField() 817 when(mockContext.getAssets()).thenReturn(mockAssetManager); in testRetrieveClassifierInputConfig_emptyConfigReturnedOnInvalidConfigFormat()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | E2eCarTestBase.java | 127 try (InputStream in = mContext.getAssets().open(fileName)) { in getExpectedEvents() 134 try (InputStream in = mContext.getAssets().open(fileName)) { in getTestFileContent()
|
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/ |
D | PluginArchiveManager.java | 237 assetManager = mApplicationContext.getAssets(); in getArchiveChecksum() 254 return pluginContext.getAssets(); in packageAssetManager() 304 return copyPluginToCacheDir(pluginArchive, mApplicationContext.getAssets()); in copyPluginFromAssetsToCacheDir()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiContext.java | 164 public AssetManager getAssets() { in getAssets() method in WifiContext 168 mWifiAssetsFromApk = resourcesApkContext.getAssets(); in getAssets()
|
/packages/services/Car/service-builtin/src/com/android/car/ |
D | UpdatablePackageContext.java | 217 public AssetManager getAssets() { in getAssets() method in UpdatablePackageContext 218 return mPackageContext.getAssets(); in getAssets()
|
/packages/apps/Settings/src/com/android/settings/language/ |
D | PhoneLanguagePreferenceController.java | 40 && mContext.getAssets().getLocales().length > 1) { in getAvailabilityStatus()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/ |
D | CobaltRegistryLoader.java | 49 AssetManager assetManager = context.getAssets(); in getRegistry()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | DeleteExpiredIntegrationTest.java | 41 InputStream inputStream = sContext.getAssets().open( in data()
|
D | AppDeletionIntegrationTest.java | 48 InputStream inputStream = sContext.getAssets().open( in data()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/core/codeinspection/ |
D | CodeInspector.java | 84 .getAssets().open(filename); in initializeExemptList()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
D | TopicIdNameUtil.java | 46 mAssetManager = context.getAssets(); in TopicIdNameUtil()
|
/packages/apps/Contacts/src/com/android/contacts/extensions/ |
D | ExtensionsFactory.java | 51 final InputStream fileStream = context.getAssets().open(EXTENSIONS_PROPERTIES); in init()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/ |
D | CodeInspector.java | 83 final InputStream in = RuntimeEnvironment.application.getAssets().open(filename); in initializeExemptList()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | AbstractSelectAdsLatencyTest.java | 176 InputStream is = ApplicationProvider.getApplicationContext().getAssets().open(fileName); in readCustomAudiences() 228 InputStream is = ApplicationProvider.getApplicationContext().getAssets().open(fileName); in readAdSelectionConfig()
|
/packages/modules/AdServices/sdksandbox/tests/test-apps/CodeProviderWithResources/src/com/android/codeproviderresources_1/ |
D | ResourceSandboxedSdkProvider.java | 57 AssetManager assets = getContext().getAssets(); in onLoadSdk()
|