Lines Matching refs:server

64         MtpServer* server = new MtpServer(fd, getMtpDatabase(env, javaDatabase),  in android_mtp_MtpServer_setup()  local
66 env->SetLongField(thiz, field_MtpServer_nativeContext, (jlong)server); in android_mtp_MtpServer_setup()
75 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_run() local
76 if (server) in android_mtp_MtpServer_run()
77 server->run(); in android_mtp_MtpServer_run()
87 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_cleanup() local
88 if (server) { in android_mtp_MtpServer_cleanup()
89 delete server; in android_mtp_MtpServer_cleanup()
101 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_object_added() local
102 if (server) in android_mtp_MtpServer_send_object_added()
103 server->sendObjectAdded(handle); in android_mtp_MtpServer_send_object_added()
113 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_object_removed() local
114 if (server) in android_mtp_MtpServer_send_object_removed()
115 server->sendObjectRemoved(handle); in android_mtp_MtpServer_send_object_removed()
125 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_device_property_changed() local
126 if (server) in android_mtp_MtpServer_send_device_property_changed()
127 server->sendDevicePropertyChanged(property); in android_mtp_MtpServer_send_device_property_changed()
137 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_add_storage() local
138 if (server) { in android_mtp_MtpServer_add_storage()
152 server->addStorage(storage); in android_mtp_MtpServer_add_storage()
169 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_remove_storage() local
170 if (server) { in android_mtp_MtpServer_remove_storage()
171 MtpStorage* storage = server->getStorage(storageId); in android_mtp_MtpServer_remove_storage()
173 server->removeStorage(storage); in android_mtp_MtpServer_remove_storage()