/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/util/ |
AppSingletonizer.java | 20 T instance = get(shadowApplication); local 21 if (instance == null) { 22 instance = createInstance(applicationContext); 23 set(shadowApplication, instance); 25 return instance; 30 protected abstract void set(ShadowApplication shadowApplication, T instance);
|
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/ |
Log4jLoggerFactory.java | 57 org.apache.log4j.Logger instance = log4jLoggers.get(name); local 58 if (instance != null) { 59 return instance; 68 org.apache.log4j.Logger instance = log4jLoggers.get(name); local 69 if (instance != null) { 70 return instance;
|
/external/swiftshader/src/D3D9/ |
Direct3D9.hpp | 30 Direct3D9(int version, const HINSTANCE instance); 58 const HINSTANCE instance; member in class:D3D9::Direct3D9
|
/external/tensorflow/tensorflow/compiler/aot/ |
compile.cc | 64 xla::CompileOnlyClient::AotComputationInstance instance; local 65 instance.computation = &computation; 66 instance.argument_layouts = std::move(arg_layouts); 67 instance.result_layout = &pshape->result(); 69 aot_or = client->CompileAheadOfTime({instance}, aot_opts);
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
dump_graph.cc | 37 static NameCounts& instance = *new NameCounts; local 49 mutex_lock lock(instance.counts_mutex); 50 count = instance.counts[name]++;
|
/external/v8/tools/clang/plugins/ |
ChromeClassTester.h | 21 ChromeClassTester(clang::CompilerInstance& instance, 30 clang::CompilerInstance& instance() { return instance_; } function in class:ChromeClassTester
|
/external/vulkan-validation-layers/libs/vkjson/ |
vkjson_info.cc | 37 bool instance = false; member in struct:Options 46 if (arg == "--instance" || arg == "-i") { 47 options->instance = true; 74 if (options->instance && (options->device_index != unsignedNegOne || 77 "the whole instance." << std::endl; 85 if (options->instance && options->output_file.empty()) { 86 std::cerr << "Must specify an output file when dumping the whole instance." 90 if (!options->output_file.empty() && !options->instance && 92 std::cerr << "Must specify instance, device index, or device name when " 100 bool Dump(const VkJsonInstance& instance, const Options& options) [all...] |
/frameworks/base/core/java/android/gesture/ |
Learner.java | 25 private final ArrayList<Instance> mInstances = new ArrayList<Instance>(); 28 * Add an instance to the learner 30 * @param instance 32 void addInstance(Instance instance) { 33 mInstances.add(instance); 41 ArrayList<Instance> getInstances() { 46 * Remove an instance based on its id 51 ArrayList<Instance> instances = mInstances 54 Instance instance = instances.get(i); local 73 final Instance instance = instances.get(i); local [all...] |
/frameworks/base/core/java/android/util/ |
Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 29 * return (instance != null) ? instance : new MyPooledClass(); 53 * @return An instance from the pool if such, null otherwise. 58 * Release an instance to the pool. 60 * @param instance The instance to release. 61 * @return Whether the instance was put in the pool. 63 * @throws IllegalStateException If the instance is already in the pool. 65 public boolean release(T instance); 101 T instance = (T) mPool[lastPooledIndex]; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
ProgressTransformState.java | 38 ProgressTransformState instance = sInstancePool.acquire(); local 39 if (instance != null) { 40 return instance;
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
ButtonActivity.java | 39 final ButtonActivity instance = this; local
|
/frameworks/minikin/libs/minikin/ |
LocaleListCache.h | 59 static LocaleListCache instance; local 60 return instance;
|
/frameworks/native/vulkan/vkjson/ |
vkjson_info.cc | 37 bool instance = false; member in struct:Options 46 if (arg == "--instance" || arg == "-i") { 47 options->instance = true; 74 if (options->instance && (options->device_index != unsignedNegOne || 77 "the whole instance." << std::endl; 85 if (options->instance && options->output_file.empty()) { 86 std::cerr << "Must specify an output file when dumping the whole instance." 90 if (!options->output_file.empty() && !options->instance && 92 std::cerr << "Must specify instance, device index, or device name when " 100 bool Dump(const VkJsonInstance& instance, const Options& options) [all...] |
/frameworks/support/compat/src/main/java/androidx/core/hardware/display/ |
DisplayManagerCompat.java | 58 * Gets an instance of the display manager given the context. 63 DisplayManagerCompat instance = sInstances.get(context); local 64 if (instance == null) { 65 instance = new DisplayManagerCompat(context); 66 sInstances.put(context, instance); 68 return instance;
|
/frameworks/support/compat/src/main/java/androidx/core/util/ |
Pools.java | 33 * MyPooledClass instance = sPool.acquire(); 34 * return (instance != null) ? instance : new MyPooledClass(); 57 * @return An instance from the pool if such, null otherwise. 63 * Release an instance to the pool. 65 * @param instance The instance to release. 66 * @return Whether the instance was put in the pool. 68 * @throws IllegalStateException If the instance is already in the pool. 70 boolean release(@NonNull T instance); 106 T instance = (T) mPool[lastPooledIndex]; local [all...] |
/hardware/interfaces/bluetooth/a2dp/1.0/vts/functional/ |
VtsHalBluetoothA2dpV1_0TargetTest.cpp | 45 static BluetoothA2dpHidlEnvironment* Instance() { 46 static BluetoothA2dpHidlEnvironment* instance = new BluetoothA2dpHidlEnvironment; local 47 return instance; 62 BluetoothA2dpHidlEnvironment::Instance()->getServiceName<IBluetoothAudioOffload>()); 120 ::testing::AddGlobalTestEnvironment(BluetoothA2dpHidlEnvironment::Instance()); 122 BluetoothA2dpHidlEnvironment::Instance()->init(&argc, argv);
|
/hardware/interfaces/configstore/1.0/vts/functional/ |
VtsHalConfigstoreV1_0TargetTest.cpp | 42 static ConfigstoreHidlEnvironment* Instance() { 43 static ConfigstoreHidlEnvironment* instance = new ConfigstoreHidlEnvironment; local 44 return instance; 56 ConfigstoreHidlEnvironment::Instance()->getServiceName<ISurfaceFlingerConfigs>()); 135 ::testing::AddGlobalTestEnvironment(ConfigstoreHidlEnvironment::Instance()); 137 ConfigstoreHidlEnvironment::Instance()->init(&argc, argv);
|
/hardware/interfaces/dumpstate/1.0/vts/functional/ |
VtsHalDumpstateV1_0TargetTest.cpp | 37 static DumpstateHidlEnvironment* Instance() { 38 static DumpstateHidlEnvironment* instance = new DumpstateHidlEnvironment; local 39 return instance; 49 DumpstateHidlEnvironment::Instance()->getServiceName<IDumpstateDevice>()); 50 ASSERT_NE(dumpstate, nullptr) << "Could not get HIDL instance"; 115 ::testing::AddGlobalTestEnvironment(DumpstateHidlEnvironment::Instance()); 117 DumpstateHidlEnvironment::Instance()->init(&argc, argv);
|
/hardware/interfaces/health/1.0/vts/functional/ |
VtsHalHealthV1_0TargetTest.cpp | 37 static HealthHidlEnvironment* Instance() { 38 static HealthHidlEnvironment* instance = new HealthHidlEnvironment; local 39 return instance; 51 HealthHidlEnvironment::Instance()->getServiceName<IHealth>()); 77 ::testing::AddGlobalTestEnvironment(HealthHidlEnvironment::Instance()); 79 HealthHidlEnvironment::Instance()->init(&argc, argv);
|
/hardware/interfaces/ir/1.0/vts/functional/ |
VtsHalIrV1_0TargetTest.cpp | 38 static ConsumerIrHidlEnvironment* Instance() { 39 static ConsumerIrHidlEnvironment* instance = new ConsumerIrHidlEnvironment; local 40 return instance; 53 ConsumerIrHidlEnvironment::Instance()->getServiceName<IConsumerIr>()); 96 ::testing::AddGlobalTestEnvironment(ConsumerIrHidlEnvironment::Instance()); 98 ConsumerIrHidlEnvironment::Instance()->init(&argc, argv);
|
/hardware/interfaces/memtrack/1.0/vts/functional/ |
VtsHalMemtrackV1_0TargetTest.cpp | 46 static MemtrackHidlEnvironment* Instance() { 47 static MemtrackHidlEnvironment* instance = new MemtrackHidlEnvironment; local 48 return instance; 58 MemtrackHidlEnvironment::Instance()->getServiceName<IMemtrack>()); 176 ::testing::AddGlobalTestEnvironment(MemtrackHidlEnvironment::Instance()); 178 MemtrackHidlEnvironment::Instance()->init(&argc, argv);
|
/hardware/interfaces/power/1.2/vts/functional/ |
VtsHalPowerV1_2TargetTest.cpp | 34 static PowerHidlEnvironment* Instance() { 35 static PowerHidlEnvironment* instance = new PowerHidlEnvironment; local 36 return instance; 46 PowerHidlEnvironment::Instance()->getServiceName<IPower>()); 93 ::testing::AddGlobalTestEnvironment(PowerHidlEnvironment::Instance()); 95 PowerHidlEnvironment::Instance()->init(&argc, argv);
|
/hardware/interfaces/vibrator/1.2/vts/functional/ |
VtsHalVibratorV1_2TargetTest.cpp | 42 static VibratorHidlEnvironment* Instance() { 43 static VibratorHidlEnvironment* instance = new VibratorHidlEnvironment; local 44 return instance; 58 VibratorHidlEnvironment::Instance()->getServiceName<IVibrator>()); 135 ::testing::AddGlobalTestEnvironment(VibratorHidlEnvironment::Instance()); 137 VibratorHidlEnvironment::Instance()->init(&argc, argv);
|
/hardware/nxp/nfc/halimpl/utils/ |
NxpNfcCapability.h | 25 static capability* instance; member in class:capability
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
QCameraThermalAdapter.cpp | 51 static QCameraThermalAdapter instance; local 52 return instance;
|