/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | CallbackRegistryTest.java | 37 CallbackRegistry<Integer, CallbackRegistryTest, Integer> registry; field in CallbackRegistryTest 64 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testAddListener() 67 assertNotNull(registry.copyListeners()); in testAddListener() 68 assertEquals(0, registry.copyListeners().size()); in testAddListener() 70 registry.add(callback); in testAddListener() 71 ArrayList<Integer> callbacks = registry.copyListeners(); in testAddListener() 75 registry.add(callback); in testAddListener() 76 callbacks = registry.copyListeners(); in testAddListener() 81 registry.add(otherListener); in testAddListener() 82 callbacks = registry.copyListeners(); in testAddListener() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | SurfaceControlRegistryTests.java | 121 SurfaceControlRegistry registry = SurfaceControlRegistry.getProcessInstance(); in testThresholds() local 123 registry.setReportingThresholds(4 /* max */, 2 /* reset */, reporter); in testThresholds() 154 SurfaceControlRegistry registry = SurfaceControlRegistry.getProcessInstance(); in testCallStackDebugging_matchesFilters() local 157 registry.setCallStackDebuggingParams("com.android.app1", ""); in testCallStackDebugging_matchesFilters() 158 assertFalse(registry.matchesForCallStackDebugging("com.android.noMatchApp", "setAlpha")); in testCallStackDebugging_matchesFilters() 159 assertTrue(registry.matchesForCallStackDebugging("com.android.app1", "setAlpha")); in testCallStackDebugging_matchesFilters() 162 registry.setCallStackDebuggingParams("", "setAlpha"); in testCallStackDebugging_matchesFilters() 163 assertFalse(registry.matchesForCallStackDebugging("com.android.app1", "setLayer")); in testCallStackDebugging_matchesFilters() 164 assertTrue(registry.matchesForCallStackDebugging("com.android.app1", "setAlpha")); in testCallStackDebugging_matchesFilters() 165 assertTrue(registry.matchesForCallStackDebugging("com.android.app2", "setAlpha")); in testCallStackDebugging_matchesFilters() [all …]
|
/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/ |
D | vulkan_xml_test.go | 26 registry, err := Unmarshal([]byte(` 28 <registry> 33 </registry>`)) 38 if registry.Types[0].Name != "int" { 41 if registry.Types[1].Name != "type_name" { 49 <registry> 53 </registry>`)) 64 registry, err := Unmarshal([]byte(` 66 <registry> 73 </registry>`)) [all …]
|
D | vulkan_xml.go | 34 type registry struct { struct 432 func Unmarshal(data []byte) (*registry, error) { 433 var registry registry 434 err := xml.Unmarshal(data, ®istry) 438 for i := range registry.Types { 439 typе := ®istry.Types[i] 480 for i := range registry.Commands { 481 command := ®istry.Commands[i] 524 return ®istry, nil 527 func VulkanTypesfromXML(registry *registry) (sorted_type_names []string, types map[string]cpp_types… argument [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/ |
D | CommandRegistryTest.kt | 48 lateinit var registry: CommandRegistry in safeEq() variable in com.android.systemui.statusbar.commandline.CommandRegistryTest 59 registry = CommandRegistry(context, inLineExecutor) in safeEq() 64 registry.registerCommand(COMMAND) { FakeCommand() } in safeEq() 66 registry.registerCommand(COMMAND) { FakeCommand() } in safeEq() 72 registry.registerCommand(COMMAND) { fakeCommand } in safeEq() 73 registry.onShellCommand(writer, arrayOf(COMMAND)) in safeEq() 80 registry.registerCommand(COMMAND) { fakeCommand } in safeEq() 81 registry.onShellCommand(writer, arrayOf(COMMAND, "arg1", "arg2", "arg3")) in safeEq()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/ |
D | ClockRegistryTest.kt | 76 private lateinit var registry: ClockRegistry variable in com.android.systemui.shared.clocks.ClockRegistryTest 157 registry = object : ClockRegistry( in setUp() 175 registry.registerListeners() in setUp() 196 val list = registry.getClocks() in pluginRegistration_CorrectState() 211 val clock = registry.createCurrentClock() in noPlugins_createDefaultClock() 229 val list = registry.getClocks() in clockIdConflict_ErrorWithoutCrash_unloadDuplicate() 239 assertEquals(registry.createExampleClock("clock_1"), mockClock) in clockIdConflict_ErrorWithoutCrash_unloadDuplicate() 240 assertEquals(registry.createExampleClock("clock_2"), mockClock) in clockIdConflict_ErrorWithoutCrash_unloadDuplicate() 241 assertEquals(registry.getClockThumbnail("clock_1"), mockThumbnail) in clockIdConflict_ErrorWithoutCrash_unloadDuplicate() 242 assertEquals(registry.getClockThumbnail("clock_2"), mockThumbnail) in clockIdConflict_ErrorWithoutCrash_unloadDuplicate() [all …]
|
/frameworks/native/opengl/tools/glgen2/ |
D | glgen.py | 225 registry = reg.Registry() variable 226 registry.loadFile('registry/gl.xml') 228 registry.setGenerator(TrampolineGen()) 251 registry.apiGen(opts) 255 registry.setGenerator(apigen) 269 registry.apiGen(opts) 275 registry.setGenerator(apigen) 297 registry.apiGen(opts) 304 registry.setGenerator(SpecGenerator())
|
D | .gitignore | 1 registry/reg.pyc
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | AnimatingActivityRegistryTest.java | 68 final AnimatingActivityRegistry registry = in testDeferring() local 80 assertTrue(registry.notifyAboutToFinish(activity1, mMockEndDeferFinishCallback1)); in testDeferring() 81 assertFalse(registry.notifyAboutToFinish(activity2, mMockEndDeferFinishCallback2)); in testDeferring() 91 final AnimatingActivityRegistry registry = in testContainerRemoved() local 103 registry.notifyAboutToFinish(window1, mMockEndDeferFinishCallback1); in testContainerRemoved()
|
D | ActivityInterceptorCallbackRegistryTest.java | 57 ActivityInterceptorCallbackRegistry registry = spy( in registerActivityInterceptorCallbackFailIfNotSystemId() local 61 () -> registry.registerActivityInterceptorCallback(MAINLINE_LAST_ORDERED_ID + 1, in registerActivityInterceptorCallbackFailIfNotSystemId() 103 ActivityInterceptorCallbackRegistry registry = spy( in unregisterActivityInterceptorCallbackFailIfNotSystemId() local 107 () -> registry.unregisterActivityInterceptorCallback(MAINLINE_LAST_ORDERED_ID + 1) in unregisterActivityInterceptorCallbackFailIfNotSystemId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/lifecycle/ |
D | RepeatWhenAttached.kt | 166 private val registry = LifecycleRegistry(this) constant 169 registry.currentState = Lifecycle.State.CREATED in onCreate() 178 registry.currentState = Lifecycle.State.DESTROYED in onDestroy() 183 return registry 187 registry.currentState = in updateState()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | BenchmarkListAdapter.java | 27 import com.android.benchmark.registry.BenchmarkGroup; 28 import com.android.benchmark.registry.BenchmarkRegistry; 40 BenchmarkRegistry registry) { in BenchmarkListAdapter() argument 42 mRegistry = registry; in BenchmarkListAdapter()
|
D | UiResultsFragment.java | 29 import com.android.benchmark.registry.BenchmarkGroup; 30 import com.android.benchmark.registry.BenchmarkRegistry;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/ |
D | DreamOverlayLifecycleOwner.kt | 29 val registry: LifecycleRegistry = LifecycleRegistry(this) constant in com.android.systemui.dreams.DreamOverlayLifecycleOwner 33 return registry
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/dagger/ |
D | ClockRegistryModule.java | 59 ClockRegistry registry = new ClockRegistry( in getClockRegistry() local 79 registry.registerListeners(); in getClockRegistry() 80 return registry; in getClockRegistry()
|
/frameworks/base/core/java/android/window/ |
D | WindowInfosListener.java | 36 NativeAllocationRegistry registry = NativeAllocationRegistry.createMalloced( in WindowInfosListener() local 40 registry.registerNativeAllocation(this, mNativeListener); in WindowInfosListener()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/ |
D | BenchmarkCategory.java | 17 package com.android.benchmark.registry;
|
D | BenchmarkGroup.java | 17 package com.android.benchmark.registry;
|
/frameworks/native/vulkan/vkprofiles/ |
D | README.md | 13 …ipts/gen_profiles_solution.py --debug --registry ~/<PATH_TO_YOUR_ANDROID_REPO>/external/vulkan-he…
|
/frameworks/native/vulkan/scripts/ |
D | generator_common.py | 350 registry = os.path.join(os.path.dirname(__file__), '..', '..', '..', '..', 352 tree = element_tree.parse(registry)
|
/frameworks/base/core/java/android/hardware/ |
D | HardwareBuffer.java | 289 NativeAllocationRegistry registry = new NativeAllocationRegistry( in HardwareBuffer() local 291 mCleaner = registry.registerNativeAllocation(this, mNativeObject); in HardwareBuffer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/dagger/ |
D | CentralSurfacesDependenciesModule.java | 145 CommandRegistry registry, in provideCommandQueue() argument 149 return new CommandQueue(context, displayTracker, registry, dumpHandler, powerInteractor); in provideCommandQueue()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | TextScrollActivity.java | 25 import com.android.benchmark.registry.BenchmarkRegistry;
|
/frameworks/native/vulkan/ |
D | README.md | 17 …er and tools directly from the Vulkan Registry (external/vulkan-headers/registry/vk.xml). Code gen…
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibratorController.java | 453 NativeAllocationRegistry registry = in init() local 456 registry.registerNativeAllocation(this, mNativePtr); in init()
|