/aosp12/system/tools/hidl/test/lazy_test/ |
H A D | hidl_lazy_test.cpp | 46 sp<IBase> getHal(const FqInstance& instance) { in getHal() 60 for (const auto& instance : gInstances) { in SetUp() local 75 for (const auto& instance : gInstances) { in TearDown() local 81 bool isServiceRunning(const FqInstance& instance) { in isServiceRunning() 101 for (const auto& instance : gInstances) { in TEST_F() local 117 static void testWithTimes(const std::vector<size_t>& waitTimes, const FqInstance& instance) { in testWithTimes() 145 const FqInstance& instance = gInstances[i % gInstances.size()]; in TEST_F() local 157 for (const auto& instance : gInstances) { in TEST_F() local 184 for (const std::string& instance : fqInstances) { in main() local
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
H A D | AppStateTrackerTest.java | 343 final AppStateTrackerTestable instance = newInstance(); in testAll() local 626 final AppStateTrackerTestable instance = newInstance(); in testPowerSaveUserExemptionList() local 636 final AppStateTrackerTestable instance = newInstance(); in testUidStateForeground() local 736 final AppStateTrackerTestable instance = newInstance(); in testExemptedBucket() local 864 final AppStateTrackerTestable instance = newInstance(); in loadPersistedAppOps() local 944 final AppStateTrackerTestable instance = newInstance(); in testPowerSaveListener() local 991 final AppStateTrackerTestable instance = newInstance(); in testAllListeners() local 1360 final AppStateTrackerTestable instance = newInstance(); in testUserRemoved() local 1396 final AppStateTrackerTestable instance = newInstance(); in testSmallBatteryAndPluggedIn() local 1422 final AppStateTrackerTestable instance = newInstance(); in testNotSmallBatteryAndPluggedIn() local [all …]
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
H A D | AppStateTrackerTest.java | 344 final AppStateTrackerTestable instance = newInstance(); in testAll() local 730 final AppStateTrackerTestable instance = newInstance(); in testPowerSaveUserExemptionList() local 740 final AppStateTrackerTestable instance = newInstance(); in testUidStateForeground() local 840 final AppStateTrackerTestable instance = newInstance(); in testExemptedBucket() local 968 final AppStateTrackerTestable instance = newInstance(); in loadPersistedAppOps() local 1048 final AppStateTrackerTestable instance = newInstance(); in testPowerSaveListener() local 1095 final AppStateTrackerTestable instance = newInstance(); in testAllListeners() local 1605 final AppStateTrackerTestable instance = newInstance(); in testUserRemoved() local 1641 final AppStateTrackerTestable instance = newInstance(); in testSmallBatteryAndPluggedIn() local 1667 final AppStateTrackerTestable instance = newInstance(); in testNotSmallBatteryAndPluggedIn() local [all …]
|
/aosp12/frameworks/native/libs/binder/ndk/ |
H A D | service_manager.cpp | 34 binder_exception_t AServiceManager_addService(AIBinder* binder, const char* instance) { in AServiceManager_addService() 43 AIBinder* AServiceManager_checkService(const char* instance) { in AServiceManager_checkService() 55 AIBinder* AServiceManager_getService(const char* instance) { in AServiceManager_getService() 67 binder_status_t AServiceManager_registerLazyService(AIBinder* binder, const char* instance) { in AServiceManager_registerLazyService() 77 AIBinder* AServiceManager_waitForService(const char* instance) { in AServiceManager_waitForService() 89 bool AServiceManager_isDeclared(const char* instance) { in AServiceManager_isDeclared() 104 for (const String16& instance : sm->getDeclaredInstances(String16(interface))) { in AServiceManager_forEachDeclaredInstance() local 108 bool AServiceManager_isUpdatableViaApex(const char* instance) { in AServiceManager_isUpdatableViaApex()
|
/aosp12/frameworks/av/media/libstagefright/renderfright/threaded/ |
H A D | RenderEngineThreaded.cpp | 91 mFunctionCalls.push([&resultPromise](renderengine::RenderEngine& instance) { in primeCache() 106 mFunctionCalls.push([&resultPromise, &result](renderengine::RenderEngine& instance) { in dump() 184 [&resultPromise, texName, &image](renderengine::RenderEngine& instance) { in bindExternalTextureImage() 217 mFunctionCalls.push([&resultPromise, &buffer](renderengine::RenderEngine& instance) { in cacheExternalTextureBuffer() 277 mFunctionCalls.push([&resultPromise](renderengine::RenderEngine& instance) { in getMaxTextureSize() 292 mFunctionCalls.push([&resultPromise](renderengine::RenderEngine& instance) { in getMaxViewportDims() 307 mFunctionCalls.push([&resultPromise](renderengine::RenderEngine& instance) { in isProtected() 322 mFunctionCalls.push([&resultPromise](renderengine::RenderEngine& instance) { in supportsProtectedContent() 338 [&resultPromise, useProtectedContext](renderengine::RenderEngine& instance) { in useProtectedContext() 353 mFunctionCalls.push([&resultPromise](renderengine::RenderEngine& instance) { in getFramebufferForDrawing() [all …]
|
/aosp12/system/apex/apexd/ |
H A D | apex_file_repository_test.cpp | 83 ApexFileRepository instance; in TEST() local 133 ApexFileRepository instance; in TEST() local 143 ApexFileRepository instance; in TEST() local 184 ApexFileRepository instance; in TEST() local 218 ApexFileRepository instance; in TEST() local 253 ApexFileRepository instance; in TEST() local 333 ApexFileRepository instance; in TEST() local 345 ApexFileRepository instance; in TEST() local 359 ApexFileRepository instance; in TEST() local 390 ApexFileRepository instance; in TEST() local [all …]
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
H A D | CustomizationParamsTest.java | 64 CustomizationParams instance = createInstance(params); in defaultColorManagedProfile() local 76 CustomizationParams instance = createInstance(params); in defaultColorDeviceOwner() local 88 CustomizationParams instance = createInstance(params); in respectsUrl() local 100 CustomizationParams instance = createInstance(params); in urlDefaultsToNull() local 112 CustomizationParams instance = createInstance(params); in ignoresInvalidUrl() local
|
/aosp12/frameworks/native/libs/renderengine/threaded/ |
H A D | RenderEngineThreaded.cpp | 143 mFunctionCalls.push([resultPromise](renderengine::RenderEngine& instance) { in primeCache() 167 mFunctionCalls.push([&resultPromise, &result](renderengine::RenderEngine& instance) { in dump() 185 mFunctionCalls.push([&resultPromise, count, names](renderengine::RenderEngine& instance) { in genTextures() 218 mFunctionCalls.push([=](renderengine::RenderEngine& instance) { in mapExternalTextureBuffer() 232 mFunctionCalls.push([=](renderengine::RenderEngine& instance) { in unmapExternalTextureBuffer() 269 mFunctionCalls.push([useProtectedContext, this](renderengine::RenderEngine& instance) { in useProtectedContext() 294 mFunctionCalls.push([=](renderengine::RenderEngine& instance) { in cleanupPostRender() 319 &bufferFence, &drawFence](renderengine::RenderEngine& instance) { in drawLayers() 336 mFunctionCalls.push([](renderengine::RenderEngine& instance) { in cleanFramebufferCache() 349 mFunctionCalls.push([&resultPromise](renderengine::RenderEngine& instance) { in getContextPriority() [all …]
|
/aosp12/system/bt/gd/ |
H A D | module.cc | 59 auto instance = started_modules_.find(module); in Get() local 74 void ModuleRegistry::set_registry_and_handler(Module* instance, Thread* thread) const { in set_registry_and_handler() 86 Module* instance = module->ctor_(); in Start() local 106 auto instance = started_modules_.find(*it); in StopAll() local 118 auto instance = started_modules_.find(*it); in StopAll() local 148 auto instance = module_registry_.started_modules_.find(*it); in DumpState() local
|
/aosp12/packages/apps/Gallery2/src/android/util/ |
H A D | Pools.java | 65 public boolean release(T instance); in release() 101 T instance = (T) mPool[lastPooledIndex]; in acquire() local 110 public boolean release(T instance) { in release() 122 private boolean isInPool(T instance) { in isInPool()
|
/aosp12/packages/apps/Camera2/src/android/util/ |
H A D | Pools.java | 65 public boolean release(T instance); in release() 101 T instance = (T) mPool[lastPooledIndex]; in acquire() local 110 public boolean release(T instance) { in release() 122 private boolean isInPool(T instance) { in isInPool()
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | Pools.java | 69 public boolean release(T instance); in release() 108 T instance = (T) mPool[lastPooledIndex]; in acquire() local 118 public boolean release(T instance) { in release() 130 private boolean isInPool(T instance) { in isInPool()
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | Pools.java | 69 public boolean release(T instance); in release() 108 T instance = (T) mPool[lastPooledIndex]; in acquire() local 118 public boolean release(T instance) { in release() 130 private boolean isInPool(T instance) { in isInPool()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/debug/ |
H A D | Log.java | 70 public static void d(Tag tag, Object instance, String msg) { in d() 76 public static void d(Tag tag, Object instance, String msg, String tags) { in d() 94 public static void e(Tag tag, Object instance, String msg) { in e() 100 public static void e(Tag tag, Object instance, String msg, String tags) { in e() 118 public static void i(Tag tag, Object instance, String msg) { in i() 124 public static void i(Tag tag, Object instance, String msg, String tags) { in i() 142 public static void v(Tag tag, Object instance, String msg) { in v() 148 public static void v(Tag tag, Object instance, String msg, String tags) { in v() 166 public static void w(Tag tag, Object instance, String msg) { in w() 172 public static void w(Tag tag, Object instance, String msg, String tags) { in w()
|
/aosp12/system/libvintf/analyze_matrix/ |
H A D | hals_for_release.py | 184 def GetHalFormat(instance): argument 200 def SplitInstance(instance): argument 225 def GetPackage(instance): argument 282 desc = lambda fmt, instance: fmt.format(GetHalFormat(instance).name, *SplitInstance(instance)) argument
|
/aosp12/frameworks/base/core/java/android/gesture/ |
H A D | Learner.java | 32 void addInstance(Instance instance) { in addInstance() 54 Instance instance = instances.get(i); in removeInstance() local 73 final Instance instance = instances.get(i); in removeInstances() local
|
/aosp14/frameworks/base/core/java/android/gesture/ |
H A D | Learner.java | 32 void addInstance(Instance instance) { in addInstance() 54 Instance instance = instances.get(i); in removeInstance() local 73 final Instance instance = instances.get(i); in removeInstances() local
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/oem/ |
H A D | MotorolaHiddenMenuKeySequence.java | 38 private static MotorolaHiddenMenuKeySequence instance = null; field in MotorolaHiddenMenuKeySequence 74 static void setInstanceForTest(MotorolaHiddenMenuKeySequence instance) { in setInstanceForTest() 124 MotorolaHiddenMenuKeySequence instance = getInstance(context); in handleKeyPattern() local 142 MotorolaHiddenMenuKeySequence instance = getInstance(context); in handleKeySequence() local
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
H A D | CallOrderStateMachineHelper.h | 102 static CurrentStateType make(InstanceType* instance) { in make() 117 InstanceType* instance = nullptr; in nextState() local
|
/aosp12/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/dataclass/ |
H A D | OuterClass_Delegate.java | 26 public static int get(OuterClass instance, int a, long b) { in get() 30 public static String privateMethod(OuterClass instance) { in privateMethod()
|
H A D | ClassWithNative_Delegate.java | 27 public static int native_instance(ClassWithNative instance, int a, double d, Object[] o) { in native_instance() 34 public static void constructor_after(ClassWithNative instance) { in constructor_after()
|
/aosp14/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | ISessionListener.aidl | 23 void onSessionStarted(int sessionType, in InstanceId instance); in onSessionStarted() 24 void onSessionEnded(int sessionType, in InstanceId instance); in onSessionEnded()
|
/aosp12/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
H A D | PathElement.java | 37 public final AhatInstance instance; field in PathElement 64 public PathElement(AhatInstance instance, String field) { in PathElement()
|
/aosp12/system/tools/hidl/utils/ |
H A D | FqInstance.cpp | 102 bool FqInstance::setTo(const FQName& fqName, const std::string& instance) { in setTo() 109 const std::string& interface, const std::string& instance) { in setTo() 116 const std::string& instance) { in setTo() 120 bool FqInstance::setTo(const std::string& interface, const std::string& instance) { in setTo()
|
/aosp12/system/core/init/ |
H A D | interface_utils.cpp | 47 for (const std::string& instance : instances) { in CheckInterfaceInheritanceHierarchy() local 50 if (base::Split(instance, "/")[0] == "aidl") { in CheckInterfaceInheritanceHierarchy() local 102 Result<void> IsKnownInterface(const std::string& instance) { in IsKnownInterface()
|