Home
last modified time | relevance | path

Searched refs:server (Results 1 – 25 of 2531) sorted by relevance

12345678910>>...102

/frameworks/base/services/
Dart-profile248 PLcom/android/server/-$$Lambda$1kw1pGRY14l4iRI8vioJeswbbZ0;->accept(Ljava/lang/Object;)V
249 HSPLcom/android/server/-$$Lambda$1xUIIN0BU8izGcnYWT-VzczLBFU;-><init>()V
250 …PLcom/android/server/-$$Lambda$1xUIIN0BU8izGcnYWT-VzczLBFU;->get(Lcom/android/server/NsdService$Na…
251 HSPLcom/android/server/-$$Lambda$AlarmManagerService$2$Eo-D98J-N9R2METkD-12gPs320c;->run()V
252 PLcom/android/server/-$$Lambda$AlarmManagerService$Batch$Xltkj5RTKUMuFVeuavpuY7-Ogzc;->test(Ljava/l…
253 HSPLcom/android/server/-$$Lambda$AlarmManagerService$ZVedZIeWdB3G6AGM0_-9P_GEO24;->test(Ljava/lang/…
254 PLcom/android/server/-$$Lambda$AlarmManagerService$gKXZ864LsHRTGbnNeLAgHKL2YPk;->run()V
255 PLcom/android/server/-$$Lambda$AlarmManagerService$nSJw2tKfoL3YIrKDtszoL44jcSM;->test(Ljava/lang/Ob…
256 HSPLcom/android/server/-$$Lambda$AlarmManagerService$qehVSjTLWvtJYPGgKh2mkJ6ePnk;->test(Ljava/lang/…
257 HSPLcom/android/server/-$$Lambda$AppStateTracker$zzioY8jvEm-1GnJ13CUiQGauPEE;->accept(Ljava/lang/Ob…
[all …]
/frameworks/base/core/tests/coretests/src/android/net/http/
DAbstractProxyTest.java43 private MockWebServer server = new MockWebServer(); field in AbstractProxyTest
55 server.shutdown(); in tearDown()
62 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false); in testConnectToHttps()
63 server.enqueue(new MockResponse() in testConnectToHttps()
66 server.play(); in testConnectToHttps()
73 .register(new Scheme("https", sslSocketFactory, server.getPort())); in testConnectToHttps()
76 new HttpGet("https://localhost:" + server.getPort() + "/foo")); in testConnectToHttps()
79 RecordedRequest request = server.takeRequest(); in testConnectToHttps()
116 server.enqueue(mockResponse); in testConnectViaProxy()
117 server.play(); in testConnectViaProxy()
[all …]
DCookiesTest.java39 private MockWebServer server; field in CookiesTest
44 server = new MockWebServer(); in setUp()
48 server.shutdown(); in tearDown()
58 server.enqueue(new MockResponse() in testCookiesAreNotLogged()
60 server.play(); in testCookiesAreNotLogged()
68 client.execute(new HttpGet(server.getUrl("/").toURI())); in testCookiesAreNotLogged()
87 server = new MockWebServer(); in testCookiesWithNonMatchingCase()
88 server.enqueue(new MockResponse() in testCookiesWithNonMatchingCase()
93 server.enqueue(new MockResponse() in testCookiesWithNonMatchingCase()
95 server.play(); in testCookiesWithNonMatchingCase()
[all …]
DDefaultHttpClientTest.java44 private MockWebServer server; field in DefaultHttpClientTest
49 server = new MockWebServer(); in setUp()
53 server.shutdown(); in tearDown()
74 server.enqueue(new MockResponse() in testServerClosesOutput()
77 server.enqueue(new MockResponse() in testServerClosesOutput()
79 server.play(); in testServerClosesOutput()
83 HttpResponse a = client.execute(new HttpGet(server.getUrl("/a").toURI())); in testServerClosesOutput()
85 assertEquals(0, server.takeRequest().getSequenceNumber()); in testServerClosesOutput()
87 HttpResponse b = client.execute(new HttpGet(server.getUrl("/b").toURI())); in testServerClosesOutput()
90 assertEquals(0, server.takeRequest().getSequenceNumber()); in testServerClosesOutput()
/frameworks/base/media/jni/
Dandroid_mtp_MtpServer.cpp68 MtpServer* server = new MtpServer(getMtpDatabase(env, javaDatabase), controlFd, in android_mtp_MtpServer_setup() local
86 env->SetLongField(thiz, field_MtpServer_nativeContext, (jlong)server); in android_mtp_MtpServer_setup()
92 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_run() local
93 if (server) in android_mtp_MtpServer_run()
94 server->run(); in android_mtp_MtpServer_run()
104 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_cleanup() local
105 if (server) { in android_mtp_MtpServer_cleanup()
106 delete server; in android_mtp_MtpServer_cleanup()
118 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_object_added() local
119 if (server) in android_mtp_MtpServer_send_object_added()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializer.java17 package com.android.server.locksettings.recoverablekeystore.serialization;
20 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
21 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
22 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
23 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
24 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
25 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
26 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
27 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
28 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
[all …]
DKeyChainSnapshotDeserializer.java17 package com.android.server.locksettings.recoverablekeystore.serialization;
19 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
20 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
21 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
22 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
23 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
24 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
25 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
26 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
27 import static com.android.server.locksettings.recoverablekeystore.serialization.KeyChainSnapshotSch…
[all …]
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyService.java31 private static ProxyServer server = null; field in ProxyService
41 if (server == null) { in onCreate()
42 server = new ProxyServer(); in onCreate()
43 server.startServer(); in onCreate()
49 if (server != null) { in onDestroy()
50 server.stopServer(); in onDestroy()
51 server = null; in onDestroy()
60 if (server != null) { in onBind()
63 server.setCallback(portListener); in onBind()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java17 package com.android.server.backup.internal;
19 import static com.android.server.backup.BackupManagerService.DEBUG;
20 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
21 import static com.android.server.backup.BackupManagerService.TAG;
36 import com.android.server.EventLogTags;
37 import com.android.server.backup.BackupAgentTimeoutParameters;
38 import com.android.server.backup.BackupRestoreTask;
39 import com.android.server.backup.DataChangedJournal;
40 import com.android.server.backup.TransportManager;
41 import com.android.server.backup.UserBackupManagerService;
[all …]
DRunBackupReceiver.java17 package com.android.server.backup.internal;
19 import static com.android.server.backup.BackupManagerService.DEBUG;
20 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
21 import static com.android.server.backup.BackupManagerService.TAG;
22 import static com.android.server.backup.UserBackupManagerService.RUN_BACKUP_ACTION;
23 import static com.android.server.backup.internal.BackupHandler.MSG_RUN_BACKUP;
33 import com.android.server.backup.UserBackupManagerService;
DSetupObserver.java17 package com.android.server.backup.internal;
19 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
20 import static com.android.server.backup.BackupManagerService.TAG;
21 import static com.android.server.backup.UserBackupManagerService.getSetupCompleteSettingForUser;
29 import com.android.server.backup.KeyValueBackupJob;
30 import com.android.server.backup.UserBackupManagerService;
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/
DUsbDescriptorsTree.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbACInterface;
19 import com.android.server.usb.descriptors.UsbConfigDescriptor;
20 import com.android.server.usb.descriptors.UsbDescriptor;
21 import com.android.server.usb.descriptors.UsbDescriptorParser;
22 import com.android.server.usb.descriptors.UsbDeviceDescriptor;
23 import com.android.server.usb.descriptors.UsbEndpointDescriptor;
24 import com.android.server.usb.descriptors.UsbInterfaceDescriptor;
25 import com.android.server.usb.descriptors.report.ReportCanvas;
/frameworks/base/services/java/com/android/server/
DSystemServer.java17 package com.android.server;
85 import com.android.server.am.ActivityManagerService;
86 import com.android.server.appbinding.AppBindingService;
87 import com.android.server.attention.AttentionManagerService;
88 import com.android.server.audio.AudioService;
89 import com.android.server.biometrics.BiometricService;
90 import com.android.server.biometrics.face.FaceService;
91 import com.android.server.biometrics.fingerprint.FingerprintService;
92 import com.android.server.biometrics.iris.IrisService;
93 import com.android.server.broadcastradio.BroadcastRadioService;
[all …]
/frameworks/base/services/core/
DAndroid.bp20 "java/com/android/server/EventLogTags.logtags",
21 "java/com/android/server/am/EventLogTags.logtags",
22 "java/com/android/server/policy/EventLogTags.logtags",
67 …" --targets \"Lcom/android/server/am/ActivityManagerService;,Lcom/android/server/wm/WindowManager…
68 …" --pre \"com/android/server/am/ActivityManagerService.boostPriorityForLockedSection,com/android/
69 …" --post \"com/android/server/am/ActivityManagerService.resetPriorityAfterLockedSection,com/andro…
83 src: "java/com/android/server/location/gps_debug.conf",
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowKeyValueBackupTask.java17 package com.android.server.testing.shadows;
21 import com.android.server.backup.DataChangedJournal;
22 import com.android.server.backup.UserBackupManagerService;
23 import com.android.server.backup.internal.OnTaskFinishedListener;
24 import com.android.server.backup.keyvalue.KeyValueBackupReporter;
25 import com.android.server.backup.keyvalue.KeyValueBackupTask;
26 import com.android.server.backup.transport.TransportClient;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java17 package com.android.server.wifi.hotspot2;
19 import static com.android.server.wifi.hotspot2.Utils.isCarrierEapMethod;
21 import com.android.server.wifi.IMSIParameter;
22 import com.android.server.wifi.hotspot2.anqp.CellularNetwork;
23 import com.android.server.wifi.hotspot2.anqp.DomainNameElement;
24 import com.android.server.wifi.hotspot2.anqp.NAIRealmData;
25 import com.android.server.wifi.hotspot2.anqp.NAIRealmElement;
26 import com.android.server.wifi.hotspot2.anqp.RoamingConsortiumElement;
27 import com.android.server.wifi.hotspot2.anqp.ThreeGPPNetworkElement;
28 import com.android.server.wifi.hotspot2.anqp.eap.AuthParam;
[all …]
/frameworks/native/libs/binder/tests/
DbinderStabilityTest.cpp150 auto server = interface_cast<IBinderStabilityTest>(serverBinder); in TEST() local
152 ASSERT_NE(nullptr, server.get()); in TEST()
153 ASSERT_NE(nullptr, IInterface::asBinder(server)->remoteBinder()); in TEST()
155 EXPECT_TRUE(server->sendBinder(BadStableBinder::undef()).isOk()); in TEST()
156 EXPECT_TRUE(server->sendBinder(BadStableBinder::system()).isOk()); in TEST()
157 EXPECT_TRUE(server->sendBinder(BadStableBinder::vintf()).isOk()); in TEST()
158 EXPECT_TRUE(server->sendBinder(BadStableBinder::vendor()).isOk()); in TEST()
162 EXPECT_TRUE(server->sendAndCallBinder(binder).isOk()); in TEST()
167 EXPECT_TRUE(server->sendAndCallBinder(binder).isOk()); in TEST()
172 EXPECT_TRUE(server->sendAndCallBinder(binder).isOk()); in TEST()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowFrames.java17 package com.android.server.wm;
19 import static com.android.server.wm.WindowFramesProto.CONTAINING_FRAME;
20 import static com.android.server.wm.WindowFramesProto.CONTENT_FRAME;
21 import static com.android.server.wm.WindowFramesProto.CONTENT_INSETS;
22 import static com.android.server.wm.WindowFramesProto.CUTOUT;
23 import static com.android.server.wm.WindowFramesProto.DECOR_FRAME;
24 import static com.android.server.wm.WindowFramesProto.DISPLAY_FRAME;
25 import static com.android.server.wm.WindowFramesProto.FRAME;
26 import static com.android.server.wm.WindowFramesProto.OUTSETS;
27 import static com.android.server.wm.WindowFramesProto.OUTSET_FRAME;
[all …]
DWindowToken.java17 package com.android.server.wm;
22 import static com.android.server.wm.WindowManagerDebugConfig.DEBUG_ADD_REMOVE;
23 import static com.android.server.wm.WindowManagerDebugConfig.DEBUG_FOCUS;
24 import static com.android.server.wm.WindowManagerDebugConfig.DEBUG_WINDOW_MOVEMENT;
25 import static com.android.server.wm.WindowManagerDebugConfig.TAG_WITH_CLASS_NAME;
26 import static com.android.server.wm.WindowManagerDebugConfig.TAG_WM;
27 import static com.android.server.wm.WindowManagerService.UPDATE_FOCUS_NORMAL;
28 import static com.android.server.wm.WindowTokenProto.HASH_CODE;
29 import static com.android.server.wm.WindowTokenProto.HIDDEN;
30 import static com.android.server.wm.WindowTokenProto.PAUSED;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DMemoryStatUtilTest.java17 package com.android.server.am;
19 import static com.android.server.am.MemoryStatUtil.BYTES_IN_KILOBYTE;
20 import static com.android.server.am.MemoryStatUtil.JIFFY_NANOS;
21 import static com.android.server.am.MemoryStatUtil.MemoryStat;
22 import static com.android.server.am.MemoryStatUtil.parseCmdlineFromProcfs;
23 import static com.android.server.am.MemoryStatUtil.parseIonHeapSizeFromDebugfs;
24 import static com.android.server.am.MemoryStatUtil.parseMemoryStatFromMemcg;
25 import static com.android.server.am.MemoryStatUtil.parseMemoryStatFromProcfs;
26 import static com.android.server.am.MemoryStatUtil.parseProcessIonHeapSizesFromDebugfs;
27 import static com.android.server.am.MemoryStatUtil.parseVmHWMFromProcfs;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest4.java16 package com.android.server.pm;
18 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertBundlesEqual;
19 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
20 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.list;
21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.makeBundle;
22 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.makePersistableBun…
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DAdbRestoreFinishedLatch.java17 package com.android.server.backup.restore;
19 import static com.android.server.backup.BackupManagerService.DEBUG;
20 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
25 import com.android.server.backup.BackupAgentTimeoutParameters;
26 import com.android.server.backup.BackupRestoreTask;
27 import com.android.server.backup.UserBackupManagerService;
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java17 package com.android.server.backup.fullbackup;
19 import static com.android.server.backup.BackupManagerService.DEBUG;
20 import static com.android.server.backup.BackupManagerService.MORE_DEBUG;
21 import static com.android.server.backup.BackupManagerService.TAG;
22 import static com.android.server.backup.UserBackupManagerService.BACKUP_MANIFEST_FILENAME;
23 import static com.android.server.backup.UserBackupManagerService.BACKUP_METADATA_FILENAME;
24 import static com.android.server.backup.UserBackupManagerService.OP_TYPE_BACKUP_WAIT;
25 import static com.android.server.backup.UserBackupManagerService.SHARED_BACKUP_AGENT_PACKAGE;
40 import com.android.server.AppWidgetBackupBridge;
41 import com.android.server.backup.BackupAgentTimeoutParameters;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DTransferOwnershipMetadataManagerTest.java17 package com.android.server.devicepolicy;
19 import static com.android.server.devicepolicy.TransferOwnershipMetadataManager
21 import static com.android.server.devicepolicy.TransferOwnershipMetadataManager
23 import static com.android.server.devicepolicy.TransferOwnershipMetadataManager.TAG_ADMIN_TYPE;
24 import static com.android.server.devicepolicy.TransferOwnershipMetadataManager.TAG_SOURCE_COMPONENT;
25 import static com.android.server.devicepolicy.TransferOwnershipMetadataManager.TAG_TARGET_COMPONENT;
26 import static com.android.server.devicepolicy.TransferOwnershipMetadataManager.TAG_USER_ID;
36 import com.android.server.devicepolicy.TransferOwnershipMetadataManager.Injector;
37 import com.android.server.devicepolicy.TransferOwnershipMetadataManager.Metadata;
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupReporterTest.java17 package com.android.server.backup.keyvalue;
19 import static com.android.server.backup.keyvalue.KeyValueBackupReporter.TAG;
20 import static com.android.server.backup.testing.TestUtils.assertLogcat;
29 import com.android.server.backup.UserBackupManagerService;
30 import com.android.server.testing.shadows.ShadowEventLog;
31 import com.android.server.testing.shadows.ShadowSlog;

12345678910>>...102