Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/
DBiometricFrameworkStatsLoggerTest.java38 final OperationContextExt ctx = new OperationContextExt(false); in testConvertsWakeReason_whenEmpty() local
52 final OperationContextExt ctx = new OperationContextExt(context, false, in testConvertsWakeReason_whenPowerReason() local
69 final OperationContextExt ctx = new OperationContextExt(context, false, in testConvertsWakeReason_whenFaceReason() local
86 final OperationContextExt ctx = new OperationContextExt(context, false, in testConvertsWakeReason_whenVendorReason() local
104 final OperationContextExt ctx = new OperationContextExt(context, false, in testConvertsWakeReason_whenPowerAndFaceReason() local
122 final OperationContextExt ctx = new OperationContextExt(context, false, in testConvertsWakeReason_whenPowerAndVendorReason() local
/frameworks/native/libs/binder/trusty/
DRpcServerTrusty.cpp40 auto ctx = rpcTransportCtxFactory->newServerCtx(); in make() local
61 RpcServerTrusty::RpcServerTrusty(std::unique_ptr<RpcTransportCtx> ctx, std::string&& portName, in RpcServerTrusty()
148 int RpcServerTrusty::handleMessage(const tipc_port* /*port*/, handle_t /*chan*/, void* ctx) { in handleMessage()
152 int RpcServerTrusty::handleMessageInternal(void* ctx) { in handleMessageInternal()
169 void RpcServerTrusty::handleDisconnect(const tipc_port* /*port*/, handle_t /*chan*/, void* ctx) { in handleDisconnect()
173 void RpcServerTrusty::handleDisconnectInternal(void* ctx) { in handleDisconnectInternal()
186 void RpcServerTrusty::handleChannelCleanup(void* ctx) { in handleChannelCleanup()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityButtonHelper.java31 public static boolean isRequestedByMagnification(Context ctx) { in isRequestedByMagnification()
36 public static boolean isRequestedByAccessibilityService(Context ctx) { in isRequestedByAccessibilityService()
54 public static boolean isRequested(Context ctx) { in isRequested()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceUtils.java89 public List<Face> getBiometricsForUser(Context ctx, int userId) { in getBiometricsForUser()
94 public void addBiometricForUser(Context ctx, int userId, Face face) { in addBiometricForUser()
99 public void removeBiometricForUser(Context ctx, int userId, int faceId) { in removeBiometricForUser()
104 public void renameBiometricForUser(Context ctx, int userId, int faceId, CharSequence name) { in renameBiometricForUser()
127 private FaceUserState getStateForUser(Context ctx, int userId) { in getStateForUser()
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest()
47 protected UnitTest(RSTestCore rstc, String n, Context ctx) { in UnitTest()
51 protected UnitTest(RSTestCore rstc, Context ctx) { in UnitTest()
55 protected UnitTest(Context ctx) { in UnitTest()
/frameworks/native/libs/binder/trusty/rust/binder_rpc_server_bindgen/cpp/
DARpcServerTrusty.cpp46 auto ctx = rpcTransportCtxFactory->newServerCtx(); in ARpcServerTrusty_newPerSession() local
80 int ARpcServerTrusty_handleMessage(void* ctx) { in ARpcServerTrusty_handleMessage()
84 void ARpcServerTrusty_handleDisconnect(void* ctx) { in ARpcServerTrusty_handleDisconnect()
88 void ARpcServerTrusty_handleChannelCleanup(void* ctx) { in ARpcServerTrusty_handleChannelCleanup()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest()
47 protected UnitTest(RSTestCore rstc, String n, Context ctx) { in UnitTest()
51 protected UnitTest(RSTestCore rstc, Context ctx) { in UnitTest()
55 protected UnitTest(Context ctx) { in UnitTest()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest()
47 protected UnitTest(RSTestCore rstc, String n, Context ctx) { in UnitTest()
51 protected UnitTest(RSTestCore rstc, Context ctx) { in UnitTest()
55 protected UnitTest(Context ctx) { in UnitTest()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DDisappearAnimationUtils.java28 public DisappearAnimationUtils(Context ctx) { in DisappearAnimationUtils()
34 public DisappearAnimationUtils(Context ctx, long duration, float translationScaleFactor, in DisappearAnimationUtils()
40 public DisappearAnimationUtils(Context ctx, long duration, float translationScaleFactor, in DisappearAnimationUtils()
/frameworks/native/cmds/servicemanager/
DServiceManager.cpp118 static bool isVintfDeclared(const Access::CallingContext& ctx, const std::string& name) { in isVintfDeclared()
297 static bool meetsDeclarationRequirements(const Access::CallingContext& ctx, in meetsDeclarationRequirements()
363 auto ctx = mAccess->getCallingContext(); in tryGetService() local
416 auto ctx = mAccess->getCallingContext(); in addService() local
535 auto ctx = mAccess->getCallingContext(); in registerForNotifications() local
581 auto ctx = mAccess->getCallingContext(); in unregisterForNotifications() local
604 auto ctx = mAccess->getCallingContext(); in isDeclared() local
619 auto ctx = mAccess->getCallingContext(); in getDeclaredInstances() local
643 auto ctx = mAccess->getCallingContext(); in updatableViaApex() local
659 auto ctx = mAccess->getCallingContext(); in getUpdatableNames() local
[all …]
DAccess.cpp128 bool Access::canFind(const CallingContext& ctx,const std::string& name) { in canFind()
132 bool Access::canAdd(const CallingContext& ctx, const std::string& name) { in canAdd()
136 bool Access::canList(const CallingContext& ctx) { in canList()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java333 public AccessibilityManager createService(ContextImpl ctx) { in registerService()
340 public CaptioningManager createService(ContextImpl ctx) { in registerService()
381 return new AlarmManager(service, ctx); in registerService() argument
387 public AudioManager createService(ContextImpl ctx) { in registerService()
394 public AudioDeviceVolumeManager createService(ContextImpl ctx) { in registerService()
401 public MediaRouter createService(ContextImpl ctx) { in registerService()
416 public TextClassificationManager createService(ContextImpl ctx) { in registerService()
460 public TetheringManager createService(ContextImpl ctx) { in registerService()
509 public DownloadManager createService(ContextImpl ctx) { in registerService()
581 public TextServicesManager createService(ContextImpl ctx) in registerService()
[all …]
/frameworks/native/services/surfaceflinger/FrameTracer/
DFrameTracer.cpp65 duration](FrameTracerDataSource::TraceContext ctx) { in traceTimestamp()
83 startTime](FrameTracerDataSource::TraceContext ctx) { in traceFence()
107 void FrameTracer::tracePendingFencesLocked(FrameTracerDataSource::TraceContext& ctx, in tracePendingFencesLocked()
134 void FrameTracer::traceLocked(FrameTracerDataSource::TraceContext& ctx, int32_t layerId, in traceLocked()
158 void FrameTracer::traceSpanLocked(FrameTracerDataSource::TraceContext& ctx, int32_t layerId, in traceSpanLocked()
/frameworks/base/core/tests/coretests/src/android/tracing/perfetto/
DDataSourceTest.java120 sTestDataSource.trace((ctx) -> { in canTraceData() argument
158 sTestDataSource.trace((ctx) -> { in canUseTlsStateForCustomState() argument
163 sTestDataSource.trace((ctx) -> { in canUseTlsStateForCustomState() argument
192 sTestDataSource.trace((ctx) -> { in eachInstanceHasOwnTlsState() argument
198 sTestDataSource.trace((ctx) -> { in eachInstanceHasOwnTlsState() argument
499 sTestDataSource.trace((ctx) -> { in onFlushCallbackTriggered() argument
576 sTestDataSource.trace((ctx) -> { in canUseDataSourceInstanceToCreateTlsState() argument
635 sTestDataSource.trace((ctx) -> { in canUseDataSourceInstanceToCreateIncrementalState() argument
/frameworks/base/services/core/java/com/android/server/wm/
DPerfettoTransitionTracer.java79 mDataSource.trace((ctx) -> { in doLogSentTransition() argument
122 mDataSource.trace((ctx) -> { in doLogFinishTransition() argument
154 mDataSource.trace((ctx) -> { in doLogAbortedTransition() argument
180 mDataSource.trace((ctx) -> { in doLogRemovingStartingWindow() argument
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCompatibilityWalFlagsTest.java100 Context ctx = InstrumentationRegistry.getContext(); in testApplyFlags() local
114 Context ctx = InstrumentationRegistry.getContext(); in testApplyFlags_thenDisableWriteAheadLogging() local
/frameworks/native/libs/adbd_auth/
Dadbd_auth.cpp535 void adbd_auth_delete(AdbdAuthContext* ctx) { in adbd_auth_delete()
539 void adbd_auth_run(AdbdAuthContext* ctx) { in adbd_auth_run()
543 void adbd_auth_get_public_keys(AdbdAuthContext* ctx, in adbd_auth_get_public_keys()
549 uint64_t adbd_auth_notify_auth(AdbdAuthContext* ctx, const char* public_key, size_t len) { in adbd_auth_notify_auth()
553 void adbd_auth_notify_disconnect(AdbdAuthContext* ctx, uint64_t id) { in adbd_auth_notify_disconnect()
557 void adbd_auth_prompt_user(AdbdAuthContext* ctx, const char* public_key, size_t len, in adbd_auth_prompt_user()
562 uint64_t adbd_auth_prompt_user_with_id(AdbdAuthContext* ctx, const char* public_key, size_t len, in adbd_auth_prompt_user_with_id()
567 uint64_t adbd_auth_tls_device_connected(AdbdAuthContext* ctx, in adbd_auth_tls_device_connected()
574 void adbd_auth_tls_device_disconnected(AdbdAuthContext* ctx, in adbd_auth_tls_device_disconnected()
/frameworks/base/core/java/android/net/
DProxy.java84 public static final java.net.Proxy getProxy(Context ctx, String url) { in getProxy()
110 public static final String getHost(Context ctx) { in getHost()
128 public static final int getPort(Context ctx) { in getPort()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ui/
DMobileContextProviderTest.kt64 val ctx = provider.getMobileContextForSub(SUB_1_ID, context) in test_oneSubscription_contextHasMccMnc() constant
97 val ctx = provider.getMobileContextForSub(SUB_1_ID, context) in test_requestingContextForNonexistentSubscription_returnsGivenContext() constant
/frameworks/base/core/java/com/android/internal/inputmethod/
DImeTracingPerfettoImpl.java83 mDataSource.trace((ctx) -> { in triggerClientDump() argument
117 mDataSource.trace((ctx) -> { in triggerServiceDump() argument
147 mDataSource.trace((ctx) -> { in triggerManagerServiceDump() argument
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueBackupJob.java67 public static void schedule(int userId, Context ctx, in schedule()
72 public static void schedule(int userId, Context ctx, long delay, in schedule()
118 public static void cancel(int userId, Context ctx) { in cancel()
/frameworks/libs/binary_translation/tests/ndk_program_tests/riscv64/
Dsigill_test.cc31 void SigillSignalHandlerRiscv64(int /* sig */, siginfo_t* /* info */, void* ctx) { in SigillSignalHandlerRiscv64()
62 void SigillFenceISignalHandlerRiscv64(int /* sig */, siginfo_t* /* info */, void* ctx) { in SigillFenceISignalHandlerRiscv64()
/frameworks/libs/binary_translation/tests/ndk_program_tests/arm/
Dsigill_test.cc31 void SigillSignalHandlerArm(int /* sig */, siginfo_t* /* info */, void* ctx) { in SigillSignalHandlerArm()
78 void SigillSignalHandlerThumb(int /* sig */, siginfo_t* /* info */, void* ctx) { in SigillSignalHandlerThumb()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractE2ETest.java117 Context ctx = inst.getTargetContext(); in typefaceCacheTest() local
156 Context ctx = inst.getTargetContext(); in typefaceNotCacheTest() local
179 Context ctx = inst.getTargetContext(); in typefaceNullFdTest() local
/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/DeviceSide/src/com/android/server/pm/cts/test/deviceside/
DDeviceSide.kt20 val ctx = instrumentation.context in testGetInstalledPackagesWithFactoryOnly() constant

12345678910>>...15