/libcore/ojluni/src/main/java/sun/security/util/ |
Resources.java | 33 public class Resources extends java.util.ListResourceBundle {
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/ |
IsaDriver.c | 161 @retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
177 ACPI_RESOURCE_HEADER_PTR Resources;
228 Status = Sio->GetResources (Sio, &Resources);
240 InitializeIsaIoInstance (IsaIoDevice, DevicePath, Resources);
|
/external/guava/guava/src/com/google/common/io/ |
Resources.java | 35 * Provides utility methods for working with resources in the classpath. 37 * are usually not appropriate for HTTP or other non-classpath resources. 47 public final class Resources { 48 private Resources() {} 77 return "Resources.asByteSource(" + url + ")"; 139 * {@code Resources.asCharSource(url, charset).readLines()}. 182 * resources from the class path. In environments where different threads can 188 * loader that loaded this class ({@code Resources}) will be used instead. 195 Resources.class.getClassLoader());
|
/external/vulkan-validation-layers/tests/ |
vktestframework.h | 83 TBuiltInResource Resources;
|
/frameworks/base/rs/java/android/renderscript/ |
ScriptC.java | 19 import android.content.res.Resources; 56 * @param resources 59 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { 61 long id = internalCreate(rs, resources, resourceID); 87 private static synchronized long internalCreate(RenderScript rs, Resources resources, int resourceID) { 90 InputStream is = resources.openRawResource(resourceID); 113 throw new Resources.NotFoundException(); 116 String resName = resources.getResourceEntryName(resourceID) [all...] |
Program.java | 24 import android.content.res.Resources; 243 * @param resources application resources 248 public BaseProgramBuilder setShader(Resources resources, int resourceID) { 251 InputStream is = resources.openRawResource(resourceID); 274 throw new Resources.NotFoundException();
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
LocaleTestUtils.java | 21 import android.content.res.Resources; 89 mSavedSystemLocale = setResourcesLocale(Resources.getSystem(), locale); 103 setResourcesLocale(Resources.getSystem(), mSavedSystemLocale); 108 * Sets the locale for the given resources and returns the previous locale. 110 * @param resources the resources on which to set the locale 112 * @return the previous value of the locale for the resources 114 private Locale setResourcesLocale(Resources resources, Locale locale) { 115 Configuration contextConfiguration = new Configuration(resources.getConfiguration()) [all...] |
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
Resources.java | 36 * Assorted methods to obtaining test input from resources. 38 public final class Resources { 39 private Resources() {}
|
/external/guava/guava-tests/test/com/google/common/io/ |
ResourcesTest.java | 40 * Unit test for {@link Resources}. 48 suite.addTest(ByteSourceTester.tests("Resources.asByteSource[URL]", 50 suite.addTest(CharSourceTester.tests("Resources.asCharSource[URL, Charset]", 58 assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8)); 59 assertThat(Resources.toString(resource, Charsets.US_ASCII)) 64 byte[] data = Resources.toByteArray(classfile(Resources.class)); 73 Resources.readLines(resource, Charsets.UTF_8)); 92 List<String> result = Resources.readLines(resource, Charsets.US_ASCII, 102 Resources.copy(resource, out) [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
Resources.java | 12 package org.jacoco.report.internal.html.resources; 25 public class Resources { 48 * Attaches resources to the report with the given root folder. 53 public Resources(final ReportOutputFolder root) { 54 folder = root.subFolder(".resources"); 96 * Copies all static resources into the report. 99 * if the resources can't be written to the report 125 final InputStream in = Resources.class.getResourceAsStream(name);
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
LogicalDylib.h | 38 : Resources(std::move(RHS.Resources)), 41 LogicalModuleResources Resources; 77 return LMH->Resources; 92 if (auto StubSym = LMH->Resources.findSymbol(Name, ExportedSymbolsOnly))
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
ScriptC.java | 20 import android.content.res.Resources; 54 * @param resources 57 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { 59 long id = internalCreate(rs, resources, resourceID); 88 private static synchronized long internalCreate(RenderScript rs, Resources resources, int resourceID) { 91 InputStream is = resources.openRawResource(resourceID); 114 throw new Resources.NotFoundException(); 117 String resName = resources.getResourceEntryName(resourceID) [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
CallTypeIconsView.java | 39 private Resources mResources; 51 mResources = new Resources(context); 116 private static class Resources { 123 public Resources(Context context) { 124 final android.content.res.Resources r = context.getResources();
|
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/ |
jsr250-api-1.0.jar | |
/prebuilts/tools/common/m2/repository/javax/annotation/jsr250-api/1.0/ |
jsr250-api-1.0.jar | |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/ |
Serial.c | 440 ACPI_RESOURCE_HEADER_PTR Resources;
504 Status = ParentIo.Sio->GetResources (ParentIo.Sio, &Resources);
506 Status = ParentIo.PciIo->GetBarAttributes (ParentIo.PciIo, BarIndex, NULL, (VOID **) &Resources);
515 while ((Resources.SmallHeader->Byte != ACPI_END_TAG_DESCRIPTOR) && (SerialDevice->BaseAddress == 0)) {
516 switch (Resources.SmallHeader->Byte) {
518 Io = (EFI_ACPI_IO_PORT_DESCRIPTOR *) Resources.SmallHeader;
525 FixedIo = (EFI_ACPI_FIXED_LOCATION_IO_PORT_DESCRIPTOR *) Resources.SmallHeader;
532 AddressSpace = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *) Resources.SmallHeader;
542 if (Resources.SmallHeader->Bits.Type == 0) {
543 Resources.SmallHeader = (ACPI_SMALL_RESOURCE_HEADER *) ((UINT8 *) Resources.SmallHeader [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowResources.java | 5 import android.content.res.Resources; 30 * Shadow of {@code Resources} that simulates the loading of resources 35 @Implements(Resources.class) 42 static Resources bind(Resources resources, ResourceLoader resourceLoader) { 43 ShadowResources shadowResources = shadowOf(resources); 46 return resources; 50 Resources realResources [all...] |
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
CallTypeIconsView.java | 45 private static Resources sResources; 46 private static Resources sLargeResouces; 65 sResources = new Resources(context, false); 68 sLargeResouces = new Resources(context, true); 138 Resources resources = useLargeIcons ? sLargeResouces : sResources; local 142 return resources.incoming; 144 return resources.outgoing; 146 return resources.missed; 148 return resources.voicemail 167 Resources resources = useLargeIcons ? sLargeResouces : sResources; local [all...] |
/prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/ |
javax.annotation-api-1.2.jar | |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppsCustomizeTabHost.java | 24 import android.content.res.Resources; 107 if (tabs == null || mAppsCustomizePane == null) throw new Resources.NotFoundException(); 206 final Resources res = getResources();
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
AndroidFacade.java | 96 public interface Resources { 108 private final Resources mResources; [all...] |
/frameworks/base/core/java/android/app/ |
ResourcesManager.java | 28 import android.content.res.Resources; 63 private static final Predicate<WeakReference<Resources>> sEmptyReferencePredicate = 64 new Predicate<WeakReference<Resources>>() { 66 public boolean test(WeakReference<Resources> weakRef) { 77 * The global configuration upon which all Resources are based. Multi-window Resources 92 private final ArrayList<WeakReference<Resources>> mResourceReferences = new ArrayList<>(); 95 * Resources and base configuration override associated with an Activity. 99 public final ArrayList<WeakReference<Resources>> activityResources = new ArrayList<>(); 103 * Each Activity may has a base override configuration that is applied to each Resources object 448 Resources resources = weakResourceRef.get(); local 460 Resources resources = compatInfo.needsCompatResources() ? new CompatResources(classLoader) local 481 Resources resources = weakResourceRef.get(); local 493 Resources resources = compatInfo.needsCompatResources() ? new CompatResources(classLoader) local 652 final Resources resources; local 774 Resources resources = weakResRef.get(); local [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
ResourcesTest.java | 30 import android.content.res.Resources; 31 import android.content.res.Resources.NotFoundException; 59 private Resources mResources; 75 final Resources r = new Resources(am, dm, cfg); 94 XmlUtils.beginDocument(parser, "resources"); 121 private Resources getResources(final Configuration config, final int mcc, final int mnc, 138 return new Resources(assmgr, metrics, config); 141 private static void checkGetText1(final Resources res, final int resId, 152 private static void checkGetText2(final Resources res, final int resId [all...] |
/external/syslinux/gpxe/src/drivers/net/ |
3c90x.h | 219 enum Resources {
|
/frameworks/base/core/java/android/content/res/ |
Resources.java | 74 * Class for accessing an application's resources. This sits on top of the 79 * application. You can use this class to access your application's resources. You can generally 80 * acquire the {@link android.content.res.Resources} instance associated with your application 83 * <p>The Android SDK tools compile your application's resources into the application binary 87 * code to access the resources.</p> 89 * <p>Using application resources makes it easy to update various characteristics of your 91 * resources—enables you to optimize your application for a variety of device configurations 95 * <p>For more information about using resources, see the documentation about <a 96 * href="{@docRoot}guide/topics/resources/index.html">Application Resources</a>.</p [all...] |