/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
dutree.py | 18 total, d = store(size, comps, total, d)
25 def store(size, comps, total, d):
function 31 d[comps[0]] = store(size, comps[1:], t1, d1)
|
pdeps.py | 129 store(inv, item, key)
133 # Store "item" in "dict" under "key".
137 def store(dict, key, item):
function
|
/system/update_engine/payload_generator/ |
payload_generation_config_unittest.cc | 28 brillo::KeyValueStore store; local 30 store.LoadFromString("RUN_POSTINSTALL_root=true\n" 34 EXPECT_TRUE(image_config.LoadPostInstallConfig(store)); 45 brillo::KeyValueStore store; local 47 store.LoadFromString("RUN_POSTINSTALL_root=true\n" 50 EXPECT_FALSE(image_config.LoadPostInstallConfig(store));
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
MediaDeviceInfo.java | 40 protected void collectDeviceInfo(DeviceInfoStore store) throws Exception { 41 store.startArray("media_codec_info"); 45 store.startGroup(); 46 store.addResult("name", info.getName()); 47 store.addResult("encoder", info.isEncoder()); 49 store.startArray("supported_type"); 52 store.startGroup(); 53 store.addResult("type", type); 55 store.startArray("codec_profile_level"); 58 store.startGroup() [all...] |
VintfDeviceInfo.java | 36 protected void collectDeviceInfo(DeviceInfoStore store) throws Exception { 41 store.addResult("cpu_info", VintfRuntimeInfo.getCpuInfo()); 42 store.addResult("os_name", VintfRuntimeInfo.getOsName()); 43 store.addResult("node_name", VintfRuntimeInfo.getNodeName()); 44 store.addResult("os_release", VintfRuntimeInfo.getOsRelease()); 45 store.addResult("os_version", VintfRuntimeInfo.getOsVersion()); 46 store.addResult("hardware_id", VintfRuntimeInfo.getHardwareId()); 47 store.addResult("kernel_version", VintfRuntimeInfo.getKernelVersion()); 48 store.addResult("kernel_sepolicy_version", VintfRuntimeInfo.getKernelSepolicyVersion()); 49 store.addResult("sepolicy_version", VintfObject.getSepolicyVersion()) [all...] |
PackageDeviceInfo.java | 37 protected void collectDeviceInfo(DeviceInfoStore store) throws Exception { 39 store.startArray(PACKAGE); 41 store.startGroup(); 42 store.addResult(NAME, pkg.packageName); 43 store.addResult(VERSION_NAME, pkg.versionName); 47 store.addResult(SYSTEM_PRIV, dir != null && dir.startsWith(PRIV_APP_DIR)); 49 store.endGroup(); 51 store.endArray(); // Package
|
FeatureDeviceInfo.java | 38 protected void collectDeviceInfo(DeviceInfoStore store) throws Exception { 41 store.startArray("feature"); 58 addFeature(store, featureInfo.name, type, true, version); 60 addFeature(store, featureInfo.name, type, true); 66 // Store the remaining "sdk" features not avaiable on this device. 69 addFeature(store, featureName, "sdk", hasFeature); 72 store.endArray(); 99 DeviceInfoStore store, 103 store.startGroup(); 104 store.addResult("name", name) [all...] |
PropertyDeviceInfo.java | 36 protected void collectDeviceInfo(DeviceInfoStore store) throws Exception { 38 collectRoProperties(store); 44 private void collectRoProperties(DeviceInfoStore store) throws IOException { 45 store.startArray("ro_property"); 58 store.startGroup(); 59 store.addResult("name", name); 60 store.addResult("value", value); 61 store.endGroup(); 65 store.endArray();
|
GraphicsDeviceInfo.java | 35 private static void storeValue(DeviceInfoStore store, String name, float[] valueArray, 38 store.addResult(name, valueArray[0]); 40 store.addArrayResult(name, valueArray); 44 private static void storeValue(DeviceInfoStore store, String name, int[] valueArray, 47 store.addResult(name, valueArray[0]); 49 store.addArrayResult(name, valueArray); 53 private static void storeValue(DeviceInfoStore store, String name, long[] valueArray, 56 store.addResult(name, valueArray[0]); 58 store.addArrayResult(name, valueArray); 63 protected void collectDeviceInfo(DeviceInfoStore store) throws Exception [all...] |
/cts/common/host-side/util/src/com/android/compatibility/common/util/ |
MetricsReportLog.java | 26 * A {@link ReportLog} that can be used with the in memory metrics store used for host side metrics. 36 private ReportLogHostInfoStore store; field in class:MetricsReportLog 55 store = new ReportLogHostInfoStore(jsonFile, mStreamName); 56 store.open(); 70 store.addResult(message, value); 83 store.addResult(message, value); 98 store.addArrayResult(message, values); 111 store.addArrayResult(message, values); 123 store.addResult(message, value); 135 store.addResult(message, value) [all...] |
/cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/ |
TestDeviceInfo.java | 39 protected void collectDeviceInfo(DeviceInfoStore store) throws Exception { 42 store.addResult("test_boolean", true); 43 store.addResult("test_double", 1.23456789); 44 store.addResult("test_int", 123456789); 45 store.addResult("test_long", Long.MAX_VALUE); 46 store.addResult("test_string", "test string"); 51 store.addListResult("test_strings", list); 54 store.startGroup("test_group"); 55 store.addResult("test_boolean", false); 56 store.addResult("test_double", 9.87654321) [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
DiscourseLoggerTest.java | 127 DiscourseLogger store = new DiscourseLogger(storeSize); local 130 store.addSentCommand((String) o); 133 store.addReceivedByte(b); 139 MoreAsserts.assertEquals(expected, store.getLines()); 142 store.logLastDiscourse(); 143 assertEquals(0, store.getLines().length);
|
/hardware/interfaces/automotive/vehicle/2.0/default/ |
VehicleService.cpp | 31 auto store = std::make_unique<VehiclePropertyStore>(); local 32 auto hal = std::make_unique<impl::EmulatedVehicleHal>(store.get());
|
/cts/tools/dex-tools/test/dex/reader/util/ |
SpecialJavaFileManager.java | 36 private Map<String, MemoryByteCode> store; field in class:SpecialJavaFileManager 40 store = new HashMap<String, MemoryByteCode>(); 46 store.put(name, mbc); 51 return new HashSet<MemoryByteCode>(store.values()); 55 return store.get(className);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/preferences/ |
NdkPreferenceInitializer.java | 29 IPreferenceStore store = Activator.getDefault().getPreferenceStore(); local 31 store.setDefault(NdkManager.NDK_LOCATION, ""); //$NON-NLS-1$
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/data/ |
SessionInfoStoreTest.java | 31 private SessionInfoStore store; field in class:SessionInfoStoreTest 35 store = new SessionInfoStore(); 40 assertEquals(Collections.emptyList(), store.getInfos()); 41 assertTrue(store.isEmpty()); 46 store.visitSessionInfo(new SessionInfo("A", 123, 456)); 47 assertFalse(store.isEmpty()); 53 store.visitSessionInfo(a); 55 store.visitSessionInfo(b); 57 store.visitSessionInfo(c); 58 assertEquals(Arrays.asList(b, a, c), store.getInfos()) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/preferences/ |
PreferenceInitializer.java | 95 IPreferenceStore store = DdmsPlugin.getDefault().getPreferenceStore(); local 97 store.setDefault(ATTR_DEBUG_PORT_BASE, DdmPreferences.DEFAULT_DEBUG_PORT_BASE); 99 store.setDefault(ATTR_SELECTED_DEBUG_PORT, DdmPreferences.DEFAULT_SELECTED_DEBUG_PORT); 101 store.setDefault(ATTR_DEFAULT_THREAD_UPDATE, DdmPreferences.DEFAULT_INITIAL_THREAD_UPDATE); 102 store.setDefault(ATTR_DEFAULT_HEAP_UPDATE, 105 store.setDefault(ATTR_PROFILER_BUFSIZE_MB, DdmPreferences.DEFAULT_PROFILER_BUFFER_SIZE_MB); 107 store.setDefault(ATTR_THREAD_INTERVAL, DdmUiPreferences.DEFAULT_THREAD_REFRESH_INTERVAL); 110 store.setDefault(ATTR_IMAGE_SAVE_DIR, homeDir); 112 store.setDefault(ATTR_LOG_LEVEL, DdmPreferences.DEFAULT_LOG_LEVEL.getStringValue()); 114 store.setDefault(ATTR_LOGCAT_FONT 142 IPreferenceStore store = DdmsPlugin.getDefault().getPreferenceStore(); local [all...] |
/cts/hostsidetests/edi/src/android/edi/cts/ |
LibraryDeviceInfo.java | 31 protected void collectDeviceInfo(HostInfoStore store) throws Exception { 35 collectSystemLibs(store); 36 collectVendorLibs(store); 37 collectFrameworkJars(store); 40 private void collectSystemLibs(HostInfoStore store) throws Exception { 41 store.startArray("lib"); 42 collectFileDetails(store, "/system/lib", ".so"); 43 store.endArray(); 46 private void collectVendorLibs(HostInfoStore store) throws Exception { 47 store.startArray("vendor_lib") [all...] |
/external/proguard/src/proguard/evaluation/ |
TracedVariables.java | 68 * Sets the Value that will be stored along with all store instructions. 95 producerVariables.store(index, value); 143 public void store(int index, Value value) method in class:TracedVariables 145 // Store the value itself in the variable. 146 super.store(index, value); 148 // Store the producer value in its producer variable. 149 producerVariables.store(index, producerValue); 154 producerVariables.store(index+1, producerValue);
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
SampleHostDeviceInfo.java | 29 protected void collectDeviceInfo(HostInfoStore store) throws Exception { 33 store.startGroup("product"); 34 store.addResult("model", getProperty("ro.product.model")); 35 store.addResult("brand", getProperty("ro.product.brand")); 36 store.addResult("name", getProperty("ro.product.name")); 37 store.addResult("device", getProperty("ro.product.device")); 38 store.addResult("board", getProperty("ro.product.board")); 41 store.addListResult("abi", Arrays.asList(abi.split(","))); 42 store.endGroup(); // product 44 store.startGroup("version") [all...] |
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
SensorDeviceInfo.java | 57 protected void collectDeviceInfo(DeviceInfoStore store) throws Exception { 61 store.startArray(SENSOR); 63 store.startGroup(); 64 store.addResult(REPORTING_MODE, sensor.getReportingMode()); 65 store.addResult(NAME, sensor.getName()); 66 store.addResult(VENDOR, sensor.getVendor()); 67 store.addResult(TYPE, sensor.getType()); 68 store.addResult(VERSION, sensor.getVersion()); 69 store.addResult(MAXIMUM_RANGE, sensor.getMaximumRange()); 70 store.addResult(RESOLUTION, sensor.getResolution()) [all...] |
/external/curl/docs/examples/ |
cacertinmem.c | 39 X509_STORE * store; local 93 /* get a pointer to the X509 certificate store (which may be empty!) */ 94 store=SSL_CTX_get_cert_store((SSL_CTX *)sslctx); 96 /* add our certificate to this store */ 97 if(X509_STORE_add_cert(store, cert)==0)
|
/external/libavc/common/armv8/ |
ih264_intra_pred_luma_16x16_av8.s | 324 b store 341 store: label
|
/external/mesa3d/src/mesa/tnl/ |
t_vb_texmat.c | 59 struct texmat_stage_data *store = TEXMAT_STAGE_DATA(stage); local 71 (void) TransformRaw( &store->texcoord[i], 75 VB->AttribPtr[VERT_ATTRIB_TEX0+i] = &store->texcoord[i]; 89 struct texmat_stage_data *store; local 92 stage->privatePtr = CALLOC(sizeof(*store)); 93 store = TEXMAT_STAGE_DATA(stage); 94 if (!store) 98 _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 ); 106 struct texmat_stage_data *store = TEXMAT_STAGE_DATA(stage); local 109 if (store) { [all...] |
/hardware/interfaces/automotive/vehicle/2.1/default/ |
service.cpp | 84 auto store = std::make_unique<V2_0::VehiclePropertyStore>(); local 85 auto hal = std::make_unique<V2_1::impl::EmulatedVehicleHal>(store.get());
|