/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);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Protocol/ |
NonDiscoverableDevice.h | 72 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *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 | 82 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();
|
/frameworks/base/tests/testables/src/android/testing/ |
TestableResources.java | 21 import android.content.res.Resources; 28 * Provides a version of Resources that defaults to all existing resources, but can have ids 39 private final Resources mResources; 42 /** Creates a TestableResources instance that calls through to the given real Resources. */ 43 public TestableResources(Resources realResources) { 44 mResources = mock(Resources.class, withSettings() 50 * Gets the implementation of Resources that will return overridden values when called. 52 public Resources getResources() { 63 * @param value The value of the resource, null to cause a {@link Resources.NotFoundException [all...] |
/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...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/ |
vktestframework.h | 83 TBuiltInResource Resources;
|
/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...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/GraphicsOutputDxe/ |
GraphicsOutput.c | 314 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Resources;
402 Status = PciIo->GetBarAttributes (PciIo, Index, NULL, (VOID**) &Resources);
405 gEfiCallerBaseName, Index, Resources->AddrRangeMin, Resources->AddrLen));
406 if ((Resources->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR) &&
407 (Resources->Len == (UINT16) (sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR) - 3)) &&
408 (Resources->ResType == ACPI_ADDRESS_SPACE_TYPE_MEM) &&
409 (Resources->AddrLen >= GraphicsInfo->FrameBufferSize)
411 FrameBufferBase = Resources->AddrRangeMin;
|
/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("jacoco-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...] |
/development/tools/privapp_permissions/ |
privapp_permissions.py | 129 class Resources(object): 130 """A class that contains the resources needed to generate permissions. 140 self.adb = Resources._resolve_adb(adb_path) 141 self.aapt = Resources._resolve_aapt(aapt_path) 398 def create_permission_file(resources): 402 base_xml_files = itertools.chain(list_xml_files(resources.permissions_dir), 403 list_xml_files(resources.sysconfig_dir)) 407 priv_permissions = extract_priv_permissions(resources.aapt, 408 resources.framework_res_apk) 412 for priv_app in resources.privapp_apks [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
LegacySio.c | 43 ACPI_RESOURCE_HEADER_PTR Resources;
83 Status = Sio->GetResources (Sio, &Resources);
88 while (Resources.SmallHeader->Byte != ACPI_END_TAG_DESCRIPTOR) {
89 switch (Resources.SmallHeader->Byte) {
91 IoResource = (EFI_ACPI_IO_PORT_DESCRIPTOR *) Resources.SmallHeader;
96 FixedIoResource = (EFI_ACPI_FIXED_LOCATION_IO_PORT_DESCRIPTOR *) Resources.SmallHeader;
101 DmaResource = (EFI_ACPI_DMA_DESCRIPTOR *) Resources.SmallHeader;
107 IrqResource = (EFI_ACPI_IRQ_NOFLAG_DESCRIPTOR *) Resources.SmallHeader;
115 if (Resources.SmallHeader->Bits.Type == 0) {
116 Resources.SmallHeader = (ACPI_SMALL_RESOURCE_HEADER *) ((UINT8 *) Resources.SmallHeader [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/tools/common/m2/repository/javax/annotation/jsr250-api/1.0/ |
jsr250-api-1.0.jar | |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/ |
PciHostBridge.c | 455 // When resources were assigned, it's not needed to expose
505 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Resources;
522 Resources = AllocatePool (
526 ASSERT (Resources != NULL);
528 for (Link = GetFirstNode (&HostBridge->RootBridges), Descriptor = Resources
572 // Terminate the root bridge resources.
581 // Terminate the host bridge resources.
588 PciHostBridgeResourceConflict (HostBridge->Handle, Resources);
589 FreePool (Resources);
663 @retval EFI_NOT_READY Resources have not been submitted yet. [all...] |
/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...] |
/device/linaro/bootloader/edk2/OvmfPkg/Virtio10Dxe/ |
Virtio10.c | 151 VOID *Resources;
153 Status = PciIo->GetBarAttributes (PciIo, BarIndex, NULL, &Resources);
160 if (*(UINT8 *)Resources == ACPI_QWORD_ADDRESS_SPACE_DESCRIPTOR) {
163 Descriptor = Resources;
180 FreePool (Resources);
|
/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...] |
/prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/ |
javax.annotation-api-1.2.jar | |